!function(e){function t(r){if(n[r])return n[r].exports;var s=n[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var s in e)t.d(r,s,function(t){return e[t]}.bind(null,s));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s="mdyV")}({"/IQw":function(e,t,n){const r=n("ffMB"),{defaults:s}=n("bixo"),{inline:i}=n("Jzis"),{findClosingBracket:o,escape:a}=n("AkNA");e.exports=class e{constructor(e,t){if(this.options=t||s,this.links=e,this.rules=i.normal,this.options.renderer=this.options.renderer||new r,this.renderer=this.options.renderer,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=i.pedantic:this.options.gfm&&(this.rules=this.options.breaks?i.breaks:i.gfm)}static get rules(){return i}static output(t,n,r){return new e(n,r).output(t)}output(t){let n,r,s,i,l,c,u="";for(;t;)if(l=this.rules.escape.exec(t))t=t.substring(l[0].length),u+=a(l[1]);else if(l=this.rules.tag.exec(t))!this.inLink&&/^<a /i.test(l[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(l[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(l[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(l[0])&&(this.inRawBlock=!1),t=t.substring(l[0].length),u+=this.renderer.html(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):a(l[0]):l[0]);else if(l=this.rules.link.exec(t)){const r=o(l[2],"()");if(r>-1){const e=(0===l[0].indexOf("!")?5:4)+l[1].length+r;l[2]=l[2].substring(0,r),l[0]=l[0].substring(0,e).trim(),l[3]=""}t=t.substring(l[0].length),this.inLink=!0,s=l[2],this.options.pedantic?(n=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s),n?(s=n[1],i=n[3]):i=""):i=l[3]?l[3].slice(1,-1):"",s=s.trim().replace(/^<([\s\S]*)>$/,"$1"),u+=this.outputLink(l,{href:e.escapes(s),title:e.escapes(i)}),this.inLink=!1}else if((l=this.rules.reflink.exec(t))||(l=this.rules.nolink.exec(t))){if(t=t.substring(l[0].length),n=(l[2]||l[1]).replace(/\s+/g," "),n=this.links[n.toLowerCase()],!n||!n.href){u+=l[0].charAt(0),t=l[0].substring(1)+t;continue}this.inLink=!0,u+=this.outputLink(l,n),this.inLink=!1}else if(l=this.rules.strong.exec(t))t=t.substring(l[0].length),u+=this.renderer.strong(this.output(l[4]||l[3]||l[2]||l[1]));else if(l=this.rules.em.exec(t))t=t.substring(l[0].length),u+=this.renderer.em(this.output(l[6]||l[5]||l[4]||l[3]||l[2]||l[1]));else if(l=this.rules.code.exec(t))t=t.substring(l[0].length),u+=this.renderer.codespan(a(l[2].trim(),!0));else if(l=this.rules.br.exec(t))t=t.substring(l[0].length),u+=this.renderer.br();else if(l=this.rules.del.exec(t))t=t.substring(l[0].length),u+=this.renderer.del(this.output(l[1]));else if(l=this.rules.autolink.exec(t))t=t.substring(l[0].length),"@"===l[2]?(r=a(this.mangle(l[1])),s="mailto:"+r):(r=a(l[1]),s=r),u+=this.renderer.link(s,null,r);else if(this.inLink||!(l=this.rules.url.exec(t))){if(l=this.rules.text.exec(t))t=t.substring(l[0].length),u+=this.renderer.text(this.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):a(l[0]):l[0]:a(this.smartypants(l[0])));else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0))}else{if("@"===l[2])r=a(l[0]),s="mailto:"+r;else{do{c=l[0],l[0]=this.rules._backpedal.exec(l[0])[0]}while(c!==l[0]);r=a(l[0]),s="www."===l[1]?"http://"+r:r}t=t.substring(l[0].length),u+=this.renderer.link(s,null,r)}return u}static escapes(t){return t?t.replace(e.rules._escapes,"$1"):t}outputLink(e,t){const n=t.href,r=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,a(e[1]))}smartypants(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e}mangle(e){if(!this.options.mangle)return e;const t=e.length;let n,r="",s=0;for(;s<t;s++)n=e.charCodeAt(s),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}}},"0G4o":function(e){e.exports=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}},"5y6D":function(e,t,n){const{defaults:r}=n("bixo"),{block:s}=n("Jzis"),{rtrim:i,splitCells:o,escape:a}=n("AkNA");e.exports=class e{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||r,this.rules=s.normal,this.options.pedantic?this.rules=s.pedantic:this.options.gfm&&(this.rules=s.gfm)}static get rules(){return s}static lex(t,n){return new e(n).lex(t)}lex(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    "),this.token(e,!0)}token(e,t){let n,r,l,c,u,p,h,d,f,g,m,_,b,y,v,k;for(e=e.replace(/^ +$/gm,"");e;)if((l=this.rules.newline.exec(e))&&(e=e.substring(l[0].length),l[0].length>1&&this.tokens.push({type:"space"})),l=this.rules.code.exec(e)){const t=this.tokens[this.tokens.length-1];e=e.substring(l[0].length),t&&"paragraph"===t.type?t.text+="\n"+l[0].trimRight():(l=l[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?l:i(l,"\n")}))}else if(l=this.rules.fences.exec(e))e=e.substring(l[0].length),this.tokens.push({type:"code",lang:l[2]?l[2].trim():l[2],text:l[3]||""});else if(l=this.rules.heading.exec(e))e=e.substring(l[0].length),this.tokens.push({type:"heading",depth:l[1].length,text:l[2]});else if((l=this.rules.nptable.exec(e))&&(p={type:"table",header:o(l[1].replace(/^ *| *\| *$/g,"")),align:l[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:l[3]?l[3].replace(/\n$/,"").split("\n"):[]},p.header.length===p.align.length)){for(e=e.substring(l[0].length),m=0;m<p.align.length;m++)p.align[m]=/^ *-+: *$/.test(p.align[m])?"right":/^ *:-+: *$/.test(p.align[m])?"center":/^ *:-+ *$/.test(p.align[m])?"left":null;for(m=0;m<p.cells.length;m++)p.cells[m]=o(p.cells[m],p.header.length);this.tokens.push(p)}else if(l=this.rules.hr.exec(e))e=e.substring(l[0].length),this.tokens.push({type:"hr"});else if(l=this.rules.blockquote.exec(e))e=e.substring(l[0].length),this.tokens.push({type:"blockquote_start"}),l=l[0].replace(/^ *> ?/gm,""),this.token(l,t),this.tokens.push({type:"blockquote_end"});else if(l=this.rules.list.exec(e)){for(e=e.substring(l[0].length),c=l[2],y=c.length>1,h={type:"list_start",ordered:y,start:y?+c:"",loose:!1},this.tokens.push(h),l=l[0].match(this.rules.item),d=[],n=!1,b=l.length,m=0;m<b;m++)p=l[m],g=p.length,p=p.replace(/^ *([*+-]|\d+\.) */,""),~p.indexOf("\n ")&&(g-=p.length,p=p.replace(this.options.pedantic?/^ {1,4}/gm:new RegExp("^ {1,"+g+"}","gm"),"")),m!==b-1&&(u=s.bullet.exec(l[m+1])[0],(c.length>1?1===u.length:u.length>1||this.options.smartLists&&u!==c)&&(e=l.slice(m+1).join("\n")+e,m=b-1)),r=n||/\n\n(?!\s*$)/.test(p),m!==b-1&&(n="\n"===p.charAt(p.length-1),r||(r=n)),r&&(h.loose=!0),v=/^\[[ xX]\] /.test(p),k=void 0,v&&(k=" "!==p[1],p=p.replace(/^\[[ xX]\] +/,"")),f={type:"list_item_start",task:v,checked:k,loose:r},d.push(f),this.tokens.push(f),this.token(p,!1),this.tokens.push({type:"list_item_end"});if(h.loose)for(b=d.length,m=0;m<b;m++)d[m].loose=!0;this.tokens.push({type:"list_end"})}else if(l=this.rules.html.exec(e))e=e.substring(l[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===l[1]||"script"===l[1]||"style"===l[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):a(l[0]):l[0]});else if(t&&(l=this.rules.def.exec(e)))e=e.substring(l[0].length),l[3]&&(l[3]=l[3].substring(1,l[3].length-1)),_=l[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[_]||(this.tokens.links[_]={href:l[2],title:l[3]});else if((l=this.rules.table.exec(e))&&(p={type:"table",header:o(l[1].replace(/^ *| *\| *$/g,"")),align:l[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:l[3]?l[3].replace(/\n$/,"").split("\n"):[]},p.header.length===p.align.length)){for(e=e.substring(l[0].length),m=0;m<p.align.length;m++)p.align[m]=/^ *-+: *$/.test(p.align[m])?"right":/^ *:-+: *$/.test(p.align[m])?"center":/^ *:-+ *$/.test(p.align[m])?"left":null;for(m=0;m<p.cells.length;m++)p.cells[m]=o(p.cells[m].replace(/^ *\| *| *\| *$/g,""),p.header.length);this.tokens.push(p)}else if(l=this.rules.lheading.exec(e))e=e.substring(l[0].length),this.tokens.push({type:"heading",depth:"="===l[2].charAt(0)?1:2,text:l[1]});else if(t&&(l=this.rules.paragraph.exec(e)))e=e.substring(l[0].length),this.tokens.push({type:"paragraph",text:"\n"===l[1].charAt(l[1].length-1)?l[1].slice(0,-1):l[1]});else if(l=this.rules.text.exec(e))e=e.substring(l[0].length),this.tokens.push({type:"text",text:l[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens}}},A61a:function(e,t,n){"use strict";(function(e){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o({url:e,headers:t={},body:n={},settings:r={}}){const s={credentials:"omit",method:"GET",mode:"cors",cache:"default",headers:{}};r.jwtToken&&(s.headers={Authorization:`Bearer ${r.jwtToken}`});let i="";return"POST"===r.method||"PUT"===r.method||"PATCH"===r.method||"DELETE"===r.method?(s.method=r.method,s.body=JSON.stringify(n),s.headers["Content-Type"]="application/json"):i=p.a.stringify(n),fetch(`${r.apiServer}${e}${i?`?${i}`:""}`,s).then((e=>e)).then((e=>e.json())).catch((e=>{throw e}))}function a(t){const{apiServer:n,articleId:r,sheetId:i,className:a,style:u}=t,[p,d]=Object(c.c)({}),[m,_]=Object(c.c)({}),[b,y]=Object(c.c)({}),[v,k]=Object(c.c)({}),[O,w]=Object(c.c)({}),[x,j]=Object(c.c)(0),[$,S]=Object(c.c)(!1),[D,A]=Object(c.c)({}),[I,P]=Object(c.c)({}),[C,T]=Object(c.c)({}),E=i||p["form-sheetId"],M=`data-${E}`;Object(c.b)((()=>{const e=localStorage.getItem(M);e&&A(JSON.parse(e))}),[E]),Object(c.b)((()=>{r&&(async()=>{const e=await o({url:`/api/article/${r}`,settings:{apiServer:n}});d(e.article),_(e.imageServer),y(e.imagePath)})()}),[r]),Object(c.b)((()=>{E&&(async()=>{const e=await o({url:`/api/forms/${E}`,settings:{apiServer:n}});w(e)})()}),[E]);Object(c.a)((e=>{const{id:t}=e.target.closest("tr").dataset;j(t)}),[x]),Object(c.a)((()=>{j(0),P({})}),[0]);const L=Object(c.a)((e=>{const{name:t,value:n}=e.target,{validation:r,removechars:i,help:o}=e.target.dataset;let a=n;if("email"===t&&(a=n.toLowerCase()),i){const e=new RegExp(`${i}`,"g");a=`${a}`.replace(e,"")}const l=s({},D);if(l[t]=a,A(l),E&&localStorage.setItem(M,JSON.stringify(l)),r){const n=s({},C);if("email"===r)h.a.validateEmail(a)?(e.target.classList.remove("is-invalid"),e.target.classList.add("is-valid"),delete n[t]):(e.target.classList.remove("is-valid"),e.target.classList.add("is-invalid"),n[t]=o);else{new RegExp(`${r}`).test(a)?(e.target.classList.remove("is-invalid"),e.target.classList.add("is-valid"),delete n[t]):(e.target.classList.remove("is-valid"),e.target.classList.add("is-invalid"),n[t]=o)}T(n)}}),[D]),z=Object(c.a)((async()=>{D.email&&h.a.validateEmail(D.email)&&0===Object.keys(C).length&&(S(!0),await(async()=>{const e=await o({url:`/api/forms/${E}`,body:s({},D),settings:{apiServer:n,method:"POST"}});P(e)})(),S(!1))}),[D,x]);return I&&I.status?Object(l.h)(e,null,Object(l.h)("div",{class:`${p["form-class"]} ${a}`,style:`${p["form-style"]} ${u}`},I.status<300?Object(l.h)(e,null,Object(l.h)("div",{class:"alert alert-success",role:"alert"},Object(l.h)("i",{class:"fas fa-check text-success"})," Påmeldingen er mottatt.")):Object(l.h)(e,null,Object(l.h)("div",{class:"alert alert-danger",role:"alert"},Object(l.h)("i",{class:"fas fa-exclamation-triangle text-danger"})," ",I.data)))):Object(l.h)("div",{class:`${p["form-class"]} row ${a}`,style:`${p["form-style"]} ${u}`},O&&O.title?Object(l.h)(e,null,O.rows&&O.rows.map((t=>{if("headerRow"===t.type){const n=t.values.split(","),r=t.titles.split(",");return Object(l.h)(e,null,(t.heading||t.description)&&Object(l.h)("div",{class:"col-12"},t.heading&&Object(l.h)("h5",{class:"mt-5"},t.heading),t.description&&Object(l.h)(f.a,{markdown:`${t.description}`,markdownOpts:g})),Object(l.h)("div",{class:"col-12"},Object(l.h)("div",{class:"row"},Object(l.h)("div",{class:t.classes||"col-3"},t.title&&Object(l.h)("label",{for:`${t.name}Input`},t.title)),n&&n.map(((e,n)=>Object(l.h)("div",{class:`${t.valueClasses||"col-12"}`},r[n]||e))))))}if("checkboxHorizontal"===t.type){const n=t.values.split(","),r=t.titles.split(",");return Object(l.h)(e,null,(t.heading||t.description)&&Object(l.h)("div",{class:"col-12"},t.heading&&Object(l.h)("h5",{class:"mt-5"},t.heading),t.description&&Object(l.h)(f.a,{markdown:`${t.description}`,markdownOpts:g})),Object(l.h)("div",{class:"col-12"},Object(l.h)("div",{class:"row"},Object(l.h)("div",{class:t.classes||"col-3"},t.title&&Object(l.h)("label",{for:`${t.name}Input`},t.title)),n&&n.map(((e,n)=>Object(l.h)("div",{class:`${t.valueClasses||"col-12"}`},Object(l.h)("div",{class:t.classes||"col-3"},Object(l.h)("div",{class:"form-check"},Object(l.h)("input",{class:"form-check-input",type:"checkbox",name:`${t.name}-${e}`,checked:"1"===D[`${t.name}-${e}`]&&"checked",id:`${t.name}Input${e}`,value:1,onInput:L}),Object(l.h)("label",{class:"form-check-label",for:`${t.name}Input${e}`},r[n]))))))),t.help&&Object(l.h)("small",{id:`${t.name}Help`,class:"form-text text-muted"},t.help)))}if("radio"===t.type){const n=t.values.split(","),r=t.titles.split(",");return Object(l.h)(e,null,(t.heading||t.description)&&Object(l.h)("div",{class:"col-12"},t.heading&&Object(l.h)("h5",{class:"mt-5"},t.heading),t.description&&Object(l.h)(f.a,{markdown:`${t.description}`,markdownOpts:g})),Object(l.h)("div",{class:t.classes||"col-12"},t.title&&Object(l.h)("label",{for:`${t.name}Input`},t.title),Object(l.h)("div",{class:"row"},n&&n.map(((e,n)=>Object(l.h)("div",{class:`${t.valueClasses||"col-12"}`},Object(l.h)("div",{class:"form-check"},Object(l.h)("input",{class:"form-check-input",type:"radio",name:`${t.name}-${e}`,checked:"1"===D[`${t.name}-${e}`]&&"checked",id:`${t.name}Input${e}`,value:1,onInput:L}),Object(l.h)("label",{class:"form-check-label",for:`${t.name}Input${e}`},r[n]||e)))))),t.help&&Object(l.h)("small",{id:`${t.name}Help`,class:"form-text text-muted"},t.help)))}if("select"===t.type){const n=t.values.split(","),r=t.titles.split(",");return Object(l.h)(e,null,(t.heading||t.description)&&Object(l.h)("div",{class:"col-12"},t.heading&&Object(l.h)("h5",{class:"mt-5"},t.heading),t.description&&Object(l.h)(f.a,{markdown:`${t.description}`,markdownOpts:g})),Object(l.h)("div",{class:t.classes||"col-12"},Object(l.h)("div",{class:"form-group"},Object(l.h)("label",{for:`${t.name}Input`},t.title),Object(l.h)("select",{id:`${t.name}Input`,class:"form-control",onInput:L,name:t.name},Object(l.h)("option",{selected:!0},"-- velg --"),n&&n.map(((n,s)=>Object(l.h)(e,null,Object(l.h)("option",{value:n,selected:D[t.name]===n&&"selected"},r[s]||n))))),t.help&&Object(l.h)("small",{id:`${t.name}Help`,class:"form-text text-muted"},t.help))))}if("checkbox"===t.type){const n=t.values.split(","),r=t.titles.split(",");return Object(l.h)(e,null,(t.heading||t.description)&&Object(l.h)("div",{class:"col-12"},t.heading&&Object(l.h)("h5",{class:"mt-5"},t.heading),t.description&&Object(l.h)(f.a,{markdown:`${t.description}`,markdownOpts:g})),Object(l.h)("div",{class:t.classes||"col-12"},t.title&&Object(l.h)("label",{for:`${t.name}Input`},t.title),Object(l.h)("div",{class:"row"},n&&n.map(((e,n)=>Object(l.h)("div",{class:`${t.valueClasses||"col-12"}`},Object(l.h)("div",{class:"form-check"},Object(l.h)("input",{class:"form-check-input",type:"checkbox",name:`${t.name}-${e}`,checked:"1"===D[`${t.name}-${e}`]&&"checked",id:`${t.name}Input${e}`,value:1,onInput:L}),Object(l.h)("label",{class:"form-check-label",for:`${t.name}Input${e}`},r[n]||e)))))),t.help&&Object(l.h)("small",{id:`${t.name}Help`,class:"form-text text-muted"},t.help)))}return"textarea"===t.type?Object(l.h)(e,null,(t.heading||t.description)&&Object(l.h)("div",{class:"col-12"},t.heading&&Object(l.h)("h5",{class:"mt-5"},t.heading),t.description&&Object(l.h)(f.a,{markdown:`${t.description}`,markdownOpts:g})),Object(l.h)("div",{class:t.classes||"col-12"},Object(l.h)("div",{class:"form-group"},t.description&&Object(l.h)(f.a,{markdown:`${t.description}`,markdownOpts:g}),Object(l.h)("label",{for:`${t.name}Input`},t.title),Object(l.h)("textarea",{rows:5,class:"form-control",id:`${t.name}Input`,name:t.name,value:D[t.name],"aria-describedby":`${t.name}Help`,onInput:L,"data-validation":t.validation,"data-removechars":t.removechars,"data-help":t.helpvalidation}),t.help&&Object(l.h)("small",{id:`${t.name}Help`,class:"form-text text-muted"},t.help)))):Object(l.h)(e,null,(t.heading||t.description)&&Object(l.h)("div",{class:"col-12"},t.heading&&Object(l.h)("h5",{class:"mt-5"},t.heading),t.description&&Object(l.h)(f.a,{markdown:`${t.description}`,markdownOpts:g})),Object(l.h)("div",{class:t.classes||"col-12"},Object(l.h)("div",{class:"form-group"},t.description&&Object(l.h)(f.a,{markdown:`${t.description}`,markdownOpts:g}),Object(l.h)("label",{for:`${t.name}Input`},t.title),Object(l.h)("input",{type:t.type,class:"form-control",id:`${t.name}Input`,name:t.name,value:D[t.name],"aria-describedby":`${t.name}Help`,onInput:L,"data-validation":t.validation,"data-removechars":t.removechars,"data-help":t.helpvalidation,min:t.min,max:t.max}),t.help&&Object(l.h)("small",{id:`${t.name}Help`,class:"form-text text-muted"},t.help),C[t.name]&&Object(l.h)("div",{id:`validationFeedback${t.name}`,class:"invalid-feedback"},C[t.name]))))})),$&&Object(l.h)(e,null,Object(l.h)("div",{class:"d-flex justify-content-center py-3"},Object(l.h)("div",{class:"spinner-border",role:"status"},Object(l.h)("span",{class:"sr-only"},"Sender inn informasjonen...")),Object(l.h)("div",{class:"ml-3"},"Sender inn informasjonen..."))),Object(l.h)("div",{class:"col-12 mt-5"},C&&Object.keys(C).length>0&&Object(l.h)(e,null,Object(l.h)("div",{class:"alert alert-danger",role:"alert"},Object(l.h)("ul",null,Object.keys(C).map((e=>Object(l.h)("li",null,C[e]||e)))))),Object(l.h)("button",{type:"button",class:`btn btn-block btn-${Object.keys(C).length>0||$?"secondary":"primary"} float-right`,onClick:z,disabled:$||Object.keys(C).length>0},0===Object.keys(C).length?Object(l.h)(e,null,"Send inn skjema"):Object(l.h)(e,null,"Fyll inn feltene over...")))):Object(l.h)(e,null,Object(l.h)("div",{class:"d-flex justify-content-center py-3"},Object(l.h)("div",{class:"spinner-border",role:"status"},Object(l.h)("span",{class:"sr-only"},"Loading...")))))}n.d(t,"a",(function(){return a}));var l=n("hosL"),c=n("QRet"),u=n("UKnr"),p=n.n(u),h=n("Utv1"),d=n("fh8t"),f=n.n(d);const g={pedantic:!1,gfm:!0,breaks:!0,sanitize:!1,smartLists:!0,smartypants:!0,xhtml:!0}}).call(this,n("hosL").Fragment)},AkNA:function(e){function t(e){return e.replace(u,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}function n(e,t){f[" "+e]||(f[" "+e]=g.test(e)?e+"/":r(e,"/",!0));const n=-1===(e=f[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(m,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(_,"$1")+t:e+t}function r(e,t,n){const r=e.length;if(0===r)return"";let s=0;for(;s<r;){const i=e.charAt(r-s-1);if(i!==t||n){if(i===t||!n)break;s++}else s++}return e.substr(0,r-s)}const s=/[&<>"']/,i=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=e=>l[e],u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,p=/(^|[^\[])\^/g,h=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,f={},g=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;e.exports={escape:function(e,t){if(t){if(s.test(e))return e.replace(i,c)}else if(o.test(e))return e.replace(a,c);return e},unescape:t,edit:function(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(p,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n},cleanUrl:function(e,r,s){if(e){let e;try{e=decodeURIComponent(t(s)).replace(h,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}r&&!d.test(s)&&(s=n(r,s));try{s=encodeURI(s).replace(/%25/g,"%")}catch(e){return null}return s},resolveUrl:n,noopTest:{exec:function(){}},merge:function(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},splitCells:function(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,s=t;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"})).split(/ \|/);let r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},rtrim:r,findClosingBracket:function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,s=0;for(;s<n;s++)if("\\"===e[s])s++;else if(e[s]===t[0])r++;else if(e[s]===t[1]&&(r--,r<0))return s;return-1},checkSanitizeDeprecation:function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}}},F2rU:function(e){e.exports=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}},Jzis:function(e,t,n){const{noopTest:r,edit:s,merge:i}=n("AkNA"),o={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:r,table:r,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};o.def=s(o.def).replace("label",o._label).replace("title",o._title).getRegex(),o.bullet=/(?:[*+-]|\d{1,9}\.)/,o.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,o.item=s(o.item,"gm").replace(/bull/g,o.bullet).getRegex(),o.list=s(o.list).replace(/bull/g,o.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+o.def.source+")").getRegex(),o._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",o._comment=/<!--(?!-?>)[\s\S]*?-->/,o.html=s(o.html,"i").replace("comment",o._comment).replace("tag",o._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),o.paragraph=s(o._paragraph).replace("hr",o.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",o._tag).getRegex(),o.blockquote=s(o.blockquote).replace("paragraph",o.paragraph).getRegex(),o.normal=i({},o),o.gfm=i({},o.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),o.gfm.nptable=s(o.gfm.nptable).replace("hr",o.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",o._tag).getRegex(),o.gfm.table=s(o.gfm.table).replace("hr",o.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",o._tag).getRegex(),o.pedantic=i({},o.normal,{html:s("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",o._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:r,paragraph:s(o.normal._paragraph).replace("hr",o.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",o.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const a={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:r,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:r,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,_punctuation:"!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~"};a.em=s(a.em).replace(/punctuation/g,a._punctuation).getRegex(),a._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,a._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,a._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,a.autolink=s(a.autolink).replace("scheme",a._scheme).replace("email",a._email).getRegex(),a._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,a.tag=s(a.tag).replace("comment",o._comment).replace("attribute",a._attribute).getRegex(),a._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,a._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,a._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,a.link=s(a.link).replace("label",a._label).replace("href",a._href).replace("title",a._title).getRegex(),a.reflink=s(a.reflink).replace("label",a._label).getRegex(),a.normal=i({},a),a.pedantic=i({},a.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:s(/^!?\[(label)\]\((.*?)\)/).replace("label",a._label).getRegex(),reflink:s(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",a._label).getRegex()}),a.gfm=i({},a.normal,{escape:s(a.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),a.gfm.url=s(a.gfm.url,"i").replace("email",a.gfm._extended_email).getRegex(),a.breaks=i({},a.gfm,{br:s(a.br).replace("{2,}","*").getRegex(),text:s(a.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),e.exports={block:o,inline:a}},Kx7A:function(e,t,n){const r=n("ffMB"),s=n("0G4o"),i=n("/IQw"),o=n("F2rU"),{defaults:a}=n("bixo"),{merge:l,unescape:c}=n("AkNA");e.exports=class e{constructor(e){this.tokens=[],this.token=null,this.options=e||a,this.options.renderer=this.options.renderer||new r,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new s}static parse(t,n){return new e(n).parse(t)}parse(e){this.inline=new i(e.links,this.options),this.inlineText=new i(e.links,l({},this.options,{renderer:new o})),this.tokens=e.reverse();let t="";for(;this.next();)t+=this.tok();return t}next(){return this.token=this.tokens.pop(),this.token}peek(){return this.tokens[this.tokens.length-1]||0}parseText(){let e=this.token.text;for(;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)}tok(){let e="";switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,c(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":{let t,n,r,s,i="";for(r="",t=0;t<this.token.header.length;t++)r+=this.renderer.tablecell(this.inline.output(this.token.header[t]),{header:!0,align:this.token.align[t]});for(i+=this.renderer.tablerow(r),t=0;t<this.token.cells.length;t++){for(n=this.token.cells[t],r="",s=0;s<n.length;s++)r+=this.renderer.tablecell(this.inline.output(n[s]),{header:!1,align:this.token.align[s]});e+=this.renderer.tablerow(r)}return this.renderer.table(i,e)}case"blockquote_start":for(e="";"blockquote_end"!==this.next().type;)e+=this.tok();return this.renderer.blockquote(e);case"list_start":{e="";const t=this.token.ordered,n=this.token.start;for(;"list_end"!==this.next().type;)e+=this.tok();return this.renderer.list(e,t,n)}case"list_item_start":{e="";const t=this.token.loose,n=this.token.checked,r=this.token.task;if(this.token.task)if(t)if("text"===this.peek().type){const e=this.peek();e.text=this.renderer.checkbox(n)+" "+e.text}else this.tokens.push({type:"text",text:this.renderer.checkbox(n)});else e+=this.renderer.checkbox(n);for(;"list_item_end"!==this.next().type;)e+=t||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(e,r,n)}case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:{const e='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(e);console.log(e)}}}}},MNOf:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,s,i){s=s||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(r=r||"&");var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var p,h,d,f,g=e[u].replace(a,"%20"),m=g.indexOf(s);m>=0?(p=g.substr(0,m),h=g.substr(m+1)):(p=g,h=""),d=decodeURIComponent(p),f=decodeURIComponent(h),t(o,d)?n(o[d])?o[d].push(f):o[d]=[o[d],f]:o[d]=f}return o};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},QRet:function(e,t,n){"use strict";function r(e,t){m.options.__h&&m.options.__h(f,e,_||t),_=0;var n=f.__H||(f.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function s(e){return _=1,function(e,t,n){var s=r(d++,2);return s.t=e,s.__c||(s.__=[n?n(t):h(void 0,t),function(e){var t=s.t(s.__[0],e);s.__[0]!==t&&(s.__=[t,s.__[1]],s.__c.setState({}))}],s.__c=f),s.__}(h,e)}function i(e,t){var n=r(d++,3);!m.options.__s&&p(n.__H,t)&&(n.__=e,n.__H=t,f.__H.__h.push(n))}function o(e,t){var n=r(d++,7);return p(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function a(e,t){return _=8,o((function(){return e}),t)}function l(){b.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(c),e.__H.__h.forEach(u),e.__H.__h=[]}catch(t){e.__H.__h=[],m.options.__e(t,e.__v)}})),b=[]}function c(e){var t=f;"function"==typeof e.__c&&e.__c(),f=t}function u(e){var t=f;e.__c=e.__(),f=t}function p(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function h(e,t){return"function"==typeof t?t(e):t}n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var d,f,g,m=n("hosL"),_=0,b=[],y=m.options.__b,v=m.options.__r,k=m.options.diffed,O=m.options.__c,w=m.options.unmount;m.options.__b=function(e){f=null,y&&y(e)},m.options.__r=function(e){v&&v(e),d=0;var t=(f=e.__c).__H;t&&(t.__h.forEach(c),t.__h.forEach(u),t.__h=[])},m.options.diffed=function(e){k&&k(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==b.push(t)&&g===m.options.requestAnimationFrame||((g=m.options.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),x&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);x&&(t=requestAnimationFrame(n))})(l)),f=void 0},m.options.__c=function(e,t){t.some((function(e){try{e.__h.forEach(c),e.__h=e.__h.filter((function(e){return!e.__||u(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],m.options.__e(n,e.__v)}})),O&&O(e,t)},m.options.unmount=function(e){w&&w(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(c)}catch(e){m.options.__e(e,t.__v)}};var x="function"==typeof requestAnimationFrame},QfWi:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.r(t);var s=n("hosL"),i=function(e){var t,n=e.selector,r=e.inline,s=e.clientSpecified,i=[],o=document.currentScript||(t=document.getElementsByTagName("script"))[t.length-1];!0===r&&i.push(o.parentNode);return!0!==s||n||(n=function(e){var t=e.attributes,n=null;return Object.keys(t).forEach((function(e){t.hasOwnProperty(e)&&"data-mount-in"===t[e].name&&(n=t[e].nodeValue)})),n}(o)),n&&[].forEach.call(document.querySelectorAll(n),(function(e){i.push(e)})),i},o=function(e,t,n,i,o){t.forEach((function(t){var a=t;if(!a._habitat){a._habitat=!0;var l=function(e,t){void 0===t&&(t={});var n=e.attributes,s=r({},t);return Object.keys(n).forEach((function(e){if(n.hasOwnProperty(e)){var t=n[e].name;if(!t||"string"!=typeof t)return!1;var r=t.split(/(data-props?-)/).pop()||"";t!==(r=r.replace(/-([a-z])/gi,(function(e,t){return t.toUpperCase()})))&&(s[r]=n[e].nodeValue)}})),[].forEach.call(e.getElementsByTagName("script"),(function(e){var t={};if(e.hasAttribute("type")){if("text/props"!==e.getAttribute("type")&&"application/json"!==e.getAttribute("type"))return;try{t=JSON.parse(e.innerHTML)}catch(e){throw new Error(e)}r(s,t)}})),s}(t,o)||o;return i&&(a.innerHTML=""),Object(s.render)(Object(s.h)(e,l),a,n)}}))};(function(e){var t=e;return{render:function(e){void 0===e&&(e={});var n=e.selector;void 0===n&&(n=null);var r=e.inline;void 0===r&&(r=!1);var s=e.clean;void 0===s&&(s=!1);var a=e.clientSpecified;void 0===a&&(a=!1);var l=e.defaultProps;void 0===l&&(l={});var c=i({selector:n,inline:r,clientSpecified:a}),u=function(){if(c.length>0){var e=i({selector:n,inline:r,clientSpecified:a});return o(t,e,null,s,l)}};u(),document.addEventListener("DOMContentLoaded",u),document.addEventListener("load",u)}}})(n("A61a").a).render({selector:'[data-widget-host="simple-blog-form"]',clean:!0})},RlRQ:function(e,t,n){"use strict";function r(e,t,n){if(3===e.nodeType){var s="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==r.options.trim){var i=0===t||t===n.length-1;if((!(s=s.match(/^[\s\n]+$/g)&&"all"!==r.options.trim?" ":s.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===r.options.trim||i?"":" "))||" "===s)&&n.length>1&&i)return null}return s}if(1!==e.nodeType)return null;var o=String(e.nodeName).toLowerCase();if("script"===o&&!r.options.allowScripts)return null;var a,l,u=r.h(o,function(e){var t=e&&e.length;if(!t)return null;for(var n={},s=0;s<t;s++){var i=e[s],o=i.name,a=i.value;"on"===o.substring(0,2)&&r.options.allowEvents&&(a=new Function(a)),n[o]=a}return n}(e.attributes),(l=(a=e.childNodes)&&Array.prototype.map.call(a,r).filter(c))&&l.length?l:null);return r.visitor&&r.visitor(u),u}function s(e){var t=(e.type||"").toLowerCase(),n=s.map;n&&n.hasOwnProperty(t)?(e.type=n[t],e.props=Object.keys(e.props||{}).reduce((function(t,n){var r;return t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=e.props[n],t}),{})):e.type=t.replace(/[^a-z0-9-]/i,"")}n.r(t);var i,o,a=n("hosL"),l={},c=function(e){return e},u={};t.default=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.setReviver=function(e){o=e},t.prototype.shouldComponentUpdate=function(e){var t=this.props;return e.wrap!==t.wrap||e.type!==t.type||e.markup!==t.markup},t.prototype.setComponents=function(e){if(this.map={},e)for(var t in e)if(e.hasOwnProperty(t)){var n=t.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g,"$1$3-$2$4").toLowerCase();this.map[n]=e[t]}},t.prototype.render=function(e){var t=e.wrap;void 0===t&&(t=!0);var n,c=e.type,p=e.markup,h=e.components,d=e.reviver,f=e.onError,g=e["allow-scripts"],m=e["allow-events"],_=e.trim,b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),y=d||this.reviver||this.constructor.prototype.reviver||o||a.h;this.setComponents(h);var v={allowScripts:g,allowEvents:m,trim:_};try{n=function(e,t,n,o,a){var c=function(e,t){var n,r,s,o,a="html"===t?"text/html":"application/xml";"html"===t?(o="body",s="<!DOCTYPE html>\n<html><body>"+e+"</body></html>"):(o="xml",s='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+e+"</xml>");try{n=(new DOMParser).parseFromString(s,a)}catch(e){r=e}if(n||"html"!==t||((n=i||(i=function(){if(document.implementation&&document.implementation.createHTMLDocument)return document.implementation.createHTMLDocument("");var e=document.createElement("iframe");return e.style.cssText="position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;",e.setAttribute("sandbox","allow-forms"),document.body.appendChild(e),e.contentWindow.document}())).open(),n.write(s),n.close()),n){var l=n.getElementsByTagName(o)[0],c=l.firstChild;return e&&!c&&(l.error="Document parse failed."),c&&"parsererror"===String(c.nodeName).toLowerCase()&&(c.removeChild(c.firstChild),c.removeChild(c.lastChild),l.error=c.textContent||c.nodeValue||r||"Unknown error",l.removeChild(c)),l}}(e,t);if(c&&c.error)throw new Error(c.error);var p=c&&c.body||c;s.map=o||u;var h=p&&function(e,t,n,s){return r.visitor=t,r.h=n,r.options=s||l,r(e)}(p,s,n,a);return s.map=null,h&&h.props&&h.props.children||null}(p,c,y,this.map,v)}catch(e){f?f({error:e}):"undefined"!=typeof console&&console.error&&console.error("preact-markup: "+e)}if(!1===t)return n||null;var k=b.hasOwnProperty("className")?"className":"class",O=b[k];return O?O.splice?O.splice(0,0,"markup"):"string"==typeof O?b[k]+=" markup":"object"==typeof O&&(O.markup=!0):b[k]="markup",y("div",b,n||null)},t}(a.Component)},RoC8:function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},THQi:function(e){"use strict";function t(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,i,o,a){return i=i||"&",o=o||"=",null===e&&(e=void 0),"object"==typeof e?t(s(e),(function(s){var a=encodeURIComponent(n(s))+o;return r(e[s])?t(e[s],(function(e){return a+encodeURIComponent(n(e))})).join(i):a+encodeURIComponent(n(e[s]))})).join(i):a?encodeURIComponent(n(a))+o+encodeURIComponent(n(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},UKnr:function(e,t,n){"use strict";t.decode=t.parse=n("MNOf"),t.encode=t.stringify=n("THQi")},Utv1:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=n("UKnr"),l=n.n(a),c=n("jpFG"),u=n.n(c);const p="loadingProgress",h="errorMessage";var d={publish:(e,t)=>{u.a.publish(e,t)},subscribe:(e,t)=>{u.a.subscribe(e,((e,n)=>{t(n)}))}};const f="apiServer",g="imageServer",m="jwtToken",_="userEmail",b=/Mac/.test(navigator.platform);class y{static getType(e){return Object.prototype.toString.call(e)}static isError(e){return"[object Error]"===y.getType(e)}static isArray(e){return"[object Array]"===y.getType(e)}static isObject(e){return"[object Object]"===y.getType(e)}static isString(e){return"[object String]"===y.getType(e)}static isDate(e){return"[object Date]"===y.getType(e)}static isNumber(e){return"[object Number]"===y.getType(e)&&!Number.isNaN(e)}static isFunction(e){return"[object Function]"===y.getType(e)}static isRegexp(e){return"[object RegExp]"===y.getType(e)}static isBoolean(e){return"[object Boolean]"===y.getType(e)}static isNull(e){return"[object Null]"===y.getType(e)}static isUndefined(e){return"[object Undefined]"===y.getType(e)}static isDefined(e){return!y.isUndefined(e)}static checkNested(e,...t){let n=e;for(let e=0;e<t.length;e+=1){if(!n||!n.hasOwnProperty(t[e]))return!1;n=n[t[e]]}return!0}static getNestedValue(e,t){let n=e;return t.split(".").forEach((e=>{y.isObject(n)&&void 0!==n[e]||(n=null),n&&(n=n[e])})),n}static setNestedValue(e,t,n){return"string"==typeof t?y.setNestedValue(e,t.split("."),n):1===t.length&&void 0!==n?(y.isObject(e)||(e={}),e[t[0]]=n):0===t.length?e:y.setNestedValue(e[t[0]],t.slice(1),n)}static asNumber(e,...t){let n=t;Array.isArray(n[0])&&(n=n[0]);let r=e;for(let e=0;e<n.length;e+=1){if(!r||!r.hasOwnProperty(n[e]))return 0;r=r[n[e]]}return parseFloat(r)}static asString(e,...t){let n=t;Array.isArray(n[0])&&(n=n[0]);let r=e;for(let e=0;e<n.length;e+=1){if(!r||!r.hasOwnProperty(n[e]))return;r=r[n[e]]}return r}static asObject(e,...t){let n=t;Array.isArray(n[0])&&(n=n[0]);let r=e;for(let e=0;e<n.length;e+=1){if(!r||!r.hasOwnProperty(n[e]))return;r=r[n[e]]}if("object"==typeof r)return r}static asBoolean(e,...t){let n=t;Array.isArray(n[0])&&(n=n[0]);let r=e;for(let e=0;e<n.length;e+=1){if(!r||!r.hasOwnProperty(n[e]))return!1;r=r[n[e]]}return"boolean"==typeof r&&r}static cleanObject(e,t={}){const n=o({},e),r=Object.keys(n);for(let e=0;e<r.length;e+=1){const s=r[e];n.hasOwnProperty(s)&&(void 0!==n[s]&&!1!==n[s]||delete n[s],t.emptyIsUndefined&&""===n[s]&&delete n[s],t.zeroIsUndefined&&0===n[s]&&delete n[s],t.zeroStringIsUndefined&&"0"===n[s]&&delete n[s],t.nullIsUndefined&&null===n[s]&&delete n[s])}return n}static escapeEmail(e){return"string"==typeof e?e.replace(/[^a-z1-9]/g,"_"):e}static padDate(e){let t=String(e);return 1===t.length&&(t=`0${t}`),t}static parseInputDate(e){let t;return y.isDate(e)?e:(y.isString(e)||y.isNumber(e)?e>1e9&&e<9999999999?(t=new Date(0),t.setUTCSeconds(e)):e>1e12&&e<9999999999999?(t=new Date(0),t.setUTCSeconds(parseInt(e/1e3,10))):y.isString(e)&&e.match(/\d{4}-\d{2}-\d{2}/)&&(t=new Date(e)):t=new Date,t)}static isoDate(e,t=!1,n=!1,r=!1){const s=y.parseInputDate(e);if(s){const e=s.getMonth()+1,i=s.getDate(),o=s.getFullYear(),a=s.getHours(),l=s.getMinutes(),c=s.getSeconds(),u=-s.getTimezoneOffset(),p=u>=0?"+":"-";let h=`${y.padDate(o)}-${y.padDate(e)}-${y.padDate(i)}`;return r||(h+=` ${y.padDate(a)}:${y.padDate(l)}`,t&&(h+=`:${y.padDate(c)}`),n&&(h+=`${p}${u}`)),h}return"n/a"}static isoTime(e,t=!1,n=!1){const r=y.parseInputDate(e);if(r){const e=r.getHours(),s=r.getMinutes(),i=r.getSeconds(),o=-r.getTimezoneOffset(),a=o>=0?"+":"-";let l=`${y.padDate(e)}:${y.padDate(s)}`;return t&&(l+=`:${y.padDate(i)}`),n&&(l+=`${a}${o}`),l}return"n/a"}static formatDate(e,t={}){const n=s({},t),r=n.locale||"en-US";delete n.locale;const i=s({year:"numeric",month:"short",day:"numeric"},n);return(y.isDate(e)?e:new Date(e)).toLocaleString(r,i)}static getApiServer(){return localStorage.getItem(f)}static setApiServer(e){return localStorage.setItem(f,e)}static getImageServer(){return localStorage.getItem(g)}static setImageServer(e){return localStorage.setItem(g,e)}static getJwtToken(){return localStorage.getItem(m)}static setJwtToken(e){return localStorage.setItem(m,e)}static removeJwtToken(){return localStorage.removeItem(m)}static setUserEmail(e){return localStorage.setItem(_,e)}static getUserEmail(){return localStorage.getItem(_)}static removeUserEmail(){return localStorage.removeItem(_)}static setObject(e,t,n){const r=localStorage.getItem(e);let i={};if("object"==typeof t)i=s({},t);else if("string"==typeof r)try{i=JSON.parse(r),i[t]=n}catch(e){i=void 0}return localStorage.setItem(e,JSON.stringify(i))}static unsetObj(e,t){return"string"==typeof t?y.setObject(e,t,null):localStorage.setItem(e,null)}static getObject(e){try{let t=JSON.parse(localStorage.getItem(e));return null===t&&(t={}),t}catch(e){return}}static set(e,t){return localStorage.setItem(e,JSON.stringify(t))}static unset(e){return localStorage.setItem(e,null)}static get(e){try{return JSON.parse(localStorage.getItem(e))}catch(e){return}}static async fetchApi(e,t={},n={}){const r=y.getApiServer(),i=!t.hasOwnProperty("publish")||t.publish;i&&d.publish(p,0);const o=y.getJwtToken(),a=s({credentials:"omit",method:"GET",mode:"cors",cache:"default",headers:{},publish:!0},t);o&&(a.headers={Authorization:`Bearer ${o}`});let c="";["POST","PUT","PATCH","DELETE"].includes(t.method)?(a.credentials="include",a.body=JSON.stringify(n),a.headers["Content-Type"]="application/json"):c=l.a.stringify(n),i&&d.publish(p,25);try{const t=await fetch(`${r}${e}${c?`?${c}`:""}`,a);return i&&d.publish(p,100),t.json()}catch(e){if(i)return d.publish(h,"An error occurred"),[];throw e}}static format(e,t,n,r,s=!1){const i=Number.isNaN(t)?2:Math.abs(t),o=void 0===n?",":n,a=void 0===r?" ":r,l=Math.abs(e||0),c=Math.sign(e)>=0?"":"-";if(s){if(l>999999){return`${c}${y.format(l/1e6,1,n,r)}M`}if(l>999){return`${c}${y.format(l/1e3,1,n,r)}K`}}if(y.isNumber(l)){const e=String(parseInt(l.toFixed(i),10)),t=e.length>3?e.length%3:0;return`${c}${t?e.substr(0,t)+a:""}${e.substr(t).replace(/(\d{3})(?=\d)/g,`$1${a}`)}${i?o+Math.abs(l-e).toFixed(i).slice(2):""}`}return""}static formatCompact(e){return y.format(e,0,","," ",!0)}static formatBytes(e,t){const n=parseInt(e,10);if(y.isNumber(n)){if(0===n)return"0 Bytes";const e=1024,r=t||2,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(n)/Math.log(e));return`${parseFloat((n/e**i).toFixed(r))} ${s[i]}`}return""}static getDomain(){if(y.checkNested(window,"location"))return window.location.hostname}static isStandalone(){return!!window.navigator.standalone||!!window.matchMedia("(display-mode: standalone)").matches}static isMobile(){return[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some((e=>window.navigator.userAgent.match(e)))}static getImageHostname(){return y.getImageServer()}static getImageSrc(e,t="220x",n=1,r="product"){return"object"==typeof e?e.newFilename?`${t}/${e.newFilename}`:`${t}/${e.prefix||r}_${n}_${e.filename}.${e.ext}`:""}static isCapsLock(e,t=(()=>{})){let n=!1;const r=e.charCode,s=e.shiftKey;r>=97&&r<=122?n=s:!(r>=65&&r<=90)||s&&b||(n=!s),t(n)}static validateEmail(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())}static ucfirst(e,t=!1){return e.charAt(0).toUpperCase()+(t?"":e.slice(1))}static randomPassword(){return Math.random().toString(36).slice(-8)}static toggleDarkModeClasses(e){e?(document.body.classList.remove("bootstrap"),document.body.classList.add("bootstrap-dark")):(document.body.classList.remove("bootstrap-dark"),document.body.classList.add("bootstrap"))}static camelcasize(e){return e.replace(/-([a-z])/gi,((e,t)=>t.toUpperCase()))}static collectPropsFromElement(e,t={}){const n=e.attributes,r=o({},t);return Object.keys(n).forEach((e=>{if(n.hasOwnProperty(e)){const t=n[e].name;if(!t||"string"!=typeof t)return!1;let s=t.split(/(data-props?-)/).pop()||"";if(s=y.camelcasize(s),t!==s){r[s]=n[e].nodeValue}}return!1})),[].forEach.call(e.getElementsByTagName("script"),(e=>{let t={};if(e.hasAttribute("type")){if("text/props"!==e.getAttribute("type")&&"application/json"!==e.getAttribute("type"))return;try{t=JSON.parse(e.innerHTML)}catch(e){throw new Error(e)}o(r,t)}})),r}static encUri(e){return"string"==typeof e?encodeURIComponent(e.replace(/\s*\(.+?\)/g,"")):e}static makeId(e){let t="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length;for(let s=0;s<e;s+=1)t+=n.charAt(Math.floor(Math.random()*r));return t}static percentOfTotal(e,t){return t/e*100}static round(e,t=1){if(!`${e}`.includes("e"))return+`${Math.round(`${e}e+${t}`)}e-${t}`;const n=`${e}`.split("e");let r="";return+n[1]+t>0&&(r="+"),+`${Math.round(`${+n[0]}e${r}${+n[1]+t}`)}e-${t}`}static roundTo(e,t=100){return Math.round((e+Number.EPSILON)*t)/t}static range(e,t,n=1){const r=[];let s=e;for(;s<=t;)r.push(s),s+=n;return r}static monthRange(e,t){const n=y.parseInputDate(e),r=y.parseInputDate(t),s=n.getFullYear(),i=r.getFullYear(),o=[];for(let e=s;e<=i;e+=1){const t=e!==i?11:r.getMonth();for(let r=e===s?n.getMonth():0;r<=t;r+=1){o.push({month:r+1,year:e})}}return o}static weekRange(e,t){const n=y.parseInputDate(e),r=y.parseInputDate(t),s=n.getFullYear(),i=r.getFullYear(),o=[];for(let e=s;e<=i;e+=1){const t=e!==i?y.getWeeksInYear(e):y.getWeek(r);for(let r=e===s?y.getWeek(n):1;r<=t;r+=1)o.push({week:r,year:e})}return o}static dayRange(e,t){const n=y.parseInputDate(e),r=y.parseInputDate(t),s=[];for(let e=n;e<=r;e.setDate(e.getDate()+1)){const t=new Date(e);s.push({year:t.getFullYear(),week:y.getWeek(t),day:t.getDate(),month:t.getMonth()+1})}return s}static scorePassword(e){let t=0;if(!e)return t;const n={};for(let r=0;r<e.length;r+=1)n[e[r]]=(n[e[r]]||0)+1,t+=5/n[e[r]];const r={digits:/\d/.test(e),lower:/[a-z]/.test(e),upper:/[A-Z]/.test(e),nonWords:/\W/.test(e)};let s=0;const i=Object.keys(r);for(let e=0,t=i.length;e<t;e+=1){s+=!0===r[i[e]]?1:0}return t+=10*(s-1),parseInt(t,10)}static checkPassStrength(e,t=["veryweek","weak","good","strong"]){const n=y.scorePassword(e);return n>80?t[3]:n>60?t[2]:n>=30?t[1]:n>=5?t[0]:""}static normalizeBetween(e,t,n,r,s,i){const o=r+(e-t)*(s-r)/(n-t);return i&&o>i?i:o}static validateCode(e,t,n){let r=`${e}`.replace(/[^0-9]/g,"");return r=parseInt(r,10),r>=t&&r<=n}static age(e,t=new Date,n={year:"år",month:"mnd",week:"uker",day:"dager"}){const r=y.parseInputDate(e),s=y.parseInputDate(t).getTime()-r.getTime(),i={},o={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,minute:60};let a=Math.floor(s/1e3);const l=Object.keys(o);for(let e=0,t=l.length;e<t;e+=1){const t=l[e];i[t]=Math.floor(a/o[t]),a-=i[t]*o[t]}for(let e=0,t=l.length;e<t;e+=1){const t=l[e];if(i[t]>0)return`${i[t]} ${n[t]||t}`}return i}static secToHms(e,t=!1){const n=parseInt(e,10),r=Math.floor(n/3600),s=Math.floor(n%3600/60),i=Math.floor(n%3600%60);return t?`${y.padDate(r)}:${y.padDate(s)}`:`${y.padDate(r)}:${y.padDate(s)}:${y.padDate(i)}`}static formatDistance(e,t=new Date,n){const r=y.parseInputDate(e),s=y.parseInputDate(t).getTime()-r.getTime(),i=Math.floor(s/1e3),o=Math.floor(i/60),a=Math.floor(i/3600),l=Math.floor(i/86400),c=Math.floor(l/7);return Math.floor(c/4)>0?y.formatDate(r,n):c>0?`${c}w`:l>0?`${l}d`:a>0?`${a}h`:o>0?`${o}m`:`${i}s`}static hsl2Rgb(e,t,n){const r=e/360,s=t/100,i=n/100;let o,a,l;if(0===s)o=i,a=i,l=i;else{const e=(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e),t=i<.5?i*(1+s):i+s-i*s,n=2*i-t;o=e(n,t,r+1/3),a=e(n,t,r),l=e(n,t,r-1/3)}return{r:Math.round(255*o),g:Math.round(255*a),b:Math.round(255*l)}}static yearRange(e=1980,t=(new Date).getFullYear()){const n=[];let r=e;for(;r<=t;)n.push(r+=1);return n}static getYear(){return(new Date).getFullYear()}static getWeek(e){let t;t=y.isUndefined(e)?new Date:new Date(e),t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);const n=new Date(t.getFullYear(),0,4),r=(t.getTime()-n.getTime())/864e5,s=(n.getDay()+6)%7;return 1+Math.round((r-3+s)/7)}static getDaysInWeek(e,t,n){const r=[],s=y.getDateOfISOWeek(e,t,n);r.push(s);for(let e=1;e<7;e+=1){const t=new Date(s.getTime());t.setDate(s.getDate()+e),r.push(t)}return r}static getDaysInRange(e,t=7,n=!1){const r=[],s=y.parseInputDate(e);s.setHours(0,0,0,0),r.push(s);const i=t<0?-1:1,o=Math.abs(t);for(let e=1;e<=o;e+=1){const t=new Date(s.getTime());t.setDate(s.getDate()+e*i),r.push(t)}return n?r.map((e=>({day:e.getDate(),month:e.getMonth()+1,year:e.getFullYear()}))):r}static daysInMonth(e,t){return new Date(t,e,0).getDate()}static getDaysInMonth(e,t){const n=y.daysInMonth(e,t),r=[],s=new Date(t,e-1,1);r.push(s);for(let e=1;e<n;e+=1){const t=new Date(s.getTime());t.setDate(s.getDate()+e),r.push(t)}return r}static getWeeksInMonth(e,t,n="monday"){const r=[],s=new Date(t,e-1,1),i=new Date(t,e,0).getDate();let o=1,a=7-s.getDay();for("monday"===n&&(a=0===s.getDay()?1:7-s.getDay()+1);o<=i;)r.push({start:o,end:a,week:y.getWeek(new Date(s.getFullYear(),s.getMonth(),o))}),o=a+1,a+=7,a=1===o&&8===a?1:a,a>i&&(a=i);return r}static getWeeksInYear(e=(new Date).getFullYear()){return Math.max(y.getWeek(`${e}-12-31`),y.getWeek(`${e}-12-24`))}static getFirstWeekInYear(e=(new Date).getFullYear()){return y.getWeek(`${e}-01-01`)}static getDateOfWeek(e,t){return new Date(t,0,1+7*(e-1))}static getDateOfISOWeek(e,t,n){let r=parseInt(t,10);const s=parseInt(n,10),i=parseInt(e,10);1===s&&53===i&&(r-=1);const o=new Date(r,0,1+7*(i-1)),a=o.getDay(),l=o;return l.setDate(a<=4?o.getDate()-o.getDay()+1:o.getDate()+8-o.getDay()),l}static addDays(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}}t.a=y},WNjl:function(e,t,n){function r(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),t=u({},r.defaults,t||{}),p(t);const o=t.highlight;let a,l,c=0;try{a=s.lex(e,t)}catch(e){return n(e)}l=a.length;const h=function(e){if(e)return t.highlight=o,n(e);let r;try{r=i.parse(a,t)}catch(t){e=t}return t.highlight=o,e?n(e):n(null,r)};if(!o||o.length<3)return h();if(delete t.highlight,!l)return h();for(;c<a.length;c++)!function(e){"code"!==e.type?--l||h():o(e.text,e.lang,(function(t,n){return t?h(t):null==n||n===e.text?--l||h():(e.text=n,e.escaped=!0,void(--l||h()))}))}(a[c])}else try{return t=u({},r.defaults,t||{}),p(t),i.parse(s.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||r.defaults).silent)return"<p>An error occurred:</p><pre>"+h(e.message+"",!0)+"</pre>";throw e}}const s=n("5y6D"),i=n("Kx7A"),o=n("ffMB"),a=n("F2rU"),l=n("/IQw"),c=n("0G4o"),{merge:u,checkSanitizeDeprecation:p,escape:h}=n("AkNA"),{getDefaults:d,changeDefaults:f,defaults:g}=n("bixo");r.options=r.setOptions=function(e){return u(r.defaults,e),f(r.defaults),r},r.getDefaults=d,r.defaults=g,r.Parser=i,r.parser=i.parse,r.Renderer=o,r.TextRenderer=a,r.Lexer=s,r.lexer=s.lex,r.InlineLexer=l,r.inlineLexer=l.output,r.Slugger=c,r.parse=r,e.exports=r},bixo:function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}},ffMB:function(e,t,n){const{defaults:r}=n("bixo"),{cleanUrl:s,escape:i}=n("AkNA");e.exports=class{constructor(e){this.options=e||r}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return r?'<pre><code class="'+this.options.langPrefix+i(r,!0)+'">'+(n?e:i(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:i(e,!0))+"</code></pre>"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=s(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+i(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=s(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}}},fh8t:function(e,t,n){function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const s=n("hosL"),i=n("RlRQ").default,o=n("WNjl");e.exports=function(e,t){const n=(t=t||{}).h||s.h;let a;if("string"==typeof e)a=e,e={};else{if(!e||"string"!=typeof e.markdown)throw new Error("Invalid arguments. Markdown requires either a `<String>` or object: `{markdown: <String>}`");a=e.markdown}const l=e.markupOpts||t.markupOpts||{};return n(i,r({markup:o(a,e.markdownOpts||t.markdownOpts||{}),trim:!1,type:"html"},l))}},hosL:function(e,t,n){"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}function s(e){var t=e.parentNode;t&&t.removeChild(e)}function i(e,t,n){var r,s,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?s=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?C.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return o(e,a,r,s,null)}function o(e,t,n,r,s){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++E:s};return null!=T.vnode&&T.vnode(i),i}function a(){return{current:null}}function l(e){return e.children}function c(e,t){this.props=e,this.context=t}function u(e,t){if(null==t)return e.__?u(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?u(e):null}function p(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return p(e)}}function h(e){(!e.__d&&(e.__d=!0)&&L.push(e)&&!d.__r++||R!==T.debounceRendering)&&((R=T.debounceRendering)||z)(d)}function d(){for(var e;d.__r=L.length;)e=L.sort((function(e,t){return e.__v.__b-t.__v.__b})),L=[],e.some((function(e){var t,n,s,i,o,a;e.__d&&(o=(i=(t=e).__v).__e,(a=t.__P)&&(n=[],(s=r({},i)).__v=i.__v+1,O(a,i,s,t.__n,void 0!==a.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?u(i):o,i.__h),w(n,i),i.__e!=o&&p(i)))}))}function f(e,t,n,r,s,i,a,c,p,h){var d,f,m,b,y,v,k,w=r&&r.__k||F,x=w.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(b=n.__k[d]=null==(b=t[d])||"boolean"==typeof b?null:"string"==typeof b||"number"==typeof b||"bigint"==typeof b?o(null,b,null,null,b):Array.isArray(b)?o(l,{children:b},null,null,null):b.__b>0?o(b.type,b.props,b.key,null,b.__v):b)){if(b.__=n,b.__b=n.__b+1,null===(m=w[d])||m&&b.key==m.key&&b.type===m.type)w[d]=void 0;else for(f=0;f<x;f++){if((m=w[f])&&b.key==m.key&&b.type===m.type){w[f]=void 0;break}m=null}O(e,b,m=m||U,s,i,a,c,p,h),y=b.__e,(f=b.ref)&&m.ref!=f&&(k||(k=[]),m.ref&&k.push(m.ref,null,b),k.push(f,b.__c||y,b)),null!=y?(null==v&&(v=y),"function"==typeof b.type&&null!=b.__k&&b.__k===m.__k?b.__d=p=g(b,p,e):p=_(e,b,m,w,y,p),h||"option"!==n.type?"function"==typeof n.type&&(n.__d=p):e.value=""):p&&m.__e==p&&p.parentNode!=e&&(p=u(m))}for(n.__e=v,d=x;d--;)null!=w[d]&&("function"==typeof n.type&&null!=w[d].__e&&w[d].__e==n.__d&&(n.__d=u(r,d+1)),$(w[d],w[d]));if(k)for(d=0;d<k.length;d++)j(k[d],k[++d],k[++d])}function g(e,t,n){var r,s;for(r=0;r<e.__k.length;r++)(s=e.__k[r])&&(s.__=e,t="function"==typeof s.type?g(s,t,n):_(n,s,s,e.__k,s.__e,t));return t}function m(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){m(e,t)})):t.push(e)),t}function _(e,t,n,r,s,i){var o,a,l;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(null==n||s!=i||null==s.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(s),o=null;else{for(a=i,l=0;(a=a.nextSibling)&&l<r.length;l+=2)if(a==s)break e;e.insertBefore(s,i),o=i}return void 0!==o?o:s.nextSibling}function b(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||H.test(t)?n:n+"px"}function y(e,t,n,r,s){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||b(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||b(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?k:v,i):e.removeEventListener(t,i?k:v,i);else if("dangerouslySetInnerHTML"!==t){if(s)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function v(e){this.l[e.type+!1](T.event?T.event(e):e)}function k(e){this.l[e.type+!0](T.event?T.event(e):e)}function O(e,t,n,s,i,o,a,u,p){var h,d,g,m,_,b,y,v,k,O,w,j=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(p=n.__h,u=t.__e=n.__e,t.__h=null,o=[u]),(h=T.__b)&&h(t);try{e:if("function"==typeof j){if(v=t.props,k=(h=j.contextType)&&s[h.__c],O=h?k?k.props.value:h.__:s,n.__c?y=(d=t.__c=n.__c).__=d.__E:("prototype"in j&&j.prototype.render?t.__c=d=new j(v,O):(t.__c=d=new c(v,O),d.constructor=j,d.render=S),k&&k.sub(d),d.props=v,d.state||(d.state={}),d.context=O,d.__n=s,g=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=j.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=r({},d.__s)),r(d.__s,j.getDerivedStateFromProps(v,d.__s))),m=d.props,_=d.state,g)null==j.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==j.getDerivedStateFromProps&&v!==m&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(v,O),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(v,d.__s,O)||t.__v===n.__v){d.props=v,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(v,d.__s,O),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(m,_,b)}))}d.context=O,d.props=v,d.state=d.__s,(h=T.__r)&&h(t),d.__d=!1,d.__v=t,d.__P=e,h=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(s=r(r({},s),d.getChildContext())),g||null==d.getSnapshotBeforeUpdate||(b=d.getSnapshotBeforeUpdate(m,_)),w=null!=h&&h.type===l&&null==h.key?h.props.children:h,f(e,Array.isArray(w)?w:[w],t,n,s,i,o,a,u,p),d.base=t.__e,t.__h=null,d.__h.length&&a.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=x(n.__e,t,n,s,i,o,a,p);(h=T.diffed)&&h(t)}catch(e){t.__v=null,(p||null!=o)&&(t.__e=u,t.__h=!!p,o[o.indexOf(u)]=null),T.__e(e,t,n)}}function w(e,t){T.__c&&T.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){T.__e(e,t.__v)}}))}function x(e,t,n,r,i,o,a,l){var c,p,h,d=n.props,g=t.props,m=t.type,_=0;if("svg"===m&&(i=!0),null!=o)for(;_<o.length;_++)if((c=o[_])&&(c===e||(m?c.localName==m:3==c.nodeType))){e=c,o[_]=null;break}if(null==e){if(null===m)return document.createTextNode(g);e=i?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,g.is&&g),o=null,l=!1}if(null===m)d===g||l&&e.data===g||(e.data=g);else{if(o=o&&C.call(e.childNodes),p=(d=n.props||U).dangerouslySetInnerHTML,h=g.dangerouslySetInnerHTML,!l){if(null!=o)for(d={},_=0;_<e.attributes.length;_++)d[e.attributes[_].name]=e.attributes[_].value;(h||p)&&(h&&(p&&h.__html==p.__html||h.__html===e.innerHTML)||(e.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,s){var i;for(i in n)"children"===i||"key"===i||i in t||y(e,i,null,n[i],r);for(i in t)s&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||y(e,i,t[i],n[i],r)}(e,g,d,i,l),h)t.__k=[];else if(_=t.props.children,f(e,Array.isArray(_)?_:[_],t,n,r,i&&"foreignObject"!==m,o,a,o?o[0]:n.__k&&u(n,0),l),null!=o)for(_=o.length;_--;)null!=o[_]&&s(o[_]);l||("value"in g&&void 0!==(_=g.value)&&(_!==e.value||"progress"===m&&!_)&&y(e,"value",_,d.value,!1),"checked"in g&&void 0!==(_=g.checked)&&_!==e.checked&&y(e,"checked",_,d.checked,!1))}return e}function j(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){T.__e(e,n)}}function $(e,t,n){var r,i;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||j(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){T.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&$(r[i],t,"function"!=typeof e.type);n||null==e.__e||s(e.__e),e.__e=e.__d=void 0}function S(e,t,n){return this.constructor(e,n)}function D(e,t,n){var r,s,o;T.__&&T.__(e,t),s=(r="function"==typeof n)?null:n&&n.__k||t.__k,o=[],O(t,e=(!r&&n||t).__k=i(l,null,[e]),s||U,U,void 0!==t.ownerSVGElement,!r&&n?[n]:s?null:t.firstChild?C.call(t.childNodes):null,o,!r&&n?n:s?s.__e:t.firstChild,r),w(o,e)}function A(e,t){D(e,t,A)}function I(e,t,n){var s,i,a,l=r({},e.props);for(a in t)"key"==a?s=t[a]:"ref"==a?i=t[a]:l[a]=t[a];return arguments.length>2&&(l.children=arguments.length>3?C.call(arguments,2):n),o(e.type,l,s||e.key,i||e.ref,null)}function P(e,t){var n={__c:t="__cC"+N++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(h)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}n.r(t),n.d(t,"render",(function(){return D})),n.d(t,"hydrate",(function(){return A})),n.d(t,"createElement",(function(){return i})),n.d(t,"h",(function(){return i})),n.d(t,"Fragment",(function(){return l})),n.d(t,"createRef",(function(){return a})),n.d(t,"isValidElement",(function(){return M})),n.d(t,"Component",(function(){return c})),n.d(t,"cloneElement",(function(){return I})),n.d(t,"createContext",(function(){return P})),n.d(t,"toChildArray",(function(){return m})),n.d(t,"options",(function(){return T}));var C,T,E,M,L,z,R,N,U={},F=[],H=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;C=F.slice,T={__e:function(e,t){for(var n,r,s;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),s=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),s=n.__d),s)return n.__E=n}catch(t){e=t}throw e}},E=0,M=function(e){return null!=e&&void 0===e.constructor},c.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=r({},this.state),"function"==typeof e&&(e=e(r({},n),this.props)),e&&r(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),h(this))},c.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),h(this))},c.prototype.render=l,L=[],z="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,d.__r=0,N=0},jpFG:function(e,t,n){(function(e){!function(n){"use strict";var r={};n.PubSub=r,function(e){function t(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function n(e){return function(){throw e}}function r(e,t,r){try{e(t,r)}catch(e){setTimeout(n(e),0)}}function s(e,t,n){e(t,n)}function i(e,t,n,i){var o,a=u[t],l=i?s:r;if(Object.prototype.hasOwnProperty.call(u,t))for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&l(a[o],e,n)}function o(e,t,n){return function(){var r=String(e),s=r.lastIndexOf(".");for(i(e,e,t,n);-1!==s;)s=(r=r.substr(0,s)).lastIndexOf("."),i(e,r,t,n);i(e,h,t,n)}}function a(e){var n=String(e);return Boolean(Object.prototype.hasOwnProperty.call(u,n)&&t(u[n]))}function l(e){for(var t=String(e),n=a(t)||a(h),r=t.lastIndexOf(".");!n&&-1!==r;)r=(t=t.substr(0,r)).lastIndexOf("."),n=a(t);return n}function c(e,t,n,r){var s=o(e="symbol"==typeof e?e.toString():e,t,r);return!!l(e)&&(!0===n?s():setTimeout(s,0),!0)}var u={},p=-1,h="*";e.publish=function(t,n){return c(t,n,!1,e.immediateExceptions)},e.publishSync=function(t,n){return c(t,n,!0,e.immediateExceptions)},e.subscribe=function(e,t){if("function"!=typeof t)return!1;e="symbol"==typeof e?e.toString():e,Object.prototype.hasOwnProperty.call(u,e)||(u[e]={});var n="uid_"+String(++p);return u[e][n]=t,n},e.subscribeAll=function(t){return e.subscribe(h,t)},e.subscribeOnce=function(t,n){var r=e.subscribe(t,(function(){e.unsubscribe(r),n.apply(this,arguments)}));return e},e.clearAllSubscriptions=function(){u={}},e.clearSubscriptions=function(e){var t;for(t in u)Object.prototype.hasOwnProperty.call(u,t)&&0===t.indexOf(e)&&delete u[t]},e.countSubscriptions=function(e){var t,n,r=0;for(t in u)if(Object.prototype.hasOwnProperty.call(u,t)&&0===t.indexOf(e)){for(n in u[t])r++;break}return r},e.getSubscriptions=function(e){var t,n=[];for(t in u)Object.prototype.hasOwnProperty.call(u,t)&&0===t.indexOf(e)&&n.push(t);return n},e.unsubscribe=function(t){var n,r,s,i=function(e){var t;for(t in u)if(Object.prototype.hasOwnProperty.call(u,t)&&0===t.indexOf(e))return!0;return!1},o="string"==typeof t&&(Object.prototype.hasOwnProperty.call(u,t)||i(t)),a=!o&&"string"==typeof t,l="function"==typeof t,c=!1;if(!o){for(n in u)if(Object.prototype.hasOwnProperty.call(u,n)){if(r=u[n],a&&r[t]){delete r[t],c=t;break}if(l)for(s in r)Object.prototype.hasOwnProperty.call(r,s)&&r[s]===t&&(delete r[s],c=!0)}return c}e.clearSubscriptions(t)}}(r),void 0!==e&&e.exports&&(t=e.exports=r),t.PubSub=r,e.exports=t=r}("object"==typeof window&&window||this)}).call(this,n("RoC8")(e))},mdyV:function(e,t,n){"use strict";n.r(t);var r=n("hosL");const{h:s,render:i,hydrate:o}=r,a=e=>e&&e.default?e.default:e;if("function"==typeof a(n("QfWi"))){let e=document.getElementById("preact_root")||document.body.firstElementChild;0,(()=>{let t=a(n("QfWi")),r={};const o=document.querySelector('[type="__PREACT_CLI_DATA__"]');o&&(r=JSON.parse(decodeURI(o.innerHTML)).preRenderData||r);r.url&&(l=r.url);var l;e=i(s(t,{CLI_DATA:{preRenderData:r}}),document.body,e)})()}}});
//# sourceMappingURL=bundle.9ee2a.esm.js.map