tocco-legacy-bundle 0.1.99 → 0.1.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ (self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[85],{67154:e=>{function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}e.exports=t},30919:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Se});var r=n(63038),o=n.n(r),i=n(28655),a=n.n(i),s=n(22085),u=n.n(s),c=(n(66245),n(56544)),l=n(7197),d=n(81272),f=n(82341),p=n(97595),v=n(66679),m=n(38794),g=n(12964),h=n(27361),y=n.n(h),b=n(14293),k=n.n(b),x=n(13218),E=n.n(x),S=n(47037),_=n.n(S),w=n(1024),O=n(38205),z=(n(36976),n(92194),n(2565),n(8821),n(71083),n(42061),n(74576),n(82454),n(55872),n(58119),n(64886)),R=n(93913),j=n.n(R),A=n(34575),I=n.n(A),T=n(2205),C=n.n(T),L=n(78585),D=n.n(L),N=n(29754),U=n.n(N),M=(n(51500),n(1469)),F=n.n(M),P=n(30236),Z=n.n(P),B=n(72049);function $(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=U()(e);if(t){var o=U()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D()(this,n)}}const q=function(e){return function(t){C()(r,t);var n=$(r);function r(){var t;I()(this,r),t=n.call(this);var o=[{token:"keyword.operator.conjunction",regex:/(\s*)(and|or|not)($|\s+)/,caseInsensitive:!0},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.exists",regex:/exists\s*/,push:"exists",caseInsensitive:!0},{token:"keyword.count",regex:/count\s*/,push:"count",caseInsensitive:!0},{token:["keyword.function.nice_function","paren.lparen.function_arguments","text.function_arguments","paren.rparen","text.whitespace"],regex:"((?:".concat(B.wk.join("|"),")\\s*)(\\()(.*?)(\\))($|\\s+)"),caseInsensitive:!0},{token:"keyword.other.chaining",regex:/\./},{token:"support.function.field",regex:/([a-z_]+)($|\s+)/,push:"comparison"}],i={start:e?[{token:"keyword.where",regex:/\s*/,next:"rootwhere",caseInsensitive:!0}]:[{token:"keyword.find",regex:/find($|\s+)/,push:"model",caseInsensitive:!0},{token:"keyword.where",regex:/where($|\s+)/,next:"rootwhere",caseInsensitive:!0}],model:[{token:"support.class.model",regex:/[A-Z][a-z_0-9]*\s*/,next:"pop"}],rootwhere:[{token:"keyword.order_by",regex:/order by($|\s+)/,next:"order",caseInsensitive:!0}].concat(o),comparison:[{token:"keyword.operator.comparison",regex:"(".concat(B.Gn.join("|"),")\\s*"),next:"value"}],value:[{token:"string",regex:/".*?"\s*/,next:"pop"},{token:"constant.numeric",regex:/\d+(.\d+)?\s*/,next:"pop"},{token:"constant.language.tocco_placeholder",regex:"\\:(".concat(B._O.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat(B.HZ.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat(B.V5.join("|"),"):\\s*"),caseInsensitive:!0}],exists:[{token:"paren.lparen",regex:/\(\s*/},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:"keyword.where",regex:/where($|\s+)/,next:"existswhere",caseInsensitive:!0},{token:"paren.rparen",regex:/\)\s*/,next:"pop"}],existswhere:[].concat(o,[{token:"paren.rparen",regex:/\)\s*/,next:"pop"}]),count:[{token:"paren.lparen",regex:/\(\s*/},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:"keyword.where",regex:/where($|\s+)/,next:"countwhere",caseInsensitive:!0},{token:"paren.rparen",regex:/\)\s*/,next:"comparison"}],countwhere:[].concat(o,[{token:"paren.rparen",regex:/\)\s*/,next:"comparison"}]),order:[{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:["support.function.field","keyword.direction","separator"],regex:/([a-z_]+\s*)(asc|desc)?($|,|\s+)/}]};return t.$rules=Z()(t.$rules,i,(function(e,t){return F()(e)?e.concat(t):void 0})),t.normalizeRules(),t}return j()(r)}(u().require("ace/mode/text_highlight_rules").TextHighlightRules)};function V(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=U()(e);if(t){var o=U()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D()(this,n)}}var H=function(e){C()(n,e);var t=V(n);function n(){var e;I()(this,n);return(e=t.call(this)).$rules={start:[{token:"constant.character.entity",regex:/&[^;]+;/},{token:"support.function",regex:"\\?(\\?|substring|cap_first|uncap_first|capitalize|chop_linebreak|date|time|datetime|ends_with|html|groups|index_of|j_string|js_string|json_string|last_index_of|length|lower_case|left_pad|right_pad|contains|matches|number|replace|rtf|url|split|starts_with|string|trim|upper_case|word_list|xhtml|xmlc|round|floor|ceilingiso_[a-z_]+first|last|seq_contains|seq_index_of|seq_last_index_of|reverse|size|sort|sort_by|chunkkeys|valueschildren|parent|root|ancestors|node_name|node_type|node_namespacebyte|double|float|int|long|short|number_to_date|number_to_time|number_to_datetime|eval|has_content|interpret|is_[a-z_]+|namespacenew)"},{token:"support.function.deprecated",regex:"\\?(default|exists|if_exists|web_safe)"},{token:"language.variable",regex:"\\.(?:data_model|error|globals|lang|locale|locals|main|namespace|node|current_node|now|output_encoding|template_name|url_escaping_charset|vars|version)"},{token:"constant.language",regex:"\\b(true|false)\\b"},{token:"keyword.operator",regex:"\\b(?:gt|gte|lt|lte|as|in|using)\\b"},{token:"entity.other.attribute-name",regex:"encoding|parse|locale|number_format|date_format|time_format|datetime_format|time_zone|url_escaping_charset|classic_compatible|strip_whitespace|strip_text|strict_syntax|ns_prefixes|attributes"},{token:"string",regex:/['"]/,next:"qstring"},{token:function(e){return e.match("^[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?$")?"constant.numeric":"variable"},regex:/[\w.+-]+/},{token:"keyword.operator",regex:"!|\\.|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^="},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],qstring:[{token:"constant.character.escape",regex:'\\\\[nrtvef\\\\"$]'},{token:"string",regex:/['"]/,next:"start"},{defaultToken:"string"}]},e}return j()(n)}(u().require("ace/mode/text_highlight_rules").TextHighlightRules),W=function(e){C()(n,e);var t=V(n);function n(){var e;I()(this,n),e=t.call(this);var r=["query","queryCount"],o=[{token:"keyword.function",regex:"\\[@(".concat(r.join("|"),").*?]"),push:"tql-start"},{token:"comment",regex:"\\[#--",next:"ftl-dcomment"},{token:"string.interpolated",regex:"\\${",push:"ftl-start"},{token:"keyword.function",regex:"\\[/?#(assign|attempt|break|case|compress|default|elseif|else|escape|fallback|function|flush|ftl|global|if|import|include|list|local|lt|macro|nested|noescape|noparse|nt|recover|recurse|return|rt|setting|stop|switch|t|visit)",push:"ftl-start"},{token:"keyword.other",regex:"\\[/?@[a-zA-Z\\.]+",push:"ftl-start"}];for(var i in e.$rules)e.$rules[i].unshift.apply(e.$rules[i],o);e.embedRules(H,"ftl-",[{token:"keyword",regex:"/?\\]",next:"pop"},{token:"string.interpolated",regex:"}",next:"pop"}],["start"]),e.addRules({"ftl-dcomment":[{token:"comment",regex:"--\\]",next:"pop"},{defaultToken:"comment"}]});var a=[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}];e.embedRules(q(),"tql-",a,["start"]);var s={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}]};return e.$rules=Z()(e.$rules,s,(function(e,t){return F()(e)?e.concat(t):void 0})),e.normalizeRules(),e}return j()(n)}(u().require("ace/mode/html_highlight_rules").HtmlHighlightRules),Y=n(68551),G=n.n(Y),K=n(319),J=n.n(K),Q=u().require("ace/token_iterator").TokenIterator,X=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},ee=function(e,t){return X(e.getCurrentToken())===t},te=function(e){if(ee(e,"model")&&e.stepBackward(),(ee(e,"field")||ee(e,"relation"))&&e.stepBackward(),!ee(e,"chaining"))return null;if(e.stepBackward(),ee(e,"model")){var t=e.getCurrentToken();return e.stepBackward(),e.stepBackward(),t?t.value.trim():null}return null},ne=function(e,t){for(;!ee(e,t);)if(!e.stepBackward())return!1;return!0},re=function(e,t){return ee(e,"rparen")?1:t>0&&ee(e,"lparen")?(e.stepBackward(),-1):0},oe=function(e){for(var t=0;e.getCurrentToken();){if(0===t&&ee(e,"where")){var n=e.stepBackward();return n?[n.value.trim()].concat(J()(ae(e))):[]}if(ee(e,"order_by")){if(ne(e,"find")){var r=e.stepForward();return r?r.value.trim():[]}return[]}if(t+=re(e,t),!e.stepBackward())return null}return null},ie=function(e,t){for(var n=[],r=t(e);r;)Array.isArray(r)?r.forEach((function(e){return n.unshift(e)})):n.unshift(r),r=t(e);return n},ae=function(e){return ie(e,te)},se=function(e){return ie(e,oe)},ue=1e3,ce=function(e,t,n){var r=function(e,t){if(t){var n=se(e());return{baseModel:t,modelScope:G()(n).slice(0)}}var r=se(e()),o=G()(r);return{baseModel:o[0],modelScope:o.slice(1)}}(e,n),o=r.baseModel,i=r.modelScope;if(o){var a=ae(e()),s=[].concat(J()(i),J()(a)).map((function(e){return"rel".concat(e)}));(function(e){var t=G()(e),n=t[0],r=t.slice(1);return(0,z.w)(function(e,t){var n=t.length>0?"/resolve?path="+t.join("."):"";return"entities/".concat(e,"/model").concat(n)}(n,r)).then(z.c).then((function(e){if(!e)return[];var t=e.fields||[],n=e.relations||[];return[].concat(J()(t.map((function(e){return{label:(t=e,t.label?"".concat(t.fieldName," (").concat(t.label,")"):t.fieldName),value:e.fieldName,meta:e.type};var t}))),J()(n.map((function(e){return{label:(t=e,t.label?"".concat(t.relationName," (").concat(t.label,")"):t.relationName),value:e.relationName,meta:e.targetEntity};var t}))))}))})([o].concat(J()(s))).then((function(e){var n=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:ue}}));t(null,n)})).catch((function(e){return t(e)}))}},le=function(e,t){return t?"".concat(e," (").concat(t,")"):e},de=function(e){return(0,z.w)("entities").then(z.c).then((function(e){return e?e.entities:{}})).then((function(e){return e?Object.values(e):[]})).then((function(e){return e.map((function(e){return e.metaData}))})).then((function(t){var n=t.map((function(e){var t=e.modelName,n=e.label;return{caption:le(t,n),value:t,score:ue}}));e(null,n)})).catch((function(t){return e(t)}))},fe=function(){return B.wk.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const pe=function(e){return{getCompletions:function(t,n,r,o,i){var a=function(){return new Q(n,r.row,r.column)},s=a(),u=s.getCurrentToken(),c=s.stepBackward()?s.getCurrentToken():null;switch(X(u)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":ce(a,i,e);break;case"where":case"conjunction":ce(a,i,e),i(null,fe());break;case"nice_function":i(null,fe());break;case"find":de(i);break;case"type":case"tocco_placeholder":case"comparison":i(null,B.V5.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),i(null,B._O.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":ce(a,i,e),c&&"relation"!==X(c)&&de(i);break;case null:e&&ce(a,i,e),i(null,fe())}}}};function ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=U()(e);if(t){var o=U()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D()(this,n)}}var me=function(e){C()(n,e);var t=ve(n);function n(){var e;return I()(this,n),(e=t.call(this)).HighlightRules=W,e.completer=pe(),e}return j()(n)}(u().require("ace/mode/ftl").Mode);function ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=U()(e);if(t){var o=U()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D()(this,n)}}var he,ye=function(e){C()(n,e);var t=ge(n);function n(e){var r,o=e.implicitModelName;return I()(this,n),(r=t.call(this)).HighlightRules=q(o),r.completer=pe(o),r.snippedIdField=null,r}return j()(n)}(u().require("ace/mode/text").Mode),be=n(85893),ke=O.ZP.div.withConfig({displayName:"StyledEditor"})(he||(he=a()(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),xe={groovy:function(){return new l.Mode},html:function(){return new d.Mode},xml:function(){return new g.Mode},properties:function(){return new v.Mode},json:function(){return new f.Mode},htmlmixed:function(){return new me},freemarkermixed:function(){return new me},ftl:function(){return new me},tql:function(e){return new ye(e)},less:function(){return new p.Mode},drools:function(){return new c.Mode},text:function(){return new m.Mode}},Ee=function(e,t){var n=t.mode,r=t.theme,i=t.showGutter,a=t.editorOptions,s=void 0===a?{}:a;(function(e){return _()(e)?Promise.resolve(e):E()(e)?(0,z.w)("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(z.c).then((function(e){return y()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(t.implicitModel).then((function(e){return function(e,t){return y()(xe,e,e)(t)}(n,{implicitModelName:e})})).then((function(t){return e.getSession().setMode(t)})),e.setTheme("ace/theme/".concat(r)),Object.entries(s).forEach((function(t){var n=o()(t,2),r=n[0],i=n[1];e.setOption(r,i)})),e.renderer.setShowGutter(i),e.resize()};const Se=function(e){var t=e.mode,n=e.theme,r=void 0===n?"textmate":n,o=e.value,i=e.onChange,a=e.showGutter,s=void 0===a||a,c=e.editorOptions,l=void 0===c?{}:c,d=e.implicitModel,f=e.autoFocusOnMount,p=void 0!==f&&f,v=(0,w.useRef)(null),m=(0,w.useRef)(null),g=(0,w.useMemo)((function(){return{mode:t,theme:r,showGutter:s,editorOptions:l,implicitModel:d,autoFocusOnMount:p}}),[t,r,s,l,d,p]);return(0,w.useEffect)((function(){var e=u().edit(v.current);return e.getSession().setValue(o||""),e.on("change",(function(){return i(e.getValue())})),Ee(e,g),m.current=e,g.autoFocusOnMount&&m.current.focus(),function(){return e.destroy()}}),[]),(0,w.useEffect)((function(){m.current&&Ee(m.current,g)}),[g]),(0,w.useEffect)((function(){m.current&&!k()(o)&&o!==m.current.getValue()&&m.current.getSession().setValue(o)}),[o]),(0,be.jsx)(ke,{ref:v})}},72049:(e,t,n)=>{"use strict";n.d(t,{Gn:()=>r,HZ:()=>o,V5:()=>i,_O:()=>a,wk:()=>s});var r=820!=n.j?["==","!=","<=",">=","<",">","~="]:null,o=820!=n.j?["true","false","null"]:null,i=820!=n.j?["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"]:null,a=820!=n.j?["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"]:null,s=820!=n.j?["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"]:null},64886:(e,t,n)=>{"use strict";if(n.d(t,{c:()=>i,w:()=>o}),820!=n.j)var r=n(54159);var o=function(e){return r.Z.executeRequest("rest/".concat(e))},i=function(e){return 200===e.status?e.json():null}},48078:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(25631),o=n(41609),i=n.n(o),a=n(41291),s=n(85893);const u=function(e){var t=e.value,n=e.breakWords,o=(0,r.S)(t),u=i()(o)?t:o.formatInternational();return(0,s.jsx)(a.Z,{href:"tel:".concat(t),target:"_blank",onClick:function(e){return e.stopPropagation()},label:u,breakWords:n})}},44389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>q});var r,o=n(59713),i=n.n(o),a=n(1024);function s(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function u(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}function c(e,t){return"CKEDITOR"in window?Promise.resolve(CKEDITOR):"string"!=typeof e||e.length<1?Promise.reject(new TypeError("CKEditor URL must be a non-empty string.")):(r||(r=c.scriptLoader(e).then((function(e){return t&&t(e),e}))),r)}c.scriptLoader=function(e){return new Promise((function(t,n){
2
+ /**
3
+ * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
4
+ * For licensing, see LICENSE.md.
5
+ */
6
+ var o,i,a,c,l;o=e,i=function(e){return r=void 0,e?n(e):window.CKEDITOR?void t(CKEDITOR):n(new Error("Script loaded from editorUrl doesn't provide CKEDITOR namespace."))},c=document.head||document.getElementsByTagName("head")[0],l=document.createElement("script"),"function"==typeof i&&(a=i,i={}),i=i||{},a=a||function(){},l.type=i.type||"text/javascript",l.charset=i.charset||"utf8",l.async=!("async"in i)||!!i.async,l.src=o,i.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(l,i.attrs),i.text&&(l.text=String(i.text)),("onload"in l?s:u)(l,a),l.onload||s(l,a),c.appendChild(l)}))};var l=n(45697),d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function f(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var p=["activeEnterModeChange","activeFilterChange","afterCommandExec","afterInsertHtml","afterPaste","afterPasteFromWord","afterSetData","afterUndoImage","ariaEditorHelpLabel","ariaWidget","autogrow","beforeCommandExec","beforeDestroy","beforeGetData","beforeModeUnload","beforeSetMode","beforeUndoImage","blur","change","configLoaded","contentDirChanged","contentDom","contentDomInvalidated","contentDomUnload","contentPreview","customConfigLoaded","dataFiltered","dataReady","destroy","dialogHide","dialogShow","dirChanged","doubleclick","dragend","dragstart","drop","elementsPathUpdate","exportPdf","fileUploadRequest","fileUploadResponse","floatingSpaceLayout","focus","getData","getSnapshot","insertElement","insertHtml","insertText","instanceReady","key","langLoaded","loadSnapshot","loaded","lockSnapshot","maximize","menuShow","mode","notificationHide","notificationShow","notificationUpdate","paste","pasteFromWord","pluginsLoaded","readOnly","removeFormatCleanup","required","resize","save","saveSnapshot","selectionChange","setData","stylesRemove","stylesSet","template","toDataFormat","toHtml","uiSpace","unlockSnapshot","updateSnapshot","widgetDefinition"],v=["beforeLoad","namespaceLoaded"],m=f(f([],p,!0),v,!0),g="__CKE__";function h(e){var t=e.substr(0,1).toUpperCase()+e.substr(1);return"on".concat(t)}function y(e){return e.substr(2,1).toLowerCase()+e.substr(3)}var b=f(f([],p,!0),v,!0).reduce((function(e,t){var n;return d(d({},e),((n={})[t]=function(e){return"".concat(g).concat(e)}(t),n))}),{});function k(e){return e.split(/(?=[A-Z])/).join("-").toLowerCase()}function x(e,t,n){var r={display:"none",visibility:"hidden"};return"classic"===e?r:"ready"===t?null!=n?n:void 0:r}function E(e){var t=e.debug,n=e.editor,r=e.evtName,o=e.handler,i=e.listenerData,a=e.priority,s=t&&Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),u=o;return t&&(u=function(e){console.log({operation:"invoke",editor:n.name,evtName:r,handlerId:s,data:e.data,listenerData:e.listenerData}),o(e)}),t&&console.log({operation:"register",editor:n.name,evtName:r,handlerId:s}),n.on(r,u,null,i,a),function(){t&&console.log({operation:"unregister",editor:n.name,evtName:r,handlerId:s}),n.removeListener(r,u)}}var S=a.useEffect,_=a.useReducer,w=a.useRef,O={};function z(e,t){switch(t.type){case"init":return d(d({},e),{hookStatus:"init"});case"loading":return d(d({},e),{hookStatus:"loading"});case"unloaded":return{editor:t.payload,hookStatus:"unloaded"};case"loaded":return d(d({},e),{hookStatus:"loaded"});case"ready":return d(d({},e),{hookStatus:"ready"});case"destroyed":return{editor:void 0,hookStatus:"destroyed"};case"error":return{editor:void 0,hookStatus:"error"};default:return e}}var R=a.useEffect,j=a.useRef,A=a.useState;function I(e){var t=e.config,n=void 0===t?{}:t,r=e.debug,o=e.editorUrl,i=e.initData,s=e.name,u=e.readOnly,l=e.style,d=e.type,f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["config","debug","editorUrl","initData","name","readOnly","style","type"]),p=A(null),I=p[0],T=p[1],C=j(f);n&&"boolean"==typeof u&&(n.readOnly=u);var L=function(e){var t=e.config,n=e.debug,r=e.dispatchEvent,o=e.subscribeTo,i=void 0===o?m:o,a=e.editorUrl,s=e.element,u=e.initContent,l=e.type,d=void 0===l?"classic":l,f=w(a||"https://cdn.ckeditor.com/4.21.0/standard-all/ckeditor.js"),p=w(null!=i?i:m),h=w(n),y=w(r),k=w(u),x=w(t||O),R=w(d),j=_(z,{editor:void 0,hookStatus:"init"}),A=j[0],I=A.editor,T=A.hookStatus,C=j[1];return S((function(){return s&&!I&&(C({type:"loading"}),c(f.current,(function(e){var t;-1!==p.current.indexOf("namespaceLoaded")&&(null===(t=y.current)||void 0===t||t.call(y,{type:b.namespaceLoaded,payload:e}))})).then((function(e){var t,n="inline"===R.current,r=x.current.readOnly;-1!==p.current.indexOf("beforeLoad")&&(null===(t=y.current)||void 0===t||t.call(y,{type:b.beforeLoad,payload:e}));var o=e[n?"inline":"replace"](s,x.current);p.current.filter((function(e){return-1===v.indexOf(e)})).forEach((function(e){E({debug:h.current,editor:o,evtName:e,handler:function(t){var n;null===(n=y.current)||void 0===n||n.call(y,{type:"".concat(g).concat(e),payload:t})}})})),E({debug:h.current,editor:o,evtName:"loaded",handler:function(){C({type:"loaded"})},priority:-1}),E({debug:h.current,editor:o,evtName:"instanceReady",handler:function(e){var t=e.editor;C({type:"ready"}),n&&!r&&t.setReadOnly(!1),k.current&&t.setData(k.current,{noSnapshot:!0,callback:function(){t.resetUndo()}})},priority:-1}),E({debug:h.current,editor:o,evtName:"destroy",handler:function(){C({type:"destroyed"})},priority:-1}),C({type:"unloaded",payload:o})})).catch((function(e){console.error(e),C({type:"error"})}))),function(){I&&I.destroy()}}),[I,s]),{editor:I,status:null==I?void 0:I.status,error:"error"===T,loading:"loading"===T}}({config:n,dispatchEvent:function(e){var t=e.type,n=e.payload,r=h(t.substr(g.length)),o=C.current[r];o&&o(n)},debug:r,editorUrl:o,element:I,initContent:"string"==typeof i?i:void 0,subscribeTo:Object.keys(f).filter((function(e){return 0===e.indexOf("on")})).map(y),type:d}),D=L.editor,N=L.status;return R((function(){var e="inline"!==d&&D&&("loaded"===N||"ready"===N);return l&&e&&D.container.setStyles(l),function(){l&&e&&Object.keys(l).map(k).forEach((function(e){D.container.removeStyle(e)}))}}),[D,N,l,d]),R((function(){D&&"ready"===N&&"boolean"==typeof u&&D.setReadOnly(u)}),[D,N,u]),a.createElement("div",{id:null!=s?s:void 0,ref:T,style:x(null!=d?d:"classic",N,l)},"string"==typeof i?null:i)}var T=d({config:l.object,debug:l.bool,editorUrl:l.string,initData:l.node,name:l.string,readOnly:l.bool,style:l.object,type:l.oneOf(["classic","inline"])},m.reduce((function(e,t){var n;return d(d({},e),((n={})[h(t)]=l.func,n))}),{}));I.propTypes=T;var C,L=n(86896),D=n(28655),N=n.n(D),U=n(38205),M=n(56822),F=U.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(C||(C=N()(["\n && {\n .ck-editor {\n --ck-border-radius: 0.27rem;\n ","\n\n .ck.ck-list__item .ck-button.ck-fontsize-option .ck-button__label {\n line-height: 1;\n }\n\n .ck-editor__editable {\n min-height: 100px;\n }\n }\n }\n"])),(function(e){return(0,M.L)(e,"ckeditor")})),P=n(85893);function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var B=function(e){switch(e){case"fr-CH":return"fr";case"it-CH":return"it";case"en-US":return"en";case"fr":case"en":case"it":case"de":return e;case"de-CH":return"de-ch";case"de-DE":default:return"de"}},$=function(e){var t=e.value,r=e.onChange,o=e.contentLang,a=e.ckEditorConfig,s=(0,L.Z)().locale,u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({language:B(s),contentsLanguage:o,entities:!1,extraAllowedContent:"div span *[style]{*};a[style]{*}",toolbar:[["Bold","Italic","Underline","Strike","RemoveFormat"],["Format","Font","FontSize","TextColor"],["NumberedList","BulletedList"],["Link","Unlink"],["Table","SpecialChar","Image"],["Source"]],extraPlugins:["colorbutton","font","codemirror"],removeButtons:[]},a);return(0,P.jsx)(F,{children:(0,P.jsx)(I,{config:u,initData:t,type:"classic",onChange:function(e){var t=e.editor.getData();r(t)},onKey:function(e){"source"===e.editor.mode&&setTimeout((function(){var t=e.editor.editable().getValue();r(t)}),0)},editorUrl:"".concat(n.p,"ckeditor4/ckeditor.js")})})};$.defaultProps={value:"",contentLang:"de"};const q=$},17676:(e,t,n)=>{"use strict";if(n.r(t),n.d(t,{default:()=>o}),820!=n.j)var r=n(44389);const o=820!=n.j?r.Z:null},81251:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(59713),o=n.n(r),i=n(88162),a=n(85893);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const c=function(e){var t=e.size,n=e.style,r=e.icon;return(0,a.jsx)(i.Z,u(u({},n),{},{style:{fontSize:t},spin:!0,icon:r||"circle-notch"}))}},28368:(e,t,n)=>{var r=n(90939);e.exports=function(e,t,n){var o=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===o?r(e,t,void 0,n):!!o}},14293:e=>{e.exports=function(e){return null==e}},66604:(e,t,n)=>{var r=n(89465),o=n(47816),i=n(67206);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},30084:(e,t,n)=>{var r=n(29932),o=n(278),i=n(1469),a=n(33448),s=n(55514),u=n(40327),c=n(79833);e.exports=function(e){return i(e)?r(e,u):a(e)?[e]:o(s(c(e)))}},47803:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(1024),o=n.n(r),i=n(45697),a=n.n(i),s=n(13572);function u(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var c=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){var e=this.props;e.children;var t=e.gutter,n=u(e,["children","gutter"]);n.gutter=function(e,n){var r;return t?r=t(e,n):(r=document.createElement("div")).className="gutter gutter-"+n,r.__isSplitGutter=!0,r},this.split=(0,s.Z)(this.parent.children,n)},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props;n.children;var r=n.minSize,o=n.sizes,i=n.collapsed,a=u(n,["children","minSize","sizes","collapsed"]),c=e.minSize,l=e.sizes,d=e.collapsed,f=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"].map((function(n){return t.props[n]!==e[n]})).reduce((function(e,t){return e||t}),!1);if(Array.isArray(r)&&Array.isArray(c)){var p=!1;r.forEach((function(e,t){p=p||e!==c[t]})),f=f||p}else f=!(!Array.isArray(r)&&!Array.isArray(c))||(f||r!==c);if(f)a.minSize=r,a.sizes=o||this.split.getSizes(),this.split.destroy(!0,!0),a.gutter=function(e,t,n){return n.previousSibling},this.split=(0,s.Z)(Array.from(this.parent.children).filter((function(e){return!e.__isSplitGutter})),a);else if(o){var v=!1;o.forEach((function(e,t){v=v||e!==l[t]})),v&&this.split.setSizes(this.props.sizes)}Number.isInteger(i)&&(i!==d||f)&&this.split.collapse(i)},t.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},t.prototype.render=function(){var e=this,t=this.props;t.sizes,t.minSize,t.maxSize,t.expandToMin,t.gutterSize,t.gutterAlign,t.snapOffset,t.dragInterval,t.direction,t.cursor,t.gutter,t.elementStyle,t.gutterStyle,t.onDrag,t.onDragStart,t.onDragEnd,t.collapsed;var n=t.children,r=u(t,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]);return o().createElement("div",Object.assign({},{ref:function(t){e.parent=t}},r),n)},t}(o().Component);c.propTypes={sizes:a().arrayOf(a().number),minSize:a().oneOfType([a().number,a().arrayOf(a().number)]),maxSize:a().oneOfType([a().number,a().arrayOf(a().number)]),expandToMin:a().bool,gutterSize:a().number,gutterAlign:a().string,snapOffset:a().oneOfType([a().number,a().arrayOf(a().number)]),dragInterval:a().number,direction:a().string,cursor:a().string,gutter:a().func,elementStyle:a().func,gutterStyle:a().func,onDrag:a().func,onDragStart:a().func,onDragEnd:a().func,collapsed:a().number,children:a().arrayOf(a().element)},c.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};const l=/^(713|763|947)$/.test(n.j)?c:null},66448:(e,t,n)=>{"use strict";n.d(t,{$U:()=>p,CO:()=>k,EK:()=>_,En:()=>b,FT:()=>o,IV:()=>h,Kn:()=>x,LD:()=>c,Lo:()=>R,O4:()=>r,Qm:()=>L,VZ:()=>j,Ve:()=>g,WF:()=>U,WL:()=>d,Wu:()=>O,_V:()=>z,bh:()=>A,c4:()=>T,cc:()=>E,dO:()=>m,gV:()=>D,gm:()=>I,gy:()=>s,hL:()=>i,kF:()=>M,m$:()=>u,ou:()=>v,qh:()=>S,td:()=>w,tn:()=>N,ud:()=>f,v7:()=>y,w8:()=>l,z$:()=>a,zD:()=>C});var r="@@redux-form/",o=r+"ARRAY_INSERT",i=r+"ARRAY_MOVE",a=r+"ARRAY_POP",s=r+"ARRAY_PUSH",u=r+"ARRAY_REMOVE",c=r+"ARRAY_REMOVE_ALL",l=r+"ARRAY_SHIFT",d=r+"ARRAY_SPLICE",f=r+"ARRAY_UNSHIFT",p=r+"ARRAY_SWAP",v=r+"AUTOFILL",m=r+"BLUR",g=r+"CHANGE",h=r+"CLEAR_FIELDS",y=r+"CLEAR_SUBMIT",b=r+"CLEAR_SUBMIT_ERRORS",k=r+"CLEAR_ASYNC_ERROR",x=r+"DESTROY",E=r+"FOCUS",S=r+"INITIALIZE",_=r+"REGISTER_FIELD",w=r+"RESET",O=r+"RESET_SECTION",z=r+"SET_SUBMIT_FAILED",R=r+"SET_SUBMIT_SUCCEEDED",j=r+"START_ASYNC_VALIDATION",A=r+"START_SUBMIT",I=r+"STOP_ASYNC_VALIDATION",T=r+"STOP_SUBMIT",C=r+"SUBMIT",L=r+"TOUCH",D=r+"UNREGISTER_FIELD",N=r+"UNTOUCH",U=r+"UPDATE_SYNC_ERRORS",M=r+"UPDATE_SYNC_WARNINGS"},16285:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(37316),o=n.n(r),i=n(23560),a=n.n(i);if(/^(713|763|947|99)$/.test(n.j))var s=n(66448);if(/^(713|763|947|99)$/.test(n.j))var u=n(883);if(/^(713|763|947|99)$/.test(n.j))var c=n(14892);var l=function(e){var t=e.getIn;return function(e,n){var r=null;/^values/.test(n)&&(r=n.replace("values","initial"));var o=!r||void 0===t(e,r);return void 0!==t(e,n)&&o}};const d=/^(713|763|947|99)$/.test(n.j)?function(e){var t,n=e.deepEqual,r=e.empty,i=e.forEach,d=e.getIn,f=e.setIn,p=e.deleteIn,v=e.fromJS,m=e.keys,g=e.size,h=e.some,y=e.splice,b=(0,u.Z)(e)(l),k=(0,u.Z)(c.Z)(l),x=function(e,t,n,r,o,i,a){var s=d(e,t+"."+n);return s||a?f(e,t+"."+n,y(s,r,o,i)):e},E=function(e,t,n,r,o,i,a){var s=d(e,t),u=c.Z.getIn(s,n);return u||a?f(e,t,c.Z.setIn(s,n,c.Z.splice(u,r,o,i))):e},S=["values","fields","submitErrors","asyncErrors"],_=function(e,t,n,o,i){var a=e,s=null!=i?r:void 0;return a=x(a,"values",t,n,o,i,!0),a=x(a,"fields",t,n,o,s),a=E(a,"syncErrors",t,n,o,void 0),a=E(a,"syncWarnings",t,n,o,void 0),a=x(a,"submitErrors",t,n,o,void 0),a=x(a,"asyncErrors",t,n,o,void 0)},w=((t={})[s.FT]=function(e,t){var n=t.meta,r=n.field,o=n.index,i=t.payload;return _(e,r,o,0,i)},t[s.hL]=function(e,t){var n=t.meta,r=n.field,o=n.from,i=n.to,a=d(e,"values."+r),s=a?g(a):0,u=e;return s&&S.forEach((function(e){var t=e+"."+r;if(d(u,t)){var n=d(u,t+"["+o+"]");u=f(u,t,y(d(u,t),o,1)),u=f(u,t,y(d(u,t),i,0,n))}})),u},t[s.z$]=function(e,t){var n=t.meta.field,r=d(e,"values."+n),o=r?g(r):0;return o?_(e,n,o-1,1):e},t[s.gy]=function(e,t){var n=t.meta.field,r=t.payload,o=d(e,"values."+n),i=o?g(o):0;return _(e,n,i,0,r)},t[s.m$]=function(e,t){var n=t.meta,r=n.field,o=n.index;return _(e,r,o,1)},t[s.LD]=function(e,t){var n=t.meta.field,r=d(e,"values."+n),o=r?g(r):0;return o?_(e,n,0,o):e},t[s.w8]=function(e,t){var n=t.meta.field;return _(e,n,0,1)},t[s.WL]=function(e,t){var n=t.meta,r=n.field,o=n.index,i=n.removeNum,a=t.payload;return _(e,r,o,i,a)},t[s.$U]=function(e,t){var n=t.meta,r=n.field,o=n.indexA,i=n.indexB,a=e;return S.forEach((function(e){var t=d(a,e+"."+r+"["+o+"]"),n=d(a,e+"."+r+"["+i+"]");void 0===t&&void 0===n||(a=f(a,e+"."+r+"["+o+"]",n),a=f(a,e+"."+r+"["+i+"]",t))})),a},t[s.ud]=function(e,t){var n=t.meta.field,r=t.payload;return _(e,n,0,0,r)},t[s.ou]=function(e,t){var n=t.meta.field,r=t.payload,o=e;return o=b(o,"asyncErrors."+n),o=b(o,"submitErrors."+n),o=f(o,"fields."+n+".autofilled",!0),o=f(o,"values."+n,r)},t[s.dO]=function(e,t){var n=t.meta,r=n.field,o=n.touch,i=t.payload,a=e;return void 0===d(a,"initial."+r)&&""===i?a=b(a,"values."+r):void 0!==i&&(a=f(a,"values."+r,i)),r===d(a,"active")&&(a=p(a,"active")),a=p(a,"fields."+r+".active"),o&&(a=f(a,"fields."+r+".touched",!0),a=f(a,"anyTouched",!0)),a},t[s.Ve]=function(e,t){var n=t.meta,r=n.field,o=n.touch,i=n.persistentSubmitErrors,s=t.payload,u=e;if(void 0===d(u,"initial."+r)&&""===s||void 0===s)u=b(u,"values."+r);else if(a()(s)){var c=d(e,"values."+r);u=f(u,"values."+r,s(c,e.values))}else u=f(u,"values."+r,s);return u=b(u,"asyncErrors."+r),i||(u=b(u,"submitErrors."+r)),u=b(u,"fields."+r+".autofilled"),o&&(u=f(u,"fields."+r+".touched",!0),u=f(u,"anyTouched",!0)),u},t[s.v7]=function(e){return p(e,"triggerSubmit")},t[s.En]=function(e){var t=e;return t=b(t,"submitErrors"),t=p(t,"error")},t[s.CO]=function(e,t){var n=t.meta.field;return p(e,"asyncErrors."+n)},t[s.IV]=function(e,t){var n=t.meta,r=n.keepTouched,o=n.persistentSubmitErrors,i=n.fields,a=e;i.forEach((function(t){a=b(a,"asyncErrors."+t),o||(a=b(a,"submitErrors."+t)),a=b(a,"fields."+t+".autofilled"),r||(a=p(a,"fields."+t+".touched"));var n=d(e,"initial."+t);a=n?f(a,"values."+t,n):b(a,"values."+t)}));var s=h(m(d(a,"registeredFields")),(function(e){return d(a,"fields."+e+".touched")}));return a=s?f(a,"anyTouched",!0):p(a,"anyTouched")},t[s.cc]=function(e,t){var n=t.meta.field,r=e,o=d(e,"active");return r=p(r,"fields."+o+".active"),r=f(r,"fields."+n+".visited",!0),r=f(r,"fields."+n+".active",!0),r=f(r,"active",n)},t[s.qh]=function(e,t){var o=t.payload,a=t.meta,s=a.keepDirty,u=a.keepSubmitSucceeded,c=a.updateUnregisteredFields,l=a.keepValues,p=v(o),g=r,h=d(e,"warning");h&&(g=f(g,"warning",h));var y=d(e,"syncWarnings");y&&(g=f(g,"syncWarnings",y));var b=d(e,"error");b&&(g=f(g,"error",b));var k=d(e,"syncErrors");k&&(g=f(g,"syncErrors",k));var x=d(e,"registeredFields");x&&(g=f(g,"registeredFields",x));var E=d(e,"values"),S=d(e,"initial"),_=p,w=E;if(s&&x){if(!n(_,S)){var O=function(e){var t=d(S,e),r=d(E,e);if(n(r,t)){var o=d(_,e);d(w,e)!==o&&(w=f(w,e,o))}};c||i(m(x),(function(e){return O(e)})),i(m(_),(function(e){if(void 0===d(S,e)){var t=d(_,e);w=f(w,e,t)}c&&O(e)}))}}else w=_;return l&&(i(m(E),(function(e){var t=d(E,e);w=f(w,e,t)})),i(m(S),(function(e){var t=d(S,e);_=f(_,e,t)}))),u&&d(e,"submitSucceeded")&&(g=f(g,"submitSucceeded",!0)),g=f(g,"values",w),g=f(g,"initial",_)},t[s.EK]=function(e,t){var n=t.payload,r=n.name,o=n.type,i="registeredFields['"+r+"']",a=d(e,i);if(a){var s=d(a,"count")+1;a=f(a,"count",s)}else a=v({name:r,type:o,count:1});return f(e,i,a)},t[s.td]=function(e){var t=r,n=d(e,"registeredFields");n&&(t=f(t,"registeredFields",n));var o=d(e,"initial");return o&&(t=f(t,"values",o),t=f(t,"initial",o)),t},t[s.Wu]=function(e,t){var n=t.meta.sections,r=e;n.forEach((function(t){r=b(r,"asyncErrors."+t),r=b(r,"submitErrors."+t),r=b(r,"fields."+t);var n=d(e,"initial."+t);r=n?f(r,"values."+t,n):b(r,"values."+t)}));var o=h(m(d(r,"registeredFields")),(function(e){return d(r,"fields."+e+".touched")}));return r=o?f(r,"anyTouched",!0):p(r,"anyTouched")},t[s.zD]=function(e){return f(e,"triggerSubmit",!0)},t[s.VZ]=function(e,t){var n=t.meta.field;return f(e,"asyncValidating",n||!0)},t[s.bh]=function(e){return f(e,"submitting",!0)},t[s.gm]=function(e,t){var n=t.payload,r=e;if(r=p(r,"asyncValidating"),n&&Object.keys(n).length){var i=n._error,a=o()(n,["_error"]);i&&(r=f(r,"error",i)),Object.keys(a).length&&(r=f(r,"asyncErrors",v(a)))}else r=p(r,"error"),r=p(r,"asyncErrors");return r},t[s.c4]=function(e,t){var n=t.payload,r=e;if(r=p(r,"submitting"),r=p(r,"submitFailed"),r=p(r,"submitSucceeded"),n&&Object.keys(n).length){var i=n._error,a=o()(n,["_error"]);r=i?f(r,"error",i):p(r,"error"),r=Object.keys(a).length?f(r,"submitErrors",v(a)):p(r,"submitErrors"),r=f(r,"submitFailed",!0)}else r=p(r,"error"),r=p(r,"submitErrors");return r},t[s._V]=function(e,t){var n=t.meta.fields,r=e;return r=f(r,"submitFailed",!0),r=p(r,"submitSucceeded"),r=p(r,"submitting"),n.forEach((function(e){return r=f(r,"fields."+e+".touched",!0)})),n.length&&(r=f(r,"anyTouched",!0)),r},t[s.Lo]=function(e){var t=e;return t=p(t,"submitFailed"),t=f(t,"submitSucceeded",!0)},t[s.Qm]=function(e,t){var n=t.meta.fields,r=e;return n.forEach((function(e){return r=f(r,"fields."+e+".touched",!0)})),r=f(r,"anyTouched",!0)},t[s.gV]=function(e,t){var o=t.payload,i=o.name,a=o.destroyOnUnmount,s=e,u="registeredFields['"+i+"']",l=d(s,u);if(!l)return s;var v=d(l,"count")-1;if(v<=0&&a){s=p(s,u),n(d(s,"registeredFields"),r)&&(s=p(s,"registeredFields"));var m=d(s,"syncErrors");m&&(m=k(m,i),s=c.Z.deepEqual(m,c.Z.empty)?p(s,"syncErrors"):f(s,"syncErrors",m));var g=d(s,"syncWarnings");g&&(g=k(g,i),s=c.Z.deepEqual(g,c.Z.empty)?p(s,"syncWarnings"):f(s,"syncWarnings",g)),s=b(s,"submitErrors."+i),s=b(s,"asyncErrors."+i)}else l=f(l,"count",v),s=f(s,u,l);return s},t[s.tn]=function(e,t){var n=t.meta.fields,r=e;n.forEach((function(e){return r=p(r,"fields."+e+".touched")}));var o=h(m(d(r,"registeredFields")),(function(e){return d(r,"fields."+e+".touched")}));return r=o?f(r,"anyTouched",!0):p(r,"anyTouched")},t[s.WF]=function(e,t){var n=t.payload,r=n.syncErrors,o=n.error,i=e;return o?(i=f(i,"error",o),i=f(i,"syncError",!0)):(i=p(i,"error"),i=p(i,"syncError")),i=Object.keys(r).length?f(i,"syncErrors",r):p(i,"syncErrors")},t[s.kF]=function(e,t){var n=t.payload,r=n.syncWarnings,o=n.warning,i=e;return i=o?f(i,"warning",o):p(i,"warning"),i=Object.keys(r).length?f(i,"syncWarnings",r):p(i,"syncWarnings")},t);return function e(t){return t.plugin=function(t,n){var o=this;return void 0===n&&(n={}),e((function(e,i){void 0===e&&(e=r),void 0===i&&(i={type:"NONE"});var a=function(n,r){var o=d(n,r),a=t[r](o,i,d(e,r));return a!==o?f(n,r,a):n},s=o(e,i),u=i&&i.meta&&i.meta.form;return u&&!n.receiveAllFormActions?t[u]?a(s,u):s:Object.keys(t).reduce(a,s)}))},t}(function(e){return function(t,n){void 0===t&&(t=r),void 0===n&&(n={type:"NONE"});var o=n&&n.meta&&n.meta.form;if(!o||!function(e){return e&&e.type&&e.type.length>s.O4.length&&e.type.substring(0,s.O4.length)===s.O4}(n))return t;if(n.type===s.Kn&&n.meta&&n.meta.form)return n.meta.form.reduce((function(e,t){return b(e,t)}),t);var i=d(t,o),a=e(i,n);return a===i?t:f(t,o,a)}}((function(e,t){void 0===e&&(e=r);var n=w[t.type];return n?n(e,t):e})))}:null},883:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(30084),o=n.n(r);const i=/^(713|763|947|99)$/.test(n.j)?function(e){var t=function(e){return function(t,n){return void 0!==e.getIn(t,n)}},n=e.deepEqual,r=e.empty,i=e.getIn,a=e.deleteIn,s=e.setIn;return function(u){void 0===u&&(u=t);return function t(c,l){if("]"===l[l.length-1]){var d=o()(l);return d.pop(),i(c,d.join("."))?s(c,l):c}var f=c;u(e)(c,l)&&(f=a(c,l));var p=l.lastIndexOf(".");if(p>0){var v=l.substring(0,p);if("]"!==v[v.length-1]){var m=i(f,v);if(n(m,r))return t(f,v)}}return f}}}:null},94858:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(33831),o=n(14892);const i=(0,r.Z)(o.Z)},58267:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(16285),o=n(14892);const i=(0,r.Z)(o.Z)},33831:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>o}),/^(713|763|947)$/.test(n.j))var r=n(8306);function o(e){return function(t,n){var o=(0,r.Z)(e)(t,n);return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!o.apply(void 0,[e].concat(n))}}}},8306:(e,t,n)=>{"use strict";function r(e){var t=e.deepEqual,n=e.empty,r=e.getIn;return function(e,o){return function(i){for(var a=o||function(e){return r(e,"form")},s=a(i),u=arguments.length,c=new Array(u>1?u-1:0),l=1;l<u;l++)c[l-1]=arguments[l];if(c&&c.length)return c.every((function(n){var o=r(s,e+".initial."+n),i=r(s,e+".values."+n);return t(o,i)}));var d=r(s,e+".initial")||n,f=r(s,e+".values")||d;return t(d,f)}}}n.d(t,{Z:()=>r})},14892:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});const r=function(e,t,n,r){if(t<(e=e||[]).length){if(void 0===r&&!n){var o=[].concat(e);return o.splice(t,0,!0),o[t]=void 0,o}if(null!=r){var i=[].concat(e);return i.splice(t,n,r),i}var a=[].concat(e);return a.splice(t,n),a}if(n)return e;var s=[].concat(e);return s[t]=r,s};var o=n(30084),i=n.n(o);const a=function(e,t){if(!e)return e;var n=i()(t),r=n.length;if(r){for(var o=e,a=0;a<r&&o;++a)o=o[n[a]];return o}};var s=n(67154),u=n.n(s),c=function e(t,n,r,o){var i;if(o>=r.length)return n;var a=r[o],s=e(t&&(Array.isArray(t)?t[Number(a)]:t[a]),n,r,o+1);if(!t){var c;if(isNaN(a))return(c={})[a]=s,c;var l=[];return l[parseInt(a,10)]=s,l}if(Array.isArray(t)){var d=[].concat(t);return d[parseInt(a,10)]=s,d}return u()({},t,((i={})[a]=s,i))};const l=function(e,t,n){return c(e,n,i()(t),0)};var d=n(14293),f=n.n(d),p=n(28368),v=n.n(p),m=n(1024),g=n.n(m),h=function(e){return f()(e)||""===e||isNaN(e)},y=function(e,t){return e===t||(e||t?(!e||!t||e._error===t._error)&&((!e||!t||e._warning===t._warning)&&(!g().isValidElement(e)&&!g().isValidElement(t)&&void 0)):h(e)===h(t))};function b(e,t){if(null==e||null==t)return e;for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(r.length){if(Array.isArray(e)){if(isNaN(t))throw new Error('Must access array elements with a number, not "'+String(t)+'".');var i=Number(t);if(i<e.length){var a=b.apply(void 0,[e&&e[i]].concat(r));if(a!==e[i]){var s=[].concat(e);return s[i]=a,s}}return e}if(t in e){var c,l=b.apply(void 0,[e&&e[t]].concat(r));return e[t]===l?e:u()({},e,((c={})[t]=l,c))}return e}if(Array.isArray(e)){if(isNaN(t))throw new Error('Cannot delete non-numerical index from an array. Given: "'+String(t));var d=Number(t);if(d<e.length){var f=[].concat(e);return f.splice(d,1),f}return e}if(t in e){var p=u()({},e);return delete p[t],p}return e}const k={allowsArrayErrors:!0,empty:{},emptyList:[],getIn:a,setIn:l,deepEqual:function(e,t){return v()(e,t,y)},deleteIn:function(e,t){return b.apply(void 0,[e].concat(i()(t)))},forEach:function(e,t){return e.forEach(t)},fromJS:function(e){return e},keys:function(e){return e?Array.isArray(e)?e.map((function(e){return e.name})):Object.keys(e):[]},size:function(e){return e?e.length:0},some:function(e,t){return e.some(t)},splice:r,equals:function(e,t){return t.every((function(t){return~e.indexOf(t)}))},orderChanged:function(e,t){return t.some((function(t,n){return t!==e[n]}))},toJS:function(e){return e}}},13572:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r="undefined"!=typeof window?window:null,o=null===r,i=o?void 0:r.document,a="horizontal",s=function(){return!1},u=o?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var t=i.createElement("div");return t.style.cssText="width:"+e+"calc(9px)",!!t.style.length})).shift()+"calc",c=function(e){return"string"==typeof e||e instanceof String},l=function(e){if(c(e)){var t=i.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},d=function(e,t,n){var r=e[t];return void 0!==r?r:n},f=function(e,t,n,r){if(t){if("end"===r)return 0;if("center"===r)return e/2}else if(n){if("start"===r)return 0;if("center"===r)return e/2}return e},p=function(e,t){var n=i.createElement("div");return n.className="gutter gutter-"+t,n},v=function(e,t,n){var r={};return c(t)?r[e]=t:r[e]=u+"("+t+"% - "+n+"px)",r},m=function(e,t){var n;return(n={})[e]=t+"px",n};const g=/^(713|763|947)$/.test(n.j)?function(e,t){if(void 0===t&&(t={}),o)return{};var n,u,c,g,h,y,b=e;Array.from&&(b=Array.from(b));var k=l(b[0]).parentNode,x=getComputedStyle?getComputedStyle(k):null,E=x?x.flexDirection:null,S=d(t,"sizes")||b.map((function(){return 100/b.length})),_=d(t,"minSize",100),w=Array.isArray(_)?_:b.map((function(){return _})),O=d(t,"maxSize",1/0),z=Array.isArray(O)?O:b.map((function(){return O})),R=d(t,"expandToMin",!1),j=d(t,"gutterSize",10),A=d(t,"gutterAlign","center"),I=d(t,"snapOffset",30),T=Array.isArray(I)?I:b.map((function(){return I})),C=d(t,"dragInterval",1),L=d(t,"direction",a),D=d(t,"cursor",L===a?"col-resize":"row-resize"),N=d(t,"gutter",p),U=d(t,"elementStyle",v),M=d(t,"gutterStyle",m);function F(e,t,r,o){var i=U(n,t,r,o);Object.keys(i).forEach((function(t){e.style[t]=i[t]}))}function P(){return y.map((function(e){return e.size}))}function Z(e){return"touches"in e?e.touches[0][u]:e[u]}function B(e){var t=y[this.a],n=y[this.b],r=t.size+n.size;t.size=e/this.size*r,n.size=r-e/this.size*r,F(t.element,t.size,this._b,t.i),F(n.element,n.size,this._c,n.i)}function $(e){var n,r=y[this.a],o=y[this.b];this.dragging&&(n=Z(e)-this.start+(this._b-this.dragOffset),C>1&&(n=Math.round(n/C)*C),n<=r.minSize+r.snapOffset+this._b?n=r.minSize+this._b:n>=this.size-(o.minSize+o.snapOffset+this._c)&&(n=this.size-(o.minSize+this._c)),n>=r.maxSize-r.snapOffset+this._b?n=r.maxSize+this._b:n<=this.size-(o.maxSize-o.snapOffset+this._c)&&(n=this.size-(o.maxSize+this._c)),B.call(this,n),d(t,"onDrag",s)(P()))}function q(){var e=y[this.a].element,t=y[this.b].element,r=e.getBoundingClientRect(),o=t.getBoundingClientRect();this.size=r[n]+o[n]+this._b+this._c,this.start=r[c],this.end=r[g]}function V(e){var t=function(e){if(!getComputedStyle)return null;var t=getComputedStyle(e);if(!t)return null;var n=e[h];return 0===n?null:n-=L===a?parseFloat(t.paddingLeft)+parseFloat(t.paddingRight):parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)}(k);if(null===t)return e;if(w.reduce((function(e,t){return e+t}),0)>t)return e;var n=0,r=[],o=e.map((function(o,i){var a=t*o/100,s=f(j,0===i,i===e.length-1,A),u=w[i]+s;return a<u?(n+=u-a,r.push(0),u):(r.push(a-u),a)}));return 0===n?e:o.map((function(e,o){var i=e;if(n>0&&r[o]-n>0){var a=Math.min(n,r[o]-n);n-=a,i=e-a}return i/t*100}))}function H(){var e=this,n=y[e.a].element,o=y[e.b].element;e.dragging&&d(t,"onDragEnd",s)(P()),e.dragging=!1,r.removeEventListener("mouseup",e.stop),r.removeEventListener("touchend",e.stop),r.removeEventListener("touchcancel",e.stop),r.removeEventListener("mousemove",e.move),r.removeEventListener("touchmove",e.move),e.stop=null,e.move=null,n.removeEventListener("selectstart",s),n.removeEventListener("dragstart",s),o.removeEventListener("selectstart",s),o.removeEventListener("dragstart",s),n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",o.style.userSelect="",o.style.webkitUserSelect="",o.style.MozUserSelect="",o.style.pointerEvents="",e.gutter.style.cursor="",e.parent.style.cursor="",i.body.style.cursor=""}function W(e){if(!("button"in e)||0===e.button){var n=this,o=y[n.a].element,a=y[n.b].element;n.dragging||d(t,"onDragStart",s)(P()),e.preventDefault(),n.dragging=!0,n.move=$.bind(n),n.stop=H.bind(n),r.addEventListener("mouseup",n.stop),r.addEventListener("touchend",n.stop),r.addEventListener("touchcancel",n.stop),r.addEventListener("mousemove",n.move),r.addEventListener("touchmove",n.move),o.addEventListener("selectstart",s),o.addEventListener("dragstart",s),a.addEventListener("selectstart",s),a.addEventListener("dragstart",s),o.style.userSelect="none",o.style.webkitUserSelect="none",o.style.MozUserSelect="none",o.style.pointerEvents="none",a.style.userSelect="none",a.style.webkitUserSelect="none",a.style.MozUserSelect="none",a.style.pointerEvents="none",n.gutter.style.cursor=D,n.parent.style.cursor=D,i.body.style.cursor=D,q.call(n),n.dragOffset=Z(e)-n.end}}L===a?(n="width",u="clientX",c="left",g="right",h="clientWidth"):"vertical"===L&&(n="height",u="clientY",c="top",g="bottom",h="clientHeight"),S=V(S);var Y=[];function G(e){var t=e.i===Y.length,n=t?Y[e.i-1]:Y[e.i];q.call(n);var r=t?n.size-e.minSize-n._c:e.minSize+n._b;B.call(n,r)}return(y=b.map((function(e,t){var r,o={element:l(e),size:S[t],minSize:w[t],maxSize:z[t],snapOffset:T[t],i:t};if(t>0&&((r={a:t-1,b:t,dragging:!1,direction:L,parent:k})._b=f(j,t-1==0,!1,A),r._c=f(j,!1,t===b.length-1,A),"row-reverse"===E||"column-reverse"===E)){var i=r.a;r.a=r.b,r.b=i}if(t>0){var a=N(t,L,o.element);!function(e,t,r){var o=M(n,t,r);Object.keys(o).forEach((function(t){e.style[t]=o[t]}))}(a,j,t),r._a=W.bind(r),a.addEventListener("mousedown",r._a),a.addEventListener("touchstart",r._a),k.insertBefore(a,o.element),r.gutter=a}return F(o.element,o.size,f(j,0===t,t===b.length-1,A),t),t>0&&Y.push(r),o}))).forEach((function(e){var t=e.element.getBoundingClientRect()[n];t<e.minSize&&(R?G(e):e.minSize=t)})),{setSizes:function(e){var t=V(e);t.forEach((function(e,n){if(n>0){var r=Y[n-1],o=y[r.a],i=y[r.b];o.size=t[n-1],i.size=e,F(o.element,o.size,r._b,o.i),F(i.element,i.size,r._c,i.i)}}))},getSizes:P,collapse:function(e){G(y[e])},destroy:function(e,t){Y.forEach((function(r){if(!0!==t?r.parent.removeChild(r.gutter):(r.gutter.removeEventListener("mousedown",r._a),r.gutter.removeEventListener("touchstart",r._a)),!0!==e){var o=U(n,r.a.size,r._b);Object.keys(o).forEach((function(e){y[r.a].element.style[e]="",y[r.b].element.style[e]=""}))}}))},parent:k,pairs:Y}}:null}}]);