Files
e-tib.com/.next/static/chunks/a677bfa2f92f2f63.js
Marc Mintel d14122005d Initial commit: E-TIB production hardening & E2E foundation
Former-commit-id: ef04fca3d76375630c05aac117bf586953f3b657
2026-04-28 19:11:38 +02:00

4 lines
18 KiB
JavaScript

;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f97bd3c4-1953-1096-2303-721783dcb5c0")}catch(e){}}();
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,226150,t=>{"use strict";t.i(452797),t.i(907358),Symbol.for("react.client.reference"),t.i(866347);var e,r=t.i(559626);t.i(713465);var n=t.i(244874),n=n,a=t.i(492421),i=t.i(516467);function o(t){let e=(0,i.toDate)(t),r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return r.setUTCFullYear(e.getFullYear()),t-r}var s=t.i(539392),u=t.i(511518);function l(t,e){let r=(0,i.toDate)(t,e?.in);return r.setHours(0,0,0,0),r}var c=t.i(954259);function d(t,e){return(0,c.startOfWeek)(t,{...e,weekStartsOn:1})}var h=t.i(487122);function f(t,e){let r=(0,i.toDate)(t,e?.in),n=r.getFullYear(),a=(0,h.constructFrom)(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let o=d(a),s=(0,h.constructFrom)(r,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);let u=d(s);return r.getTime()>=o.getTime()?n+1:r.getTime()>=u.getTime()?n:n-1}function g(t,e){let r=(0,i.toDate)(t,e?.in),n=r.getFullYear(),o=(0,a.getDefaultOptions)(),s=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,u=(0,h.constructFrom)(e?.in||t,0);u.setFullYear(n+1,0,s),u.setHours(0,0,0,0);let l=(0,c.startOfWeek)(u,e),d=(0,h.constructFrom)(e?.in||t,0);d.setFullYear(n,0,s),d.setHours(0,0,0,0);let f=(0,c.startOfWeek)(d,e);return+r>=+l?n+1:+r>=+f?n:n-1}function m(t,e){let r=Math.abs(t).toString().padStart(e,"0");return(t<0?"-":"")+r}let w={y(t,e){let r=t.getFullYear(),n=r>0?r:1-r;return m("yy"===e?n%100:n,e.length)},M(t,e){let r=t.getMonth();return"M"===e?String(r+1):m(r+1,2)},d:(t,e)=>m(t.getDate(),e.length),a(t,e){let r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(t,e)=>m(t.getHours()%12||12,e.length),H:(t,e)=>m(t.getHours(),e.length),m:(t,e)=>m(t.getMinutes(),e.length),s:(t,e)=>m(t.getSeconds(),e.length),S(t,e){let r=e.length;return m(Math.trunc(t.getMilliseconds()*Math.pow(10,r-3)),e.length)}},p={G:function(t,e,r){let n=+(t.getFullYear()>0);switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if("yo"===e){let e=t.getFullYear();return r.ordinalNumber(e>0?e:1-e,{unit:"year"})}return w.y(t,e)},Y:function(t,e,r,n){let a=g(t,n),i=a>0?a:1-a;return"YY"===e?m(i%100,2):"Yo"===e?r.ordinalNumber(i,{unit:"year"}):m(i,e.length)},R:function(t,e){return m(f(t),e.length)},u:function(t,e){return m(t.getFullYear(),e.length)},Q:function(t,e,r){let n=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return m(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){let n=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return m(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){let n=t.getMonth();switch(e){case"M":case"MM":return w.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){let n=t.getMonth();switch(e){case"L":return String(n+1);case"LL":return m(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){let o,s,l,d,f,w=(o=(0,i.toDate)(t,n?.in),Math.round(((0,c.startOfWeek)(o,n)-(s=(0,a.getDefaultOptions)(),l=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,d=g(o,n),(f=(0,h.constructFrom)(n?.in||o,0)).setFullYear(d,0,l),f.setHours(0,0,0,0),(0,c.startOfWeek)(f,n)))/u.millisecondsInWeek)+1);return"wo"===e?r.ordinalNumber(w,{unit:"week"}):m(w,e.length)},I:function(t,e,r){let n,a,o,s=Math.round((d(n=(0,i.toDate)(t,void 0))-(a=f(n,void 0),(o=(0,h.constructFrom)(n,0)).setFullYear(a,0,4),o.setHours(0,0,0,0),d(o)))/u.millisecondsInWeek)+1;return"Io"===e?r.ordinalNumber(s,{unit:"week"}):m(s,e.length)},d:function(t,e,r){return"do"===e?r.ordinalNumber(t.getDate(),{unit:"date"}):w.d(t,e)},D:function(t,e,r){let n,a,c=function(t,e,r){let[n,a]=(0,s.normalizeDates)(void 0,t,e),i=l(n),c=l(a);return Math.round((i-o(i)-(c-o(c)))/u.millisecondsInDay)}(n=(0,i.toDate)(t,void 0),((a=(0,i.toDate)(n,void 0)).setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a))+1;return"Do"===e?r.ordinalNumber(c,{unit:"dayOfYear"}):m(c,e.length)},E:function(t,e,r){let n=t.getDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){let a=t.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return m(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){let a=t.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return m(i,e.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,r){let n=t.getDay(),a=0===n?7:n;switch(e){case"i":return String(a);case"ii":return m(a,e.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){let n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,r){let n,a=t.getHours();switch(n=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,r){let n,a=t.getHours();switch(n=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",e){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,r){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),r.ordinalNumber(e,{unit:"hour"})}return w.h(t,e)},H:function(t,e,r){return"Ho"===e?r.ordinalNumber(t.getHours(),{unit:"hour"}):w.H(t,e)},K:function(t,e,r){let n=t.getHours()%12;return"Ko"===e?r.ordinalNumber(n,{unit:"hour"}):m(n,e.length)},k:function(t,e,r){let n=t.getHours();return(0===n&&(n=24),"ko"===e)?r.ordinalNumber(n,{unit:"hour"}):m(n,e.length)},m:function(t,e,r){return"mo"===e?r.ordinalNumber(t.getMinutes(),{unit:"minute"}):w.m(t,e)},s:function(t,e,r){return"so"===e?r.ordinalNumber(t.getSeconds(),{unit:"second"}):w.s(t,e)},S:function(t,e){return w.S(t,e)},X:function(t,e,r){let n=t.getTimezoneOffset();if(0===n)return"Z";switch(e){case"X":return y(n);case"XXXX":case"XX":return D(n);default:return D(n,":")}},x:function(t,e,r){let n=t.getTimezoneOffset();switch(e){case"x":return y(n);case"xxxx":case"xx":return D(n);default:return D(n,":")}},O:function(t,e,r){let n=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+b(n,":");default:return"GMT"+D(n,":")}},z:function(t,e,r){let n=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+b(n,":");default:return"GMT"+D(n,":")}},t:function(t,e,r){return m(Math.trunc(t/1e3),e.length)},T:function(t,e,r){return m(+t,e.length)}};function b(t,e=""){let r=t>0?"-":"+",n=Math.abs(t),a=Math.trunc(n/60),i=n%60;return 0===i?r+String(a):r+String(a)+e+m(i,2)}function y(t,e){return t%60==0?(t>0?"-":"+")+m(Math.abs(t)/60,2):D(t,e)}function D(t,e=""){let r=Math.abs(t);return(t>0?"-":"+")+m(Math.trunc(r/60),2)+e+m(r%60,2)}let T=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},M=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},C={p:M,P:(t,e)=>{let r,n=t.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return T(t,e);switch(a){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;default:r=e.dateTime({width:"full"})}return r.replace("{{date}}",T(a,e)).replace("{{time}}",M(i,e))}},x=/^D+$/,v=/^Y+$/,k=["D","DD","YY","YYYY"],S=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,P=/^'([^]*?)'?$/,Y=/''/g,F=/[a-zA-Z]/;function E(t,e,r){let o=(0,a.getDefaultOptions)(),s=r?.locale??o.locale??n.enUS,u=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,l=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,c=(0,i.toDate)(t,r?.in);if(!(c instanceof Date||"object"==typeof c&&"[object Date]"===Object.prototype.toString.call(c))&&"number"!=typeof c||isNaN(+(0,i.toDate)(c)))throw RangeError("Invalid time value");let d=e.match(O).map(t=>{let e=t[0];return"p"===e||"P"===e?(0,C[e])(t,s.formatLong):t}).join("").match(S).map(t=>{if("''"===t)return{isToken:!1,value:"'"};let e=t[0];if("'"===e){var r;let e;return{isToken:!1,value:(e=(r=t).match(P))?e[1].replace(Y,"'"):r}}if(p[e])return{isToken:!0,value:t};if(e.match(F))throw RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}});s.localize.preprocessor&&(d=s.localize.preprocessor(c,d));let h={firstWeekContainsDate:u,weekStartsOn:l,locale:s};return d.map(n=>{if(!n.isToken)return n.value;let a=n.value;return(!r?.useAdditionalWeekYearTokens&&v.test(a)||!r?.useAdditionalDayOfYearTokens&&x.test(a))&&function(t,e,r){var n,a,i;let o,s=(n=t,a=e,i=r,o="Y"===n[0]?"years":"days of the month",`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${a}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(s),k.includes(t))throw RangeError(s)}(a,e,String(t)),(0,p[a[0]])(c,a,s.localize,h)}).join("")}t.i(704333),t.i(113465);var N=t=>({...t?.admin?.style||{},...t?.admin?.width?{"--field-width":t.admin.width}:{flex:"1 1 auto"},...t?.admin?.style?.flex?{flex:t.admin.style.flex}:{}});function H(t){if(t)try{t.abort()}catch{}}function U(t){let e=new AbortController;if(t.current)try{t.current.abort()}catch{}return t.current=e,e}var z={delete:(t,e={headers:{}})=>{let r=e&&e.headers?{...e.headers}:{};return fetch(t,{...e,credentials:"include",headers:{...r},method:"delete"})},get:(t,e={headers:{}})=>{let n="";return e.params&&(n=r.stringify(e.params,{addQueryPrefix:!0})),fetch(`${t}${n}`,{credentials:"include",...e})},patch:(t,e={headers:{}})=>{let r=e&&e.headers?{...e.headers}:{};return fetch(t,{...e,credentials:"include",headers:{...r},method:"PATCH"})},post:(t,e={headers:{}})=>{let r=e&&e.headers?{...e.headers}:{};return fetch(`${t}`,{...e,credentials:"include",headers:{...r},method:"post"})},put:(t,e={headers:{}})=>{let r=e&&e.headers?{...e.headers}:{};return fetch(t,{...e,credentials:"include",headers:{...r},method:"put"})}},q={},W={};function L(t,e){try{let r=(q[t]||=new Intl.DateTimeFormat("en-GB",{timeZone:t,hour:"numeric",timeZoneName:"longOffset"}).format)(e).split("GMT")[1]||"";return r in W?W[r]:B(r,r.split(":"))}catch{if(t in W)return W[t];let e=t?.match(G);return e?B(t,e.slice(1)):NaN}}var G=/([+-]\d\d):?(\d\d)?/;function B(t,e){let r=+e[0],n=+(e[1]||0);return W[t]=r>0?60*r+n:60*r-n}var $=class t extends Date{constructor(...t){super(),t.length>1&&"string"==typeof t[t.length-1]&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(L(this.timeZone,this))?this.setTime(NaN):t.length?"number"==typeof t[0]&&(1===t.length||2===t.length&&"number"!=typeof t[1])?this.setTime(t[0]):"string"==typeof t[0]?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),I(this,NaN),Z(this)):this.setTime(Date.now())}static tz(e,...r){return r.length?new t(...r,e):new t(Date.now(),e)}withTimeZone(e){return new t(+this,e)}getTimezoneOffset(){return-L(this.timeZone,this)}setTime(t){return Date.prototype.setTime.apply(this,arguments),Z(this),+this}[Symbol.for("constructDateFrom")](e){return new t(+new Date(e),this.timeZone)}},Q=/^(get|set)(?!UTC)/;function Z(t){t.internal.setTime(+t),t.internal.setUTCMinutes(t.internal.getUTCMinutes()-t.getTimezoneOffset())}function I(t){let e=L(t.timeZone,t),r=new Date(+t);r.setUTCHours(r.getUTCHours()-1);let n=-new Date(+t).getTimezoneOffset(),a=n- -new Date(+r).getTimezoneOffset(),i=Date.prototype.getHours.apply(t)!==t.internal.getUTCHours();a&&i&&t.internal.setUTCMinutes(t.internal.getUTCMinutes()+a);let o=n-e;o&&Date.prototype.setUTCMinutes.call(t,Date.prototype.getUTCMinutes.call(t)+o);let s=L(t.timeZone,t),u=-new Date(+t).getTimezoneOffset()-s-o;if(s!==e&&u){Date.prototype.setUTCMinutes.call(t,Date.prototype.getUTCMinutes.call(t)+u);let e=s-L(t.timeZone,t);e&&(t.internal.setUTCMinutes(t.internal.getUTCMinutes()+e),Date.prototype.setUTCMinutes.call(t,Date.prototype.getUTCMinutes.call(t)+e))}}Object.getOwnPropertyNames(Date.prototype).forEach(t=>{if(!Q.test(t))return;let e=t.replace(Q,"$1UTC");$.prototype[e]&&(t.startsWith("get")?$.prototype[t]=function(){return this.internal[e]()}:($.prototype[t]=function(){var t;return Date.prototype[e].apply(this.internal,arguments),t=this,Date.prototype.setFullYear.call(t,t.internal.getUTCFullYear(),t.internal.getUTCMonth(),t.internal.getUTCDate()),Date.prototype.setHours.call(t,t.internal.getUTCHours(),t.internal.getUTCMinutes(),t.internal.getUTCSeconds(),t.internal.getUTCMilliseconds()),I(t),+this},$.prototype[e]=function(){return Date.prototype[e].apply(this,arguments),Z(this),+this}))});var R=({date:t,i18n:e,pattern:r,timezone:n})=>{let a=new $(new Date(t));if(n){var i,o;let t,s=$.tz(n),u=(i=a.withTimeZone(n),(t="function"==typeof(o=s)&&o.prototype?.constructor===o?new s(0):(0,h.constructFrom)(s,0)).setFullYear(i.getFullYear(),i.getMonth(),i.getDate()),t.setHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),t);return e.dateFNS?E(u,r,{locale:e.dateFNS}):`${e.t("general:loading")}...`}return e.dateFNS?E(a,r,{locale:e.dateFNS}):`${e.t("general:loading")}...`},A=((e={}).collection="collections",e.global="globals",e);t.s(["EntityType",()=>A,"abortAndIgnore",()=>H,"formatDate",()=>R,"handleAbortRef",()=>U,"mergeFieldStyles",()=>N,"requests",()=>z],226150)},268576,t=>{"use strict";var e=t.i(452797),r=t.i(600745),n=t.i(638857),a=t.i(907358),i=(0,a.createContext)({editorConfig:null,fieldProps:null,uuid:null}),o=({children:t,editorConfig:o,editorContainerRef:s,fieldProps:u,parentContext:l})=>{let[c]=(0,r.useLexicalComposerContext)(),[d]=(0,a.useState)(()=>Math.random().toString(36).substring(2,12)+Math.random().toString(36).substring(2,12)),h=(0,a.useRef)(new Map),[f,g]=(0,a.useState)(null),m=(0,a.useRef)(new Set),[w,p]=(0,a.useState)(),b=(0,n.useEditDepth)(),y=(0,a.useMemo)(()=>({blurEditor:t=>{m.current.clear()},childrenEditors:h,createdInlineBlock:w,editDepth:b,editor:c,editorConfig:o,editorContainerRef:s,fieldProps:u,focusedEditor:f,focusEditor:t=>{let e=t.uuid;m.current.has(e)||(m.current.add(e),g(t),l?.uuid&&l.focusEditor(t),h.current.forEach(e=>{e.focusEditor(t)}),m.current.clear())},parentEditor:l,registerChild:(t,e)=>{if(!h.current.has(t)){let r=new Map(h.current);r.set(t,e),h.current=r}},setCreatedInlineBlock:p,unregisterChild:t=>{if(h.current.has(t)){let e=new Map(h.current);e.delete(t),h.current=e}},uuid:d}),[w,p,c,h,o,s,b,u,f,l,d]);return(0,e.jsx)(i,{value:y,children:t})},s=()=>{let t=(0,a.use)(i);if(void 0===t)throw Error("useEditorConfigContext must be used within an EditorConfigProvider");return t};t.s(["a",()=>o,"b",()=>s])}]);
//# debugId=f97bd3c4-1953-1096-2303-721783dcb5c0