tocco-widget-bundle 0.1.93 → 0.1.95
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.
- package/changelog.md +11 -0
- package/dist/address-update.js +8 -8
- package/dist/chunk-240.fec9d05e659a06d39d23.js +1 -0
- package/dist/{chunk-889.b3132cd4fb3ba7ce705a.js → chunk-504.3878ddd768fb53e4c603.js} +2 -2
- package/dist/chunk-527.b1406ce2236f91ca5cf3.js +1 -0
- package/dist/{chunk-560.e4ff60ba504aab64fded.js → chunk-560.19e4818bebc077b4aac2.js} +1 -1
- package/dist/{chunk-817.f2e0d7dc047dc48d52c8.js → chunk-817.e69dbe018055e675170e.js} +1 -1
- package/dist/chunk-actions.d65648fe5797d570cf7c.js +1 -0
- package/dist/{chunk-ckeditor.7062280c14664adccb99.js → chunk-ckeditor.13df02033574b308f15b.js} +4 -4
- package/dist/{chunk-code-editor.92f43cbe55db28653cf1.js → chunk-code-editor.3dde4f6692c0b3db3275.js} +1 -1
- package/dist/{chunk-docs-actions.1d1609a83fe5167b7c3a.js → chunk-docs-actions.c3c60f91dcfe87e6c86a.js} +1 -1
- package/dist/chunk-vendor-icons.f899c3255fa6725bf7a2.js +1 -0
- package/dist/{chunk-vendor-libphonenumber-js.88c9f0af7ea24892c48a.js → chunk-vendor-libphonenumber-js.4533d665bea87f7b6efe.js} +1 -1
- package/dist/docs-browser.js +7 -7
- package/dist/entity-browser.js +7 -7
- package/dist/entity-dms.js +7 -7
- package/dist/event-registration.js +51 -0
- package/dist/login.js +9 -9
- package/dist/mailing-list.js +9 -9
- package/dist/password-update.js +9 -9
- package/dist/personal-dms.js +7 -7
- package/dist/public-dms.js +7 -7
- package/dist/sso-login.js +7 -7
- package/dist/stint-auction.js +9 -9
- package/dist/user-availability.js +9 -9
- package/dist/user-grades.js +9 -9
- package/dist/user-menu.js +7 -7
- package/dist/wage-view.js +9 -9
- package/package.json +2 -1
- package/dist/chunk-527.fd07fa2ccc0801655aad.js +0 -1
- package/dist/chunk-563.56fc5560230e6a8417d9.js +0 -1
- package/dist/chunk-actions.df4a5b24c7a916222db8.js +0 -1
- package/dist/chunk-vendor-icons.46e0deb3498e2b8b806e.js +0 -1
package/dist/{chunk-code-editor.92f43cbe55db28653cf1.js → chunk-code-editor.3dde4f6692c0b3db3275.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[85],{30919:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ke});var n=r(63038),o=r.n(n),l=r(28655),a=r.n(l),s=r(22085),i=r.n(s),c=(r(66245),r(56544)),u=r(7197),h=r(81272),d=r(82341),f=r(97595),p=r(66679),g=r(38794),b=r(12964),m=r(27361),v=r.n(m),y=r(14293),w=r.n(y),x=r(13218),_=r.n(x),k=r(47037),E=r.n(k),R=r(1024),C=r(38205),O=(r(36976),r(92194),r(2565),r(8821),r(71083),r(42061),r(74576),r(82454),r(55872),r(58119),r(64886)),M=r(93913),P=r.n(M),S=r(34575),I=r.n(S),N=r(2205),A=r.n(N),L=r(78585),T=r.n(L),j=r(29754),z=r.n(j),H=(r(51500),r(1469)),B=r.n(H),D=r(30236),F=r.n(D),$=r(72049);function U(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 r,n=z()(e);if(t){var o=z()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T()(this,r)}}const Z=function(e){return function(t){A()(n,t);var r=U(n);function n(){var t;I()(this,n),t=r.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($.wk.join("|"),")\\s*)(\\()(.*?)(\\))($|\\s+)"),caseInsensitive:!0},{token:"keyword.other.chaining",regex:/\./},{token:"support.function.field",regex:/([a-z_]+)($|\s+)/,push:"comparison"}],l={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($.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($._O.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat($.HZ.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat($.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=F()(t.$rules,l,(function(e,t){return B()(e)?e.concat(t):void 0})),t.normalizeRules(),t}return P()(n)}(i().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 r,n=z()(e);if(t){var o=z()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T()(this,r)}}var q=function(e){A()(r,e);var t=V(r);function r(){var e;I()(this,r);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 P()(r)}(i().require("ace/mode/text_highlight_rules").TextHighlightRules),G=function(e){A()(r,e);var t=V(r);function r(){var e;I()(this,r),e=t.call(this);var n=["query","queryCount"],o=[{token:"keyword.function",regex:"\\[@(".concat(n.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 l in e.$rules)e.$rules[l].unshift.apply(e.$rules[l],o);e.embedRules(q,"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(n.join("|"),")]"),next:"pop"}];e.embedRules(Z(),"tql-",a,["start"]);var s={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}]};return e.$rules=F()(e.$rules,s,(function(e,t){return B()(e)?e.concat(t):void 0})),e.normalizeRules(),e}return P()(r)}(i().require("ace/mode/html_highlight_rules").HtmlHighlightRules),Q=r(68551),W=r.n(Q),Y=r(319),K=r.n(Y),X=i().require("ace/token_iterator").TokenIterator,J=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},ee=function(e,t){return J(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},re=function(e,t){for(;!ee(e,t);)if(!e.stepBackward())return!1;return!0},ne=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 r=e.stepBackward();return r?[r.value.trim()].concat(K()(ae(e))):[]}if(ee(e,"order_by")){if(re(e,"find")){var n=e.stepForward();return n?n.value.trim():[]}return[]}if(t+=ne(e,t),!e.stepBackward())return null}return null},le=function(e,t){for(var r=[],n=t(e);n;)Array.isArray(n)?n.forEach((function(e){return r.unshift(e)})):r.unshift(n),n=t(e);return r},ae=function(e){return le(e,te)},se=function(e){return le(e,oe)},ie=1e3,ce=function(e,t,r){var n=function(e,t){if(t){var r=se(e());return{baseModel:t,modelScope:W()(r).slice(0)}}var n=se(e()),o=W()(n);return{baseModel:o[0],modelScope:o.slice(1)}}(e,r),o=n.baseModel,l=n.modelScope;if(o){var a=ae(e()),s=[].concat(K()(l),K()(a)).map((function(e){return"rel".concat(e)}));(function(e){var t=W()(e),r=t[0],n=t.slice(1);return(0,O.w)(function(e,t){var r=t.length>0?"/resolve?path="+t.join("."):"";return"entities/".concat(e,"/model").concat(r)}(r,n)).then(O.c).then((function(e){if(!e)return[];var t=e.fields||[],r=e.relations||[];return[].concat(K()(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}))),K()(r.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(K()(s))).then((function(e){var r=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:ie}}));t(null,r)})).catch((function(e){return t(e)}))}},ue=function(e,t){return t?"".concat(e," (").concat(t,")"):e},he=function(e){return(0,O.w)("entities").then(O.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 r=t.map((function(e){var t=e.modelName,r=e.label;return{caption:ue(t,r),value:t,score:ie}}));e(null,r)})).catch((function(t){return e(t)}))},de=function(){return $.wk.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const fe=function(e){return{getCompletions:function(t,r,n,o,l){var a=function(){return new X(r,n.row,n.column)},s=a(),i=s.getCurrentToken(),c=s.stepBackward()?s.getCurrentToken():null;switch(J(i)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":ce(a,l,e);break;case"where":case"conjunction":ce(a,l,e),l(null,de());break;case"nice_function":l(null,de());break;case"find":he(l);break;case"type":case"tocco_placeholder":case"comparison":l(null,$.V5.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),l(null,$._O.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":ce(a,l,e),c&&"relation"!==J(c)&&he(l);break;case null:e&&ce(a,l,e),l(null,de())}}}};function pe(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 r,n=z()(e);if(t){var o=z()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T()(this,r)}}var ge=function(e){A()(r,e);var t=pe(r);function r(){var e;return I()(this,r),(e=t.call(this)).HighlightRules=G,e.completer=fe(),e}return P()(r)}(i().require("ace/mode/ftl").Mode);function be(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 r,n=z()(e);if(t){var o=z()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T()(this,r)}}var me,ve=function(e){A()(r,e);var t=be(r);function r(e){var n,o=e.implicitModelName;return I()(this,r),(n=t.call(this)).HighlightRules=Z(o),n.completer=fe(o),n.snippedIdField=null,n}return P()(r)}(i().require("ace/mode/text").Mode),ye=r(85893),we=C.ZP.div.withConfig({displayName:"StyledEditor"})(me||(me=a()(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),xe={groovy:function(){return new u.Mode},html:function(){return new h.Mode},xml:function(){return new b.Mode},properties:function(){return new p.Mode},json:function(){return new d.Mode},htmlmixed:function(){return new ge},freemarkermixed:function(){return new ge},ftl:function(){return new ge},tql:function(e){return new ve(e)},less:function(){return new f.Mode},drools:function(){return new c.Mode},text:function(){return new g.Mode}},_e=function(e,t){var r=t.mode,n=t.theme,l=t.showGutter,a=t.editorOptions,s=void 0===a?{}:a;(function(e){return E()(e)?Promise.resolve(e):_()(e)?(0,O.w)("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(O.c).then((function(e){return v()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(t.implicitModel).then((function(e){return function(e,t){return v()(xe,e,e)(t)}(r,{implicitModelName:e})})).then((function(t){return e.getSession().setMode(t)})),e.setTheme("ace/theme/".concat(n)),Object.entries(s).forEach((function(t){var r=o()(t,2),n=r[0],l=r[1];e.setOption(n,l)})),e.renderer.setShowGutter(l),e.resize()};const ke=function(e){var t=e.mode,r=e.theme,n=void 0===r?"textmate":r,o=e.value,l=e.onChange,a=e.showGutter,s=void 0===a||a,c=e.editorOptions,u=void 0===c?{}:c,h=e.implicitModel,d=e.autoFocusOnMount,f=void 0!==d&&d,p=(0,R.useRef)(null),g=(0,R.useRef)(null),b=(0,R.useMemo)((function(){return{mode:t,theme:n,showGutter:s,editorOptions:u,implicitModel:h,autoFocusOnMount:f}}),[t,n,s,u,h,f]);return(0,R.useEffect)((function(){var e=i().edit(p.current);return e.getSession().setValue(o||""),e.on("change",(function(){return l(e.getValue())})),_e(e,b),g.current=e,b.autoFocusOnMount&&g.current.focus(),function(){return e.destroy()}}),[]),(0,R.useEffect)((function(){g.current&&_e(g.current,b)}),[b]),(0,R.useEffect)((function(){g.current&&!w()(o)&&o!==g.current.getValue()&&g.current.getSession().setValue(o)}),[o]),(0,ye.jsx)(we,{ref:p})}},72049:(e,t,r)=>{"use strict";r.d(t,{Gn:()=>n,HZ:()=>o,V5:()=>l,_O:()=>a,wk:()=>s});var n=/^(3|82)0$/.test(r.j)?null:["==","!=","<=",">=","<",">","~="],o=/^(3|82)0$/.test(r.j)?null:["true","false","null"],l=/^(3|82)0$/.test(r.j)?null:["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],a=/^(3|82)0$/.test(r.j)?null:["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],s=/^(3|82)0$/.test(r.j)?null:["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"]},64886:(e,t,r)=>{"use strict";if(r.d(t,{c:()=>l,w:()=>o}),!/^(3|82)0$/.test(r.j))var n=r(54159);var o=function(e){return n.Z.executeRequest("rest/".concat(e))},l=function(e){return 200===e.status?e.json():null}},48078:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(52817),o=r(41609),l=r.n(o),a=r(41291),s=r(85893);const i=function(e){var t=e.value,r=e.breakWords,o=(0,n._)(t),i=l()(o)?t:o.formatInternational();return(0,s.jsx)(a.Z,{href:"tel:".concat(t),target:"_blank",onClick:function(e){return e.stopPropagation()},label:i,breakWords:r})}},83418:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ne});var n=r(59713),o=r.n(n),l=r(72757),a=r(1024),s=r(86896),i=r(93913),c=r.n(i),u=r(34575),h=r.n(u),d=r(2205),f=r.n(d),p=r(78585),g=r.n(p),b=r(29754),m=r.n(b),v=r(11820),y=r(39269),w=r(96840),x=r(75528),_=r(52079),k=r(84184),E=r(40569),R=r(75460),C=r(65761),O=r(53626),M=r(73043),P=r(16797),S=r(71297),I=r(34908),N=r(6672),A=r(18195),L=r(23132),T=r(37060),j=r(90841),z=r(21094),H=r(60324),B=r(51778),D=r(87388),F=r(89906),$=r(41831);function U(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 r,n=m()(e);if(t){var o=m()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return g()(this,r)}}var Z=function(e){f()(r,e);var t=U(r);function r(){return h()(this,r),t.apply(this,arguments)}return c()(r)}(v.Z);Z.builtinPlugins=[y.Z,w.Z,E.Z,R.Z,C.Z,O.Z,M.Z,S.Z,P.Z,I.Z,N.Z,A.Z,x.Z,L.Z,T.Z,j.Z,z.Z,H.Z,B.Z,_.Z,D.Z,F.Z,$.Z,k.Z],Z.defaultConfig={toolbar:{items:["bold","italic","underline","strikethrough","removeFormat","|","heading","fontFamily","fontSize","fontColor","|","numberedList","bulletedList","|","link","|","insertTable","|","undo","redo","|","sourceEditing"]},language:{ui:"de",content:"de"},link:{addTargetToExternalLinks:!0},htmlSupport:{allow:[{name:/.*/,attributes:!0,classes:!0,styles:!0}]},table:{contentToolbar:["tableColumn","tableRow","mergeTableCells"]},heading:{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h1",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h2",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h3",title:"Heading 3",class:"ck-heading_heading3"},{model:"heading4",view:"h4",title:"Heading 4",class:"ck-heading_heading4"},{model:"heading5",view:"h5",title:"Heading 5",class:"ck-heading_heading5"},{model:"heading6",view:"h6",title:"Heading 6",class:"ck-heading_heading6"},{model:"normal",view:"div",title:"Normal (DIV)",class:"ck-heading_normal"}]},fontFamily:{options:["default","Arial,Helvetica,sans-serif","Comic Sans MS,cursive","Courier New,Courier,monospace","Georgia,serif","Lucida Sans Unicode,Lucida Grande,sans-serif","Tahoma,Geneva,sans-serif","Times New Roman,Times,serif","Trebuchet MS,Helvetica,sans-serif","Verdana,Geneva,sans-serif"],supportAllValues:!0},fontSize:{options:[8,10,11,12,"default",15,16,17,19,22,24,26,29,32,36,37,48,64],supportAllValues:!0},fontColor:{columns:10,colors:[{color:"hsl(6, 54%, 95%)",label:" "},{color:"hsl(6, 54%, 89%)",label:" "},{color:"hsl(6, 54%, 78%)",label:" "},{color:"hsl(6, 54%, 68%)",label:" "},{color:"hsl(6, 54%, 57%)",label:" "},{color:"hsl(6, 63%, 46%)",label:" "},{color:"hsl(6, 63%, 41%)",label:" "},{color:"hsl(6, 63%, 35%)",label:" "},{color:"hsl(6, 63%, 29%)",label:" "},{color:"hsl(6, 63%, 24%)",label:" "},{color:"hsl(6, 78%, 96%)",label:" "},{color:"hsl(6, 78%, 91%)",label:" "},{color:"hsl(6, 78%, 83%)",label:" "},{color:"hsl(6, 78%, 74%)",label:" "},{color:"hsl(6, 78%, 66%)",label:" "},{color:"hsl(6, 78%, 57%)",label:" "},{color:"hsl(6, 59%, 50%)",label:" "},{color:"hsl(6, 59%, 43%)",label:" "},{color:"hsl(6, 59%, 37%)",label:" "},{color:"hsl(6, 59%, 30%)",label:" "},{color:"hsl(283, 39%, 95%)",label:" "},{color:"hsl(283, 39%, 91%)",label:" "},{color:"hsl(283, 39%, 81%)",label:" "},{color:"hsl(283, 39%, 72%)",label:" "},{color:"hsl(283, 39%, 63%)",label:" "},{color:"hsl(283, 39%, 53%)",label:" "},{color:"hsl(283, 34%, 47%)",label:" "},{color:"hsl(283, 34%, 40%)",label:" "},{color:"hsl(283, 34%, 34%)",label:" "},{color:"hsl(283, 34%, 28%)",label:" "},{color:"hsl(282, 39%, 95%)",label:" "},{color:"hsl(282, 39%, 89%)",label:" "},{color:"hsl(282, 39%, 79%)",label:" "},{color:"hsl(282, 39%, 68%)",label:" "},{color:"hsl(282, 39%, 58%)",label:" "},{color:"hsl(282, 44%, 47%)",label:" "},{color:"hsl(282, 44%, 42%)",label:" "},{color:"hsl(282, 44%, 36%)",label:" "},{color:"hsl(282, 44%, 30%)",label:" "},{color:"hsl(282, 44%, 25%)",label:" "},{color:"hsl(204, 51%, 94%)",label:" "},{color:"hsl(204, 51%, 89%)",label:" "},{color:"hsl(204, 51%, 78%)",label:" "},{color:"hsl(204, 51%, 67%)",label:" "},{color:"hsl(204, 51%, 55%)",label:" "},{color:"hsl(204, 64%, 44%)",label:" "},{color:"hsl(204, 64%, 39%)",label:" "},{color:"hsl(204, 64%, 34%)",label:" "},{color:"hsl(204, 64%, 28%)",label:" "},{color:"hsl(204, 64%, 23%)",label:" "},{color:"hsl(204, 70%, 95%)",label:" "},{color:"hsl(204, 70%, 91%)",label:" "},{color:"hsl(204, 70%, 81%)",label:" "},{color:"hsl(204, 70%, 72%)",label:" "},{color:"hsl(204, 70%, 63%)",label:" "},{color:"hsl(204, 70%, 53%)",label:" "},{color:"hsl(204, 62%, 47%)",label:" "},{color:"hsl(204, 62%, 40%)",label:" "},{color:"hsl(204, 62%, 34%)",label:" "},{color:"hsl(204, 62%, 28%)",label:" "},{color:"hsl(168, 55%, 94%)",label:" "},{color:"hsl(168, 55%, 88%)",label:" "},{color:"hsl(168, 55%, 77%)",label:" "},{color:"hsl(168, 55%, 65%)",label:" "},{color:"hsl(168, 55%, 54%)",label:" "},{color:"hsl(168, 76%, 42%)",label:" "},{color:"hsl(168, 76%, 37%)",label:" "},{color:"hsl(168, 76%, 32%)",label:" "},{color:"hsl(168, 76%, 27%)",label:" "},{color:"hsl(168, 76%, 22%)",label:" "},{color:"hsl(168, 42%, 94%)",label:" "},{color:"hsl(168, 42%, 87%)",label:" "},{color:"hsl(168, 42%, 74%)",label:" "},{color:"hsl(168, 42%, 61%)",label:" "},{color:"hsl(168, 45%, 49%)",label:" "},{color:"hsl(168, 76%, 36%)",label:" "},{color:"hsl(168, 76%, 31%)",label:" "},{color:"hsl(168, 76%, 27%)",label:" "},{color:"hsl(168, 76%, 23%)",label:" "},{color:"hsl(168, 76%, 19%)",label:" "},{color:"hsl(145, 45%, 94%)",label:" "},{color:"hsl(145, 45%, 88%)",label:" "},{color:"hsl(145, 45%, 77%)",label:" "},{color:"hsl(145, 45%, 65%)",label:" "},{color:"hsl(145, 45%, 53%)",label:" "},{color:"hsl(145, 63%, 42%)",label:" "},{color:"hsl(145, 63%, 37%)",label:" "},{color:"hsl(145, 63%, 32%)",label:" "},{color:"hsl(145, 63%, 27%)",label:" "},{color:"hsl(145, 63%, 22%)",label:" "},{color:"hsl(145, 61%, 95%)",label:" "},{color:"hsl(145, 61%, 90%)",label:" "},{color:"hsl(145, 61%, 80%)",label:" "},{color:"hsl(145, 61%, 69%)",label:" "},{color:"hsl(145, 61%, 59%)",label:" "},{color:"hsl(145, 63%, 49%)",label:" "},{color:"hsl(145, 63%, 43%)",label:" "},{color:"hsl(145, 63%, 37%)",label:" "},{color:"hsl(145, 63%, 31%)",label:" "},{color:"hsl(145, 63%, 25%)",label:" "},{color:"hsl(48, 89%, 95%)",label:" "},{color:"hsl(48, 89%, 90%)",label:" "},{color:"hsl(48, 89%, 80%)",label:" "},{color:"hsl(48, 89%, 70%)",label:" "},{color:"hsl(48, 89%, 60%)",label:" "},{color:"hsl(48, 89%, 50%)",label:" "},{color:"hsl(48, 88%, 44%)",label:" "},{color:"hsl(48, 88%, 38%)",label:" "},{color:"hsl(48, 88%, 32%)",label:" "},{color:"hsl(48, 88%, 26%)",label:" "},{color:"hsl(37, 90%, 95%)",label:" "},{color:"hsl(37, 90%, 90%)",label:" "},{color:"hsl(37, 90%, 80%)",label:" "},{color:"hsl(37, 90%, 71%)",label:" "},{color:"hsl(37, 90%, 61%)",label:" "},{color:"hsl(37, 90%, 51%)",label:" "},{color:"hsl(37, 86%, 45%)",label:" "},{color:"hsl(37, 86%, 39%)",label:" "},{color:"hsl(37, 86%, 33%)",label:" "},{color:"hsl(37, 86%, 27%)",label:" "},{color:"hsl(28, 80%, 95%)",label:" "},{color:"hsl(28, 80%, 90%)",label:" "},{color:"hsl(28, 80%, 81%)",label:" "},{color:"hsl(28, 80%, 71%)",label:" "},{color:"hsl(28, 80%, 61%)",label:" "},{color:"hsl(28, 80%, 52%)",label:" "},{color:"hsl(28, 74%, 46%)",label:" "},{color:"hsl(28, 74%, 39%)",label:" "},{color:"hsl(28, 74%, 33%)",label:" "},{color:"hsl(28, 74%, 27%)",label:" "},{color:"hsl(24, 71%, 94%)",label:" "},{color:"hsl(24, 71%, 88%)",label:" "},{color:"hsl(24, 71%, 77%)",label:" "},{color:"hsl(24, 71%, 65%)",label:" "},{color:"hsl(24, 71%, 53%)",label:" "},{color:"hsl(24, 100%, 41%)",label:" "},{color:"hsl(24, 100%, 36%)",label:" "},{color:"hsl(24, 100%, 31%)",label:" "},{color:"hsl(24, 100%, 26%)",label:" "},{color:"hsl(24, 100%, 22%)",label:" "},{color:"hsl(192, 15%, 99%)",label:" "},{color:"hsl(192, 15%, 99%)",label:" "},{color:"hsl(192, 15%, 97%)",label:" "},{color:"hsl(192, 15%, 96%)",label:" "},{color:"hsl(192, 15%, 95%)",label:" "},{color:"hsl(192, 15%, 94%)",label:" "},{color:"hsl(192, 5%, 82%)",label:" "},{color:"hsl(192, 3%, 71%)",label:" "},{color:"hsl(192, 2%, 60%)",label:" "},{color:"hsl(192, 1%, 49%)",label:" "},{color:"hsl(204, 8%, 98%)",label:" "},{color:"hsl(204, 8%, 95%)",label:" "},{color:"hsl(204, 8%, 90%)",label:" "},{color:"hsl(204, 8%, 86%)",label:" "},{color:"hsl(204, 8%, 81%)",label:" "},{color:"hsl(204, 8%, 76%)",label:" "},{color:"hsl(204, 5%, 67%)",label:" "},{color:"hsl(204, 4%, 58%)",label:" "},{color:"hsl(204, 3%, 49%)",label:" "},{color:"hsl(204, 3%, 40%)",label:" "},{color:"hsl(184, 9%, 96%)",label:" "},{color:"hsl(184, 9%, 92%)",label:" "},{color:"hsl(184, 9%, 85%)",label:" "},{color:"hsl(184, 9%, 77%)",label:" "},{color:"hsl(184, 9%, 69%)",label:" "},{color:"hsl(184, 9%, 62%)",label:" "},{color:"hsl(184, 6%, 54%)",label:" "},{color:"hsl(184, 5%, 47%)",label:" "},{color:"hsl(184, 5%, 40%)",label:" "},{color:"hsl(184, 5%, 32%)",label:" "},{color:"hsl(184, 6%, 95%)",label:" "},{color:"hsl(184, 6%, 91%)",label:" "},{color:"hsl(184, 6%, 81%)",label:" "},{color:"hsl(184, 6%, 72%)",label:" "},{color:"hsl(184, 6%, 62%)",label:" "},{color:"hsl(184, 6%, 53%)",label:" "},{color:"hsl(184, 5%, 46%)",label:" "},{color:"hsl(184, 5%, 40%)",label:" "},{color:"hsl(184, 5%, 34%)",label:" "},{color:"hsl(184, 5%, 27%)",label:" "},{color:"hsl(210, 12%, 93%)",label:" "},{color:"hsl(210, 12%, 86%)",label:" "},{color:"hsl(210, 12%, 71%)",label:" "},{color:"hsl(210, 12%, 57%)",label:" "},{color:"hsl(210, 15%, 43%)",label:" "},{color:"hsl(210, 29%, 29%)",label:" "},{color:"hsl(210, 29%, 25%)",label:" "},{color:"hsl(210, 29%, 22%)",label:" "},{color:"hsl(210, 29%, 18%)",label:" "},{color:"hsl(210, 29%, 15%)",label:" "},{color:"hsl(210, 9%, 92%)",label:" "},{color:"hsl(210, 9%, 85%)",label:" "},{color:"hsl(210, 9%, 70%)",label:" "},{color:"hsl(210, 9%, 55%)",label:" "},{color:"hsl(210, 14%, 39%)",label:" "},{color:"hsl(210, 29%, 24%)",label:" "},{color:"hsl(210, 29%, 21%)",label:" "},{color:"hsl(210, 29%, 18%)",label:" "},{color:"hsl(210, 29%, 16%)",label:" "},{color:"hsl(210, 29%, 13%)",label:" "}]}};const V=Z;var q,G=r(28655),Q=r.n(G),W=r(38205),Y=r(56822),K=W.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(q||(q=Q()(["\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,Y.L)(e,"ckeditor")})),X=r(85893);function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var te=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;default:return"de"}},re=function(e){var t=e.value,r=e.onChange,n=e.contentLang,o=e.ckEditorConfig,i=(0,s.Z)().locale,c=(0,a.useRef)(!1);return(0,X.jsx)(K,{children:(0,X.jsx)(l.CKEditor,{editor:V,config:ee({language:{ui:te(i),content:n}},o),data:t,onChange:function(e,t){if(t.plugins.get("SourceEditing").isSourceEditingMode){if(!0===c.current)return;c.current=!0}var n=t.getData();r(n)}})})};re.defaultProps={value:"",contentLang:"de"};const ne=re},17676:(e,t,r)=>{"use strict";if(r.r(t),r.d(t,{default:()=>o}),!/^(3|82)0$/.test(r.j))var n=r(83418);const o=/^(3|82)0$/.test(r.j)?null:n.Z},81251:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(59713),o=r.n(n),l=r(88162),a=r(85893);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const c=function(e){var t=e.size,r=e.style,n=e.icon;return(0,a.jsx)(l.Z,i(i({},r),{},{style:{fontSize:t},spin:!0,icon:n||"circle-notch"}))}},47556:(e,t,r)=>{var n=r(88668),o=r(47443),l=r(1196),a=r(29932),s=r(7518),i=r(74757),c=Math.min;e.exports=function(e,t,r){for(var u=r?l:o,h=e[0].length,d=e.length,f=d,p=Array(d),g=1/0,b=[];f--;){var m=e[f];f&&t&&(m=a(m,s(t))),g=c(m.length,g),p[f]=!r&&(t||h>=120&&m.length>=120)?new n(f&&m):void 0}m=e[0];var v=-1,y=p[0];e:for(;++v<h&&b.length<g;){var w=m[v],x=t?t(w):w;if(w=r||0!==w?w:0,!(y?i(y,x):u(b,x,r))){for(f=d;--f;){var _=p[f];if(!(_?i(_,x):u(e[f],x,r)))continue e}y&&y.push(x),b.push(w)}}return b}},24387:(e,t,r)=>{var n=r(29246);e.exports=function(e){return n(e)?e:[]}},71843:(e,t,r)=>{var n=r(29932),o=r(47556),l=r(67206),a=r(5976),s=r(24387),i=r(10928),c=a((function(e){var t=i(e),r=n(e,s);return t===i(r)?t=void 0:r.pop(),r.length&&r[0]===e[0]?o(r,l(t,2)):[]}));e.exports=c},77043:(e,t,r)=>{var n=r(21078),o=r(67206),l=r(5976),a=r(45652),s=r(29246),i=r(10928),c=l((function(e){var t=i(e);return s(t)&&(t=void 0),a(n(e,1,s,!0),o(t,2))}));e.exports=c},84059:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>C});var n,o=r(1024),l=r.n(o),a=Object.defineProperty,s=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&u(e,r,t[r]);if(s)for(var r of s(t))c.call(t,r)&&u(e,r,t[r]);return e},d=(e,t)=>{var r={};for(var n in e)i.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&s)for(var n of s(e))t.indexOf(n)<0&&c.call(e,n)&&(r[n]=e[n]);return r};(e=>{const t=class{constructor(e,r,n,o){if(this.version=e,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(n);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const r=this.getPenaltyScore();r<e&&(o=t,e=r),this.applyMask(t)}}l(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(r,n){const o=e.QrSegment.makeSegments(r);return t.encodeSegments(o,n)}static encodeBinary(r,n){const o=e.QrSegment.makeBytes(r);return t.encodeSegments([o],n)}static encodeSegments(e,r,o=1,a=40,i=-1,c=!0){if(!(t.MIN_VERSION<=o&&o<=a&&a<=t.MAX_VERSION)||i<-1||i>7)throw new RangeError("Invalid value");let u,h;for(u=o;;u++){const n=8*t.getNumDataCodewords(u,r),o=s.getTotalBits(e,u);if(o<=n){h=o;break}if(u>=a)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&&h<=8*t.getNumDataCodewords(u,e)&&(r=e);let d=[];for(const t of e){n(t.mode.modeBits,4,d),n(t.numChars,t.mode.numCharCountBits(u),d);for(const e of t.getData())d.push(e)}l(d.length==h);const f=8*t.getNumDataCodewords(u,r);l(d.length<=f),n(0,Math.min(4,f-d.length),d),n(0,(8-d.length%8)%8,d),l(d.length%8==0);for(let e=236;d.length<f;e^=253)n(e,8,d);let p=[];for(;8*p.length<d.length;)p.push(0);return d.forEach(((e,t)=>p[t>>>3]|=e<<7-(7&t))),new t(u,r,p,i)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let r=0;r<t;r++)for(let n=0;n<t;n++)0==r&&0==n||0==r&&n==t-1||r==t-1&&0==n||this.drawAlignmentPattern(e[r],e[n]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let r=t;for(let e=0;e<10;e++)r=r<<1^1335*(r>>>9);const n=21522^(t<<10|r);l(n>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(n,e));this.setFunctionModule(8,7,o(n,6)),this.setFunctionModule(8,8,o(n,7)),this.setFunctionModule(7,8,o(n,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(n,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(n,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(n,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;l(t>>>18==0);for(let e=0;e<18;e++){const r=o(t,e),n=this.size-11+e%3,l=Math.floor(e/3);this.setFunctionModule(n,l,r),this.setFunctionModule(l,n,r)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){const o=Math.max(Math.abs(n),Math.abs(r)),l=e+n,a=t+r;0<=l&&l<this.size&&0<=a&&a<this.size&&this.setFunctionModule(l,a,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!=Math.max(Math.abs(n),Math.abs(r)))}setFunctionModule(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}addEccAndInterleave(e){const r=this.version,n=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(r,n))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][r],a=t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][r],s=Math.floor(t.getNumRawDataModules(r)/8),i=o-s%o,c=Math.floor(s/o);let u=[];const h=t.reedSolomonComputeDivisor(a);for(let r=0,n=0;r<o;r++){let o=e.slice(n,n+c-a+(r<i?0:1));n+=o.length;const l=t.reedSolomonComputeRemainder(o,h);r<i&&o.push(0),u.push(o.concat(l))}let d=[];for(let e=0;e<u[0].length;e++)u.forEach(((t,r)=>{(e!=c-a||r>=i)&&d.push(t[e])}));return l(d.length==s),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let r=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let n=0;n<this.size;n++)for(let l=0;l<2;l++){const a=t-l,s=0==(t+1&2)?this.size-1-n:n;!this.isFunction[s][a]&&r<8*e.length&&(this.modules[s][a]=o(e[r>>>3],7-(7&r)),r++)}}l(r==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let r=0;r<this.size;r++){let n;switch(e){case 0:n=(r+t)%2==0;break;case 1:n=t%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+t)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:n=r*t%2+r*t%3==0;break;case 6:n=(r*t%2+r*t%3)%2==0;break;case 7:n=((r+t)%2+r*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][r]&&n&&(this.modules[t][r]=!this.modules[t][r])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let n=!1,o=0,l=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[r][a]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,l),n||(e+=this.finderPenaltyCountPatterns(l)*t.PENALTY_N3),n=this.modules[r][a],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,l)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let n=!1,o=0,l=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][r]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,l),n||(e+=this.finderPenaltyCountPatterns(l)*t.PENALTY_N3),n=this.modules[a][r],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,l)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let n=0;n<this.size-1;n++){const o=this.modules[r][n];o==this.modules[r][n+1]&&o==this.modules[r+1][n]&&o==this.modules[r+1][n+1]&&(e+=t.PENALTY_N2)}let r=0;for(const e of this.modules)r=e.reduce(((e,t)=>e+(t?1:0)),r);const n=this.size*this.size,o=Math.ceil(Math.abs(20*r-10*n)/n)-1;return l(0<=o&&o<=9),e+=o*t.PENALTY_N4,l(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let r=[6];for(let n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let r=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;r-=(25*t-10)*t-55,e>=7&&(r-=36)}return l(208<=r&&r<=29648),r}static getNumDataCodewords(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let r=[];for(let t=0;t<e-1;t++)r.push(0);r.push(1);let n=1;for(let o=0;o<e;o++){for(let e=0;e<r.length;e++)r[e]=t.reedSolomonMultiply(r[e],n),e+1<r.length&&(r[e]^=r[e+1]);n=t.reedSolomonMultiply(n,2)}return r}static reedSolomonComputeRemainder(e,r){let n=r.map((e=>0));for(const o of e){const e=o^n.shift();n.push(0),r.forEach(((r,o)=>n[o]^=t.reedSolomonMultiply(r,e)))}return n}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let r=0;for(let n=7;n>=0;n--)r=r<<1^285*(r>>>7),r^=(t>>>n&1)*e;return l(r>>>8==0),r}finderPenaltyCountPatterns(e){const t=e[1];l(t<=3*this.size);const r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let r=t;function n(e,t,r){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let n=t-1;n>=0;n--)r.push(e>>>n&1)}function o(e,t){return 0!=(e>>>t&1)}function l(e){if(!e)throw new Error("Assertion error")}r.MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],r.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=r;const a=class{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(e){let t=[];for(const r of e)n(r,8,t);return new a(a.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!a.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let r=0;r<e.length;){const o=Math.min(e.length-r,3);n(parseInt(e.substr(r,o),10),3*o+1,t),r+=o}return new a(a.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!a.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,r=[];for(t=0;t+2<=e.length;t+=2){let o=45*a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),n(o,11,r)}return t<e.length&&n(a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,r),new a(a.Mode.ALPHANUMERIC,e.length,r)}static makeSegments(e){return""==e?[]:a.isNumeric(e)?[a.makeNumeric(e)]:a.isAlphanumeric(e)?[a.makeAlphanumeric(e)]:[a.makeBytes(a.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)n(e,8,t);else if(e<16384)n(2,2,t),n(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");n(6,3,t),n(e,21,t)}return new a(a.Mode.ECI,0,t)}static isNumeric(e){return a.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return a.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let r=0;for(const n of e){const e=n.mode.numCharCountBits(t);if(n.numChars>=1<<e)return 1/0;r+=4+e+n.bitData.length}return r}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substr(r+1,2),16)),r+=2);return t}};let s=a;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(n||(n={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let r=t;r.LOW=new t(0,1),r.MEDIUM=new t(1,0),r.QUARTILE=new t(2,3),r.HIGH=new t(3,2),e.Ecc=r})(t=e.QrCode||(e.QrCode={}))})(n||(n={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let r=t;r.NUMERIC=new t(1,[10,12,14]),r.ALPHANUMERIC=new t(2,[9,11,13]),r.BYTE=new t(4,[8,16,16]),r.KANJI=new t(8,[8,10,12]),r.ECI=new t(7,[0,0,0]),e.Mode=r})(t=e.QrSegment||(e.QrSegment={}))})(n||(n={}));var f=n,p={L:f.QrCode.Ecc.LOW,M:f.QrCode.Ecc.MEDIUM,Q:f.QrCode.Ecc.QUARTILE,H:f.QrCode.Ecc.HIGH},g=128,b="L",m="#FFFFFF",v="#000000",y=!1;
|
|
1
|
+
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[85],{30919:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ke});var n=r(63038),o=r.n(n),l=r(28655),a=r.n(l),s=r(22085),i=r.n(s),c=(r(66245),r(56544)),u=r(7197),h=r(81272),d=r(82341),f=r(97595),p=r(66679),g=r(38794),b=r(12964),m=r(27361),v=r.n(m),y=r(14293),w=r.n(y),x=r(13218),_=r.n(x),k=r(47037),E=r.n(k),R=r(1024),C=r(38205),O=(r(36976),r(92194),r(2565),r(8821),r(71083),r(42061),r(74576),r(82454),r(55872),r(58119),r(64886)),M=r(93913),P=r.n(M),S=r(34575),I=r.n(S),N=r(2205),A=r.n(N),L=r(78585),T=r.n(L),j=r(29754),z=r.n(j),H=(r(51500),r(1469)),B=r.n(H),D=r(30236),F=r.n(D),$=r(72049);function U(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 r,n=z()(e);if(t){var o=z()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T()(this,r)}}const Z=function(e){return function(t){A()(n,t);var r=U(n);function n(){var t;I()(this,n),t=r.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($.wk.join("|"),")\\s*)(\\()(.*?)(\\))($|\\s+)"),caseInsensitive:!0},{token:"keyword.other.chaining",regex:/\./},{token:"support.function.field",regex:/([a-z_]+)($|\s+)/,push:"comparison"}],l={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($.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($._O.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat($.HZ.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat($.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=F()(t.$rules,l,(function(e,t){return B()(e)?e.concat(t):void 0})),t.normalizeRules(),t}return P()(n)}(i().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 r,n=z()(e);if(t){var o=z()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T()(this,r)}}var q=function(e){A()(r,e);var t=V(r);function r(){var e;I()(this,r);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 P()(r)}(i().require("ace/mode/text_highlight_rules").TextHighlightRules),G=function(e){A()(r,e);var t=V(r);function r(){var e;I()(this,r),e=t.call(this);var n=["query","queryCount"],o=[{token:"keyword.function",regex:"\\[@(".concat(n.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 l in e.$rules)e.$rules[l].unshift.apply(e.$rules[l],o);e.embedRules(q,"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(n.join("|"),")]"),next:"pop"}];e.embedRules(Z(),"tql-",a,["start"]);var s={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}]};return e.$rules=F()(e.$rules,s,(function(e,t){return B()(e)?e.concat(t):void 0})),e.normalizeRules(),e}return P()(r)}(i().require("ace/mode/html_highlight_rules").HtmlHighlightRules),Q=r(68551),W=r.n(Q),Y=r(319),K=r.n(Y),X=i().require("ace/token_iterator").TokenIterator,J=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},ee=function(e,t){return J(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},re=function(e,t){for(;!ee(e,t);)if(!e.stepBackward())return!1;return!0},ne=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 r=e.stepBackward();return r?[r.value.trim()].concat(K()(ae(e))):[]}if(ee(e,"order_by")){if(re(e,"find")){var n=e.stepForward();return n?n.value.trim():[]}return[]}if(t+=ne(e,t),!e.stepBackward())return null}return null},le=function(e,t){for(var r=[],n=t(e);n;)Array.isArray(n)?n.forEach((function(e){return r.unshift(e)})):r.unshift(n),n=t(e);return r},ae=function(e){return le(e,te)},se=function(e){return le(e,oe)},ie=1e3,ce=function(e,t,r){var n=function(e,t){if(t){var r=se(e());return{baseModel:t,modelScope:W()(r).slice(0)}}var n=se(e()),o=W()(n);return{baseModel:o[0],modelScope:o.slice(1)}}(e,r),o=n.baseModel,l=n.modelScope;if(o){var a=ae(e()),s=[].concat(K()(l),K()(a)).map((function(e){return"rel".concat(e)}));(function(e){var t=W()(e),r=t[0],n=t.slice(1);return(0,O.w)(function(e,t){var r=t.length>0?"/resolve?path="+t.join("."):"";return"entities/".concat(e,"/model").concat(r)}(r,n)).then(O.c).then((function(e){if(!e)return[];var t=e.fields||[],r=e.relations||[];return[].concat(K()(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}))),K()(r.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(K()(s))).then((function(e){var r=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:ie}}));t(null,r)})).catch((function(e){return t(e)}))}},ue=function(e,t){return t?"".concat(e," (").concat(t,")"):e},he=function(e){return(0,O.w)("entities").then(O.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 r=t.map((function(e){var t=e.modelName,r=e.label;return{caption:ue(t,r),value:t,score:ie}}));e(null,r)})).catch((function(t){return e(t)}))},de=function(){return $.wk.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const fe=function(e){return{getCompletions:function(t,r,n,o,l){var a=function(){return new X(r,n.row,n.column)},s=a(),i=s.getCurrentToken(),c=s.stepBackward()?s.getCurrentToken():null;switch(J(i)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":ce(a,l,e);break;case"where":case"conjunction":ce(a,l,e),l(null,de());break;case"nice_function":l(null,de());break;case"find":he(l);break;case"type":case"tocco_placeholder":case"comparison":l(null,$.V5.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),l(null,$._O.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":ce(a,l,e),c&&"relation"!==J(c)&&he(l);break;case null:e&&ce(a,l,e),l(null,de())}}}};function pe(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 r,n=z()(e);if(t){var o=z()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T()(this,r)}}var ge=function(e){A()(r,e);var t=pe(r);function r(){var e;return I()(this,r),(e=t.call(this)).HighlightRules=G,e.completer=fe(),e}return P()(r)}(i().require("ace/mode/ftl").Mode);function be(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 r,n=z()(e);if(t){var o=z()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T()(this,r)}}var me,ve=function(e){A()(r,e);var t=be(r);function r(e){var n,o=e.implicitModelName;return I()(this,r),(n=t.call(this)).HighlightRules=Z(o),n.completer=fe(o),n.snippedIdField=null,n}return P()(r)}(i().require("ace/mode/text").Mode),ye=r(85893),we=C.ZP.div.withConfig({displayName:"StyledEditor"})(me||(me=a()(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),xe={groovy:function(){return new u.Mode},html:function(){return new h.Mode},xml:function(){return new b.Mode},properties:function(){return new p.Mode},json:function(){return new d.Mode},htmlmixed:function(){return new ge},freemarkermixed:function(){return new ge},ftl:function(){return new ge},tql:function(e){return new ve(e)},less:function(){return new f.Mode},drools:function(){return new c.Mode},text:function(){return new g.Mode}},_e=function(e,t){var r=t.mode,n=t.theme,l=t.showGutter,a=t.editorOptions,s=void 0===a?{}:a;(function(e){return E()(e)?Promise.resolve(e):_()(e)?(0,O.w)("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(O.c).then((function(e){return v()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(t.implicitModel).then((function(e){return function(e,t){return v()(xe,e,e)(t)}(r,{implicitModelName:e})})).then((function(t){return e.getSession().setMode(t)})),e.setTheme("ace/theme/".concat(n)),Object.entries(s).forEach((function(t){var r=o()(t,2),n=r[0],l=r[1];e.setOption(n,l)})),e.renderer.setShowGutter(l),e.resize()};const ke=function(e){var t=e.mode,r=e.theme,n=void 0===r?"textmate":r,o=e.value,l=e.onChange,a=e.showGutter,s=void 0===a||a,c=e.editorOptions,u=void 0===c?{}:c,h=e.implicitModel,d=e.autoFocusOnMount,f=void 0!==d&&d,p=(0,R.useRef)(null),g=(0,R.useRef)(null),b=(0,R.useMemo)((function(){return{mode:t,theme:n,showGutter:s,editorOptions:u,implicitModel:h,autoFocusOnMount:f}}),[t,n,s,u,h,f]);return(0,R.useEffect)((function(){var e=i().edit(p.current);return e.getSession().setValue(o||""),e.on("change",(function(){return l(e.getValue())})),_e(e,b),g.current=e,b.autoFocusOnMount&&g.current.focus(),function(){return e.destroy()}}),[]),(0,R.useEffect)((function(){g.current&&_e(g.current,b)}),[b]),(0,R.useEffect)((function(){g.current&&!w()(o)&&o!==g.current.getValue()&&g.current.getSession().setValue(o)}),[o]),(0,ye.jsx)(we,{ref:p})}},72049:(e,t,r)=>{"use strict";r.d(t,{Gn:()=>n,HZ:()=>o,V5:()=>l,_O:()=>a,wk:()=>s});var n=/^(3|82)0$/.test(r.j)?null:["==","!=","<=",">=","<",">","~="],o=/^(3|82)0$/.test(r.j)?null:["true","false","null"],l=/^(3|82)0$/.test(r.j)?null:["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],a=/^(3|82)0$/.test(r.j)?null:["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],s=/^(3|82)0$/.test(r.j)?null:["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"]},64886:(e,t,r)=>{"use strict";if(r.d(t,{c:()=>l,w:()=>o}),!/^(3|82)0$/.test(r.j))var n=r(54159);var o=function(e){return n.Z.executeRequest("rest/".concat(e))},l=function(e){return 200===e.status?e.json():null}},48078:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(52817),o=r(41609),l=r.n(o),a=r(41291),s=r(85893);const i=function(e){var t=e.value,r=e.breakWords,o=(0,n._)(t),i=l()(o)?t:o.formatInternational();return(0,s.jsx)(a.Z,{href:"tel:".concat(t),target:"_blank",onClick:function(e){return e.stopPropagation()},label:i,breakWords:r})}},83418:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ne});var n=r(59713),o=r.n(n),l=r(72757),a=r(1024),s=r(86896),i=r(93913),c=r.n(i),u=r(34575),h=r.n(u),d=r(2205),f=r.n(d),p=r(78585),g=r.n(p),b=r(29754),m=r.n(b),v=r(11820),y=r(39269),w=r(96840),x=r(75528),_=r(52079),k=r(84184),E=r(40569),R=r(75460),C=r(65761),O=r(53626),M=r(73043),P=r(16797),S=r(71297),I=r(55444),N=r(6672),A=r(18195),L=r(23132),T=r(37060),j=r(4175),z=r(21094),H=r(20211),B=r(51778),D=r(87388),F=r(89906),$=r(41831);function U(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 r,n=m()(e);if(t){var o=m()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return g()(this,r)}}var Z=function(e){f()(r,e);var t=U(r);function r(){return h()(this,r),t.apply(this,arguments)}return c()(r)}(v.Z);Z.builtinPlugins=[y.Z,w.Z,E.Z,R.Z,C.Z,O.Z,M.Z,S.Z,P.Z,I.Z,N.Z,A.Z,x.Z,L.Z,T.Z,j.Z,z.Z,H.Z,B.Z,_.Z,D.Z,F.Z,$.Z,k.Z],Z.defaultConfig={toolbar:{items:["bold","italic","underline","strikethrough","removeFormat","|","heading","fontFamily","fontSize","fontColor","|","numberedList","bulletedList","|","link","|","insertTable","|","undo","redo","|","sourceEditing"]},language:{ui:"de",content:"de"},link:{addTargetToExternalLinks:!0},htmlSupport:{allow:[{name:/.*/,attributes:!0,classes:!0,styles:!0}]},table:{contentToolbar:["tableColumn","tableRow","mergeTableCells"]},heading:{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h1",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h2",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h3",title:"Heading 3",class:"ck-heading_heading3"},{model:"heading4",view:"h4",title:"Heading 4",class:"ck-heading_heading4"},{model:"heading5",view:"h5",title:"Heading 5",class:"ck-heading_heading5"},{model:"heading6",view:"h6",title:"Heading 6",class:"ck-heading_heading6"},{model:"normal",view:"div",title:"Normal (DIV)",class:"ck-heading_normal"}]},fontFamily:{options:["default","Arial,Helvetica,sans-serif","Comic Sans MS,cursive","Courier New,Courier,monospace","Georgia,serif","Lucida Sans Unicode,Lucida Grande,sans-serif","Tahoma,Geneva,sans-serif","Times New Roman,Times,serif","Trebuchet MS,Helvetica,sans-serif","Verdana,Geneva,sans-serif"],supportAllValues:!0},fontSize:{options:[8,10,11,12,"default",15,16,17,19,22,24,26,29,32,36,37,48,64],supportAllValues:!0},fontColor:{columns:10,colors:[{color:"hsl(6, 54%, 95%)",label:" "},{color:"hsl(6, 54%, 89%)",label:" "},{color:"hsl(6, 54%, 78%)",label:" "},{color:"hsl(6, 54%, 68%)",label:" "},{color:"hsl(6, 54%, 57%)",label:" "},{color:"hsl(6, 63%, 46%)",label:" "},{color:"hsl(6, 63%, 41%)",label:" "},{color:"hsl(6, 63%, 35%)",label:" "},{color:"hsl(6, 63%, 29%)",label:" "},{color:"hsl(6, 63%, 24%)",label:" "},{color:"hsl(6, 78%, 96%)",label:" "},{color:"hsl(6, 78%, 91%)",label:" "},{color:"hsl(6, 78%, 83%)",label:" "},{color:"hsl(6, 78%, 74%)",label:" "},{color:"hsl(6, 78%, 66%)",label:" "},{color:"hsl(6, 78%, 57%)",label:" "},{color:"hsl(6, 59%, 50%)",label:" "},{color:"hsl(6, 59%, 43%)",label:" "},{color:"hsl(6, 59%, 37%)",label:" "},{color:"hsl(6, 59%, 30%)",label:" "},{color:"hsl(283, 39%, 95%)",label:" "},{color:"hsl(283, 39%, 91%)",label:" "},{color:"hsl(283, 39%, 81%)",label:" "},{color:"hsl(283, 39%, 72%)",label:" "},{color:"hsl(283, 39%, 63%)",label:" "},{color:"hsl(283, 39%, 53%)",label:" "},{color:"hsl(283, 34%, 47%)",label:" "},{color:"hsl(283, 34%, 40%)",label:" "},{color:"hsl(283, 34%, 34%)",label:" "},{color:"hsl(283, 34%, 28%)",label:" "},{color:"hsl(282, 39%, 95%)",label:" "},{color:"hsl(282, 39%, 89%)",label:" "},{color:"hsl(282, 39%, 79%)",label:" "},{color:"hsl(282, 39%, 68%)",label:" "},{color:"hsl(282, 39%, 58%)",label:" "},{color:"hsl(282, 44%, 47%)",label:" "},{color:"hsl(282, 44%, 42%)",label:" "},{color:"hsl(282, 44%, 36%)",label:" "},{color:"hsl(282, 44%, 30%)",label:" "},{color:"hsl(282, 44%, 25%)",label:" "},{color:"hsl(204, 51%, 94%)",label:" "},{color:"hsl(204, 51%, 89%)",label:" "},{color:"hsl(204, 51%, 78%)",label:" "},{color:"hsl(204, 51%, 67%)",label:" "},{color:"hsl(204, 51%, 55%)",label:" "},{color:"hsl(204, 64%, 44%)",label:" "},{color:"hsl(204, 64%, 39%)",label:" "},{color:"hsl(204, 64%, 34%)",label:" "},{color:"hsl(204, 64%, 28%)",label:" "},{color:"hsl(204, 64%, 23%)",label:" "},{color:"hsl(204, 70%, 95%)",label:" "},{color:"hsl(204, 70%, 91%)",label:" "},{color:"hsl(204, 70%, 81%)",label:" "},{color:"hsl(204, 70%, 72%)",label:" "},{color:"hsl(204, 70%, 63%)",label:" "},{color:"hsl(204, 70%, 53%)",label:" "},{color:"hsl(204, 62%, 47%)",label:" "},{color:"hsl(204, 62%, 40%)",label:" "},{color:"hsl(204, 62%, 34%)",label:" "},{color:"hsl(204, 62%, 28%)",label:" "},{color:"hsl(168, 55%, 94%)",label:" "},{color:"hsl(168, 55%, 88%)",label:" "},{color:"hsl(168, 55%, 77%)",label:" "},{color:"hsl(168, 55%, 65%)",label:" "},{color:"hsl(168, 55%, 54%)",label:" "},{color:"hsl(168, 76%, 42%)",label:" "},{color:"hsl(168, 76%, 37%)",label:" "},{color:"hsl(168, 76%, 32%)",label:" "},{color:"hsl(168, 76%, 27%)",label:" "},{color:"hsl(168, 76%, 22%)",label:" "},{color:"hsl(168, 42%, 94%)",label:" "},{color:"hsl(168, 42%, 87%)",label:" "},{color:"hsl(168, 42%, 74%)",label:" "},{color:"hsl(168, 42%, 61%)",label:" "},{color:"hsl(168, 45%, 49%)",label:" "},{color:"hsl(168, 76%, 36%)",label:" "},{color:"hsl(168, 76%, 31%)",label:" "},{color:"hsl(168, 76%, 27%)",label:" "},{color:"hsl(168, 76%, 23%)",label:" "},{color:"hsl(168, 76%, 19%)",label:" "},{color:"hsl(145, 45%, 94%)",label:" "},{color:"hsl(145, 45%, 88%)",label:" "},{color:"hsl(145, 45%, 77%)",label:" "},{color:"hsl(145, 45%, 65%)",label:" "},{color:"hsl(145, 45%, 53%)",label:" "},{color:"hsl(145, 63%, 42%)",label:" "},{color:"hsl(145, 63%, 37%)",label:" "},{color:"hsl(145, 63%, 32%)",label:" "},{color:"hsl(145, 63%, 27%)",label:" "},{color:"hsl(145, 63%, 22%)",label:" "},{color:"hsl(145, 61%, 95%)",label:" "},{color:"hsl(145, 61%, 90%)",label:" "},{color:"hsl(145, 61%, 80%)",label:" "},{color:"hsl(145, 61%, 69%)",label:" "},{color:"hsl(145, 61%, 59%)",label:" "},{color:"hsl(145, 63%, 49%)",label:" "},{color:"hsl(145, 63%, 43%)",label:" "},{color:"hsl(145, 63%, 37%)",label:" "},{color:"hsl(145, 63%, 31%)",label:" "},{color:"hsl(145, 63%, 25%)",label:" "},{color:"hsl(48, 89%, 95%)",label:" "},{color:"hsl(48, 89%, 90%)",label:" "},{color:"hsl(48, 89%, 80%)",label:" "},{color:"hsl(48, 89%, 70%)",label:" "},{color:"hsl(48, 89%, 60%)",label:" "},{color:"hsl(48, 89%, 50%)",label:" "},{color:"hsl(48, 88%, 44%)",label:" "},{color:"hsl(48, 88%, 38%)",label:" "},{color:"hsl(48, 88%, 32%)",label:" "},{color:"hsl(48, 88%, 26%)",label:" "},{color:"hsl(37, 90%, 95%)",label:" "},{color:"hsl(37, 90%, 90%)",label:" "},{color:"hsl(37, 90%, 80%)",label:" "},{color:"hsl(37, 90%, 71%)",label:" "},{color:"hsl(37, 90%, 61%)",label:" "},{color:"hsl(37, 90%, 51%)",label:" "},{color:"hsl(37, 86%, 45%)",label:" "},{color:"hsl(37, 86%, 39%)",label:" "},{color:"hsl(37, 86%, 33%)",label:" "},{color:"hsl(37, 86%, 27%)",label:" "},{color:"hsl(28, 80%, 95%)",label:" "},{color:"hsl(28, 80%, 90%)",label:" "},{color:"hsl(28, 80%, 81%)",label:" "},{color:"hsl(28, 80%, 71%)",label:" "},{color:"hsl(28, 80%, 61%)",label:" "},{color:"hsl(28, 80%, 52%)",label:" "},{color:"hsl(28, 74%, 46%)",label:" "},{color:"hsl(28, 74%, 39%)",label:" "},{color:"hsl(28, 74%, 33%)",label:" "},{color:"hsl(28, 74%, 27%)",label:" "},{color:"hsl(24, 71%, 94%)",label:" "},{color:"hsl(24, 71%, 88%)",label:" "},{color:"hsl(24, 71%, 77%)",label:" "},{color:"hsl(24, 71%, 65%)",label:" "},{color:"hsl(24, 71%, 53%)",label:" "},{color:"hsl(24, 100%, 41%)",label:" "},{color:"hsl(24, 100%, 36%)",label:" "},{color:"hsl(24, 100%, 31%)",label:" "},{color:"hsl(24, 100%, 26%)",label:" "},{color:"hsl(24, 100%, 22%)",label:" "},{color:"hsl(192, 15%, 99%)",label:" "},{color:"hsl(192, 15%, 99%)",label:" "},{color:"hsl(192, 15%, 97%)",label:" "},{color:"hsl(192, 15%, 96%)",label:" "},{color:"hsl(192, 15%, 95%)",label:" "},{color:"hsl(192, 15%, 94%)",label:" "},{color:"hsl(192, 5%, 82%)",label:" "},{color:"hsl(192, 3%, 71%)",label:" "},{color:"hsl(192, 2%, 60%)",label:" "},{color:"hsl(192, 1%, 49%)",label:" "},{color:"hsl(204, 8%, 98%)",label:" "},{color:"hsl(204, 8%, 95%)",label:" "},{color:"hsl(204, 8%, 90%)",label:" "},{color:"hsl(204, 8%, 86%)",label:" "},{color:"hsl(204, 8%, 81%)",label:" "},{color:"hsl(204, 8%, 76%)",label:" "},{color:"hsl(204, 5%, 67%)",label:" "},{color:"hsl(204, 4%, 58%)",label:" "},{color:"hsl(204, 3%, 49%)",label:" "},{color:"hsl(204, 3%, 40%)",label:" "},{color:"hsl(184, 9%, 96%)",label:" "},{color:"hsl(184, 9%, 92%)",label:" "},{color:"hsl(184, 9%, 85%)",label:" "},{color:"hsl(184, 9%, 77%)",label:" "},{color:"hsl(184, 9%, 69%)",label:" "},{color:"hsl(184, 9%, 62%)",label:" "},{color:"hsl(184, 6%, 54%)",label:" "},{color:"hsl(184, 5%, 47%)",label:" "},{color:"hsl(184, 5%, 40%)",label:" "},{color:"hsl(184, 5%, 32%)",label:" "},{color:"hsl(184, 6%, 95%)",label:" "},{color:"hsl(184, 6%, 91%)",label:" "},{color:"hsl(184, 6%, 81%)",label:" "},{color:"hsl(184, 6%, 72%)",label:" "},{color:"hsl(184, 6%, 62%)",label:" "},{color:"hsl(184, 6%, 53%)",label:" "},{color:"hsl(184, 5%, 46%)",label:" "},{color:"hsl(184, 5%, 40%)",label:" "},{color:"hsl(184, 5%, 34%)",label:" "},{color:"hsl(184, 5%, 27%)",label:" "},{color:"hsl(210, 12%, 93%)",label:" "},{color:"hsl(210, 12%, 86%)",label:" "},{color:"hsl(210, 12%, 71%)",label:" "},{color:"hsl(210, 12%, 57%)",label:" "},{color:"hsl(210, 15%, 43%)",label:" "},{color:"hsl(210, 29%, 29%)",label:" "},{color:"hsl(210, 29%, 25%)",label:" "},{color:"hsl(210, 29%, 22%)",label:" "},{color:"hsl(210, 29%, 18%)",label:" "},{color:"hsl(210, 29%, 15%)",label:" "},{color:"hsl(210, 9%, 92%)",label:" "},{color:"hsl(210, 9%, 85%)",label:" "},{color:"hsl(210, 9%, 70%)",label:" "},{color:"hsl(210, 9%, 55%)",label:" "},{color:"hsl(210, 14%, 39%)",label:" "},{color:"hsl(210, 29%, 24%)",label:" "},{color:"hsl(210, 29%, 21%)",label:" "},{color:"hsl(210, 29%, 18%)",label:" "},{color:"hsl(210, 29%, 16%)",label:" "},{color:"hsl(210, 29%, 13%)",label:" "}]}};const V=Z;var q,G=r(28655),Q=r.n(G),W=r(38205),Y=r(56822),K=W.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(q||(q=Q()(["\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,Y.L)(e,"ckeditor")})),X=r(85893);function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var te=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;default:return"de"}},re=function(e){var t=e.value,r=e.onChange,n=e.contentLang,o=e.ckEditorConfig,i=(0,s.Z)().locale,c=(0,a.useRef)(!1);return(0,X.jsx)(K,{children:(0,X.jsx)(l.CKEditor,{editor:V,config:ee({language:{ui:te(i),content:n}},o),data:t,onChange:function(e,t){if(t.plugins.get("SourceEditing").isSourceEditingMode){if(!0===c.current)return;c.current=!0}var n=t.getData();r(n)}})})};re.defaultProps={value:"",contentLang:"de"};const ne=re},17676:(e,t,r)=>{"use strict";if(r.r(t),r.d(t,{default:()=>o}),!/^(3|82)0$/.test(r.j))var n=r(83418);const o=/^(3|82)0$/.test(r.j)?null:n.Z},81251:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(59713),o=r.n(n),l=r(88162),a=r(85893);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const c=function(e){var t=e.size,r=e.style,n=e.icon;return(0,a.jsx)(l.Z,i(i({},r),{},{style:{fontSize:t},spin:!0,icon:n||"circle-notch"}))}},47556:(e,t,r)=>{var n=r(88668),o=r(47443),l=r(1196),a=r(29932),s=r(7518),i=r(74757),c=Math.min;e.exports=function(e,t,r){for(var u=r?l:o,h=e[0].length,d=e.length,f=d,p=Array(d),g=1/0,b=[];f--;){var m=e[f];f&&t&&(m=a(m,s(t))),g=c(m.length,g),p[f]=!r&&(t||h>=120&&m.length>=120)?new n(f&&m):void 0}m=e[0];var v=-1,y=p[0];e:for(;++v<h&&b.length<g;){var w=m[v],x=t?t(w):w;if(w=r||0!==w?w:0,!(y?i(y,x):u(b,x,r))){for(f=d;--f;){var _=p[f];if(!(_?i(_,x):u(e[f],x,r)))continue e}y&&y.push(x),b.push(w)}}return b}},24387:(e,t,r)=>{var n=r(29246);e.exports=function(e){return n(e)?e:[]}},71843:(e,t,r)=>{var n=r(29932),o=r(47556),l=r(67206),a=r(5976),s=r(24387),i=r(10928),c=a((function(e){var t=i(e),r=n(e,s);return t===i(r)?t=void 0:r.pop(),r.length&&r[0]===e[0]?o(r,l(t,2)):[]}));e.exports=c},77043:(e,t,r)=>{var n=r(21078),o=r(67206),l=r(5976),a=r(45652),s=r(29246),i=r(10928),c=l((function(e){var t=i(e);return s(t)&&(t=void 0),a(n(e,1,s,!0),o(t,2))}));e.exports=c},84059:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>C});var n,o=r(1024),l=r.n(o),a=Object.defineProperty,s=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&u(e,r,t[r]);if(s)for(var r of s(t))c.call(t,r)&&u(e,r,t[r]);return e},d=(e,t)=>{var r={};for(var n in e)i.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&s)for(var n of s(e))t.indexOf(n)<0&&c.call(e,n)&&(r[n]=e[n]);return r};(e=>{const t=class{constructor(e,r,n,o){if(this.version=e,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(n);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const r=this.getPenaltyScore();r<e&&(o=t,e=r),this.applyMask(t)}}l(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(r,n){const o=e.QrSegment.makeSegments(r);return t.encodeSegments(o,n)}static encodeBinary(r,n){const o=e.QrSegment.makeBytes(r);return t.encodeSegments([o],n)}static encodeSegments(e,r,o=1,a=40,i=-1,c=!0){if(!(t.MIN_VERSION<=o&&o<=a&&a<=t.MAX_VERSION)||i<-1||i>7)throw new RangeError("Invalid value");let u,h;for(u=o;;u++){const n=8*t.getNumDataCodewords(u,r),o=s.getTotalBits(e,u);if(o<=n){h=o;break}if(u>=a)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&&h<=8*t.getNumDataCodewords(u,e)&&(r=e);let d=[];for(const t of e){n(t.mode.modeBits,4,d),n(t.numChars,t.mode.numCharCountBits(u),d);for(const e of t.getData())d.push(e)}l(d.length==h);const f=8*t.getNumDataCodewords(u,r);l(d.length<=f),n(0,Math.min(4,f-d.length),d),n(0,(8-d.length%8)%8,d),l(d.length%8==0);for(let e=236;d.length<f;e^=253)n(e,8,d);let p=[];for(;8*p.length<d.length;)p.push(0);return d.forEach(((e,t)=>p[t>>>3]|=e<<7-(7&t))),new t(u,r,p,i)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let r=0;r<t;r++)for(let n=0;n<t;n++)0==r&&0==n||0==r&&n==t-1||r==t-1&&0==n||this.drawAlignmentPattern(e[r],e[n]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let r=t;for(let e=0;e<10;e++)r=r<<1^1335*(r>>>9);const n=21522^(t<<10|r);l(n>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(n,e));this.setFunctionModule(8,7,o(n,6)),this.setFunctionModule(8,8,o(n,7)),this.setFunctionModule(7,8,o(n,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(n,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(n,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(n,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;l(t>>>18==0);for(let e=0;e<18;e++){const r=o(t,e),n=this.size-11+e%3,l=Math.floor(e/3);this.setFunctionModule(n,l,r),this.setFunctionModule(l,n,r)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){const o=Math.max(Math.abs(n),Math.abs(r)),l=e+n,a=t+r;0<=l&&l<this.size&&0<=a&&a<this.size&&this.setFunctionModule(l,a,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!=Math.max(Math.abs(n),Math.abs(r)))}setFunctionModule(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}addEccAndInterleave(e){const r=this.version,n=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(r,n))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][r],a=t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][r],s=Math.floor(t.getNumRawDataModules(r)/8),i=o-s%o,c=Math.floor(s/o);let u=[];const h=t.reedSolomonComputeDivisor(a);for(let r=0,n=0;r<o;r++){let o=e.slice(n,n+c-a+(r<i?0:1));n+=o.length;const l=t.reedSolomonComputeRemainder(o,h);r<i&&o.push(0),u.push(o.concat(l))}let d=[];for(let e=0;e<u[0].length;e++)u.forEach(((t,r)=>{(e!=c-a||r>=i)&&d.push(t[e])}));return l(d.length==s),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let r=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let n=0;n<this.size;n++)for(let l=0;l<2;l++){const a=t-l,s=0==(t+1&2)?this.size-1-n:n;!this.isFunction[s][a]&&r<8*e.length&&(this.modules[s][a]=o(e[r>>>3],7-(7&r)),r++)}}l(r==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let r=0;r<this.size;r++){let n;switch(e){case 0:n=(r+t)%2==0;break;case 1:n=t%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+t)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:n=r*t%2+r*t%3==0;break;case 6:n=(r*t%2+r*t%3)%2==0;break;case 7:n=((r+t)%2+r*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][r]&&n&&(this.modules[t][r]=!this.modules[t][r])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let n=!1,o=0,l=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[r][a]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,l),n||(e+=this.finderPenaltyCountPatterns(l)*t.PENALTY_N3),n=this.modules[r][a],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,l)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let n=!1,o=0,l=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][r]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,l),n||(e+=this.finderPenaltyCountPatterns(l)*t.PENALTY_N3),n=this.modules[a][r],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,l)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let n=0;n<this.size-1;n++){const o=this.modules[r][n];o==this.modules[r][n+1]&&o==this.modules[r+1][n]&&o==this.modules[r+1][n+1]&&(e+=t.PENALTY_N2)}let r=0;for(const e of this.modules)r=e.reduce(((e,t)=>e+(t?1:0)),r);const n=this.size*this.size,o=Math.ceil(Math.abs(20*r-10*n)/n)-1;return l(0<=o&&o<=9),e+=o*t.PENALTY_N4,l(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let r=[6];for(let n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let r=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;r-=(25*t-10)*t-55,e>=7&&(r-=36)}return l(208<=r&&r<=29648),r}static getNumDataCodewords(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let r=[];for(let t=0;t<e-1;t++)r.push(0);r.push(1);let n=1;for(let o=0;o<e;o++){for(let e=0;e<r.length;e++)r[e]=t.reedSolomonMultiply(r[e],n),e+1<r.length&&(r[e]^=r[e+1]);n=t.reedSolomonMultiply(n,2)}return r}static reedSolomonComputeRemainder(e,r){let n=r.map((e=>0));for(const o of e){const e=o^n.shift();n.push(0),r.forEach(((r,o)=>n[o]^=t.reedSolomonMultiply(r,e)))}return n}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let r=0;for(let n=7;n>=0;n--)r=r<<1^285*(r>>>7),r^=(t>>>n&1)*e;return l(r>>>8==0),r}finderPenaltyCountPatterns(e){const t=e[1];l(t<=3*this.size);const r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let r=t;function n(e,t,r){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let n=t-1;n>=0;n--)r.push(e>>>n&1)}function o(e,t){return 0!=(e>>>t&1)}function l(e){if(!e)throw new Error("Assertion error")}r.MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],r.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=r;const a=class{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(e){let t=[];for(const r of e)n(r,8,t);return new a(a.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!a.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let r=0;r<e.length;){const o=Math.min(e.length-r,3);n(parseInt(e.substr(r,o),10),3*o+1,t),r+=o}return new a(a.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!a.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,r=[];for(t=0;t+2<=e.length;t+=2){let o=45*a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),n(o,11,r)}return t<e.length&&n(a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,r),new a(a.Mode.ALPHANUMERIC,e.length,r)}static makeSegments(e){return""==e?[]:a.isNumeric(e)?[a.makeNumeric(e)]:a.isAlphanumeric(e)?[a.makeAlphanumeric(e)]:[a.makeBytes(a.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)n(e,8,t);else if(e<16384)n(2,2,t),n(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");n(6,3,t),n(e,21,t)}return new a(a.Mode.ECI,0,t)}static isNumeric(e){return a.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return a.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let r=0;for(const n of e){const e=n.mode.numCharCountBits(t);if(n.numChars>=1<<e)return 1/0;r+=4+e+n.bitData.length}return r}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substr(r+1,2),16)),r+=2);return t}};let s=a;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(n||(n={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let r=t;r.LOW=new t(0,1),r.MEDIUM=new t(1,0),r.QUARTILE=new t(2,3),r.HIGH=new t(3,2),e.Ecc=r})(t=e.QrCode||(e.QrCode={}))})(n||(n={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let r=t;r.NUMERIC=new t(1,[10,12,14]),r.ALPHANUMERIC=new t(2,[9,11,13]),r.BYTE=new t(4,[8,16,16]),r.KANJI=new t(8,[8,10,12]),r.ECI=new t(7,[0,0,0]),e.Mode=r})(t=e.QrSegment||(e.QrSegment={}))})(n||(n={}));var f=n,p={L:f.QrCode.Ecc.LOW,M:f.QrCode.Ecc.MEDIUM,Q:f.QrCode.Ecc.QUARTILE,H:f.QrCode.Ecc.HIGH},g=128,b="L",m="#FFFFFF",v="#000000",y=!1;
|
|
2
2
|
/**
|
|
3
3
|
* @license qrcode.react
|
|
4
4
|
* Copyright (c) Paul O'Shannessy
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[141],{14505:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var r=n(319),o=n.n(r),i=n(44759),a=function(e){return void 0!==e},c=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t.reduce((function(t,r){return a(e[r.name])&&"function"==typeof r.action?t.push(r.action.apply(r,o()(r.argsFactory(e)))):r.mandatory&&n&&i.Z.logError("Mandatory field '".concat(r.name,"' not set in input")),t}),[])}},47369:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={getDispatchActions:n(14505).i}},67210:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(74806),o=n(95391),i=n(34240),a=n(78125),c=n(25660),s=n(80722),u=n(20247),l=n(85893);const f=(0,u.U)((0,r.ZP)((function(e){var t=e.path,n=e.context,r=e.onSuccess,u=e.intl,f=e.locale,p=e.emitAction,d=(0,s.Z)(t),y=d?[{id:"rel".concat(d.model),value:d.key}]:[],h=(0,c.Z)(n,"Domain");return(0,l.jsx)(o.ZP,{entityName:"Domain",formName:h,mode:"create",defaultValues:y,locale:f,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Domain/".concat(t)}]}}];r({title:u.formatMessage({id:"client.docs-browser.createDomainSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||p(e)},listApp:i.ZP,docsApp:a.ZP})})))},36340:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(74806),o=n(95391),i=n(34240),a=n(78125),c=n(25660),s=n(80722),u=n(20247),l=n(85893);const f=(0,u.U)((0,r.ZP)((function(e){var t=e.context,n=e.path,r=e.onSuccess,u=e.intl,f=e.locale,p=e.emitAction,d=(0,s.Z)(n),y=d?[{id:"rel".concat(d.model),value:d.key}]:[],h=(0,c.Z)(t,"Folder");return(0,l.jsx)(o.ZP,{entityName:"Folder",formName:h,mode:"create",defaultValues:y,locale:f,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Folder/".concat(t)}]}}];r({title:u.formatMessage({id:"client.docs-browser.createFolderSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||p(e)},listApp:i.ZP,docsApp:a.ZP})})))},96954:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(59713),o=n.n(r),i=n(8156),a=n(85893);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const u=function(e){return(0,a.jsx)(i.Z,s(s({},e),{},{customDeleteEndpoint:"documents/delete"}))}},90100:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(63038),o=n.n(r),i=n(95391),a=n(34240),c=n(78125),s=n(25660),u=n(20247),l=n(85893);const f=(0,u.U)((function(e){var t=e.selection,n=e.onSuccess,r=e.onCancel,u=e.locale,f=e.context,p=e.emitAction,d=e.navigate,y=t.ids[0].split("/"),h=o()(y,2),m=h[0],v=h[1];"Resource"===m&&(d("/docs/doc/".concat(v,"/detail")),r());var g=(0,s.Z)(f,m);return(0,l.jsx)(i.ZP,{entityName:m,formName:g,entityId:v,mode:"update",locale:u,onEntityUpdated:function(){var e=[{type:"entity-update-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},onEntityDeleted:function(){var e=[{type:"entity-delete-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||p(e)},listApp:a.ZP,docsApp:c.ZP})}))},4505:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r,o,i,a=n(74806),c=n(50558),s=n(30081),u=n(20247),l=n(63038),f=n.n(l),p=n(28655),d=n.n(p),y=n(18446),h=n.n(y),m=n(1024),v=n(44012),g=n(38205),b=n(36589),w=n(35728),O=n(65035),T=n(78125),E=n(80722),A=n(85893),C=g.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(r||(r=d()(["\n display: flex;\n justify-content: flex-end;\n\n "," {\n margin-right: 0;\n }\n"])),b.Z),x=(0,g.ZP)(w.Z).withConfig({displayName:"StyledLoadMask"})(o||(o=d()(["\n height: auto;\n"]))),P=function(e){return null===e?"Move_root_docs_list_item":"Move_docs_list_item"},j={initialize:s.j2,moveElements:s.w6};const S=(0,u.U)((0,c.connect)((function(e){return{isWaiting:e.docs.move.isWaiting,domainTypes:e.input.domainTypes,rootNodes:e.input.rootNodes,businessUnit:e.input.businessUnit,locale:e.intl.locale}}),j)((0,a.ZP)((function(e){var t=e.selection,n=e.onSuccess,r=e.onError,o=e.path,a=e.initialize,c=e.moveElements,s=e.isWaiting,u=e.domainTypes,l=e.rootNodes,p=e.businessUnit,d=e.locale,y=e.emitAction,g=(0,E.Z)(o),b={model:"Docs_list_item",key:"".concat(g.model,"/").concat(g.key)},w=(0,m.useState)(b),j=f()(w,2),S=j[0],k=j[1];(0,m.useEffect)((function(){a(t,n,r)}),[]);var N=function(e,t){switch(e){case"Domain":return"/docs/domain/".concat(t,"/list");case"Folder":return"/docs/folder/".concat(t,"/list");case"Resource":return;default:throw new Error("Unexpected model: ".concat(e))}};return(0,A.jsxs)(x,{required:[!s],children:[(0,A.jsx)(T.ZP,{routerType:"routerless",initialLocation:function(){if(null===S)return null;var e=S.key.split("/"),t=f()(e,2),n=t[0],r=t[1];return N(n,r)}(),listLimit:10,selectionStyle:"none",searchFormType:"none",disableViewPersistor:!0,getListFormName:P,onListParentChange:k,getCustomLocation:N,navigationStrategy:{},embedded:!0,emitAction:y,noLeftPadding:!0,domainTypes:u,rootNodes:l,businessUnit:p,sortable:!1,scrollBehaviour:"none",locale:d}),(0,A.jsx)(C,{children:(0,A.jsx)(O.Z,{onClick:function(){return c(S.key,t.ids)},look:"raised",ink:"primary",disabled:null===S||h()(S,b),children:i||(i=(0,A.jsx)(v.Z,{id:"client.actions.dms-move.button"}))})})]})}))))},77840:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.ZP});var r=n(34240)},82445:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(59713),o=n.n(r),i=n(95391),a=n(34240),c=n(78125),s=n(85893);function u(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const f=function(e){return(0,s.jsx)(i.ZP,l(l({},e),{},{listApp:a.ZP,docsApp:c.ZP}))}},25660:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e,t){return e.detailFormNames&&e.detailFormNames[t]?e.detailFormNames[t]:"Dms".concat(t)}},44020:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=i(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),c=0;c<a.length;c++){var s=a[c];e=e.replace(new RegExp(s,"g"),t[s])}return e}(e)}}},92806:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],c=e[a];(o?-1!==t.indexOf(a):t(a,c,e))&&(n[a]=c)}return n}},17563:(e,t,n)=>{"use strict";const r=n(70610),o=n(44020),i=n(80500),a=n(92806),c=Symbol("encodeFragmentIdentifier");function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function f(e){return Array.isArray(e)?e.sort():"object"==typeof e?f(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function y(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&l(n,e).includes(e.arrayFormatSeparator);n=i?l(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===n?n:l(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?l(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),n(l(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=y(n[e],t);else r[e]=y(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=f(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",o,"]"].join("")]:[...n,[u(t,e),"[",u(o,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?u(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":o.reduce(r(n),[]).join("&"):u(n,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[c]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let s=t.stringify(a,n);s&&(s=`?${s}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${n[c]?u(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${s}${l}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[c]:!1},r);const{url:o,query:i,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},69038:(e,t,n)=>{"use strict";n.d(t,{q:()=>me});var r,o,i,a,c=n(89324),s=n.n(c),u=n(83524),l=n.n(u),f=n(69590),p=n.n(f),d=n(1024),y=n.n(d),h=n(27418),m=n.n(h),v="bodyAttributes",g="htmlAttributes",b="titleAttributes",w={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},O=(Object.keys(w).map((function(e){return w[e]})),"charset"),T="cssText",E="href",A="http-equiv",C="innerHTML",x="itemprop",P="name",j="property",S="rel",k="src",N="target",R={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",L="defer",_="encodeSpecialCharacters",F="onChangeClientState",D="titleTemplate",U=Object.keys(R).reduce((function(e,t){return e[R[t]]=t,e}),{}),Z=[w.NOSCRIPT,w.SCRIPT,w.STYLE],M="data-react-helmet",H="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},q=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},$=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),B=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},W=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Y=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},K=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},V=function(e){var t=Q(e,w.TITLE),n=Q(e,D);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Q(e,I);return t||r||void 0},z=function(e){return Q(e,F)||function(){}},X=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return B({},e,t)}),{})},G=function(e,t){return t.filter((function(e){return void 0!==e[w.BASE]})).map((function(e){return e[w.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},J=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&oe("Helmet: "+e+' should be of type "Array". Instead found type "'+H(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n=void 0,i=Object.keys(e),a=0;a<i.length;a++){var c=i[a],s=c.toLowerCase();-1===t.indexOf(s)||n===S&&"canonical"===e[n].toLowerCase()||s===S&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(c)||c!==C&&c!==T&&c!==x||(n=c)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][u]&&(o[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var c=i[a],s=m()({},r[c],o[c]);r[c]=s}return e}),[]).reverse()},Q=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},ee=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){ee(e)}),0)}),te=function(e){return clearTimeout(e)},ne="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ee:n.g.requestAnimationFrame||ee,re="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||te:n.g.cancelAnimationFrame||te,oe=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ie=null,ae=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,c=e.noscriptTags,s=e.onChangeClientState,u=e.scriptTags,l=e.styleTags,f=e.title,p=e.titleAttributes;ue(w.BODY,r),ue(w.HTML,o),se(f,p);var d={baseTag:le(w.BASE,n),linkTags:le(w.LINK,i),metaTags:le(w.META,a),noscriptTags:le(w.NOSCRIPT,c),scriptTags:le(w.SCRIPT,u),styleTags:le(w.STYLE,l)},y={},h={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(y[e]=n),r.length&&(h[e]=d[e].oldTags)})),t&&t(),s(e,y,h)},ce=function(e){return Array.isArray(e)?e.join(""):e},se=function(e,t){void 0!==e&&document.title!==e&&(document.title=ce(e)),ue(w.TITLE,t)},ue=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(M),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),c=0;c<a.length;c++){var s=a[c],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===o.indexOf(s)&&o.push(s);var l=i.indexOf(s);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f--)n.removeAttribute(i[f]);o.length===i.length?n.removeAttribute(M):n.getAttribute(M)!==a.join(",")&&n.setAttribute(M,a.join(","))}},le=function(e,t){var n=document.head||document.querySelector(w.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===C)n.innerHTML=t.innerHTML;else if(r===T)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var c=void 0===t[r]?"":t[r];n.setAttribute(r,c)}n.setAttribute(M,"true"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},fe=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[R[n]||n]=e[n],t}),t)},de=function(e,t,n){switch(e){case w.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[M]=!0,o=pe(n,r),[y().createElement(w.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=fe(n),i=ce(t);return o?"<"+e+' data-react-helmet="true" '+o+">"+K(i,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+K(i,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case v:case g:return{toComponent:function(){return pe(t)},toString:function(){return fe(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[M]=!0,r);return Object.keys(t).forEach((function(e){var n=R[e]||e;if(n===C||n===T){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),y().createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===C||e===T)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+K(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===Z.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,n)}}}},ye=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,c=e.noscriptTags,s=e.scriptTags,u=e.styleTags,l=e.title,f=void 0===l?"":l,p=e.titleAttributes;return{base:de(w.BASE,t,r),bodyAttributes:de(v,n,r),htmlAttributes:de(g,o,r),link:de(w.LINK,i,r),meta:de(w.META,a,r),noscript:de(w.NOSCRIPT,c,r),script:de(w.SCRIPT,s,r),style:de(w.STYLE,u,r),title:de(w.TITLE,{title:f,titleAttributes:p},r)}},he=l()((function(e){return{baseTag:G([E,N],e),bodyAttributes:X(v,e),defer:Q(e,L),encode:Q(e,_),htmlAttributes:X(g,e),linkTags:J(w.LINK,[S,E],e),metaTags:J(w.META,[P,O,A,j,x],e),noscriptTags:J(w.NOSCRIPT,[C],e),onChangeClientState:z(e),scriptTags:J(w.SCRIPT,[k,C],e),styleTags:J(w.STYLE,[T],e),title:V(e),titleAttributes:X(b,e)}}),(function(e){ie&&re(ie),e.defer?ie=ne((function(){ae(e,(function(){ie=null}))})):(ae(e),ie=null)}),ye)((function(){return null})),me=(o=he,a=i=function(e){function t(){return q(this,t),Y(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!p()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case w.SCRIPT:case w.NOSCRIPT:return{innerHTML:t};case w.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return B({},r,((t={})[n.type]=[].concat(r[n.type]||[],[B({},o,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case w.TITLE:return B({},o,((t={})[r.type]=a,t.titleAttributes=B({},i),t));case w.BODY:return B({},o,{bodyAttributes:B({},i)});case w.HTML:return B({},o,{htmlAttributes:B({},i)})}return B({},o,((n={})[r.type]=B({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=B({},t);return Object.keys(e).forEach((function(t){var r;n=B({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return y().Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[U[n]||n]=e[n],t}),t)}(W(o,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case w.LINK:case w.META:case w.NOSCRIPT:case w.SCRIPT:case w.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=W(e,["children"]),r=B({},n);return t&&(r=this.mapChildrenToProps(t,r)),y().createElement(o,r)},$(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(y().Component),i.propTypes={base:s().object,bodyAttributes:s().object,children:s().oneOfType([s().arrayOf(s().node),s().node]),defaultTitle:s().string,defer:s().bool,encodeSpecialCharacters:s().bool,htmlAttributes:s().object,link:s().arrayOf(s().object),meta:s().arrayOf(s().object),noscript:s().arrayOf(s().object),onChangeClientState:s().func,script:s().arrayOf(s().object),style:s().arrayOf(s().object),title:s().string,titleAttributes:s().object,titleTemplate:s().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=ye({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);me.renderStatic=me.rewind},17579:(e,t,n)=>{"use strict";var r=n(80070);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={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:i,resetWarningCache:o};return n.PropTypes=n,n}},89324:(e,t,n)=>{e.exports=n(17579)()},80070:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},96559:(e,t,n)=>{"use strict";n.d(t,{rU:()=>U});var r=n(56746);function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}var a=n(1024),c=n.n(a);function s(){return s=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},s.apply(this,arguments)}function u(e){return"/"===e.charAt(0)}function l(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const f=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],o=t&&t.split("/")||[],i=e&&u(e),a=t&&u(t),c=i||a;if(e&&u(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var s=o[o.length-1];n="."===s||".."===s||""===s}else n=!1;for(var f=0,p=o.length;p>=0;p--){var d=o[p];"."===d?l(o,p):".."===d?(l(o,p),f++):f&&(l(o,p),f--)}if(!c)for(;f--;f)o.unshift("..");!c||""===o[0]||o[0]&&u(o[0])||o.unshift("");var y=o.join("/");return n&&"/"!==y.substr(-1)&&(y+="/"),y};var p=n(2177);function d(e){return"/"===e.charAt(0)?e:"/"+e}function y(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function v(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function g(e,t,n,r){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=s({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=f(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var w=!("undefined"==typeof window||!window.document||!window.document.createElement);function O(e,t){t(window.confirm(e))}var T="popstate",E="hashchange";function A(){try{return window.history.state||{}}catch(e){return{}}}function C(e){void 0===e&&(e={}),w||(0,p.Z)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,c=void 0!==a&&a,u=i.getUserConfirmation,l=void 0===u?O:u,f=i.keyLength,y=void 0===f?6:f,C=e.basename?m(d(e.basename)):"";function x(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return C&&(i=h(i,C)),g(i,r,n)}function P(){return Math.random().toString(36).substr(2,y)}var j=b();function S(e){s(H,e),H.length=n.length,j.notifyListeners(H.location,H.action)}function k(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||I(x(e.state))}function N(){I(x(A()))}var R=!1;function I(e){if(R)R=!1,S();else{j.confirmTransitionTo(e,"POP",l,(function(t){t?S({action:"POP",location:e}):function(e){var t=H.location,n=_.indexOf(t.key);-1===n&&(n=0);var r=_.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(R=!0,D(o))}(e)}))}}var L=x(A()),_=[L.key];function F(e){return C+v(e)}function D(e){n.go(e)}var U=0;function Z(e){1===(U+=e)&&1===e?(window.addEventListener(T,k),o&&window.addEventListener(E,N)):0===U&&(window.removeEventListener(T,k),o&&window.removeEventListener(E,N))}var M=!1;var H={length:n.length,action:"POP",location:L,createHref:F,push:function(e,t){var o="PUSH",i=g(e,t,P(),H.location);j.confirmTransitionTo(i,o,l,(function(e){if(e){var t=F(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),c)window.location.href=t;else{var u=_.indexOf(H.location.key),l=_.slice(0,u+1);l.push(i.key),_=l,S({action:o,location:i})}else window.location.href=t}}))},replace:function(e,t){var o="REPLACE",i=g(e,t,P(),H.location);j.confirmTransitionTo(i,o,l,(function(e){if(e){var t=F(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),c)window.location.replace(t);else{var u=_.indexOf(H.location.key);-1!==u&&(_[u]=i.key),S({action:o,location:i})}else window.location.replace(t)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return M||(Z(1),M=!0),function(){return M&&(M=!1,Z(-1)),t()}},listen:function(e){var t=j.appendListener(e);return Z(1),function(){Z(-1),t()}}};return H}var x="hashchange",P={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+y(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:y,decodePath:d},slash:{encodePath:d,decodePath:d}};function j(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function S(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function k(e){window.location.replace(j(window.location.href)+"#"+e)}function N(e){void 0===e&&(e={}),w||(0,p.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,o=void 0===r?O:r,i=n.hashType,a=void 0===i?"slash":i,c=e.basename?m(d(e.basename)):"",u=P[a],l=u.encodePath,f=u.decodePath;function y(){var e=f(S());return c&&(e=h(e,c)),g(e)}var T=b();function E(e){s(M,e),M.length=t.length,T.notifyListeners(M.location,M.action)}var A=!1,C=null;function N(){var e,t,n=S(),r=l(n);if(n!==r)k(r);else{var i=y(),a=M.location;if(!A&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(C===v(i))return;C=null,function(e){if(A)A=!1,E();else{var t="POP";T.confirmTransitionTo(e,t,o,(function(n){n?E({action:t,location:e}):function(e){var t=M.location,n=_.lastIndexOf(v(t));-1===n&&(n=0);var r=_.lastIndexOf(v(e));-1===r&&(r=0);var o=n-r;o&&(A=!0,F(o))}(e)}))}}(i)}}var R=S(),I=l(R);R!==I&&k(I);var L=y(),_=[v(L)];function F(e){t.go(e)}var D=0;function U(e){1===(D+=e)&&1===e?window.addEventListener(x,N):0===D&&window.removeEventListener(x,N)}var Z=!1;var M={length:t.length,action:"POP",location:L,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=j(window.location.href)),n+"#"+l(c+v(e))},push:function(e,t){var n="PUSH",r=g(e,void 0,void 0,M.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=v(r),o=l(c+t);if(S()!==o){C=t,function(e){window.location.hash=e}(o);var i=_.lastIndexOf(v(M.location)),a=_.slice(0,i+1);a.push(t),_=a,E({action:n,location:r})}else E()}}))},replace:function(e,t){var n="REPLACE",r=g(e,void 0,void 0,M.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=v(r),o=l(c+t);S()!==o&&(C=t,k(o));var i=_.indexOf(v(M.location));-1!==i&&(_[i]=t),E({action:n,location:r})}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return Z||(U(1),Z=!0),function(){return Z&&(Z=!1,U(-1)),t()}},listen:function(e){var t=T.appendListener(e);return U(1),function(){U(-1),t()}}};return M}n(94662);function R(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}c().Component;c().Component;var I=function(e,t){return"function"==typeof e?e(t):e},L=function(e,t){return"string"==typeof e?g(e,null,null,t):e},_=function(e){return e},F=c().forwardRef;void 0===F&&(F=_);var D=F((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=R(e,["innerRef","navigate","onClick"]),a=i.target,u=s({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=_!==F&&t||n,c().createElement("a",u)}));var U=F((function(e,t){var n=e.component,o=void 0===n?D:n,i=e.replace,a=e.to,u=e.innerRef,l=R(e,["component","replace","to","innerRef"]);return c().createElement(r.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var n=e.history,r=L(I(a,e.location),e.location),f=r?n.createHref(r):"",d=s({},l,{href:f,navigate:function(){var t=I(a,e.location),r=v(e.location)===v(L(t));(i||r?n.replace:n.push)(t)}});return _!==F?d.ref=t||u:d.innerRef=u,c().createElement(o,d)}))})),Z=function(e){return e},M=c().forwardRef;void 0===M&&(M=Z);M((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,a=void 0===i?"active":i,u=e.activeStyle,l=e.className,f=e.exact,d=e.isActive,y=e.location,h=e.sensitive,m=e.strict,v=e.style,g=e.to,b=e.innerRef,w=R(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return c().createElement(r.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var n=y||e.location,i=L(I(g,n),n),O=i.pathname,T=O&&O.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),E=T?(0,r.LX)(n.pathname,{path:T,exact:f,sensitive:h,strict:m}):null,A=!!(d?d(E,n):E),C="function"==typeof l?l(A):l,x="function"==typeof v?v(A):v;A&&(C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(C,a),x=s({},x,u));var P=s({"aria-current":A&&o||null,className:C,style:x,to:i},w);return Z!==M?P.ref=t||b:P.innerRef=b,c().createElement(U,P)}))}))},126:(e,t,n)=>{"use strict";var r=n(51235);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={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:i,resetWarningCache:o};return n.PropTypes=n,n}},94662:(e,t,n)=>{e.exports=n(126)()},51235:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},83524:(e,t,n)=>{"use strict";var r,o=n(1024),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var s,u=[];function l(){s=e(u.map((function(e){return e.props}))),f.canUseDOM?t(s):n&&(s=n(s))}var f=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return s},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=s;return s=void 0,u=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){u.push(this),l()},a.componentDidUpdate=function(){l()},a.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),l()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(f,"canUseDOM",c),f}}},59227:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71005),o=n(68507);const i=(0,r.Z)(o.Z)},71005:(e,t,n)=>{"use strict";function r(e){var t=e.getIn;return function(e,n){return function(r){var o=n||function(e){return t(e,"form")};return t(o(r),e+".initial")}}}n.d(t,{Z:()=>r})},80500:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},70610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},90655:(e,t,n)=>{"use strict";function r(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"!==r&&"+"!==r&&"?"!==r)if("\\"!==r)if("{"!==r)if("}"!==r)if(":"!==r)if("("!==r)t.push({type:"CHAR",index:n,value:e[n++]});else{var o=1,i="";if("?"===e[c=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(c));for(;c<e.length;)if("\\"!==e[c]){if(")"===e[c]){if(0==--o){c++;break}}else if("("===e[c]&&(o++,"?"!==e[c+1]))throw new TypeError("Capturing groups are not allowed at ".concat(c));i+=e[c++]}else i+=e[c++]+e[c++];if(o)throw new TypeError("Unbalanced pattern at ".concat(n));if(!i)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:i}),n=c}else{for(var a="",c=n+1;c<e.length;){var s=e.charCodeAt(c);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||95===s))break;a+=e[c++]}if(!a)throw new TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=c}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,i=void 0===r?"./":r,a="[^".concat(o(t.delimiter||"/#?"),"]+?"),c=[],s=0,u=0,l="",f=function(e){if(u<n.length&&n[u].type===e)return n[u++].value},p=function(e){var t=f(e);if(void 0!==t)return t;var r=n[u],o=r.type,i=r.index;throw new TypeError("Unexpected ".concat(o," at ").concat(i,", expected ").concat(e))},d=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t};u<n.length;){var y=f("CHAR"),h=f("NAME"),m=f("PATTERN");if(h||m){var v=y||"";-1===i.indexOf(v)&&(l+=v,v=""),l&&(c.push(l),l=""),c.push({name:h||s++,prefix:v,suffix:"",pattern:m||a,modifier:f("MODIFIER")||""})}else{var g=y||f("ESCAPED_CHAR");if(g)l+=g;else if(l&&(c.push(l),l=""),f("OPEN")){v=d();var b=f("NAME")||"",w=f("PATTERN")||"",O=d();p("CLOSE"),c.push({name:b||(w?s++:""),pattern:b&&!w?a:w,prefix:v,suffix:O,modifier:f("MODIFIER")||""})}else p("END")}}return c}function o(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function a(e,t,n){return function(e,t,n){void 0===n&&(n={});for(var r=n.strict,a=void 0!==r&&r,c=n.start,s=void 0===c||c,u=n.end,l=void 0===u||u,f=n.encode,p=void 0===f?function(e){return e}:f,d=n.delimiter,y=void 0===d?"/#?":d,h=n.endsWith,m="[".concat(o(void 0===h?"":h),"]|$"),v="[".concat(o(y),"]"),g=s?"^":"",b=0,w=e;b<w.length;b++){var O=w[b];if("string"==typeof O)g+=o(p(O));else{var T=o(p(O.prefix)),E=o(p(O.suffix));if(O.pattern)if(t&&t.push(O),T||E)if("+"===O.modifier||"*"===O.modifier){var A="*"===O.modifier?"?":"";g+="(?:".concat(T,"((?:").concat(O.pattern,")(?:").concat(E).concat(T,"(?:").concat(O.pattern,"))*)").concat(E,")").concat(A)}else g+="(?:".concat(T,"(").concat(O.pattern,")").concat(E,")").concat(O.modifier);else"+"===O.modifier||"*"===O.modifier?g+="((?:".concat(O.pattern,")").concat(O.modifier,")"):g+="(".concat(O.pattern,")").concat(O.modifier);else g+="(?:".concat(T).concat(E,")").concat(O.modifier)}}if(l)a||(g+="".concat(v,"?")),g+=n.endsWith?"(?=".concat(m,")"):"$";else{var C=e[e.length-1],x="string"==typeof C?v.indexOf(C[C.length-1])>-1:void 0===C;a||(g+="(?:".concat(v,"(?=").concat(m,"))?")),x||(g+="(?=".concat(v,"|").concat(m,")"))}return new RegExp(g,i(n))}(r(e,n),t,n)}function c(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,o=n.exec(e.source);o;)t.push({name:o[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),o=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return c(e,t,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),i(n))}(e,t,n):a(e,t,n)}n.d(t,{Bo:()=>c})}}]);
|
|
1
|
+
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[141],{14505:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var r=n(319),o=n.n(r),i=n(44759),a=function(e){return void 0!==e},c=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t.reduce((function(t,r){return a(e[r.name])&&"function"==typeof r.action?t.push(r.action.apply(r,o()(r.argsFactory(e)))):r.mandatory&&n&&i.Z.logError("Mandatory field '".concat(r.name,"' not set in input")),t}),[])}},47369:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={getDispatchActions:n(14505).i}},67210:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(74806),o=n(95391),i=n(34240),a=n(46169),c=n(25660),s=n(80722),u=n(20247),l=n(85893);const f=(0,u.U)((0,r.ZP)((function(e){var t=e.path,n=e.context,r=e.onSuccess,u=e.intl,f=e.locale,p=e.emitAction,d=(0,s.Z)(t),y=d?[{id:"rel".concat(d.model),value:d.key}]:[],h=(0,c.Z)(n,"Domain");return(0,l.jsx)(o.ZP,{entityName:"Domain",formName:h,mode:"create",defaultValues:y,locale:f,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Domain/".concat(t)}]}}];r({title:u.formatMessage({id:"client.docs-browser.createDomainSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||p(e)},listApp:i.ZP,docsApp:a.ZP})})))},36340:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(74806),o=n(95391),i=n(34240),a=n(46169),c=n(25660),s=n(80722),u=n(20247),l=n(85893);const f=(0,u.U)((0,r.ZP)((function(e){var t=e.context,n=e.path,r=e.onSuccess,u=e.intl,f=e.locale,p=e.emitAction,d=(0,s.Z)(n),y=d?[{id:"rel".concat(d.model),value:d.key}]:[],h=(0,c.Z)(t,"Folder");return(0,l.jsx)(o.ZP,{entityName:"Folder",formName:h,mode:"create",defaultValues:y,locale:f,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Folder/".concat(t)}]}}];r({title:u.formatMessage({id:"client.docs-browser.createFolderSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||p(e)},listApp:i.ZP,docsApp:a.ZP})})))},96954:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(59713),o=n.n(r),i=n(8156),a=n(85893);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const u=function(e){return(0,a.jsx)(i.Z,s(s({},e),{},{customDeleteEndpoint:"documents/delete"}))}},90100:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(63038),o=n.n(r),i=n(95391),a=n(34240),c=n(46169),s=n(25660),u=n(20247),l=n(85893);const f=(0,u.U)((function(e){var t=e.selection,n=e.onSuccess,r=e.onCancel,u=e.locale,f=e.context,p=e.emitAction,d=e.navigate,y=t.ids[0].split("/"),h=o()(y,2),m=h[0],v=h[1];"Resource"===m&&(d("/docs/doc/".concat(v,"/detail")),r());var g=(0,s.Z)(f,m);return(0,l.jsx)(i.ZP,{entityName:m,formName:g,entityId:v,mode:"update",locale:u,onEntityUpdated:function(){var e=[{type:"entity-update-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},onEntityDeleted:function(){var e=[{type:"entity-delete-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||p(e)},listApp:a.ZP,docsApp:c.ZP})}))},4505:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r,o,i,a=n(74806),c=n(50558),s=n(30081),u=n(20247),l=n(63038),f=n.n(l),p=n(28655),d=n.n(p),y=n(18446),h=n.n(y),m=n(1024),v=n(44012),g=n(38205),b=n(58129),w=n(50258),O=n(65035),T=n(46169),E=n(80722),A=n(85893),C=g.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(r||(r=d()(["\n display: flex;\n justify-content: flex-end;\n\n "," {\n margin-right: 0;\n }\n"])),b.Z),x=(0,g.ZP)(w.Z).withConfig({displayName:"StyledLoadMask"})(o||(o=d()(["\n height: auto;\n"]))),P=function(e){return null===e?"Move_root_docs_list_item":"Move_docs_list_item"},j={initialize:s.j2,moveElements:s.w6};const S=(0,u.U)((0,c.connect)((function(e){return{isWaiting:e.docs.move.isWaiting,domainTypes:e.input.domainTypes,rootNodes:e.input.rootNodes,businessUnit:e.input.businessUnit,locale:e.intl.locale}}),j)((0,a.ZP)((function(e){var t=e.selection,n=e.onSuccess,r=e.onError,o=e.path,a=e.initialize,c=e.moveElements,s=e.isWaiting,u=e.domainTypes,l=e.rootNodes,p=e.businessUnit,d=e.locale,y=e.emitAction,g=(0,E.Z)(o),b={model:"Docs_list_item",key:"".concat(g.model,"/").concat(g.key)},w=(0,m.useState)(b),j=f()(w,2),S=j[0],k=j[1];(0,m.useEffect)((function(){a(t,n,r)}),[]);var N=function(e,t){switch(e){case"Domain":return"/docs/domain/".concat(t,"/list");case"Folder":return"/docs/folder/".concat(t,"/list");case"Resource":return;default:throw new Error("Unexpected model: ".concat(e))}};return(0,A.jsxs)(x,{required:[!s],children:[(0,A.jsx)(T.ZP,{routerType:"routerless",initialLocation:function(){if(null===S)return null;var e=S.key.split("/"),t=f()(e,2),n=t[0],r=t[1];return N(n,r)}(),listLimit:10,selectionStyle:"none",searchFormType:"none",disableViewPersistor:!0,getListFormName:P,onListParentChange:k,getCustomLocation:N,navigationStrategy:{},embedded:!0,emitAction:y,noLeftPadding:!0,domainTypes:u,rootNodes:l,businessUnit:p,sortable:!1,scrollBehaviour:"none",locale:d}),(0,A.jsx)(C,{children:(0,A.jsx)(O.Z,{onClick:function(){return c(S.key,t.ids)},look:"raised",ink:"primary",disabled:null===S||h()(S,b),children:i||(i=(0,A.jsx)(v.Z,{id:"client.actions.dms-move.button"}))})})]})}))))},77840:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.ZP});var r=n(34240)},82445:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(59713),o=n.n(r),i=n(95391),a=n(34240),c=n(46169),s=n(85893);function u(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const f=function(e){return(0,s.jsx)(i.ZP,l(l({},e),{},{listApp:a.ZP,docsApp:c.ZP}))}},25660:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e,t){return e.detailFormNames&&e.detailFormNames[t]?e.detailFormNames[t]:"Dms".concat(t)}},44020:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=i(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),c=0;c<a.length;c++){var s=a[c];e=e.replace(new RegExp(s,"g"),t[s])}return e}(e)}}},92806:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],c=e[a];(o?-1!==t.indexOf(a):t(a,c,e))&&(n[a]=c)}return n}},17563:(e,t,n)=>{"use strict";const r=n(70610),o=n(44020),i=n(80500),a=n(92806),c=Symbol("encodeFragmentIdentifier");function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function f(e){return Array.isArray(e)?e.sort():"object"==typeof e?f(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function y(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&l(n,e).includes(e.arrayFormatSeparator);n=i?l(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===n?n:l(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?l(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),n(l(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=y(n[e],t);else r[e]=y(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=f(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",o,"]"].join("")]:[...n,[u(t,e),"[",u(o,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?u(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":o.reduce(r(n),[]).join("&"):u(n,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(d(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[c]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let s=t.stringify(a,n);s&&(s=`?${s}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${n[c]?u(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${s}${l}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[c]:!1},r);const{url:o,query:i,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},64593:(e,t,n)=>{"use strict";n.d(t,{q:()=>me});var r,o,i,a,c=n(89324),s=n.n(c),u=n(83524),l=n.n(u),f=n(69590),p=n.n(f),d=n(1024),y=n.n(d),h=n(27418),m=n.n(h),v="bodyAttributes",g="htmlAttributes",b="titleAttributes",w={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},O=(Object.keys(w).map((function(e){return w[e]})),"charset"),T="cssText",E="href",A="http-equiv",C="innerHTML",x="itemprop",P="name",j="property",S="rel",k="src",N="target",R={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",L="defer",_="encodeSpecialCharacters",F="onChangeClientState",D="titleTemplate",U=Object.keys(R).reduce((function(e,t){return e[R[t]]=t,e}),{}),Z=[w.NOSCRIPT,w.SCRIPT,w.STYLE],M="data-react-helmet",H="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},q=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},$=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),B=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},W=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Y=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},K=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},V=function(e){var t=Q(e,w.TITLE),n=Q(e,D);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Q(e,I);return t||r||void 0},z=function(e){return Q(e,F)||function(){}},X=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return B({},e,t)}),{})},G=function(e,t){return t.filter((function(e){return void 0!==e[w.BASE]})).map((function(e){return e[w.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},J=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&oe("Helmet: "+e+' should be of type "Array". Instead found type "'+H(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n=void 0,i=Object.keys(e),a=0;a<i.length;a++){var c=i[a],s=c.toLowerCase();-1===t.indexOf(s)||n===S&&"canonical"===e[n].toLowerCase()||s===S&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(c)||c!==C&&c!==T&&c!==x||(n=c)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][u]&&(o[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var c=i[a],s=m()({},r[c],o[c]);r[c]=s}return e}),[]).reverse()},Q=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},ee=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){ee(e)}),0)}),te=function(e){return clearTimeout(e)},ne="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ee:n.g.requestAnimationFrame||ee,re="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||te:n.g.cancelAnimationFrame||te,oe=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ie=null,ae=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,c=e.noscriptTags,s=e.onChangeClientState,u=e.scriptTags,l=e.styleTags,f=e.title,p=e.titleAttributes;ue(w.BODY,r),ue(w.HTML,o),se(f,p);var d={baseTag:le(w.BASE,n),linkTags:le(w.LINK,i),metaTags:le(w.META,a),noscriptTags:le(w.NOSCRIPT,c),scriptTags:le(w.SCRIPT,u),styleTags:le(w.STYLE,l)},y={},h={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(y[e]=n),r.length&&(h[e]=d[e].oldTags)})),t&&t(),s(e,y,h)},ce=function(e){return Array.isArray(e)?e.join(""):e},se=function(e,t){void 0!==e&&document.title!==e&&(document.title=ce(e)),ue(w.TITLE,t)},ue=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(M),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),c=0;c<a.length;c++){var s=a[c],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===o.indexOf(s)&&o.push(s);var l=i.indexOf(s);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f--)n.removeAttribute(i[f]);o.length===i.length?n.removeAttribute(M):n.getAttribute(M)!==a.join(",")&&n.setAttribute(M,a.join(","))}},le=function(e,t){var n=document.head||document.querySelector(w.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===C)n.innerHTML=t.innerHTML;else if(r===T)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var c=void 0===t[r]?"":t[r];n.setAttribute(r,c)}n.setAttribute(M,"true"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},fe=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[R[n]||n]=e[n],t}),t)},de=function(e,t,n){switch(e){case w.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[M]=!0,o=pe(n,r),[y().createElement(w.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=fe(n),i=ce(t);return o?"<"+e+' data-react-helmet="true" '+o+">"+K(i,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+K(i,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case v:case g:return{toComponent:function(){return pe(t)},toString:function(){return fe(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[M]=!0,r);return Object.keys(t).forEach((function(e){var n=R[e]||e;if(n===C||n===T){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),y().createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===C||e===T)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+K(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===Z.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,n)}}}},ye=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,c=e.noscriptTags,s=e.scriptTags,u=e.styleTags,l=e.title,f=void 0===l?"":l,p=e.titleAttributes;return{base:de(w.BASE,t,r),bodyAttributes:de(v,n,r),htmlAttributes:de(g,o,r),link:de(w.LINK,i,r),meta:de(w.META,a,r),noscript:de(w.NOSCRIPT,c,r),script:de(w.SCRIPT,s,r),style:de(w.STYLE,u,r),title:de(w.TITLE,{title:f,titleAttributes:p},r)}},he=l()((function(e){return{baseTag:G([E,N],e),bodyAttributes:X(v,e),defer:Q(e,L),encode:Q(e,_),htmlAttributes:X(g,e),linkTags:J(w.LINK,[S,E],e),metaTags:J(w.META,[P,O,A,j,x],e),noscriptTags:J(w.NOSCRIPT,[C],e),onChangeClientState:z(e),scriptTags:J(w.SCRIPT,[k,C],e),styleTags:J(w.STYLE,[T],e),title:V(e),titleAttributes:X(b,e)}}),(function(e){ie&&re(ie),e.defer?ie=ne((function(){ae(e,(function(){ie=null}))})):(ae(e),ie=null)}),ye)((function(){return null})),me=(o=he,a=i=function(e){function t(){return q(this,t),Y(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!p()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case w.SCRIPT:case w.NOSCRIPT:return{innerHTML:t};case w.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return B({},r,((t={})[n.type]=[].concat(r[n.type]||[],[B({},o,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case w.TITLE:return B({},o,((t={})[r.type]=a,t.titleAttributes=B({},i),t));case w.BODY:return B({},o,{bodyAttributes:B({},i)});case w.HTML:return B({},o,{htmlAttributes:B({},i)})}return B({},o,((n={})[r.type]=B({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=B({},t);return Object.keys(e).forEach((function(t){var r;n=B({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return y().Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[U[n]||n]=e[n],t}),t)}(W(o,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case w.LINK:case w.META:case w.NOSCRIPT:case w.SCRIPT:case w.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=W(e,["children"]),r=B({},n);return t&&(r=this.mapChildrenToProps(t,r)),y().createElement(o,r)},$(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(y().Component),i.propTypes={base:s().object,bodyAttributes:s().object,children:s().oneOfType([s().arrayOf(s().node),s().node]),defaultTitle:s().string,defer:s().bool,encodeSpecialCharacters:s().bool,htmlAttributes:s().object,link:s().arrayOf(s().object),meta:s().arrayOf(s().object),noscript:s().arrayOf(s().object),onChangeClientState:s().func,script:s().arrayOf(s().object),style:s().arrayOf(s().object),title:s().string,titleAttributes:s().object,titleTemplate:s().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=ye({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);me.renderStatic=me.rewind},17579:(e,t,n)=>{"use strict";var r=n(80070);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={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:i,resetWarningCache:o};return n.PropTypes=n,n}},89324:(e,t,n)=>{e.exports=n(17579)()},80070:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},96559:(e,t,n)=>{"use strict";n.d(t,{rU:()=>U});var r=n(56746);function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}var a=n(1024),c=n.n(a);function s(){return s=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},s.apply(this,arguments)}function u(e){return"/"===e.charAt(0)}function l(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const f=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],o=t&&t.split("/")||[],i=e&&u(e),a=t&&u(t),c=i||a;if(e&&u(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var s=o[o.length-1];n="."===s||".."===s||""===s}else n=!1;for(var f=0,p=o.length;p>=0;p--){var d=o[p];"."===d?l(o,p):".."===d?(l(o,p),f++):f&&(l(o,p),f--)}if(!c)for(;f--;f)o.unshift("..");!c||""===o[0]||o[0]&&u(o[0])||o.unshift("");var y=o.join("/");return n&&"/"!==y.substr(-1)&&(y+="/"),y};var p=n(2177);function d(e){return"/"===e.charAt(0)?e:"/"+e}function y(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function v(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function g(e,t,n,r){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=s({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=f(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var w=!("undefined"==typeof window||!window.document||!window.document.createElement);function O(e,t){t(window.confirm(e))}var T="popstate",E="hashchange";function A(){try{return window.history.state||{}}catch(e){return{}}}function C(e){void 0===e&&(e={}),w||(0,p.Z)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,c=void 0!==a&&a,u=i.getUserConfirmation,l=void 0===u?O:u,f=i.keyLength,y=void 0===f?6:f,C=e.basename?m(d(e.basename)):"";function x(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return C&&(i=h(i,C)),g(i,r,n)}function P(){return Math.random().toString(36).substr(2,y)}var j=b();function S(e){s(H,e),H.length=n.length,j.notifyListeners(H.location,H.action)}function k(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||I(x(e.state))}function N(){I(x(A()))}var R=!1;function I(e){if(R)R=!1,S();else{j.confirmTransitionTo(e,"POP",l,(function(t){t?S({action:"POP",location:e}):function(e){var t=H.location,n=_.indexOf(t.key);-1===n&&(n=0);var r=_.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(R=!0,D(o))}(e)}))}}var L=x(A()),_=[L.key];function F(e){return C+v(e)}function D(e){n.go(e)}var U=0;function Z(e){1===(U+=e)&&1===e?(window.addEventListener(T,k),o&&window.addEventListener(E,N)):0===U&&(window.removeEventListener(T,k),o&&window.removeEventListener(E,N))}var M=!1;var H={length:n.length,action:"POP",location:L,createHref:F,push:function(e,t){var o="PUSH",i=g(e,t,P(),H.location);j.confirmTransitionTo(i,o,l,(function(e){if(e){var t=F(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),c)window.location.href=t;else{var u=_.indexOf(H.location.key),l=_.slice(0,u+1);l.push(i.key),_=l,S({action:o,location:i})}else window.location.href=t}}))},replace:function(e,t){var o="REPLACE",i=g(e,t,P(),H.location);j.confirmTransitionTo(i,o,l,(function(e){if(e){var t=F(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),c)window.location.replace(t);else{var u=_.indexOf(H.location.key);-1!==u&&(_[u]=i.key),S({action:o,location:i})}else window.location.replace(t)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return M||(Z(1),M=!0),function(){return M&&(M=!1,Z(-1)),t()}},listen:function(e){var t=j.appendListener(e);return Z(1),function(){Z(-1),t()}}};return H}var x="hashchange",P={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+y(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:y,decodePath:d},slash:{encodePath:d,decodePath:d}};function j(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function S(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function k(e){window.location.replace(j(window.location.href)+"#"+e)}function N(e){void 0===e&&(e={}),w||(0,p.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,o=void 0===r?O:r,i=n.hashType,a=void 0===i?"slash":i,c=e.basename?m(d(e.basename)):"",u=P[a],l=u.encodePath,f=u.decodePath;function y(){var e=f(S());return c&&(e=h(e,c)),g(e)}var T=b();function E(e){s(M,e),M.length=t.length,T.notifyListeners(M.location,M.action)}var A=!1,C=null;function N(){var e,t,n=S(),r=l(n);if(n!==r)k(r);else{var i=y(),a=M.location;if(!A&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(C===v(i))return;C=null,function(e){if(A)A=!1,E();else{var t="POP";T.confirmTransitionTo(e,t,o,(function(n){n?E({action:t,location:e}):function(e){var t=M.location,n=_.lastIndexOf(v(t));-1===n&&(n=0);var r=_.lastIndexOf(v(e));-1===r&&(r=0);var o=n-r;o&&(A=!0,F(o))}(e)}))}}(i)}}var R=S(),I=l(R);R!==I&&k(I);var L=y(),_=[v(L)];function F(e){t.go(e)}var D=0;function U(e){1===(D+=e)&&1===e?window.addEventListener(x,N):0===D&&window.removeEventListener(x,N)}var Z=!1;var M={length:t.length,action:"POP",location:L,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=j(window.location.href)),n+"#"+l(c+v(e))},push:function(e,t){var n="PUSH",r=g(e,void 0,void 0,M.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=v(r),o=l(c+t);if(S()!==o){C=t,function(e){window.location.hash=e}(o);var i=_.lastIndexOf(v(M.location)),a=_.slice(0,i+1);a.push(t),_=a,E({action:n,location:r})}else E()}}))},replace:function(e,t){var n="REPLACE",r=g(e,void 0,void 0,M.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=v(r),o=l(c+t);S()!==o&&(C=t,k(o));var i=_.indexOf(v(M.location));-1!==i&&(_[i]=t),E({action:n,location:r})}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return Z||(U(1),Z=!0),function(){return Z&&(Z=!1,U(-1)),t()}},listen:function(e){var t=T.appendListener(e);return U(1),function(){U(-1),t()}}};return M}n(94662);function R(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}c().Component;c().Component;var I=function(e,t){return"function"==typeof e?e(t):e},L=function(e,t){return"string"==typeof e?g(e,null,null,t):e},_=function(e){return e},F=c().forwardRef;void 0===F&&(F=_);var D=F((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=R(e,["innerRef","navigate","onClick"]),a=i.target,u=s({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=_!==F&&t||n,c().createElement("a",u)}));var U=F((function(e,t){var n=e.component,o=void 0===n?D:n,i=e.replace,a=e.to,u=e.innerRef,l=R(e,["component","replace","to","innerRef"]);return c().createElement(r.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var n=e.history,r=L(I(a,e.location),e.location),f=r?n.createHref(r):"",d=s({},l,{href:f,navigate:function(){var t=I(a,e.location),r=v(e.location)===v(L(t));(i||r?n.replace:n.push)(t)}});return _!==F?d.ref=t||u:d.innerRef=u,c().createElement(o,d)}))})),Z=function(e){return e},M=c().forwardRef;void 0===M&&(M=Z);M((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,a=void 0===i?"active":i,u=e.activeStyle,l=e.className,f=e.exact,d=e.isActive,y=e.location,h=e.sensitive,m=e.strict,v=e.style,g=e.to,b=e.innerRef,w=R(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return c().createElement(r.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var n=y||e.location,i=L(I(g,n),n),O=i.pathname,T=O&&O.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),E=T?(0,r.LX)(n.pathname,{path:T,exact:f,sensitive:h,strict:m}):null,A=!!(d?d(E,n):E),C="function"==typeof l?l(A):l,x="function"==typeof v?v(A):v;A&&(C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(C,a),x=s({},x,u));var P=s({"aria-current":A&&o||null,className:C,style:x,to:i},w);return Z!==M?P.ref=t||b:P.innerRef=b,c().createElement(U,P)}))}))},126:(e,t,n)=>{"use strict";var r=n(51235);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={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:i,resetWarningCache:o};return n.PropTypes=n,n}},94662:(e,t,n)=>{e.exports=n(126)()},51235:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},83524:(e,t,n)=>{"use strict";var r,o=n(1024),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var s,u=[];function l(){s=e(u.map((function(e){return e.props}))),f.canUseDOM?t(s):n&&(s=n(s))}var f=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return s},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=s;return s=void 0,u=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){u.push(this),l()},a.componentDidUpdate=function(){l()},a.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),l()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(f,"canUseDOM",c),f}}},59227:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71005),o=n(14892);const i=(0,r.Z)(o.Z)},71005:(e,t,n)=>{"use strict";function r(e){var t=e.getIn;return function(e,n){return function(r){var o=n||function(e){return t(e,"form")};return t(o(r),e+".initial")}}}n.d(t,{Z:()=>r})},80500:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},70610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},90655:(e,t,n)=>{"use strict";function r(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"!==r&&"+"!==r&&"?"!==r)if("\\"!==r)if("{"!==r)if("}"!==r)if(":"!==r)if("("!==r)t.push({type:"CHAR",index:n,value:e[n++]});else{var o=1,i="";if("?"===e[c=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(c));for(;c<e.length;)if("\\"!==e[c]){if(")"===e[c]){if(0==--o){c++;break}}else if("("===e[c]&&(o++,"?"!==e[c+1]))throw new TypeError("Capturing groups are not allowed at ".concat(c));i+=e[c++]}else i+=e[c++]+e[c++];if(o)throw new TypeError("Unbalanced pattern at ".concat(n));if(!i)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:i}),n=c}else{for(var a="",c=n+1;c<e.length;){var s=e.charCodeAt(c);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||95===s))break;a+=e[c++]}if(!a)throw new TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=c}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,i=void 0===r?"./":r,a="[^".concat(o(t.delimiter||"/#?"),"]+?"),c=[],s=0,u=0,l="",f=function(e){if(u<n.length&&n[u].type===e)return n[u++].value},p=function(e){var t=f(e);if(void 0!==t)return t;var r=n[u],o=r.type,i=r.index;throw new TypeError("Unexpected ".concat(o," at ").concat(i,", expected ").concat(e))},d=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t};u<n.length;){var y=f("CHAR"),h=f("NAME"),m=f("PATTERN");if(h||m){var v=y||"";-1===i.indexOf(v)&&(l+=v,v=""),l&&(c.push(l),l=""),c.push({name:h||s++,prefix:v,suffix:"",pattern:m||a,modifier:f("MODIFIER")||""})}else{var g=y||f("ESCAPED_CHAR");if(g)l+=g;else if(l&&(c.push(l),l=""),f("OPEN")){v=d();var b=f("NAME")||"",w=f("PATTERN")||"",O=d();p("CLOSE"),c.push({name:b||(w?s++:""),pattern:b&&!w?a:w,prefix:v,suffix:O,modifier:f("MODIFIER")||""})}else p("END")}}return c}function o(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function a(e,t,n){return function(e,t,n){void 0===n&&(n={});for(var r=n.strict,a=void 0!==r&&r,c=n.start,s=void 0===c||c,u=n.end,l=void 0===u||u,f=n.encode,p=void 0===f?function(e){return e}:f,d=n.delimiter,y=void 0===d?"/#?":d,h=n.endsWith,m="[".concat(o(void 0===h?"":h),"]|$"),v="[".concat(o(y),"]"),g=s?"^":"",b=0,w=e;b<w.length;b++){var O=w[b];if("string"==typeof O)g+=o(p(O));else{var T=o(p(O.prefix)),E=o(p(O.suffix));if(O.pattern)if(t&&t.push(O),T||E)if("+"===O.modifier||"*"===O.modifier){var A="*"===O.modifier?"?":"";g+="(?:".concat(T,"((?:").concat(O.pattern,")(?:").concat(E).concat(T,"(?:").concat(O.pattern,"))*)").concat(E,")").concat(A)}else g+="(?:".concat(T,"(").concat(O.pattern,")").concat(E,")").concat(O.modifier);else"+"===O.modifier||"*"===O.modifier?g+="((?:".concat(O.pattern,")").concat(O.modifier,")"):g+="(".concat(O.pattern,")").concat(O.modifier);else g+="(?:".concat(T).concat(E,")").concat(O.modifier)}}if(l)a||(g+="".concat(v,"?")),g+=n.endsWith?"(?=".concat(m,")"):"$";else{var C=e[e.length-1],x="string"==typeof C?v.indexOf(C[C.length-1])>-1:void 0===C;a||(g+="(?:".concat(v,"(?=").concat(m,"))?")),x||(g+="(?=".concat(v,"|").concat(m,")"))}return new RegExp(g,i(n))}(r(e,n),t,n)}function c(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,o=n.exec(e.source);o;)t.push({name:o[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),o=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return c(e,t,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),i(n))}(e,t,n):a(e,t,n)}n.d(t,{Bo:()=>c})}}]);
|