diff --git a/.eslintrc.json b/.eslintrc.json index 98990cb9..e2c01f58 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,4 +1,8 @@ { + "globals": { + "jest": "readonly", + "JSX": "readonly" + }, "plugins": ["react", "prettier", "only-warn"], "extends": [ "airbnb", diff --git a/build/book-review-config-develop.json b/build/book-review-config-develop.json index 7b4fad82..928f3f53 100644 --- a/build/book-review-config-develop.json +++ b/build/book-review-config-develop.json @@ -4,8 +4,8 @@ "id": "01FP2SME0ENTXWF362XHM6Z1B4", "description": "Skabelon til anmeldelser.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/book-review.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/book-review-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/book-review.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/book-review-admin.json?ts=1663931637050", "schema": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/book-review-schema.json", "assets": [], "options": {}, diff --git a/build/book-review-config-main.json b/build/book-review-config-main.json index 9aa4d2cf..ea907977 100644 --- a/build/book-review-config-main.json +++ b/build/book-review-config-main.json @@ -4,8 +4,8 @@ "id": "01FP2SME0ENTXWF362XHM6Z1B4", "description": "Skabelon til anmeldelser.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/book-review.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/book-review-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/book-review.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/book-review-admin.json?ts=1663931637050", "schema": "https://raw.githubusercontent.com/os2display/display-templates/main/build/book-review-schema.json", "assets": [], "options": {}, diff --git a/build/calendar-config-develop.json b/build/calendar-config-develop.json index 918e5a39..f9242bc5 100644 --- a/build/calendar-config-develop.json +++ b/build/calendar-config-develop.json @@ -4,8 +4,8 @@ "id": "01FRJPF4XATRN8PBZ35XN84PS6", "description": "Mulighed for at vise et kalenderfeed.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/calendar.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/calendar-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/calendar.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/calendar-admin.json?ts=1663931637050", "schema": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/calendar-schema.json", "assets": [], "options": {}, diff --git a/build/calendar-config-main.json b/build/calendar-config-main.json index 16b30afb..a16f1b73 100644 --- a/build/calendar-config-main.json +++ b/build/calendar-config-main.json @@ -4,8 +4,8 @@ "id": "01FRJPF4XATRN8PBZ35XN84PS6", "description": "Mulighed for at vise et kalenderfeed.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/calendar.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/calendar-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/calendar.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/calendar-admin.json?ts=1663931637050", "schema": "https://raw.githubusercontent.com/os2display/display-templates/main/build/calendar-schema.json", "assets": [], "options": {}, diff --git a/build/calendar.js b/build/calendar.js index ae6f321e..093d1796 100644 --- a/build/calendar.js +++ b/build/calendar.js @@ -1,2 +1,2 @@ /*! For license information please see calendar.js.LICENSE.txt */ -(()=>{var e={9242:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Hi});const n=require("react");var i=r.n(n),a=r(5697),o=r.n(a),s=r(7484),l=r.n(s),c=r(6176),u=r.n(c),f=function(e,t){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},f(e,t)};function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var h=function(){return h=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Y,(function(e,r,n,i,a,o){if(r)t.minimumIntegerDigits=n.length;else{if(i&&a)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(H.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if($.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace($,(function(e,r,n,i,a,o){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""})),i.options.length&&(t=h(h({},t),V(i.options[0])))}else if(G.test(i.stem))t=h(h({},t),V(i.stem));else{var a=q(i.stem);a&&(t=h(h({},t),a));var o=B(i.stem);o&&(t=h(h({},t),o))}}return t}var Z=new RegExp("^"+x.source+"*"),K=new RegExp(x.source+"*$");function J(e,t){return{start:e,end:t}}var Q=!!String.prototype.startsWith,ee=!!String.fromCodePoint,te=!!Object.fromEntries,re=!!String.prototype.codePointAt,ne=!!String.prototype.trimStart,ie=!!String.prototype.trimEnd,ae=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},oe=!0;try{oe="a"===(null===(U=pe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===U?void 0:U[0])}catch(Kt){oe=!1}var se,le=Q?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ce=ee?String.fromCodePoint:function(){for(var e=[],t=0;ta;){if((r=e[a++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},ue=te?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},de=ne?function(e){return e.trimStart()}:function(e){return e.replace(Z,"")},he=ie?function(e){return e.trimEnd()}:function(e){return e.replace(K,"")};function pe(e,t){return new RegExp(e,t)}if(oe){var me=pe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");se=function(e,t){var r;return me.lastIndex=t,null!==(r=me.exec(e)[1])&&void 0!==r?r:""}}else se=function(e,t){for(var r=[];;){var n=fe(e,t);if(void 0===n||ye(n)||be(n))break;r.push(n),t+=n>=65536?2:1}return ce.apply(void 0,r)};var ge=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((a=this.parseArgument(e,r)).err)return a;n.push(a.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(g.UNMATCHED_CLOSING_TAG,J(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&ve(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;n.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;n.push(a.val)}}else{var o=this.clonePosition();this.bump(),n.push({type:v.pound,location:J(o,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:v.literal,value:"<"+n+"/>",location:J(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(this.bumpIf("")?{val:{type:v.tag,value:n,children:a,location:J(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,J(o,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,J(r,this.clonePosition()))}return this.error(g.INVALID_TAG,J(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var a=this.tryParseUnquoted(e,t);if(a)n+=a;else{var o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}var s=J(r,this.clonePosition());return{val:{type:v.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ve(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return ce.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),ce(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,J(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(g.MALFORMED_ARGUMENT,J(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:v.argument,value:n,location:J(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(g.MALFORMED_ARGUMENT,J(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=se(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:J(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,J(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((E=this.parseSimpleArgStyleIfPossible()).err)return E;if(0===(d=he(E.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,J(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:J(c,this.clonePosition())}}if((T=this.tryParseArgumentClose(n)).err)return T;var u=J(n,this.clonePosition());if(l&&le(null==l?void 0:l.style,"::",0)){var f=de(l.style.slice(2));if("number"===o)return(E=this.parseNumberSkeletonFromString(f,l.styleLocation)).err?E:{val:{type:v.number,value:r,location:u,style:E.val},err:null};if(0===f.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,u);var d={type:y.dateTime,pattern:f,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?F(f):{}};return{val:{type:"date"===o?v.date:v.time,value:r,location:u,style:d},err:null}}return{val:{type:"number"===o?v.number:"date"===o?v.date:v.time,value:r,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,J(p,h({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),b=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,J(this.clonePosition(),this.clonePosition()));var E;if(this.bumpSpace(),(E=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return E;this.bumpSpace(),m=this.parseIdentifierIfPossible(),b=E.val}var T,S=this.tryParsePluralOrSelectOptions(e,o,t,m);if(S.err)return S;if((T=this.tryParseArgumentClose(n)).err)return T;var w=J(n,this.clonePosition());return"select"===o?{val:{type:v.select,value:r,options:ue(S.val),location:w},err:null}:{val:{type:v.plural,value:r,options:ue(S.val),offset:b,pluralType:"plural"===o?"cardinal":"ordinal",location:w},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,J(a,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,J(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,J(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(j).filter((function(e){return e.length>0})),r=[],n=0,i=t;n=48&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}var s=J(n,this.clonePosition());return i?ae(a*=r)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=fe(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(le(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ye(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function ve(e){return e>=97&&e<=122||e>=65&&e<=90}function ye(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function be(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Ee(e){e.forEach((function(e){if(delete e.location,I(e)||P(e))for(var t in e.options)delete e.options[t].location,Ee(e.options[t].value);else O(e)&&L(e.style)||(C(e)||k(e))&&D(e.style)?delete e.style.location:N(e)&&Ee(e.children)}))}function Te(e,t){void 0===t&&(t={}),t=h({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ge(e,t).parse();if(r.err){var n=SyntaxError(g[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||Ee(r.val),r.val}function Se(e,t){var r=t&&t.cache?t.cache:Ie,n=t&&t.serializer?t.serializer:Oe;return(t&&t.strategy?t.strategy:Re)(e,{cache:r,serializer:n})}function we(e,t,r,n){var i,a=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),o=t.get(a);return void 0===o&&(o=e.call(this,n),t.set(a,o)),o}function _e(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return void 0===a&&(a=e.apply(this,n),t.set(i,a)),a}function Ae(e,t,r,n,i){return r.bind(t,e,n,i)}function Re(e,t){return Ae(e,this,1===e.length?we:_e,t.cache.create(),t.serializer)}var Oe=function(){return JSON.stringify(arguments)};function Ce(){this.cache=Object.create(null)}Ce.prototype.get=function(e){return this.cache[e]},Ce.prototype.set=function(e,t){this.cache[e]=t};var ke,Ie={create:function(){return new Ce}},Pe={variadic:function(e,t){return Ae(e,this,_e,t.cache.create(),t.serializer)},monadic:function(e,t){return Ae(e,this,we,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ke||(ke={}));var Me,Ne=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return d(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Le=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',ke.INVALID_VALUE,i)||this}return d(t,e),t}(Ne),De=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,ke.INVALID_VALUE,n)||this}return d(t,e),t}(Ne),xe=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',ke.MISSING_VALUE,r)||this}return d(t,e),t}(Ne);function ze(e){return"function"==typeof e}function Fe(e,t,r,n,i,a,o){if(1===e.length&&A(e[0]))return[{type:Me.literal,value:e[0].value}];for(var s=[],l=0,c=e;l needs to exist in the component ancestry.")}var Qe=h(h({},We),{textComponent:n.Fragment});function et(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var a=0;ah)&&(U=(G=G.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0l.charCodeAt(8))break;case 115:o=o.replace(l,"-webkit-"+l)+";"+o;break;case 207:case 102:o=o.replace(l,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],01?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var ir=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)(i<<=1)<0&&nr(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var a=n;a=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,a=n;a=sr&&(sr=t+1),ar.set(e,t),or.set(t,e)},fr="style["+Qt+'][data-styled-version="5.3.1"]',dr=new RegExp("^"+Qt+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),hr=function(e,t,r){for(var n,i=r.split(","),a=0,o=i.length;a=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(Qt))return n}}(r),a=void 0!==i?i.nextSibling:null;n.setAttribute(Qt,"active"),n.setAttribute("data-styled-version","5.3.1");var o=mr();return o&&n.setAttribute("nonce",o),r.insertBefore(n,a),n},vr=function(){function e(e){var t=this.element=gr(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(c+=e+",")})),n+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},e}(),wr=/(a)(d)/gi,_r=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ar(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=_r(t%52)+r;return(_r(t%52)+r).replace(wr,"$1-$2")}var Rr=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Or=function(e){return Rr(5381,e)};function Cr(e){for(var t=0;t>>0);if(!t.hasNameForId(n,o)){var s=r(a,"."+o,void 0,n);t.insertRules(n,o,s)}i.push(o),this.staticRulesId=o}else{for(var l=this.rules.length,c=Rr(this.baseHash,r.hash),u="",f=0;f>>0);if(!t.hasNameForId(n,m)){var g=r(u,"."+m,void 0,n);t.insertRules(n,m,g)}i.push(m)}}return i.join(" ")},e}(),Pr=/^\s*\/\/.*$/gm,Mr=[":","[",".","#"];function Nr(e){var t,r,n,i,a=void 0===e?Wt:e,o=a.options,s=void 0===o?Wt:o,l=a.plugins,c=void 0===l?Xt:l,u=new jt(s),f=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,i,a,o,s,l,c,u,f){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===c)return n+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),h=function(e,n,a){return 0===n&&-1!==Mr.indexOf(a[r.length])||a.match(i)?e:"."+t};function p(e,a,o,s){void 0===s&&(s="&");var l=e.replace(Pr,""),c=a&&o?o+" "+a+" { "+l+" }":l;return t=s,r=a,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),u(o||!a?"":a,c)}return u.use([].concat(c,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,h))},d,function(e){if(-2===e){var t=f;return f=[],t}}])),p.hash=c.length?c.reduce((function(e,t){return t.name||nr(15),Rr(e,t.name)}),5381).toString():"",p}var Lr=i().createContext(),Dr=(Lr.Consumer,i().createContext()),xr=(Dr.Consumer,new Sr),zr=Nr();function Fr(){return(0,n.useContext)(Lr)||xr}function Ur(){return(0,n.useContext)(Dr)||zr}function jr(e){var t=(0,n.useState)(e.stylisPlugins),r=t[0],a=t[1],o=Fr(),s=(0,n.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,n.useMemo)((function(){return Nr({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,n.useEffect)((function(){Ut()(r,e.stylisPlugins)||a(e.stylisPlugins)}),[e.stylisPlugins]),i().createElement(Lr.Provider,{value:s},i().createElement(Dr.Provider,{value:l},e.children))}var $r=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=zr);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return nr(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=zr),this.name+e.hash},e}(),Gr=/([A-Z])/,Yr=/([A-Z])/g,Hr=/^ms-/,Vr=function(e){return"-"+e.toLowerCase()};function qr(e){return Gr.test(e)?e.replace(Yr,Vr).replace(Hr,"-ms-"):e}var Br=function(e){return null==e||!1===e||""===e};function Xr(e,t,r,n){if(Array.isArray(e)){for(var i,a=[],o=0,s=e.length;o1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,Qr=/(^-|-$)/g;function en(e){return e.replace(Jr,"-").replace(Qr,"")}var tn=function(e){return Ar(Or(e)>>>0)};function rn(e){return"string"==typeof e&&!0}var nn=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},an=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function on(e,t,r){var n=e[r];nn(t)&&nn(n)?sn(n,t):e[r]=t}function sn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0||(i[r]=e[r]);return i}(t,["componentId"]),a=n&&n+"-"+(rn(e)?e:en(Kt(e)));return un(e,Vt({},i,{attrs:p,componentId:a}),r)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=a?sn({},e.defaultProps,t):t}}),g.toString=function(){return"."+g.styledComponentId},o&&E()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var fn=function(e){return function e(t,r,n){if(void 0===n&&(n=Wt),!(0,zt.isValidElementType)(r))return nr(1,String(r));var i=function(){return t(r,n,Zr.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,r,Vt({},n,{},i))},i.attrs=function(i){return e(t,r,Vt({},n,{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},i}(un,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){fn[e]=fn(e)}));var dn,hn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Cr(e),Sr.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var i=n(Xr(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&Sr.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function pn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a"+t+""},this.getStyleTags=function(){return e.sealed?nr(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return nr(2);var r=((t={})[Qt]="",t["data-styled-version"]="5.3.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=mr();return n&&(r.nonce=n),[i().createElement("style",Vt({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Sr({isServer:!0}),this.sealed=!1}.prototype,dn.collectStyles=function(e){return this.sealed?nr(2):i().createElement(jr,{sheet:this.instance},e)},dn.interleaveWithNodeStream=function(e){return nr(3)};const mn=fn;var gn;function vn(e){var t=e.id,r=e.css,n=void 0===r?null:r;if(!n)return i().createElement(i().Fragment,null);var a,o,s=n.replaceAll("#SLIDE_ID","#".concat(t)),l=pn(gn||(a=["",""],o||(o=a.slice(0)),gn=Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(o)}}))),s);return i().createElement(l,null)}function yn(e){var t=function(){var e=n.useContext(w);return Je(e),e}(),r=t.formatMessage,i=t.textComponent,a=void 0===i?n.Fragment:i,o=e.id,s=e.description,l=e.defaultMessage,c=e.values,u=e.children,f=e.tagName,d=void 0===f?a:f,h=r({id:o,description:s,defaultMessage:l},c,{ignoreTag:e.ignoreTag});return"function"==typeof u?u(Array.isArray(h)?h:[h]):d?n.createElement(d,null,n.Children.toArray(h)):n.createElement(n.Fragment,null,h)}vn.defaultProps={css:null},vn.propTypes={id:o().string.isRequired,css:o().string},yn.displayName="FormattedMessage";var bn=n.memo(yn,(function(e,t){var r=e.values,n=p(e,["values"]),i=t.values,a=p(t,["values"]);return et(i,r)&&et(n,a)}));bn.displayName="MemoizedFormattedMessage";const En=bn;var Tn,Sn,wn,_n,An,Rn,On=r(7427),Cn=r.n(On);function kn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function In(e){var t=e.content,r=e.calendarEvents,a=e.templateClasses,o=e.templateRootStyle,s=t.title,c=void 0===s?"":s,f=t.subTitle,d=void 0===f?null:f,h=t.resourceAvailableText,p=void 0===h?null:h,m=t.resourceUnavailableText,g=void 0===m?null:m;(0,n.useEffect)((function(){l().extend(u())}),[]);var v,y,b=function(e){return l()(1e3*e).locale(Cn()).format("HH:mm")};return i().createElement(Pn,{className:"calendar-single ".concat(a.join(" ")),style:o},i().createElement(Mn,{className:"title"},c),d&&i().createElement(Nn,{className:"subtitle"},d),i().createElement(Ln,{className:"content"},0===(null==r?void 0:r.length)&&i().createElement(Dn,{className:"content-item"},p),(null==r?void 0:r.length)>0&&(y=[],(v=r).length>0&&v.forEach((function(e){var t,r;y.length<3&&y.push(i().createElement(Dn,{key:e.id,className:0===y.length?"content-item single--now":"content-item single--next"},i().createElement(xn,null,b(e.startTime)," - ",b(e.endTime)),null!==(t=null!==(r=null==e?void 0:e.title)&&void 0!==r?r:g)&&void 0!==t?t:i().createElement(En,{id:"unavailable",defaultMessage:"Unavailable"})))})),y.concat())))}var Pn=mn.div(Tn||(Tn=kn(["\n /* Wrapper styling */\n font-family: var(--font-family-base);\n height: 100%;\n background-repeat: no-repeat;\n background-size: cover;\n /*\n --bg-color is local to this template file and is populated from configuration.\n --background-color serves as fallback to the global variable, that will serve a light og dark background color depending on the user preferences.\n */\n background-color: var(--bg-color, var(--background-color));\n background-image: var(--bg-image, none);\n color: var(--text-color);\n padding: var(--padding-size-base);\n"]))),Mn=mn.div(Sn||(Sn=kn(["\n font-size: var(--h1-font-size);\n font-weight: var(--font-weight-bold);\n margin-bottom: var(--margin-size-base);\n"]))),Nn=mn.div(wn||(wn=kn(["\n font-size: var(--h2-font-size);\n margin-bottom: var(--margin-size-base);\n"]))),Ln=mn.div(_n||(_n=kn(["\n display: flex;\n flex-direction: column;\n"]))),Dn=mn.div(An||(An=kn(["\n border-left: var(--border);\n padding-left: var(--padding-size-base);\n margin-bottom: var(--margin-size-base);\n font-size: var(--font-size-base);\n\n &:first-of-type {\n font-size: calc(var(--font-size-base) * 2);\n }\n"]))),xn=mn.div(Rn||(Rn=kn(["\n color: inherit;\n opacity: 0.75;\n font-size: smaller;\n"])));In.defaultProps={templateClasses:[],templateRootStyle:{}},In.propTypes={templateClasses:o().arrayOf(o().string),templateRootStyle:o().objectOf(o().any),calendarEvents:o().arrayOf(o().shape({id:o().string.isRequired,title:o().string,startTime:o().number.isRequired,endTime:o().number,resourceTitle:o().string,resourceId:o().string})).isRequired,content:o().shape({title:o().string,subTitle:o().string,resourceAvailableText:o().string,resourceUnavailableText:o().string}).isRequired};const zn=In;var Fn,Un,jn,$n,Gn,Yn,Hn,Vn,qn,Bn;function Xn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Wn(e){var t=e.content,r=e.calendarEvents,a=e.templateClasses,o=e.templateRootStyle,s=t.title,c=void 0===s?"":s,f=t.resourceUnavailableText,d=void 0===f?null:f,h=t.footerText,p=void 0===h?null:h;(0,n.useEffect)((function(){l().extend(u())}),[]);var m,g=function(e){return l()(1e3*e).locale(Cn()).format("HH:mm")};return i().createElement(Zn,{className:"calendar-multiple-days ".concat(a.join(" ")),style:o},i().createElement(i().Fragment,null,i().createElement(Kn,{className:"title"},c),i().createElement(Jn,{className:"content"},(null==r?void 0:r.length)>0&&function(e){return Object.keys(e).map((function(t,r){return i().createElement(n.Fragment,{key:t},r<5&&i().createElement(Qn,{className:"content-col"},i().createElement(ei,{className:"col-title"},t),e[t].map((function(e){var t,r,n;return i().createElement(ti,{key:e.id,className:"col-item"},i().createElement(ri,{className:"col-item-time"},i().createElement("div",null,g(e.startTime)," - "),i().createElement("div",null,g(e.endTime))),i().createElement(ni,{className:"col-item-event"},i().createElement("div",null,null!==(t=null!==(r=e.title)&&void 0!==r?r:d)&&void 0!==t?t:i().createElement(En,{id:"unavailable",defaultMessage:"Unavailable"})),i().createElement(ii,null,null!==(n=e.resourceTitle)&&void 0!==n?n:e.resourceId)))}))))}))}((m={},r.forEach((function(e){var t=l()(1e3*e.startTime).locale(Cn()).format("dddd D. MMMM");Object.prototype.hasOwnProperty.call(m,t)||(m[t]=[]),m[t].push(e)})),m))),p&&i().createElement(ai,{className:"footer"},p)))}var Zn=mn.div(Fn||(Fn=Xn(['\n font-family: var(--font-family-base);\n font-size: var(--font-size-base);\n height: 100%;\n overflow: hidden;\n background-repeat: no-repeat;\n background-size: cover;\n /*\n --bg-color is local to this template file and is populated from configuration.\n --background-color serves as fallback to the global variable, that will serve a light og dark background color depending on the user preferences.\n */\n background-color: var(--bg-color, var(--background-color));\n background-image: var(--bg-image, none);\n color: var(--text-color);\n display: grid;\n grid-template-areas:\n "title"\n "content"\n "footer";\n grid-template-rows: 1fr 14fr 1fr;\n']))),Kn=mn.h1(Un||(Un=Xn(["\n grid-area: title;\n color: var(--color-primary);\n padding: 0 var(--padding-size-base);\n font-weight: var(--font-weight-light);\n font-size: var(--h2-font-size);\n"]))),Jn=mn.div(jn||(jn=Xn(["\n grid-area: content;\n display: grid;\n grid-gap: 1px;\n grid-template-columns: repeat(4, 25%);\n\n @media (orientation: portrait) {\n grid-template-rows: repeat(1fr, auto);\n grid-template-columns: revert;\n font-size: calc(var(--font-size-base) * 2);\n }\n"]))),Qn=mn.section($n||($n=Xn(["\n background-color: var(--color-grey-200);\n"]))),ei=mn.p(Gn||(Gn=Xn(["\n background-color: var(--color-grey-100);\n padding: calc(var(--padding-size-base) * 1.5) var(--padding-size-base);\n margin: 0;\n font-weight: var(--font-weight-bold);\n"]))),ti=mn.article(Yn||(Yn=Xn(["\n padding: var(--padding-size-base);\n display: flex;\n background-color: var(--color-grey-300);\n\n &:nth-child(odd) {\n background-color: var(--color-grey-400);\n }\n"]))),ri=mn.div(Hn||(Hn=Xn(["\n line-height: 1.5;\n"]))),ni=mn.div(Vn||(Vn=Xn(["\n padding-left: calc(var(--padding-size-base) * 2);\n line-height: 1.5;\n"]))),ii=mn.div(qn||(qn=Xn(["\n opacity: 0.75;\n"]))),ai=mn.div(Bn||(Bn=Xn(["\n grid-area: footer;\n padding-left: var(--padding-size-base);\n display: flex;\n align-items: center;\n justify-content: center;\n"])));Wn.defaultProps={templateClasses:[],templateRootStyle:{}},Wn.propTypes={templateClasses:o().arrayOf(o().string),templateRootStyle:o().objectOf(o().any),calendarEvents:o().arrayOf(o().shape({id:o().string.isRequired,title:o().string,startTime:o().number.isRequired,endTime:o().number,resourceTitle:o().string,resourceId:o().string})).isRequired,content:o().shape({title:o().string,displayHeaders:o().bool,footerText:o().string,resourceUnavailableText:o().string}).isRequired};const oi=Wn;var si,li,ci,ui,fi,di,hi,pi,mi,gi,vi,yi;function bi(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ei(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&function(e){var t=l()();return e.filter((function(e){var r=l()(1e3*e.startTime);return 1e3*e.startTime>t.unix()&&r.date()===t.date()})).sort((function(e,t){return e-t}))}(r).map((function(e){var t,r,a,o,s=i().createElement(n.Fragment,{key:e.id},i().createElement(Mi,{className:"content-item-time",style:{order:O+A}},l()(1e3*e.startTime).locale(Cn()).format("LT"),e.endTime&&i().createElement(i().Fragment,null,i().createElement("span",null," - "),l()(1e3*e.endTime).locale(Cn()).format("LT"))),i().createElement(Mi,{className:"content-item-title",style:{order:O+_}},null!==(t=null!==(r=e.title)&&void 0!==r?r:g)&&void 0!==t?t:i().createElement(En,{id:"unavailable",defaultMessage:"Unavailable"})),i().createElement(Mi,{className:"content-item-resource",style:{order:O+w}},null!==(a=null!==(o=e.resourceTitle)&&void 0!==o?o:e.resourceId)&&void 0!==a?a:""));return O+=3,s})))))}var Si=mn.div(si||(si=bi(['\n font-family: var(--font-family-base);\n font-size: var(--font-size-base);\n overflow: hidden;\n height: 100%;\n background-repeat: no-repeat;\n background-size: cover;\n /*\n --bg-color is local to this template file and is populated from configuration.\n --background-color serves as fallback to the global variable, that will serve a light og dark background color depending on the user preferences.\n */\n background-color: var(--bg-color, var(--background-color));\n background-image: var(--bg-image, none);\n color: var(--text-color);\n display: grid;\n grid-template-areas:\n "header"\n "content";\n grid-template-rows: 1fr 9fr;\n padding: var(--padding-size-base);\n']))),wi=mn.div(li||(li=bi(["\n padding: var(--padding-size-base);\n grid-area: header;\n display: flex;\n justify-content: space-between;\n align-content: center;\n"]))),_i=mn.div(ci||(ci=bi(["\n font-size: var(--h1-font-size);\n"]))),Ai=mn.div(ui||(ui=bi(["\n font-size: var(--h3-font-size);\n font-weight: var(--font-weight-light);\n"]))),Ri=mn.div(fi||(fi=bi(["\n padding: var(--padding-size-base) calc(var(--padding-size-base) * 2);\n background-color: var(--color-primary);\n line-height: 1;\n"]))),Oi=mn.div(di||(di=bi([""]))),Ci=mn.div(hi||(hi=bi(["\n font-size: var(--h3-font-size);\n font-weight: var(--font-weight-bold);\n"]))),ki=mn.div(pi||(pi=bi([""]))),Ii=mn.div(mi||(mi=bi(["\n grid-area: content;\n"]))),Pi=mn.div(gi||(gi=bi(["\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n"]))),Mi=mn.div(vi||(vi=bi(["\n padding: var(--padding-size-base);\n border-bottom: var(--border);\n border-left: var(--border);\n\n // Remove border left.\n &:nth-of-type(3n + 1) {\n border-left: 0;\n }\n\n // Remove border from bottom.\n &:nth-last-child(-n + 3) {\n border-bottom: 0;\n }\n"]))),Ni=mn.div(yi||(yi=bi(["\n padding: var(--padding-size-base);\n font-size: var(--h3-font-size);\n font-weight: var(--font-weight-bold);\n border-bottom: var(--border);\n border-left: var(--border);\n\n // Remove border left.\n &:nth-of-type(3n + 1) {\n border-left: 0;\n }\n"])));Ti.defaultProps={templateClasses:[],templateRootStyle:{}},Ti.propTypes={templateClasses:o().arrayOf(o().string),templateRootStyle:o().objectOf(o().any),calendarEvents:o().arrayOf(o().shape({id:o().string.isRequired,title:o().string,startTime:o().number.isRequired,endTime:o().number,resourceTitle:o().string,resourceId:o().string})).isRequired,content:o().shape({headerOrder:o().string,title:o().string,hasDateAndTime:o().bool,displayHeaders:o().bool,dateAsBox:o().bool,resourceUnavailableText:o().string,hideGrid:o().bool}).isRequired};const Li=Ti;var Di,xi,zi,Fi=r(3379),Ui=r.n(Fi),ji=r(6215);Ui()(ji.Z,{insert:"head",singleton:!1}),ji.Z.locals;const $i=pn(Di||(xi=[""],zi||(zi=xi.slice(0)),Di=Object.freeze(Object.defineProperties(xi,{raw:{value:Object.freeze(zi)}}))));function Gi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0){var r,n=e[t[0]];return null!=n&&null!==(r=n.assets)&&void 0!==r&&r.uri?n.assets.uri:null!=n&&n.url?n.url:null}return null}(r.mediaData,a.image);w&&(S["--bg-image"]='url("'.concat(w,'")'));var _=new Dt(r,s);return(0,n.useEffect)((function(){return o&&_.start(v),function(){_.stop()}}),[o]),(0,n.useEffect)((function(){l().extend(u()),h(xt)}),[]),i().createElement(i().Fragment,null,i().createElement(Mt,{messages:d,locale:"da",defaultLocale:"da"},"single"===m&&i().createElement(zn,{calendarEvents:null!=E?E:[],content:a,templateClasses:T,templateRootStyle:S}),"multiple"===m&&i().createElement(Li,{calendarEvents:null!=E?E:[],content:a,templateClasses:T,templateRootStyle:S}),"multipleDays"===m&&i().createElement(oi,{calendarEvents:null!=E?E:[],content:a,templateClasses:T,templateRootStyle:S})),i().createElement(vn,{id:c,css:null==r||null===(t=r.themeData)||void 0===t?void 0:t.css}),i().createElement($i,null))}Yi.propTypes={run:o().string.isRequired,slideDone:o().func.isRequired,slide:o().shape({themeData:o().shape({css:o().string}),mediaData:o().objectOf(o().any),feedData:o().arrayOf(o().shape({id:o().string.isRequired,title:o().string,startTime:o().number.isRequired,endTime:o().number,resourceTitle:o().string,resourceId:o().string}))}).isRequired,content:o().shape({duration:o().number.isRequired,layout:o().string,backgroundColor:o().string,image:o().arrayOf(o().string)}).isRequired,executionId:o().string.isRequired};const Hi=Yi},6215:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'.slide{--color-white: #fff;--color-grey-100: hsl(0deg 0% 95%);--color-grey-200: hsl(0deg 0% 85%);--color-grey-300: hsl(0deg 0% 80%);--color-grey-400: hsl(0deg 0% 75%);--color-grey-500: hsl(0deg 0% 70%);--color-grey-600: hsl(0deg 0% 40%);--color-grey-700: hsl(0deg 0% 30%);--color-grey-800: hsl(0deg 0% 20%);--color-grey-900: hsl(0deg 0% 10%);--color-black: #000;--color-blue: hsl(219deg 89% 57%);--color-indigo: indigo;--color-purple: purple;--color-pink: pink;--color-red: red;--color-orange: orange;--color-yellow: yellow;--color-green: green;--color-teal: teal;--color-cyan: cyan;--color-gray: var(--color-grey-500);--color-gray-dark: var(--color-grey-900);--color-primary: var(--color-blue);--color-secondary: var(--color-orange);--color-success: var(--color-green);--color-info: var(--color-teal);--color-warning: var(--color-yellow);--color-danger: var(--color-red);--color-light: var(--color-white);--color-dark: var(--color-black);--bg-light: var(--color-light);--bg-dark: var(--color-dark);--bg-primary: var(--color-primary);--bg-secondary: var(--color-secondary);--bg-transparent: transparent;--text-light: var(--color-light);--text-dark: var(--color-dark);--font-family-base: system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--line-height-base: 1.5;--line-height-sm: 1.25;--line-height-lg: 2;--font-size-base: 1rem;--font-size-multiplier-050: 0.5;--font-size-multiplier-075: 0.75;--font-size-multiplier-090: 0.9;--font-size-multiplier-125: 1.25;--font-size-multiplier-150: 1.5;--font-size-multiplier-175: 1.75;--font-size-multiplier-200: 2;--font-size-multiplier-250: 2.5;--font-size-xs: calc(var(--font-size-base) * var(--font-size-multiplier-050));--font-size-sm: calc(var(--font-size-base) * var(--font-size-multiplier-075));--font-size-m: calc(var(--font-size-base) * 1);--font-size-lg: calc(var(--font-size-base) * var(--font-size-multiplier-125));--font-size-xl: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125));--h6-font-size: calc(var(--font-size-base));--spacer: 12px;--margin-size-base: calc(var(--spacer) * 3);--padding-size-base: calc(var(--spacer) * 3);--box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--border-size: 1px;--border-style: solid;--border-color: var(--color-grey-900);--border: var(--border-size) var(--border-style) var(--border-color);--background-color: var(--bg-light, hsl(0deg, 0%, 100%));--background-color-secondary: var(--color-grey-100, hsl(0deg, 0%, 95%));--text-color: var(--text-dark, hsl(0deg, 0%, 0%))}*,*::before,*::after{box-sizing:border-box}html{font-size:1.125rem;height:100%;background-color:var(--background-color);color:var(--text-color)}body{margin:0;height:100%}@keyframes h1-underline{0%{opacity:0;width:100%}40%{opacity:1;width:100%;margin-top:.938em;height:.375em}70%{opacity:1;width:100%;margin-top:.625em;height:.2em}100%{opacity:1;width:5em;margin-top:.625em}}.color-scheme-dark .slide{--background-color: var(--bg-dark, hsl(0deg, 0%, 10%));--background-color-secondary: var(--bg-dark-secondary, hsl(0deg, 0%, 20%));--text-color: var(--text-light, hsl(0deg, 0%, 100%));--border-color: var(--color-light);--color-grey-100: hsl(0deg 0% 10%);--color-grey-200: hsl(0deg 0% 15%);--color-grey-300: hsl(0deg 0% 20%);--color-grey-400: hsl(0deg 0% 25%);--color-grey-500: hsl(0deg 0% 30%);--color-grey-600: hsl(0deg 0% 45%);--color-grey-700: hsl(0deg 0% 60%);--color-grey-800: hsl(0deg 0% 75%);--color-grey-900: hsl(0deg 0% 90%)}@media screen and (min-width: 1921px)and (orientation: landscape){.slide{--font-size-base: 2rem}}@media screen and (min-width: 1081px)and (orientation: portrait){.slide{--font-size-base: 2rem}}.slide .font-size-xs{--font-size-base: var(--font-size-xs);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-s{--font-size-base: var(--font-size-sm);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-m{--font-size-base: var(--font-size-m);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-lg{--font-size-base: var(--font-size-lg);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-xl{--font-size-base: var(--font-size-xl);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}',""]);const a=i},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var a=0;a=t?e:""+Array(t+1-n.length).join(r)+e},v={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date(){"use strict";var n=r(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=u(r);f&&(o=o.concat(f(r)));for(var s=l(t),m=l(r),g=0;g{"use strict";var n=r(414);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return r.PropTypes=r,r}},5697:(e,t,r)=>{e.exports=r(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9921:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function T(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return T(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||T(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return T(e)===c},t.isContextProvider=function(e){return T(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return T(e)===d},t.isFragment=function(e){return T(e)===a},t.isLazy=function(e){return T(e)===g},t.isMemo=function(e){return T(e)===m},t.isPortal=function(e){return T(e)===i},t.isProfiler=function(e){return T(e)===s},t.isStrictMode=function(e){return T(e)===o},t.isSuspense=function(e){return T(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===E||e.$$typeof===v)},t.typeOf=T},9864:(e,t,r)=>{"use strict";e.exports=r(9921)},6774:e=>{e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var n,i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function o(e){for(var t=-1,r=0;r{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n=r(9242),i=exports;for(var a in n)i[a]=n[a];n.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})(); \ No newline at end of file +(()=>{var e={9242:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Hi});const n=require("react");var i=r.n(n),a=r(5697),o=r.n(a),s=r(7484),l=r.n(s),c=r(6176),u=r.n(c),f=function(e,t){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},f(e,t)};function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var h=function(){return h=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Y,(function(e,r,n,i,a,o){if(r)t.minimumIntegerDigits=n.length;else{if(i&&a)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(H.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if($.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace($,(function(e,r,n,i,a,o){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""})),i.options.length&&(t=h(h({},t),V(i.options[0])))}else if(G.test(i.stem))t=h(h({},t),V(i.stem));else{var a=q(i.stem);a&&(t=h(h({},t),a));var o=B(i.stem);o&&(t=h(h({},t),o))}}return t}var Z=new RegExp("^"+x.source+"*"),K=new RegExp(x.source+"*$");function J(e,t){return{start:e,end:t}}var Q=!!String.prototype.startsWith,ee=!!String.fromCodePoint,te=!!Object.fromEntries,re=!!String.prototype.codePointAt,ne=!!String.prototype.trimStart,ie=!!String.prototype.trimEnd,ae=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},oe=!0;try{oe="a"===(null===(U=pe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===U?void 0:U[0])}catch(Kt){oe=!1}var se,le=Q?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ce=ee?String.fromCodePoint:function(){for(var e=[],t=0;ta;){if((r=e[a++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},ue=te?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},de=ne?function(e){return e.trimStart()}:function(e){return e.replace(Z,"")},he=ie?function(e){return e.trimEnd()}:function(e){return e.replace(K,"")};function pe(e,t){return new RegExp(e,t)}if(oe){var me=pe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");se=function(e,t){var r;return me.lastIndex=t,null!==(r=me.exec(e)[1])&&void 0!==r?r:""}}else se=function(e,t){for(var r=[];;){var n=fe(e,t);if(void 0===n||ye(n)||be(n))break;r.push(n),t+=n>=65536?2:1}return ce.apply(void 0,r)};var ge=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((a=this.parseArgument(e,r)).err)return a;n.push(a.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(g.UNMATCHED_CLOSING_TAG,J(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&ve(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;n.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;n.push(a.val)}}else{var o=this.clonePosition();this.bump(),n.push({type:v.pound,location:J(o,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:v.literal,value:"<"+n+"/>",location:J(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(this.bumpIf("")?{val:{type:v.tag,value:n,children:a,location:J(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,J(o,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,J(r,this.clonePosition()))}return this.error(g.INVALID_TAG,J(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var a=this.tryParseUnquoted(e,t);if(a)n+=a;else{var o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}var s=J(r,this.clonePosition());return{val:{type:v.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ve(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return ce.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),ce(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,J(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(g.MALFORMED_ARGUMENT,J(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:v.argument,value:n,location:J(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(g.MALFORMED_ARGUMENT,J(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=se(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:J(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,J(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((E=this.parseSimpleArgStyleIfPossible()).err)return E;if(0===(d=he(E.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,J(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:J(c,this.clonePosition())}}if((T=this.tryParseArgumentClose(n)).err)return T;var u=J(n,this.clonePosition());if(l&&le(null==l?void 0:l.style,"::",0)){var f=de(l.style.slice(2));if("number"===o)return(E=this.parseNumberSkeletonFromString(f,l.styleLocation)).err?E:{val:{type:v.number,value:r,location:u,style:E.val},err:null};if(0===f.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,u);var d={type:y.dateTime,pattern:f,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?F(f):{}};return{val:{type:"date"===o?v.date:v.time,value:r,location:u,style:d},err:null}}return{val:{type:"number"===o?v.number:"date"===o?v.date:v.time,value:r,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,J(p,h({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),b=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,J(this.clonePosition(),this.clonePosition()));var E;if(this.bumpSpace(),(E=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return E;this.bumpSpace(),m=this.parseIdentifierIfPossible(),b=E.val}var T,S=this.tryParsePluralOrSelectOptions(e,o,t,m);if(S.err)return S;if((T=this.tryParseArgumentClose(n)).err)return T;var w=J(n,this.clonePosition());return"select"===o?{val:{type:v.select,value:r,options:ue(S.val),location:w},err:null}:{val:{type:v.plural,value:r,options:ue(S.val),offset:b,pluralType:"plural"===o?"cardinal":"ordinal",location:w},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,J(a,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,J(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,J(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(j).filter((function(e){return e.length>0})),r=[],n=0,i=t;n=48&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}var s=J(n,this.clonePosition());return i?ae(a*=r)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=fe(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(le(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ye(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function ve(e){return e>=97&&e<=122||e>=65&&e<=90}function ye(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function be(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Ee(e){e.forEach((function(e){if(delete e.location,I(e)||P(e))for(var t in e.options)delete e.options[t].location,Ee(e.options[t].value);else O(e)&&L(e.style)||(C(e)||k(e))&&D(e.style)?delete e.style.location:N(e)&&Ee(e.children)}))}function Te(e,t){void 0===t&&(t={}),t=h({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ge(e,t).parse();if(r.err){var n=SyntaxError(g[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||Ee(r.val),r.val}function Se(e,t){var r=t&&t.cache?t.cache:Ie,n=t&&t.serializer?t.serializer:Oe;return(t&&t.strategy?t.strategy:Re)(e,{cache:r,serializer:n})}function we(e,t,r,n){var i,a=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),o=t.get(a);return void 0===o&&(o=e.call(this,n),t.set(a,o)),o}function _e(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return void 0===a&&(a=e.apply(this,n),t.set(i,a)),a}function Ae(e,t,r,n,i){return r.bind(t,e,n,i)}function Re(e,t){return Ae(e,this,1===e.length?we:_e,t.cache.create(),t.serializer)}var Oe=function(){return JSON.stringify(arguments)};function Ce(){this.cache=Object.create(null)}Ce.prototype.get=function(e){return this.cache[e]},Ce.prototype.set=function(e,t){this.cache[e]=t};var ke,Ie={create:function(){return new Ce}},Pe={variadic:function(e,t){return Ae(e,this,_e,t.cache.create(),t.serializer)},monadic:function(e,t){return Ae(e,this,we,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ke||(ke={}));var Me,Ne=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return d(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Le=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',ke.INVALID_VALUE,i)||this}return d(t,e),t}(Ne),De=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,ke.INVALID_VALUE,n)||this}return d(t,e),t}(Ne),xe=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',ke.MISSING_VALUE,r)||this}return d(t,e),t}(Ne);function ze(e){return"function"==typeof e}function Fe(e,t,r,n,i,a,o){if(1===e.length&&A(e[0]))return[{type:Me.literal,value:e[0].value}];for(var s=[],l=0,c=e;l needs to exist in the component ancestry.")}var Qe=h(h({},We),{textComponent:n.Fragment});function et(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var a=0;ah)&&(U=(G=G.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0l.charCodeAt(8))break;case 115:o=o.replace(l,"-webkit-"+l)+";"+o;break;case 207:case 102:o=o.replace(l,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],01?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var ir=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)(i<<=1)<0&&nr(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var a=n;a=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,a=n;a=sr&&(sr=t+1),ar.set(e,t),or.set(t,e)},fr="style["+Qt+'][data-styled-version="5.3.1"]',dr=new RegExp("^"+Qt+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),hr=function(e,t,r){for(var n,i=r.split(","),a=0,o=i.length;a=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(Qt))return n}}(r),a=void 0!==i?i.nextSibling:null;n.setAttribute(Qt,"active"),n.setAttribute("data-styled-version","5.3.1");var o=mr();return o&&n.setAttribute("nonce",o),r.insertBefore(n,a),n},vr=function(){function e(e){var t=this.element=gr(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(c+=e+",")})),n+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},e}(),wr=/(a)(d)/gi,_r=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ar(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=_r(t%52)+r;return(_r(t%52)+r).replace(wr,"$1-$2")}var Rr=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Or=function(e){return Rr(5381,e)};function Cr(e){for(var t=0;t>>0);if(!t.hasNameForId(n,o)){var s=r(a,"."+o,void 0,n);t.insertRules(n,o,s)}i.push(o),this.staticRulesId=o}else{for(var l=this.rules.length,c=Rr(this.baseHash,r.hash),u="",f=0;f>>0);if(!t.hasNameForId(n,m)){var g=r(u,"."+m,void 0,n);t.insertRules(n,m,g)}i.push(m)}}return i.join(" ")},e}(),Pr=/^\s*\/\/.*$/gm,Mr=[":","[",".","#"];function Nr(e){var t,r,n,i,a=void 0===e?Wt:e,o=a.options,s=void 0===o?Wt:o,l=a.plugins,c=void 0===l?Xt:l,u=new jt(s),f=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,i,a,o,s,l,c,u,f){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===c)return n+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),h=function(e,n,a){return 0===n&&-1!==Mr.indexOf(a[r.length])||a.match(i)?e:"."+t};function p(e,a,o,s){void 0===s&&(s="&");var l=e.replace(Pr,""),c=a&&o?o+" "+a+" { "+l+" }":l;return t=s,r=a,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),u(o||!a?"":a,c)}return u.use([].concat(c,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,h))},d,function(e){if(-2===e){var t=f;return f=[],t}}])),p.hash=c.length?c.reduce((function(e,t){return t.name||nr(15),Rr(e,t.name)}),5381).toString():"",p}var Lr=i().createContext(),Dr=(Lr.Consumer,i().createContext()),xr=(Dr.Consumer,new Sr),zr=Nr();function Fr(){return(0,n.useContext)(Lr)||xr}function Ur(){return(0,n.useContext)(Dr)||zr}function jr(e){var t=(0,n.useState)(e.stylisPlugins),r=t[0],a=t[1],o=Fr(),s=(0,n.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,n.useMemo)((function(){return Nr({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,n.useEffect)((function(){Ut()(r,e.stylisPlugins)||a(e.stylisPlugins)}),[e.stylisPlugins]),i().createElement(Lr.Provider,{value:s},i().createElement(Dr.Provider,{value:l},e.children))}var $r=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=zr);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return nr(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=zr),this.name+e.hash},e}(),Gr=/([A-Z])/,Yr=/([A-Z])/g,Hr=/^ms-/,Vr=function(e){return"-"+e.toLowerCase()};function qr(e){return Gr.test(e)?e.replace(Yr,Vr).replace(Hr,"-ms-"):e}var Br=function(e){return null==e||!1===e||""===e};function Xr(e,t,r,n){if(Array.isArray(e)){for(var i,a=[],o=0,s=e.length;o1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,Qr=/(^-|-$)/g;function en(e){return e.replace(Jr,"-").replace(Qr,"")}var tn=function(e){return Ar(Or(e)>>>0)};function rn(e){return"string"==typeof e&&!0}var nn=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},an=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function on(e,t,r){var n=e[r];nn(t)&&nn(n)?sn(n,t):e[r]=t}function sn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0||(i[r]=e[r]);return i}(t,["componentId"]),a=n&&n+"-"+(rn(e)?e:en(Kt(e)));return un(e,Vt({},i,{attrs:p,componentId:a}),r)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=a?sn({},e.defaultProps,t):t}}),g.toString=function(){return"."+g.styledComponentId},o&&E()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var fn=function(e){return function e(t,r,n){if(void 0===n&&(n=Wt),!(0,zt.isValidElementType)(r))return nr(1,String(r));var i=function(){return t(r,n,Zr.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,r,Vt({},n,{},i))},i.attrs=function(i){return e(t,r,Vt({},n,{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},i}(un,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){fn[e]=fn(e)}));var dn,hn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Cr(e),Sr.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var i=n(Xr(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&Sr.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function pn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a"+t+""},this.getStyleTags=function(){return e.sealed?nr(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return nr(2);var r=((t={})[Qt]="",t["data-styled-version"]="5.3.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=mr();return n&&(r.nonce=n),[i().createElement("style",Vt({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Sr({isServer:!0}),this.sealed=!1}.prototype,dn.collectStyles=function(e){return this.sealed?nr(2):i().createElement(jr,{sheet:this.instance},e)},dn.interleaveWithNodeStream=function(e){return nr(3)};const mn=fn;var gn;function vn(e){var t=e.id,r=e.css,n=void 0===r?null:r;if(!n)return i().createElement(i().Fragment,null);var a,o,s=n.replaceAll("#SLIDE_ID","#".concat(t)),l=pn(gn||(a=["",""],o||(o=a.slice(0)),gn=Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(o)}}))),s);return i().createElement(l,null)}function yn(e){var t=function(){var e=n.useContext(w);return Je(e),e}(),r=t.formatMessage,i=t.textComponent,a=void 0===i?n.Fragment:i,o=e.id,s=e.description,l=e.defaultMessage,c=e.values,u=e.children,f=e.tagName,d=void 0===f?a:f,h=r({id:o,description:s,defaultMessage:l},c,{ignoreTag:e.ignoreTag});return"function"==typeof u?u(Array.isArray(h)?h:[h]):d?n.createElement(d,null,n.Children.toArray(h)):n.createElement(n.Fragment,null,h)}vn.defaultProps={css:null},vn.propTypes={id:o().string.isRequired,css:o().string},yn.displayName="FormattedMessage";var bn=n.memo(yn,(function(e,t){var r=e.values,n=p(e,["values"]),i=t.values,a=p(t,["values"]);return et(i,r)&&et(n,a)}));bn.displayName="MemoizedFormattedMessage";const En=bn;var Tn,Sn,wn,_n,An,Rn,On=r(7427),Cn=r.n(On);function kn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function In(e){var t=e.content,r=e.calendarEvents,a=e.templateClasses,o=e.templateRootStyle,s=t.title,c=void 0===s?"":s,f=t.subTitle,d=void 0===f?null:f,h=t.resourceAvailableText,p=void 0===h?null:h,m=t.resourceUnavailableText,g=void 0===m?null:m;(0,n.useEffect)((function(){l().extend(u())}),[]);var v,y,b=function(e){return l()(1e3*e).locale(Cn()).format("HH:mm")};return i().createElement(Pn,{className:"calendar-single ".concat(a.join(" ")),style:o},i().createElement(Mn,{className:"title"},c),d&&i().createElement(Nn,{className:"subtitle"},d),i().createElement(Ln,{className:"content"},0===(null==r?void 0:r.length)&&i().createElement(Dn,{className:"content-item"},p),(null==r?void 0:r.length)>0&&(y=[],(v=r).length>0&&v.forEach((function(e){var t,r;y.length<3&&y.push(i().createElement(Dn,{key:e.id,className:0===y.length?"content-item single--now":"content-item single--next"},i().createElement(xn,null,b(e.startTime)," - ",b(e.endTime)),null!==(t=null!==(r=null==e?void 0:e.title)&&void 0!==r?r:g)&&void 0!==t?t:i().createElement(En,{id:"unavailable",defaultMessage:"Unavailable"})))})),y.concat())))}var Pn=mn.div(Tn||(Tn=kn(["\n /* Wrapper styling */\n font-family: var(--font-family-base);\n height: 100%;\n background-repeat: no-repeat;\n background-size: cover;\n /*\n --bg-color is local to this template file and is populated from configuration.\n --background-color serves as fallback to the global variable, that will serve a light og dark background color depending on the user preferences.\n */\n background-color: var(--bg-color, var(--background-color));\n background-image: var(--bg-image, none);\n color: var(--text-color);\n padding: var(--padding-size-base);\n"]))),Mn=mn.div(Sn||(Sn=kn(["\n font-size: var(--h1-font-size);\n font-weight: var(--font-weight-bold);\n margin-bottom: var(--margin-size-base);\n"]))),Nn=mn.div(wn||(wn=kn(["\n font-size: var(--h2-font-size);\n margin-bottom: var(--margin-size-base);\n"]))),Ln=mn.div(_n||(_n=kn(["\n display: flex;\n flex-direction: column;\n"]))),Dn=mn.div(An||(An=kn(["\n border-left: var(--border);\n padding-left: var(--padding-size-base);\n margin-bottom: var(--margin-size-base);\n font-size: var(--font-size-base);\n\n &:first-of-type {\n font-size: calc(var(--font-size-base) * 2);\n }\n"]))),xn=mn.div(Rn||(Rn=kn(["\n color: inherit;\n opacity: 0.75;\n font-size: smaller;\n"])));In.defaultProps={templateClasses:[],templateRootStyle:{}},In.propTypes={templateClasses:o().arrayOf(o().string),templateRootStyle:o().objectOf(o().any),calendarEvents:o().arrayOf(o().shape({id:o().string.isRequired,title:o().string,startTime:o().number.isRequired,endTime:o().number,resourceTitle:o().string,resourceId:o().string})).isRequired,content:o().shape({title:o().string,subTitle:o().string,resourceAvailableText:o().string,resourceUnavailableText:o().string}).isRequired};const zn=In;var Fn,Un,jn,$n,Gn,Yn,Hn,Vn,qn,Bn;function Xn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Wn(e){var t=e.content,r=e.calendarEvents,a=e.templateClasses,o=e.templateRootStyle,s=t.title,c=void 0===s?"":s,f=t.resourceUnavailableText,d=void 0===f?null:f,h=t.footerText,p=void 0===h?null:h;(0,n.useEffect)((function(){l().extend(u())}),[]);var m,g=function(e){return l()(1e3*e).locale(Cn()).format("HH:mm")};return i().createElement(Zn,{className:"calendar-multiple-days ".concat(a.join(" ")),style:o},i().createElement(i().Fragment,null,i().createElement(Kn,{className:"title"},c),i().createElement(Jn,{className:"content"},(null==r?void 0:r.length)>0&&function(e){return Object.keys(e).map((function(t,r){return i().createElement(n.Fragment,{key:t},r<5&&i().createElement(Qn,{className:"content-col"},i().createElement(ei,{className:"col-title"},t),e[t].map((function(e){var t,r,n;return i().createElement(ti,{key:e.id,className:"col-item"},i().createElement(ri,{className:"col-item-time"},i().createElement("div",null,g(e.startTime)," - "),i().createElement("div",null,g(e.endTime))),i().createElement(ni,{className:"col-item-event"},i().createElement("div",null,null!==(t=null!==(r=e.title)&&void 0!==r?r:d)&&void 0!==t?t:i().createElement(En,{id:"unavailable",defaultMessage:"Unavailable"})),i().createElement(ii,null,null!==(n=e.resourceTitle)&&void 0!==n?n:e.resourceId)))}))))}))}((m={},r.forEach((function(e){var t=l()(1e3*e.startTime).locale(Cn()).format("dddd D. MMMM");Object.prototype.hasOwnProperty.call(m,t)||(m[t]=[]),m[t].push(e)})),m))),p&&i().createElement(ai,{className:"footer"},p)))}var Zn=mn.div(Fn||(Fn=Xn(['\n font-family: var(--font-family-base);\n font-size: var(--font-size-base);\n height: 100%;\n overflow: hidden;\n background-repeat: no-repeat;\n background-size: cover;\n /*\n --bg-color is local to this template file and is populated from configuration.\n --background-color serves as fallback to the global variable, that will serve a light og dark background color depending on the user preferences.\n */\n background-color: var(--bg-color, var(--background-color));\n background-image: var(--bg-image, none);\n color: var(--text-color);\n display: grid;\n grid-template-areas:\n "title"\n "content"\n "footer";\n grid-template-rows: 1fr 14fr 1fr;\n']))),Kn=mn.h1(Un||(Un=Xn(["\n grid-area: title;\n color: var(--color-primary);\n padding: 0 var(--padding-size-base);\n font-weight: var(--font-weight-light);\n font-size: var(--h2-font-size);\n"]))),Jn=mn.div(jn||(jn=Xn(["\n grid-area: content;\n display: grid;\n grid-gap: 1px;\n grid-template-columns: repeat(4, 25%);\n\n @media (orientation: portrait) {\n grid-template-rows: repeat(1fr, auto);\n grid-template-columns: revert;\n font-size: calc(var(--font-size-base) * 2);\n }\n"]))),Qn=mn.section($n||($n=Xn(["\n background-color: var(--color-grey-200);\n"]))),ei=mn.p(Gn||(Gn=Xn(["\n background-color: var(--color-grey-100);\n padding: calc(var(--padding-size-base) * 1.5) var(--padding-size-base);\n margin: 0;\n font-weight: var(--font-weight-bold);\n"]))),ti=mn.article(Yn||(Yn=Xn(["\n padding: var(--padding-size-base);\n display: flex;\n background-color: var(--color-grey-300);\n\n &:nth-child(odd) {\n background-color: var(--color-grey-400);\n }\n"]))),ri=mn.div(Hn||(Hn=Xn(["\n line-height: 1.5;\n"]))),ni=mn.div(Vn||(Vn=Xn(["\n padding-left: calc(var(--padding-size-base) * 2);\n line-height: 1.5;\n"]))),ii=mn.div(qn||(qn=Xn(["\n opacity: 0.75;\n"]))),ai=mn.div(Bn||(Bn=Xn(["\n grid-area: footer;\n padding-left: var(--padding-size-base);\n display: flex;\n align-items: center;\n justify-content: center;\n"])));Wn.defaultProps={templateClasses:[],templateRootStyle:{}},Wn.propTypes={templateClasses:o().arrayOf(o().string),templateRootStyle:o().objectOf(o().any),calendarEvents:o().arrayOf(o().shape({id:o().string.isRequired,title:o().string,startTime:o().number.isRequired,endTime:o().number,resourceTitle:o().string,resourceId:o().string})).isRequired,content:o().shape({title:o().string,displayHeaders:o().bool,footerText:o().string,resourceUnavailableText:o().string}).isRequired};const oi=Wn;var si,li,ci,ui,fi,di,hi,pi,mi,gi,vi,yi;function bi(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ei(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&function(e){var t=l()();return e.filter((function(e){var r=l()(1e3*e.startTime);return 1e3*e.startTime>t.unix()&&r.date()===t.date()})).sort((function(e,t){return e-t}))}(r).map((function(e){var t,r,a,o,s=i().createElement(n.Fragment,{key:e.id},i().createElement(Mi,{className:"content-item-time",style:{order:O+A}},l()(1e3*e.startTime).locale(Cn()).format("LT"),e.endTime&&i().createElement(i().Fragment,null,i().createElement("span",null," - "),l()(1e3*e.endTime).locale(Cn()).format("LT"))),i().createElement(Mi,{className:"content-item-title",style:{order:O+_}},null!==(t=null!==(r=e.title)&&void 0!==r?r:g)&&void 0!==t?t:i().createElement(En,{id:"unavailable",defaultMessage:"Unavailable"})),i().createElement(Mi,{className:"content-item-resource",style:{order:O+w}},null!==(a=null!==(o=e.resourceTitle)&&void 0!==o?o:e.resourceId)&&void 0!==a?a:""));return O+=3,s})))))}var Si=mn.div(si||(si=bi(['\n font-family: var(--font-family-base);\n font-size: var(--font-size-base);\n overflow: hidden;\n height: 100%;\n background-repeat: no-repeat;\n background-size: cover;\n /*\n --bg-color is local to this template file and is populated from configuration.\n --background-color serves as fallback to the global variable, that will serve a light og dark background color depending on the user preferences.\n */\n background-color: var(--bg-color, var(--background-color));\n background-image: var(--bg-image, none);\n color: var(--text-color);\n display: grid;\n grid-template-areas:\n "header"\n "content";\n grid-template-rows: 1fr 9fr;\n padding: var(--padding-size-base);\n']))),wi=mn.div(li||(li=bi(["\n padding: var(--padding-size-base);\n grid-area: header;\n display: flex;\n justify-content: space-between;\n align-content: center;\n"]))),_i=mn.div(ci||(ci=bi(["\n font-size: var(--h1-font-size);\n"]))),Ai=mn.div(ui||(ui=bi(["\n font-size: var(--h3-font-size);\n font-weight: var(--font-weight-light);\n"]))),Ri=mn.div(fi||(fi=bi(["\n padding: var(--padding-size-base) calc(var(--padding-size-base) * 2);\n background-color: var(--color-primary);\n line-height: 1;\n"]))),Oi=mn.div(di||(di=bi([""]))),Ci=mn.div(hi||(hi=bi(["\n font-size: var(--h3-font-size);\n font-weight: var(--font-weight-bold);\n"]))),ki=mn.div(pi||(pi=bi([""]))),Ii=mn.div(mi||(mi=bi(["\n grid-area: content;\n"]))),Pi=mn.div(gi||(gi=bi(["\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n"]))),Mi=mn.div(vi||(vi=bi(["\n padding: var(--padding-size-base);\n border-bottom: var(--border);\n border-left: var(--border);\n\n // Remove border left.\n &:nth-of-type(3n + 1) {\n border-left: 0;\n }\n\n // Remove border from bottom.\n &:nth-last-child(-n + 3) {\n border-bottom: 0;\n }\n"]))),Ni=mn.div(yi||(yi=bi(["\n padding: var(--padding-size-base);\n font-size: var(--h3-font-size);\n font-weight: var(--font-weight-bold);\n border-bottom: var(--border);\n border-left: var(--border);\n\n // Remove border left.\n &:nth-of-type(3n + 1) {\n border-left: 0;\n }\n"])));Ti.defaultProps={templateClasses:[],templateRootStyle:{}},Ti.propTypes={templateClasses:o().arrayOf(o().string),templateRootStyle:o().objectOf(o().any),calendarEvents:o().arrayOf(o().shape({id:o().string.isRequired,title:o().string,startTime:o().number.isRequired,endTime:o().number,resourceTitle:o().string,resourceId:o().string})).isRequired,content:o().shape({headerOrder:o().string,title:o().string,hasDateAndTime:o().bool,displayHeaders:o().bool,dateAsBox:o().bool,resourceUnavailableText:o().string,hideGrid:o().bool}).isRequired};const Li=Ti;var Di,xi,zi,Fi=r(3379),Ui=r.n(Fi),ji=r(6215);Ui()(ji.Z,{insert:"head",singleton:!1}),ji.Z.locals;const $i=pn(Di||(xi=[""],zi||(zi=xi.slice(0)),Di=Object.freeze(Object.defineProperties(xi,{raw:{value:Object.freeze(zi)}}))));function Gi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0){var r,n=e[t[0]];return null!=n&&null!==(r=n.assets)&&void 0!==r&&r.uri?n.assets.uri:null!=n&&n.url?n.url:null}return null}(r.mediaData,a.image);w&&(S["--bg-image"]='url("'.concat(w,'")'));var _=new Dt(r,s);return(0,n.useEffect)((function(){return o&&_.start(v),function(){_.stop()}}),[o]),(0,n.useEffect)((function(){l().extend(u()),h(xt)}),[]),i().createElement(i().Fragment,null,i().createElement(Mt,{messages:d,locale:"da",defaultLocale:"da"},"single"===m&&i().createElement(zn,{calendarEvents:null!=E?E:[],content:a,templateClasses:T,templateRootStyle:S}),"multiple"===m&&i().createElement(Li,{calendarEvents:null!=E?E:[],content:a,templateClasses:T,templateRootStyle:S}),"multipleDays"===m&&i().createElement(oi,{calendarEvents:null!=E?E:[],content:a,templateClasses:T,templateRootStyle:S})),i().createElement(vn,{id:c,css:null==r||null===(t=r.themeData)||void 0===t?void 0:t.css}),i().createElement($i,null))}Yi.propTypes={run:o().string.isRequired,slideDone:o().func.isRequired,slide:o().shape({themeData:o().shape({css:o().string}),mediaData:o().objectOf(o().any),feedData:o().arrayOf(o().shape({id:o().string.isRequired,title:o().string,startTime:o().number.isRequired,endTime:o().number,resourceTitle:o().string,resourceId:o().string}))}).isRequired,content:o().shape({duration:o().number.isRequired,layout:o().string,backgroundColor:o().string,image:o().arrayOf(o().string),fontSize:o().string}).isRequired,executionId:o().string.isRequired};const Hi=Yi},6215:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'.slide{--color-white: #fff;--color-grey-100: hsl(0deg 0% 95%);--color-grey-200: hsl(0deg 0% 85%);--color-grey-300: hsl(0deg 0% 80%);--color-grey-400: hsl(0deg 0% 75%);--color-grey-500: hsl(0deg 0% 70%);--color-grey-600: hsl(0deg 0% 40%);--color-grey-700: hsl(0deg 0% 30%);--color-grey-800: hsl(0deg 0% 20%);--color-grey-900: hsl(0deg 0% 10%);--color-black: #000;--color-blue: hsl(219deg 89% 57%);--color-indigo: indigo;--color-purple: purple;--color-pink: pink;--color-red: red;--color-orange: orange;--color-yellow: yellow;--color-green: green;--color-teal: teal;--color-cyan: cyan;--color-gray: var(--color-grey-500);--color-gray-dark: var(--color-grey-900);--color-primary: var(--color-blue);--color-secondary: var(--color-orange);--color-success: var(--color-green);--color-info: var(--color-teal);--color-warning: var(--color-yellow);--color-danger: var(--color-red);--color-light: var(--color-white);--color-dark: var(--color-black);--bg-light: var(--color-light);--bg-dark: var(--color-dark);--bg-primary: var(--color-primary);--bg-secondary: var(--color-secondary);--bg-transparent: transparent;--text-light: var(--color-light);--text-dark: var(--color-dark);--font-family-base: system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--line-height-base: 1.5;--line-height-sm: 1.25;--line-height-lg: 2;--font-size-base: 1rem;--font-size-multiplier-050: 0.5;--font-size-multiplier-075: 0.75;--font-size-multiplier-090: 0.9;--font-size-multiplier-125: 1.25;--font-size-multiplier-150: 1.5;--font-size-multiplier-175: 1.75;--font-size-multiplier-200: 2;--font-size-multiplier-250: 2.5;--font-size-xs: calc(var(--font-size-base) * var(--font-size-multiplier-050));--font-size-sm: calc(var(--font-size-base) * var(--font-size-multiplier-075));--font-size-m: calc(var(--font-size-base) * 1);--font-size-lg: calc(var(--font-size-base) * var(--font-size-multiplier-125));--font-size-xl: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125));--h6-font-size: calc(var(--font-size-base));--spacer: 12px;--margin-size-base: calc(var(--spacer) * 3);--padding-size-base: calc(var(--spacer) * 3);--box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--border-size: 1px;--border-style: solid;--border-color: var(--color-grey-900);--border: var(--border-size) var(--border-style) var(--border-color);--background-color: var(--bg-light, hsl(0deg, 0%, 100%));--background-color-secondary: var(--color-grey-100, hsl(0deg, 0%, 95%));--text-color: var(--text-dark, hsl(0deg, 0%, 0%))}*,*::before,*::after{box-sizing:border-box}html{font-size:1.125rem;height:100%;background-color:var(--background-color);color:var(--text-color)}body{margin:0;height:100%}@keyframes h1-underline{0%{opacity:0;width:100%}40%{opacity:1;width:100%;margin-top:.938em;height:.375em}70%{opacity:1;width:100%;margin-top:.625em;height:.2em}100%{opacity:1;width:5em;margin-top:.625em}}.color-scheme-dark .slide{--background-color: var(--bg-dark, hsl(0deg, 0%, 10%));--background-color-secondary: var(--bg-dark-secondary, hsl(0deg, 0%, 20%));--text-color: var(--text-light, hsl(0deg, 0%, 100%));--border-color: var(--color-light);--color-grey-100: hsl(0deg 0% 10%);--color-grey-200: hsl(0deg 0% 15%);--color-grey-300: hsl(0deg 0% 20%);--color-grey-400: hsl(0deg 0% 25%);--color-grey-500: hsl(0deg 0% 30%);--color-grey-600: hsl(0deg 0% 45%);--color-grey-700: hsl(0deg 0% 60%);--color-grey-800: hsl(0deg 0% 75%);--color-grey-900: hsl(0deg 0% 90%)}@media screen and (min-width: 1921px)and (orientation: landscape){.slide{--font-size-base: 2rem}}@media screen and (min-width: 1081px)and (orientation: portrait){.slide{--font-size-base: 2rem}}.slide .font-size-xs{--font-size-base: var(--font-size-xs);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-s{--font-size-base: var(--font-size-sm);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-m{--font-size-base: var(--font-size-m);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-lg{--font-size-base: var(--font-size-lg);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-xl{--font-size-base: var(--font-size-xl);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}',""]);const a=i},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var a=0;a=t?e:""+Array(t+1-n.length).join(r)+e},v={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date(){"use strict";var n=r(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=u(r);f&&(o=o.concat(f(r)));for(var s=l(t),m=l(r),g=0;g{"use strict";var n=r(414);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return r.PropTypes=r,r}},5697:(e,t,r)=>{e.exports=r(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9921:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function T(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return T(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||T(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return T(e)===c},t.isContextProvider=function(e){return T(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return T(e)===d},t.isFragment=function(e){return T(e)===a},t.isLazy=function(e){return T(e)===g},t.isMemo=function(e){return T(e)===m},t.isPortal=function(e){return T(e)===i},t.isProfiler=function(e){return T(e)===s},t.isStrictMode=function(e){return T(e)===o},t.isSuspense=function(e){return T(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===E||e.$$typeof===v)},t.typeOf=T},9864:(e,t,r)=>{"use strict";e.exports=r(9921)},6774:e=>{e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var n,i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function o(e){for(var t=-1,r=0;r{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n=r(9242),i=exports;for(var a in n)i[a]=n[a];n.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})(); \ No newline at end of file diff --git a/build/contacts-config-develop.json b/build/contacts-config-develop.json index 598e774b..2cae6188 100644 --- a/build/contacts-config-develop.json +++ b/build/contacts-config-develop.json @@ -4,8 +4,8 @@ "id": "01FPZ19YEHX7MQ5Q6ZS0WK0VEA", "description": "Skabelon til kontakter.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/contacts.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/contacts-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/contacts.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/contacts-admin.json?ts=1663931637050", "schema": "", "assets": [], "options": {}, diff --git a/build/contacts-config-main.json b/build/contacts-config-main.json index 63df1816..6b7c6149 100644 --- a/build/contacts-config-main.json +++ b/build/contacts-config-main.json @@ -4,8 +4,8 @@ "id": "01FPZ19YEHX7MQ5Q6ZS0WK0VEA", "description": "Skabelon til kontakter.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/contacts.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/contacts-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/contacts.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/contacts-admin.json?ts=1663931637050", "schema": "", "assets": [], "options": {}, diff --git a/build/iframe-config-develop.json b/build/iframe-config-develop.json index d1d3802d..8b3d3179 100644 --- a/build/iframe-config-develop.json +++ b/build/iframe-config-develop.json @@ -4,8 +4,8 @@ "id": "01FQBJQ2M3544ZKAADPWBXHY71", "description": "Skabelon til iFrame.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/iframe.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/iframe-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/iframe.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/iframe-admin.json?ts=1663931637050", "schema": "", "assets": [], "options": {}, diff --git a/build/iframe-config-main.json b/build/iframe-config-main.json index 30c22f45..399575f9 100644 --- a/build/iframe-config-main.json +++ b/build/iframe-config-main.json @@ -4,8 +4,8 @@ "id": "01FQBJQ2M3544ZKAADPWBXHY71", "description": "Skabelon til iFrame.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/iframe.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/iframe-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/iframe.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/iframe-admin.json?ts=1663931637050", "schema": "", "assets": [], "options": {}, diff --git a/build/image-text-admin.json b/build/image-text-admin.json index d1120818..9f7d5d77 100644 --- a/build/image-text-admin.json +++ b/build/image-text-admin.json @@ -31,10 +31,11 @@ }, { "key": "image-text-form-5", - "multipleImages": false, + "multipleImages": true, "input": "image", "name": "image", - "label": "Billede" + "label": "Billeder", + "helpText": "Hvis du tilføjer mere end et billede bliver de vist i (varighed / antal_billeder) sekunder hver." }, { "key": "image-text-form-6", diff --git a/build/image-text-config-develop.json b/build/image-text-config-develop.json index cc4fcfff..2ee51ae9 100644 --- a/build/image-text-config-develop.json +++ b/build/image-text-config-develop.json @@ -4,8 +4,8 @@ "id": "01FP2SNGFN0BZQH03KCBXHKYHG", "description": "Mulighed for at sætte billede og tekst, med forskellige visninger.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/image-text.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/image-text-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/image-text.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/image-text-admin.json?ts=1663931637050", "schema": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/image-text-schema.json", "assets": [], "options": {}, diff --git a/build/image-text-config-main.json b/build/image-text-config-main.json index 01699911..af8ff44e 100644 --- a/build/image-text-config-main.json +++ b/build/image-text-config-main.json @@ -4,8 +4,8 @@ "id": "01FP2SNGFN0BZQH03KCBXHKYHG", "description": "Mulighed for at sætte billede og tekst, med forskellige visninger.", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/image-text.js?ts=1663582803896", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/image-text-admin.json?ts=1663582803896", + "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/image-text.js?ts=1663931637050", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/image-text-admin.json?ts=1663931637050", "schema": "https://raw.githubusercontent.com/os2display/display-templates/main/build/image-text-schema.json", "assets": [], "options": {}, diff --git a/build/image-text.js b/build/image-text.js index c56e1454..75350699 100644 --- a/build/image-text.js +++ b/build/image-text.js @@ -1,2 +1,2 @@ /*! For license information please see image-text.js.LICENSE.txt */ -(()=>{var e={6215:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(3645),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,'.slide{--color-white: #fff;--color-grey-100: hsl(0deg 0% 95%);--color-grey-200: hsl(0deg 0% 85%);--color-grey-300: hsl(0deg 0% 80%);--color-grey-400: hsl(0deg 0% 75%);--color-grey-500: hsl(0deg 0% 70%);--color-grey-600: hsl(0deg 0% 40%);--color-grey-700: hsl(0deg 0% 30%);--color-grey-800: hsl(0deg 0% 20%);--color-grey-900: hsl(0deg 0% 10%);--color-black: #000;--color-blue: hsl(219deg 89% 57%);--color-indigo: indigo;--color-purple: purple;--color-pink: pink;--color-red: red;--color-orange: orange;--color-yellow: yellow;--color-green: green;--color-teal: teal;--color-cyan: cyan;--color-gray: var(--color-grey-500);--color-gray-dark: var(--color-grey-900);--color-primary: var(--color-blue);--color-secondary: var(--color-orange);--color-success: var(--color-green);--color-info: var(--color-teal);--color-warning: var(--color-yellow);--color-danger: var(--color-red);--color-light: var(--color-white);--color-dark: var(--color-black);--bg-light: var(--color-light);--bg-dark: var(--color-dark);--bg-primary: var(--color-primary);--bg-secondary: var(--color-secondary);--bg-transparent: transparent;--text-light: var(--color-light);--text-dark: var(--color-dark);--font-family-base: system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--line-height-base: 1.5;--line-height-sm: 1.25;--line-height-lg: 2;--font-size-base: 1rem;--font-size-multiplier-050: 0.5;--font-size-multiplier-075: 0.75;--font-size-multiplier-090: 0.9;--font-size-multiplier-125: 1.25;--font-size-multiplier-150: 1.5;--font-size-multiplier-175: 1.75;--font-size-multiplier-200: 2;--font-size-multiplier-250: 2.5;--font-size-xs: calc(var(--font-size-base) * var(--font-size-multiplier-050));--font-size-sm: calc(var(--font-size-base) * var(--font-size-multiplier-075));--font-size-m: calc(var(--font-size-base) * 1);--font-size-lg: calc(var(--font-size-base) * var(--font-size-multiplier-125));--font-size-xl: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125));--h6-font-size: calc(var(--font-size-base));--spacer: 12px;--margin-size-base: calc(var(--spacer) * 3);--padding-size-base: calc(var(--spacer) * 3);--box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--border-size: 1px;--border-style: solid;--border-color: var(--color-grey-900);--border: var(--border-size) var(--border-style) var(--border-color);--background-color: var(--bg-light, hsl(0deg, 0%, 100%));--background-color-secondary: var(--color-grey-100, hsl(0deg, 0%, 95%));--text-color: var(--text-dark, hsl(0deg, 0%, 0%))}*,*::before,*::after{box-sizing:border-box}html{font-size:1.125rem;height:100%;background-color:var(--background-color);color:var(--text-color)}body{margin:0;height:100%}@keyframes h1-underline{0%{opacity:0;width:100%}40%{opacity:1;width:100%;margin-top:.938em;height:.375em}70%{opacity:1;width:100%;margin-top:.625em;height:.2em}100%{opacity:1;width:5em;margin-top:.625em}}.color-scheme-dark .slide{--background-color: var(--bg-dark, hsl(0deg, 0%, 10%));--background-color-secondary: var(--bg-dark-secondary, hsl(0deg, 0%, 20%));--text-color: var(--text-light, hsl(0deg, 0%, 100%));--border-color: var(--color-light);--color-grey-100: hsl(0deg 0% 10%);--color-grey-200: hsl(0deg 0% 15%);--color-grey-300: hsl(0deg 0% 20%);--color-grey-400: hsl(0deg 0% 25%);--color-grey-500: hsl(0deg 0% 30%);--color-grey-600: hsl(0deg 0% 45%);--color-grey-700: hsl(0deg 0% 60%);--color-grey-800: hsl(0deg 0% 75%);--color-grey-900: hsl(0deg 0% 90%)}@media screen and (min-width: 1921px)and (orientation: landscape){.slide{--font-size-base: 2rem}}@media screen and (min-width: 1081px)and (orientation: portrait){.slide{--font-size-base: 2rem}}.slide .font-size-xs{--font-size-base: var(--font-size-xs);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-s{--font-size-base: var(--font-size-sm);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-m{--font-size-base: var(--font-size-m);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-lg{--font-size-base: var(--font-size-lg);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-xl{--font-size-base: var(--font-size-xl);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}',""]);const i=o},1523:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(3645),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".template-image-text{height:100%;width:100%;overflow:hidden;background-size:cover;background-position:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-content:stretch;align-items:flex-start;font-size:var(--font-size-base)}.template-image-text .box{padding:2%;order:0;flex:1 0 auto;align-self:auto;background-color:var(--background-color);color:var(--text-color);width:40%}.template-image-text .box .text{margin-top:var(--spacer)}.template-image-text .box.full-screen{width:100%;height:100%}.template-image-text .box.xs{font-size:var(--font-size-xs)}.template-image-text .box.s{font-size:var(--font-size-sm)}.template-image-text .box.m{font-size:var(--font-size-base)}.template-image-text .box.l{font-size:var(--font-size-lg)}.template-image-text .box.xl{font-size:var(--font-size-xl)}.template-image-text .box h1{margin-top:0}.template-image-text.box-margin .box{margin:5%}.template-image-text.flex-end .box{align-self:flex-end}.template-image-text.column{flex-direction:column}.template-image-text.half-size .box{flex:none}.template-image-text.shadow .box{box-shadow:var(--box-shadow-lg)}.template-image-text.animated-header .box{box-shadow:var(--box-shadow-lg);display:flex;flex-direction:column}.template-image-text.animated-header h1{position:relative;display:inline-block;padding-bottom:2%}.template-image-text.animated-header h1 .separator{opacity:0;margin-top:5px !important;position:absolute;height:.2em;width:100%;transition:width .3s ease-out;animation:.7s normal .5s forwards 1 h1-underline ease-out}.template-image-text.reversed{display:flex}.template-image-text.reversed .text{order:1}.template-image-text.reversed .box{flex-direction:column;padding:0;height:90%;justify-content:space-between;background-color:transparent;font-size:var(--font-size-h2);display:flex}.template-image-text.reversed h1{order:2;font-size:var(--font-size-h1)}@keyframes h1-underline{0%{opacity:0;width:100%}40%{opacity:1;width:100%;margin-top:.938em;height:.375em}70%{opacity:1;width:100%;margin-top:.625em;height:.2em}100%{opacity:1;width:5em;margin-top:.625em}}",""]);const i=o},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var i=0;i{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},7790:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=p;var m=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return o(t,e),t}(p);t.Document=m;var h=function(e){function t(t,r,n,o){void 0===n&&(n=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,o,n)||this;return i.name=t,i.attribs=r,i}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(p);function g(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function x(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function k(e,t){var r;if(void 0===t&&(t=!1),v(e))r=new u(e.data);else if(b(e))r=new f(e.data);else if(g(e)){var n=t?S(e.children):[],o=new h(e.name,i({},e.attribs),n);n.forEach((function(e){return e.parent=o})),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),r=o}else if(y(e)){n=t?S(e.children):[];var s=new p(a.ElementType.CDATA,n);n.forEach((function(e){return e.parent=s})),r=s}else if(w(e)){n=t?S(e.children):[];var l=new m(n);n.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else{if(!x(e))throw new Error("Not implemented yet: "+e.type);var c=new d(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,r}function S(e){for(var t=e.map((function(e){return k(e,!0)})),r=1;r1?r-1:0),o=1;o/gm),F=a(/^data-[\-\w.\u00B7-\uFFFF]/),H=a(/^aria-[\-\w]+$/),B=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=a(/^(?:\w+script|data):/i),$=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function W(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:q(),r=function(t){return e(t)};if(r.version="2.3.3",r.removed=[],!t||!t.document||9!==t.document.nodeType)return r.isSupported=!1,r;var n=t.document,o=t.document,a=t.DocumentFragment,s=t.HTMLTemplateElement,l=t.Node,c=t.Element,u=t.NodeFilter,f=t.NamedNodeMap,k=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,Y=t.Text,X=t.Comment,Z=t.DOMParser,K=t.trustedTypes,J=c.prototype,Q=T(J,"cloneNode"),ee=T(J,"nextSibling"),te=T(J,"childNodes"),re=T(J,"parentNode");if("function"==typeof s){var ne=o.createElement("template");ne.content&&ne.content.ownerDocument&&(o=ne.content.ownerDocument)}var oe=V(K,n),ie=oe&&Le?oe.createHTML(""):"",ae=o,se=ae.implementation,le=ae.createNodeIterator,ce=ae.createDocumentFragment,ue=ae.getElementsByTagName,fe=n.importNode,de={};try{de=A(o).documentMode?o.documentMode:{}}catch(e){}var pe={};r.isSupported="function"==typeof re&&se&&void 0!==se.createHTMLDocument&&9!==de;var me=L,he=j,ge=F,ye=H,ve=U,be=$,xe=B,we=null,ke=S({},[].concat(W(C),W(E),W(z),W(R),W(I))),Se=null,Ae=S({},[].concat(W(_),W(N),W(D),W(M))),Te=null,Ce=null,Ee=!0,ze=!0,Oe=!1,Re=!1,Pe=!1,Ie=!1,_e=!1,Ne=!1,De=!1,Me=!0,Le=!1,je=!0,Fe=!0,He=!1,Be={},Ue=null,$e=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ge=null,We=S({},["audio","video","img","source","image","track"]),qe=null,Ve=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ye="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml",Ke=Ze,Je=!1,Qe=void 0,et=["application/xhtml+xml","text/html"],tt="text/html",rt=void 0,nt=null,ot=o.createElement("form"),it=function(e){nt&&nt===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=A(e),we="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):ke,Se="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):Ae,qe="ADD_URI_SAFE_ATTR"in e?S(A(Ve),e.ADD_URI_SAFE_ATTR):Ve,Ge="ADD_DATA_URI_TAGS"in e?S(A(We),e.ADD_DATA_URI_TAGS):We,Ue="FORBID_CONTENTS"in e?S({},e.FORBID_CONTENTS):$e,Te="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},Be="USE_PROFILES"in e&&e.USE_PROFILES,Ee=!1!==e.ALLOW_ARIA_ATTR,ze=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Re=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Ne=e.RETURN_DOM||!1,De=e.RETURN_DOM_FRAGMENT||!1,Me=!1!==e.RETURN_DOM_IMPORT,Le=e.RETURN_TRUSTED_TYPE||!1,_e=e.FORCE_BODY||!1,je=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,xe=e.ALLOWED_URI_REGEXP||xe,Ke=e.NAMESPACE||Ze,Qe=Qe=-1===et.indexOf(e.PARSER_MEDIA_TYPE)?tt:e.PARSER_MEDIA_TYPE,rt="application/xhtml+xml"===Qe?function(e){return e}:h,Re&&(ze=!1),De&&(Ne=!0),Be&&(we=S({},[].concat(W(I))),Se=[],!0===Be.html&&(S(we,C),S(Se,_)),!0===Be.svg&&(S(we,E),S(Se,N),S(Se,M)),!0===Be.svgFilters&&(S(we,z),S(Se,N),S(Se,M)),!0===Be.mathMl&&(S(we,R),S(Se,D),S(Se,M))),e.ADD_TAGS&&(we===ke&&(we=A(we)),S(we,e.ADD_TAGS)),e.ADD_ATTR&&(Se===Ae&&(Se=A(Se)),S(Se,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(qe,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(Ue===$e&&(Ue=A(Ue)),S(Ue,e.FORBID_CONTENTS)),Fe&&(we["#text"]=!0),Pe&&S(we,["html","head","body"]),we.table&&(S(we,["tbody"]),delete Te.tbody),i&&i(e),nt=e)},at=S({},["mi","mo","mn","ms","mtext"]),st=S({},["foreignobject","desc","title","annotation-xml"]),lt=S({},E);S(lt,z),S(lt,O);var ct=S({},R);S(ct,P);var ut=function(e){var t=re(e);t&&t.tagName||(t={namespaceURI:Ze,tagName:"template"});var r=h(e.tagName),n=h(t.tagName);if(e.namespaceURI===Xe)return t.namespaceURI===Ze?"svg"===r:t.namespaceURI===Ye?"svg"===r&&("annotation-xml"===n||at[n]):Boolean(lt[r]);if(e.namespaceURI===Ye)return t.namespaceURI===Ze?"math"===r:t.namespaceURI===Xe?"math"===r&&st[n]:Boolean(ct[r]);if(e.namespaceURI===Ze){if(t.namespaceURI===Xe&&!st[n])return!1;if(t.namespaceURI===Ye&&!at[n])return!1;var o=S({},["title","style","font","a","script"]);return!ct[r]&&(o[r]||!lt[r])}return!1},ft=function(e){m(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},dt=function(e,t){try{m(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Ne||De)try{ft(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},pt=function(e){var t=void 0,r=void 0;if(_e)e=""+e;else{var n=g(e,/^[\r\n\t ]+/);r=n&&n[0]}"application/xhtml+xml"===Qe&&(e=''+e+"");var i=oe?oe.createHTML(e):e;if(Ke===Ze)try{t=(new Z).parseFromString(i,Qe)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(Ke,"template",null);try{t.documentElement.innerHTML=Je?"":i}catch(e){}}var a=t.body||t.documentElement;return e&&r&&a.insertBefore(o.createTextNode(r),a.childNodes[0]||null),Ke===Ze?ue.call(t,Pe?"html":"body")[0]:Pe?t.documentElement:a},mt=function(e){return le.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},ht=function(e){return!(e instanceof Y||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof k&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},gt=function(e){return"object"===(void 0===l?"undefined":G(l))?e instanceof l:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},yt=function(e,t,n){pe[e]&&d(pe[e],(function(e){e.call(r,t,n,nt)}))},vt=function(e){var t=void 0;if(yt("beforeSanitizeElements",e,null),ht(e))return ft(e),!0;if(g(e.nodeName,/[\u0080-\uFFFF]/))return ft(e),!0;var n=rt(e.nodeName);if(yt("uponSanitizeElement",e,{tagName:n,allowedTags:we}),!gt(e.firstElementChild)&&(!gt(e.content)||!gt(e.content.firstElementChild))&&x(/<[/\w]/g,e.innerHTML)&&x(/<[/\w]/g,e.textContent))return ft(e),!0;if("select"===n&&x(/