Files
houyi-admin/dist/8788.58561643.async.js
PC-202306242200\Administrator 23dc139a31 first commit
2026-03-28 23:25:01 +08:00

583 lines
523 KiB
JavaScript

(self.webpackChunk=self.webpackChunk||[]).push([[8788],{83199:function(J,D,r){"use strict";var S=r(88351),A=r(87841),C=r(993),g=r(93236),h=r(75986),b=r(8263),E=r(62086),c=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],l=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],p=function(u,x){var F=u.fieldProps,f=u.children,B=u.params,U=u.proFieldProps,K=u.mode,k=u.valueEnum,j=u.request,z=u.showSearch,M=u.options,I=(0,A.Z)(u,c),X=(0,g.useContext)(h.Z);return(0,E.jsx)(b.Z,(0,S.Z)((0,S.Z)({valueEnum:(0,C.h)(k),request:j,params:B,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,S.Z)({options:M,mode:K,showSearch:z,getPopupContainer:X.getPopupContainer},F),ref:x,proFieldProps:U},I),{},{children:f}))},s=g.forwardRef(function(o,u){var x=o.fieldProps,F=o.children,f=o.params,B=o.proFieldProps,U=o.mode,K=o.valueEnum,k=o.request,j=o.options,z=(0,A.Z)(o,l),M=(0,S.Z)({options:j,mode:U||"multiple",labelInValue:!0,showSearch:!0,showArrow:!1,autoClearSearchValue:!0,optionLabelProp:"label"},x),I=(0,g.useContext)(h.Z);return(0,E.jsx)(b.Z,(0,S.Z)((0,S.Z)({valueEnum:(0,C.h)(K),request:k,params:f,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,S.Z)({getPopupContainer:I.getPopupContainer},M),ref:u,proFieldProps:B},z),{},{children:F}))}),a=g.forwardRef(p),d=s,i=a;i.SearchSelect=d,i.displayName="ProFormComponent",D.Z=i},6758:function(J,D,r){"use strict";var S=r(88351),A=r(87841),C=r(93236),g=r(8263),h=r(62086),b=["fieldProps","unCheckedChildren","checkedChildren","proFieldProps"],E=C.forwardRef(function(c,l){var p=c.fieldProps,s=c.unCheckedChildren,a=c.checkedChildren,d=c.proFieldProps,i=(0,A.Z)(c,b);return(0,h.jsx)(g.Z,(0,S.Z)({valueType:"switch",fieldProps:(0,S.Z)({unCheckedChildren:s,checkedChildren:a},p),ref:l,valuePropName:"checked",proFieldProps:d,filedConfig:{valuePropName:"checked",ignoreWidth:!0,customLightMode:!0}},i))});D.Z=E},52586:function(J,D,r){"use strict";var S=r(88351),A=r(87841),C=r(93236),g=r(8263),h=r(62086),b=["fieldProps","proFieldProps"],E=function(l,p){var s=l.fieldProps,a=l.proFieldProps,d=(0,A.Z)(l,b);return(0,h.jsx)(g.Z,(0,S.Z)({ref:p,valueType:"textarea",fieldProps:s,proFieldProps:a},d))};D.Z=C.forwardRef(E)},92094:function(){"use strict"},97683:function(J,D,r){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.getFromHTMLConfig=D.getToHTMLConfig=D.blocks=D.getHexColor=D.defaultFontFamilies=D.namedColors=void 0;var S=Object.assign||function(I){for(var X=1;X<arguments.length;X++){var $=arguments[X];for(var Q in $)Object.prototype.hasOwnProperty.call($,Q)&&(I[Q]=$[Q])}return I},A=r(93236),C=g(A);function g(I){return I&&I.__esModule?I:{default:I}}function h(I,X){var $={};for(var Q in I)X.indexOf(Q)>=0||Object.prototype.hasOwnProperty.call(I,Q)&&($[Q]=I[Q]);return $}var b=D.namedColors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},E=function(X){return X.split("-")[1]},c=function(X){return X+"px"},l=function(X){return X.replace("px","")},p=["style"],s=["style","href","target","alt","title","id","controls","autoplay","loop","poster"],a=function(X){return Object.keys(X).reduce(function($,Q){return $+" "+Q+'="'+X[Q]+'"'},"").replace(/^\s$/,"")},d=D.defaultFontFamilies=[{name:"Araial",family:"Arial, Helvetica, sans-serif"},{name:"Georgia",family:"Georgia, serif"},{name:"Impact",family:"Impact, serif"},{name:"Monospace",family:'"Courier New", Courier, monospace'},{name:"Tahoma",family:"tahoma, arial, 'Hiragino Sans GB', \u5B8B\u4F53, sans-serif"}],i=D.getHexColor=function(X){if(X=X.replace("color:","").replace(";","").replace(" ",""),/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(X))return X;if(b[X])return b[X];if(X.indexOf("rgb")===0){var $=X.split(","),Q=$.length<3?null:"#"+[$[0],$[1],$[2]].map(function(W){var le=parseInt(W.replace(/\D/g,""),10).toString(16);return le.length===1?"0"+le:le}).join("");return/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(Q)?Q:null}else return null},o=D.blocks={"header-one":"h1","header-two":"h2","header-three":"h3","header-four":"h4","header-five":"h5","header-six":"h6",unstyled:"p",blockquote:"blockquote"},u=Object.keys(o),x=u.map(function(I){return o[I]}),F=function(X,$,Q){if(!X||!X.key)return C.default.createElement("p",null);var W=$.getBlockForKey(X.key),le=Q.class,te=h(Q,["class"]);if(te.className=le,!W)return C.default.createElement("p",null);var pe=W.getEntityAt(0);if(!pe)return C.default.createElement("p",null);var Le=$.getEntity(pe),De=Le.getType().toLowerCase(),Z=X.data,Re=Z.float,Ye=Z.alignment,_e=Le.getData(),Ze=_e.url,qe=_e.link,me=_e.link_target,ye=_e.width,Te=_e.height,we=_e.meta;if(De==="image"){var Me={},Ne="";return Re?(Me.float=Re,Ne+=" float-"+Re):Ye&&(Me.textAlign=Ye,Ne+=" align-"+Ye),qe?C.default.createElement("div",{className:"media-wrap image-wrap"+Ne,style:Me},C.default.createElement("a",{style:{display:"inline-block"},href:qe,target:me},C.default.createElement("img",S({},te,we,{src:Ze,width:ye,height:Te,style:{width:ye,height:Te}})))):C.default.createElement("div",{className:"media-wrap image-wrap"+Ne,style:Me},C.default.createElement("img",S({},te,we,{src:Ze,width:ye,height:Te,style:{width:ye,height:Te}})))}else return De==="audio"?C.default.createElement("div",{className:"media-wrap audio-wrap"},C.default.createElement("audio",S({controls:!0},te,we,{src:Ze}))):De==="video"?C.default.createElement("div",{className:"media-wrap video-wrap"},C.default.createElement("video",S({controls:!0},te,we,{src:Ze,width:ye,height:Te}))):De==="embed"?C.default.createElement("div",{className:"media-wrap embed-wrap"},C.default.createElement("div",{dangerouslySetInnerHTML:{__html:Ze}})):De==="hr"?C.default.createElement("hr",null):C.default.createElement("p",null)},f=function(X){return function($,Q){var W=X.entityExportFn,le=$.type.toLowerCase();if(W){var te=W($,Q);if(te)return te}if(le==="link"){var pe=$.data.nodeAttributes||{},Le=pe.class,De=h(pe,["class"]);return De.className=Le,C.default.createElement("a",S({href:$.data.href,target:$.data.target},De))}}},B=function(X){return function($){var Q=X.unitExportFn||c;if(X.styleExportFn){var W=X.styleExportFn($,X);if(W)return W}if($=$.toLowerCase(),$==="strikethrough")return C.default.createElement("span",{style:{textDecoration:"line-through"}});if($==="superscript")return C.default.createElement("sup",null);if($==="subscript")return C.default.createElement("sub",null);if($.indexOf("color-")===0)return C.default.createElement("span",{style:{color:"#"+E($)}});if($.indexOf("bgcolor-")===0)return C.default.createElement("span",{style:{backgroundColor:"#"+E($)}});if($.indexOf("fontsize-")===0)return C.default.createElement("span",{style:{fontSize:Q(E($),"font-size","html")}});if($.indexOf("lineheight-")===0)return C.default.createElement("span",{style:{lineHeight:Q(E($),"line-height","html")}});if($.indexOf("letterspacing-")===0)return C.default.createElement("span",{style:{letterSpacing:Q(E($),"letter-spacing","html")}});if($.indexOf("fontfamily-")===0){var le=X.fontFamilies.find(function(te){return te.name.toLowerCase()===E($)});return le?C.default.createElement("span",{style:{fontFamily:le.family}}):void 0}}},U=function(X){return function($){var Q=X.blockExportFn,W=X.contentState;if(Q){var le=Q(W,$);if(le)return le}var te="",pe=$.type.toLowerCase(),Le=$.data,De=Le.textAlign,Z=Le.textIndent,Re=Le.nodeAttributes,Ye=Re===void 0?{}:Re,_e=a(Ye);if((De||Z)&&(te=' style="',De&&(te+="text-align:"+De+";"),Z&&!isNaN(Z)&&Z>0&&(te+="text-indent:"+Z*2+"em;"),te+='"'),pe==="atomic")return F($,W,Ye);if(pe==="code-block"){var Ze=W.getBlockBefore($.key),qe=W.getBlockAfter($.key),me=Ze&&Ze.getType(),ye=qe&&qe.getType(),Te="",we="";return me!=="code-block"?Te="<pre"+_e+"><code>":Te="",ye!=="code-block"?we="</code></pre>":we="<br/>",{start:Te,end:we}}else{if(o[pe])return{start:"<"+o[pe]+te+_e+">",end:"</"+o[pe]+">"};if(pe==="unordered-list-item")return{start:"<li"+te+_e+">",end:"</li>",nest:C.default.createElement("ul",null)};if(pe==="ordered-list-item")return{start:"<li"+te+_e+">",end:"</li>",nest:C.default.createElement("ol",null)}}}},K=function(X,$){return function(Q,W,le){if(!W||!W.style)return le;var te=X.unitImportFn||l,pe=le;return[].forEach.call(W.style,function(Le){if(Q==="span"&&Le==="color"){var De=i(W.style.color);pe=De?pe.add("COLOR-"+De.replace("#","").toUpperCase()):pe}else if(Q==="span"&&Le==="background-color"){var Z=i(W.style.backgroundColor);pe=Z?pe.add("BGCOLOR-"+Z.replace("#","").toUpperCase()):pe}else if(Q==="span"&&Le==="font-size")pe=pe.add("FONTSIZE-"+te(W.style.fontSize,"font-size",$));else if(Q==="span"&&Le==="line-height"&&!isNaN(parseFloat(W.style.lineHeight,10)))pe=pe.add("LINEHEIGHT-"+te(W.style.lineHeight,"line-height",$));else if(Q==="span"&&Le==="letter-spacing"&&!isNaN(parseFloat(W.style.letterSpacing,10)))pe=pe.add("LETTERSPACING-"+te(W.style.letterSpacing,"letter-spacing",$));else if(Q==="span"&&Le==="text-decoration")W.style.textDecoration==="line-through"?pe=pe.add("STRIKETHROUGH"):W.style.textDecoration==="underline"&&(pe=pe.add("UNDERLINE"));else if(Q==="span"&&Le==="font-family"){var Re=X.fontFamilies.find(function(Ye){return Ye.family.toLowerCase()===W.style.fontFamily.toLowerCase()});if(!Re)return;pe=pe.add("FONTFAMILY-"+Re.name.toUpperCase())}}),Q==="sup"?pe=pe.add("SUPERSCRIPT"):Q==="sub"&&(pe=pe.add("SUBSCRIPT")),X.styleImportFn&&(pe=X.styleImportFn(Q,W,pe,$)||pe),pe}},k=function(X,$){return function(Q,W,le){if(X&&X.entityImportFn){var te=X.entityImportFn(Q,W,le,$);if(te)return te}Q=Q.toLowerCase();var pe=W.alt,Le=W.title,De=W.id,Z=W.controls,Re=W.autoplay,Ye=W.loop,_e=W.poster,Ze={},qe={};if(De&&(Ze.id=De),pe&&(Ze.alt=pe),Le&&(Ze.title=Le),Z&&(Ze.controls=Z),Re&&(Ze.autoPlay=Re),Ye&&(Ze.loop=Ye),_e&&(Ze.poster=_e),W.attributes&&Object.keys(W.attributes).forEach(function(rt){var Fe=W.attributes[rt];s.indexOf(Fe.name)===-1&&(qe[Fe.name]=Fe.value)}),Q==="a"&&!W.querySelectorAll("img").length){var me=W.getAttribute("href"),ye=W.getAttribute("target");return le("LINK","MUTABLE",{href:me,target:ye,nodeAttributes:qe})}else{if(Q==="audio")return le("AUDIO","IMMUTABLE",{url:W.getAttribute("src"),meta:Ze,nodeAttributes:qe});if(Q==="video")return le("VIDEO","IMMUTABLE",{url:W.getAttribute("src"),meta:Ze,nodeAttributes:qe});if(Q==="img"){var Te=W.parentNode,we={meta:Ze},Me=W.style,Ne=Me.width,ze=Me.height;return we.url=W.getAttribute("src"),Ne&&(we.width=Ne),ze&&(we.height=ze),Te.nodeName.toLowerCase()==="a"&&(we.link=Te.getAttribute("href"),we.link_target=Te.getAttribute("target")),le("IMAGE","IMMUTABLE",we)}else{if(Q==="hr")return le("HR","IMMUTABLE",{});if(W.parentNode&&W.parentNode.classList.contains("embed-wrap")){var We=W.innerHTML||W.outerHTML;if(We)return le("EMBED","IMMUTABLE",{url:We})}}}}},j=function(X,$){return function(Q,W){if(X&&X.blockImportFn){var le=X.blockImportFn(Q,W,$);if(le)return le}var te={},pe=W.style||{};if(W.attributes&&Object.keys(W.attributes).forEach(function(De){var Z=W.attributes[De];p.indexOf(Z.name)===-1&&(te[Z.name]=Z.value)}),W.classList&&W.classList.contains("media-wrap"))return{type:"atomic",data:{nodeAttributes:te,float:pe.float,alignment:pe.textAlign}};if(Q==="img")return{type:"atomic",data:{nodeAttributes:te,float:pe.float,alignment:pe.textAlign}};if(Q==="hr")return{type:"atomic",data:{nodeAttributes:te}};if(Q==="pre")return W.innerHTML=W.innerHTML.replace(/<code(.*?)>/g,"").replace(/<\/code>/g,""),{type:"code-block",data:{nodeAttributes:te}};if(x.indexOf(Q)!==-1){var Le={nodeAttributes:te};return pe.textAlign&&(Le.textAlign=pe.textAlign),pe.textIndent&&(Le.textIndent=/^\d+em$/.test(pe.textIndent)?Math.ceil(parseInt(pe.textIndent,10)/2):1),{type:u[x.indexOf(Q)],data:Le}}}},z=D.getToHTMLConfig=function(X){return{styleToHTML:B(X),entityToHTML:f(X),blockToHTML:U(X)}},M=D.getFromHTMLConfig=function(X){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"unknow";return{htmlToStyle:K(X,$),htmlToEntity:k(X,$),htmlToBlock:j(X,$)}}},91796:function(J,D,r){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.convertRawToEditorState=D.convertEditorStateToRaw=D.convertHTMLToEditorState=D.convertEditorStateToHTML=D.convertHTMLToRaw=D.convertRawToHTML=void 0;var S=Object.assign||function(a){for(var d=1;d<arguments.length;d++){var i=arguments[d];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(a[o]=i[o])}return a},A=r(9945),C=r(97683),g=r(87937),h={fontFamilies:C.defaultFontFamilies},b=D.convertRawToHTML=function(d,i){i=S({},h,i);try{var o=(0,g.convertFromRaw)(d);return i.contentState=o,(0,A.convertToHTML)((0,C.getToHTMLConfig)(i))(o)}catch(u){return console.warn(u),""}},E=D.convertHTMLToRaw=function(d,i,o){i=S({},h,i);try{var u=(0,A.convertFromHTML)((0,C.getFromHTMLConfig)(i,o))(d);return(0,g.convertToRaw)(u)}catch(x){return console.warn(x),{}}},c=D.convertEditorStateToHTML=function(d,i){i=S({},h,i);try{var o=d.getCurrentContent();return i.contentState=o,(0,A.convertToHTML)((0,C.getToHTMLConfig)(i))(o)}catch(u){return console.warn(u),""}},l=D.convertHTMLToEditorState=function(d,i,o,u){o=S({},h,o);try{return g.EditorState.createWithContent((0,A.convertFromHTML)((0,C.getFromHTMLConfig)(o,u))(d),i)}catch(x){return console.warn(x),g.EditorState.createEmpty(i)}},p=D.convertEditorStateToRaw=function(d){return(0,g.convertToRaw)(d.getCurrentContent())},s=D.convertRawToEditorState=function(d,i){try{return g.EditorState.createWithContent((0,g.convertFromRaw)(d),i)}catch(o){return console.warn(o),g.EditorState.createEmpty(i)}}},64658:function(J,D,r){(function(A,C){if(!0)J.exports=C(r(93236),r(10881),r(87937),r(52724),r(91796),r(19103),r(80306),r(57865));else var g,h})(window,function(S,A,C,g,h,b,E,c){return function(l){var p={};function s(a){if(p[a])return p[a].exports;var d=p[a]={i:a,l:!1,exports:{}};return l[a].call(d.exports,d,d.exports,s),d.l=!0,d.exports}return s.m=l,s.c=p,s.d=function(a,d,i){s.o(a,d)||Object.defineProperty(a,d,{enumerable:!0,get:i})},s.r=function(a){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},s.t=function(a,d){if(d&1&&(a=s(a)),d&8||d&4&&typeof a=="object"&&a&&a.__esModule)return a;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:a}),d&2&&typeof a!="string")for(var o in a)s.d(i,o,function(u){return a[u]}.bind(null,o));return i},s.n=function(a){var d=a&&a.__esModule?function(){return a.default}:function(){return a};return s.d(d,"a",d),d},s.o=function(a,d){return Object.prototype.hasOwnProperty.call(a,d)},s.p="/",s(s.s=39)}([function(l,p){l.exports=S},function(l,p){function s(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}l.exports=s},function(l,p){function s(a,d,i){return d in a?Object.defineProperty(a,d,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[d]=i,a}l.exports=s},function(l,p){l.exports=A},function(l,p){function s(a,d){if(!(a instanceof d))throw new TypeError("Cannot call a class as a function")}l.exports=s},function(l,p,s){var a=s(2);function d(i){for(var o=1;o<arguments.length;o++){var u=arguments[o]!=null?arguments[o]:{},x=Object.keys(u);typeof Object.getOwnPropertySymbols=="function"&&(x=x.concat(Object.getOwnPropertySymbols(u).filter(function(F){return Object.getOwnPropertyDescriptor(u,F).enumerable}))),x.forEach(function(F){a(i,F,u[F])})}return i}l.exports=d},function(l,p){l.exports=C},function(l,p){function s(d,i){for(var o=0;o<i.length;o++){var u=i[o];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(d,u.key,u)}}function a(d,i,o){return i&&s(d.prototype,i),o&&s(d,o),d}l.exports=a},function(l,p,s){var a=s(15),d=s(1);function i(o,u){return u&&(a(u)==="object"||typeof u=="function")?u:d(o)}l.exports=i},function(l,p){function s(a){return l.exports=s=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},s(a)}l.exports=s},function(l,p,s){var a=s(26);function d(i,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(o&&o.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),o&&a(i,o)}l.exports=d},function(l,p){function s(){return l.exports=s=Object.assign||function(a){for(var d=1;d<arguments.length;d++){var i=arguments[d];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(a[o]=i[o])}return a},s.apply(this,arguments)}l.exports=s},function(l,p,s){var a=s(27),d=s(28),i=s(29);function o(u){return a(u)||d(u)||i()}l.exports=o},function(l,p){l.exports=g},function(l,p){l.exports=h},function(l,p){function s(d){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(o){return typeof o}:s=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},s(d)}function a(d){return typeof Symbol=="function"&&s(Symbol.iterator)==="symbol"?l.exports=a=function(o){return s(o)}:l.exports=a=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":s(o)},a(d)}l.exports=a},function(l,p){l.exports=b},function(l,p){l.exports=E},function(l,p,s){var a=s(13),d="-";function i(o){this.decorators=a.List(o)}i.prototype.getDecorations=function(o){var u=Array(o.getText().length).fill(null);return this.decorators.forEach(function(x,F){var f=x.getDecorations(o);f.forEach(function(B,U){B&&(B=F+d+B,u[U]=B)})}),a.List(u)},i.prototype.getComponentForKey=function(o){var u=this.getDecoratorForKey(o);return u.getComponentForKey(this.getInnerKey(o))},i.prototype.getPropsForKey=function(o){var u=this.getDecoratorForKey(o);return u.getPropsForKey(this.getInnerKey(o))},i.prototype.getDecoratorForKey=function(o){var u=o.split(d),x=Number(u[0]);return this.decorators.get(x)},i.prototype.getInnerKey=function(o){var u=o.split(d);return u.slice(1).join(d)},l.exports=i},function(l,p,s){"use strict";function a(z,M){if(!(z instanceof M))throw new TypeError("Cannot call a class as a function")}function d(z,M){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:z}function i(z,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);z.prototype=Object.create(M&&M.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(z,M):z.__proto__=M)}var o=s(13),u=o.Map,x=o.OrderedSet,F=o.Record,f=x(),B={style:f,entity:null},U=F(B),K=function(z){i(M,z);function M(){return a(this,M),d(this,z.apply(this,arguments))}return M.prototype.getStyle=function(){return this.get("style")},M.prototype.getEntity=function(){return this.get("entity")},M.prototype.hasStyle=function(X){return this.getStyle().includes(X)},M.applyStyle=function(X,$){var Q=X.set("style",X.getStyle().add($));return M.create(Q)},M.removeStyle=function(X,$){var Q=X.set("style",X.getStyle().remove($));return M.create(Q)},M.applyEntity=function(X,$){var Q=X.getEntity()===$?X:X.set("entity",$);return M.create(Q)},M.create=function(X){if(!X)return k;var $={style:f,entity:null},Q=u($).merge(X),W=j.get(Q);if(W)return W;var le=new M(Q);return j=j.set(Q,le),le},M}(U),k=new K,j=u([[u(B),k]]);K.EMPTY=k,l.exports=K},function(l,p,s){"use strict";function a(d,i,o,u){if(d.size){var x=0;d.reduce(function(F,f,B){return i(F,f)||(o(F)&&u(x,B),x=B),f}),o(d.last())&&u(x,d.count())}}l.exports=a},function(l,p,s){var a=s(25);function d(i,o){if(i==null)return{};var u=a(i,o),x,F;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(i);for(F=0;F<f.length;F++)x=f[F],!(o.indexOf(x)>=0)&&Object.prototype.propertyIsEnumerable.call(i,x)&&(u[x]=i[x])}return u}l.exports=d},function(l,p,s){"use strict";var a=s(30);function d(i){var o=i.getSelection();return o.isCollapsed()?null:a(i.getCurrentContent(),o)}l.exports=d},function(l,p){l.exports=c},function(l,p,s){var a=s(36),d=s(37),i=s(38);function o(u,x){return a(u)||d(u,x)||i()}l.exports=o},function(l,p){function s(a,d){if(a==null)return{};var i={},o=Object.keys(a),u,x;for(x=0;x<o.length;x++)u=o[x],!(d.indexOf(u)>=0)&&(i[u]=a[u]);return i}l.exports=s},function(l,p){function s(a,d){return l.exports=s=Object.setPrototypeOf||function(o,u){return o.__proto__=u,o},s(a,d)}l.exports=s},function(l,p){function s(a){if(Array.isArray(a)){for(var d=0,i=new Array(a.length);d<a.length;d++)i[d]=a[d];return i}}l.exports=s},function(l,p){function s(a){if(Symbol.iterator in Object(a)||Object.prototype.toString.call(a)==="[object Arguments]")return Array.from(a)}l.exports=s},function(l,p){function s(){throw new TypeError("Invalid attempt to spread non-iterable instance")}l.exports=s},function(l,p,s){"use strict";var a=s(31),d=s(34),i=function(u,x){var F=x.getStartKey(),f=x.getStartOffset(),B=x.getEndKey(),U=x.getEndOffset(),K=d(u,x),k=K.getBlockMap(),j=k.keySeq(),z=j.indexOf(F),M=j.indexOf(B)+1;return a(k.slice(z,M).map(function(I,X){var $=I.getText(),Q=I.getCharacterList();return F===B?I.merge({text:$.slice(f,U),characterList:Q.slice(f,U)}):X===F?I.merge({text:$.slice(f),characterList:Q.slice(f)}):X===B?I.merge({text:$.slice(0,U),characterList:Q.slice(0,U)}):I}))};l.exports=i},function(l,p,s){"use strict";var a=s(32),d=s(13),i=s(33),o=d.OrderedMap,u=function(B){var U={},K=void 0;return o(B.withMutations(function(k){k.forEach(function(j,z){var M=j.getKey(),I=j.getNextSiblingKey(),X=j.getPrevSiblingKey(),$=j.getChildKeys(),Q=j.getParentKey(),W=i();if(U[M]=W,I){var le=k.get(I);le?k.setIn([I,"prevSibling"],W):k.setIn([M,"nextSibling"],null)}if(X){var te=k.get(X);te?k.setIn([X,"nextSibling"],W):k.setIn([M,"prevSibling"],null)}if(Q&&k.get(Q)){var pe=k.get(Q),Le=pe.getChildKeys();k.setIn([Q,"children"],Le.set(Le.indexOf(j.getKey()),W))}else k.setIn([M,"parent"],null),K&&(k.setIn([K.getKey(),"nextSibling"],W),k.setIn([M,"prevSibling"],U[K.getKey()])),K=k.get(M);$.forEach(function(De){var Z=k.get(De);Z?k.setIn([De,"parent"],W):k.setIn([M,"children"],j.getChildKeys().filter(function(Re){return Re!==De}))})})}).toArray().map(function(k){return[U[k.getKey()],k.set("key",U[k.getKey()])]}))},x=function(B){return o(B.toArray().map(function(U){var K=i();return[K,U.set("key",K)]}))},F=function(B){var U=B.first()instanceof a;return U?u(B):x(B)};l.exports=F},function(l,p,s){"use strict";function a($,Q){if(!($ instanceof Q))throw new TypeError("Cannot call a class as a function")}function d($,Q){if(!$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Q&&(typeof Q=="object"||typeof Q=="function")?Q:$}function i($,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Q);$.prototype=Object.create(Q&&Q.prototype,{constructor:{value:$,enumerable:!1,writable:!0,configurable:!0}}),Q&&(Object.setPrototypeOf?Object.setPrototypeOf($,Q):$.__proto__=Q)}var o=s(19),u=s(13),x=s(20),F=u.List,f=u.Map,B=u.OrderedSet,U=u.Record,K=u.Repeat,k=B(),j={parent:null,characterList:F(),data:f(),depth:0,key:"",text:"",type:"unstyled",children:F(),prevSibling:null,nextSibling:null},z=function(Q,W){return Q.getStyle()===W.getStyle()},M=function(Q,W){return Q.getEntity()===W.getEntity()},I=function(Q){if(!Q)return Q;var W=Q.characterList,le=Q.text;return le&&!W&&(Q.characterList=F(K(o.EMPTY,le.length))),Q},X=function($){i(Q,$);function Q(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:j;return a(this,Q),d(this,$.call(this,I(W)))}return Q.prototype.getKey=function(){return this.get("key")},Q.prototype.getType=function(){return this.get("type")},Q.prototype.getText=function(){return this.get("text")},Q.prototype.getCharacterList=function(){return this.get("characterList")},Q.prototype.getLength=function(){return this.getText().length},Q.prototype.getDepth=function(){return this.get("depth")},Q.prototype.getData=function(){return this.get("data")},Q.prototype.getInlineStyleAt=function(le){var te=this.getCharacterList().get(le);return te?te.getStyle():k},Q.prototype.getEntityAt=function(le){var te=this.getCharacterList().get(le);return te?te.getEntity():null},Q.prototype.getChildKeys=function(){return this.get("children")},Q.prototype.getParentKey=function(){return this.get("parent")},Q.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},Q.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},Q.prototype.findStyleRanges=function(le,te){x(this.getCharacterList(),z,le,te)},Q.prototype.findEntityRanges=function(le,te){x(this.getCharacterList(),M,le,te)},Q}(U(j));l.exports=X},function(l,p,s){"use strict";var a={},d=Math.pow(2,24);function i(){for(var o=void 0;o===void 0||a.hasOwnProperty(o)||!isNaN(+o);)o=Math.floor(Math.random()*d).toString(32);return a[o]=!0,o}l.exports=i},function(l,p,s){"use strict";var a=s(19),d=s(20),i=s(35);function o(F,f){var B=F.getBlockMap(),U=F.getEntityMap(),K={},k=f.getStartKey(),j=f.getStartOffset(),z=B.get(k),M=x(U,z,j);M!==z&&(K[k]=M);var I=f.getEndKey(),X=f.getEndOffset(),$=B.get(I);k===I&&($=M);var Q=x(U,$,X);return Q!==$&&(K[I]=Q),Object.keys(K).length?F.merge({blockMap:B.merge(K),selectionAfter:f}):F.set("selectionAfter",f)}function u(F,f,B){var U;return d(F,function(K,k){return K.getEntity()===k.getEntity()},function(K){return K.getEntity()===f},function(K,k){K<=B&&k>=B&&(U={start:K,end:k})}),typeof U!="object"&&i(!1),U}function x(F,f,B){var U=f.getCharacterList(),K=B>0?U.get(B-1):void 0,k=B<U.count()?U.get(B):void 0,j=K?K.getEntity():void 0,z=k?k.getEntity():void 0;if(z&&z===j){var M=F.__get(z);if(M.getMutability()!=="MUTABLE"){for(var I=u(U,z,B),X=I.start,$=I.end,Q;X<$;)Q=U.get(X),U=U.set(X,a.applyEntity(Q,null)),X++;return f.set("characterList",U)}}return f}l.exports=o},function(l,p,s){"use strict";var a=function(o){};function d(i,o,u,x,F,f,B,U){if(a(o),!i){var K;if(o===void 0)K=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[u,x,F,f,B,U],j=0;K=new Error(o.replace(/%s/g,function(){return k[j++]})),K.name="Invariant Violation"}throw K.framesToPop=1,K}}l.exports=d},function(l,p){function s(a){if(Array.isArray(a))return a}l.exports=s},function(l,p){function s(a,d){var i=[],o=!0,u=!1,x=void 0;try{for(var F=a[Symbol.iterator](),f;!(o=(f=F.next()).done)&&(i.push(f.value),!(d&&i.length===d));o=!0);}catch(B){u=!0,x=B}finally{try{!o&&F.return!=null&&F.return()}finally{if(u)throw x}}return i}l.exports=s},function(l,p){function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}l.exports=s},function(l,p,s){"use strict";s.r(p);var a=s(15),d=s.n(a),i=s(5),o=s.n(i),u=s(21),x=s.n(u),F=s(4),f=s.n(F),B=s(7),U=s.n(B),K=s(8),k=s.n(K),j=s(9),z=s.n(j),M=s(1),I=s.n(M),X=s(10),$=s.n(X),Q=s(2),W=s.n(Q),le=s(12),te=s.n(le),pe=s(40),Le=s(42),De=s(0),Z=s.n(De),Re={base:{remove:"Remove",cancel:"Cancel",confirm:"Confirm",inert:"Insert",width:"Width",height:"Height"},controls:{clear:"Clear",undo:"Undo",redo:"Redo",fontSize:"Font Size",color:"Color",textColor:"Text",tempColors:"Temp Colors",backgroundColor:"Background",bold:"Bold",lineHeight:"Line Height",letterSpacing:"Letter Spacing",textIndent:"Text Indent",increaseIndent:"Increase Indent",decreaseIndent:"Decrease Indent",italic:"Italic",underline:"Underline",strikeThrough:"Strike Through",fontFamily:"Font Family",textAlign:"Text Alignment",alignLeft:"Left Alignment",alignCenter:"Center Alignment",alignRight:"Right Alignment",alignJustify:"Justify Alignment",floatLeft:"Left Float",floatRight:"Right Float",superScript:"Super Script",subScript:"Sub Script",removeStyles:"Remove Styles",headings:"Headings",header:"Header",normal:"Normal",orderedList:"Ordered List",unorderedList:"Unordered List",blockQuote:"Quote",code:"Code",link:"Link",unlink:"Unlink",hr:"Horizontal Line",media:"Media",mediaLibirary:"Media Library",emoji:"Emoji",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen"},linkEditor:{textInputPlaceHolder:"Input link text",linkInputPlaceHolder:"Input link URL",inputWithEnterPlaceHolder:"Input link URL and press Enter",openInNewWindow:"Open in new window",removeLink:"Remove Link"},audioPlayer:{title:"Play Audio"},videoPlayer:{title:"Play Video",embedTitle:"Embed Media"},media:{image:"Image",video:"Video",audio:"Audio",embed:"Embed"}},Ye={base:{remove:"\u5220\u9664",cancel:"\u53D6\u6D88",confirm:"\u786E\u5B9A",inert:"\u63D2\u5165",width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6"},controls:{clear:"\u6E05\u9664\u5185\u5BB9",undo:"\u64A4\u9500",redo:"\u91CD\u505A",fontSize:"\u5B57\u53F7",lineHeight:"\u884C\u9AD8",letterSpacing:"\u5B57\u95F4\u8DDD",textIndent:"\u6BB5\u843D\u7F29\u8FDB",increaseIndent:"\u589E\u52A0\u7F29\u8FDB",decreaseIndent:"\u51CF\u5C11\u7F29\u8FDB",border:"\u8FB9\u6846",color:"\u989C\u8272",textColor:"\u6587\u5B57\u989C\u8272",backgroundColor:"\u80CC\u666F\u989C\u8272",tempColors:"\u4E34\u65F6\u989C\u8272",bold:"\u52A0\u7C97",italic:"\u659C\u4F53",underline:"\u4E0B\u5212\u7EBF",strikeThrough:"\u5220\u9664\u7EBF",fontFamily:"\u5B57\u4F53",textAlign:"\u6587\u672C\u5BF9\u9F50",alignLeft:"\u5C45\u5DE6",alignCenter:"\u5C45\u4E2D",alignRight:"\u5C45\u53F3",alignJustify:"\u4E24\u7AEF",floatLeft:"\u5DE6\u6D6E\u52A8",floatRight:"\u53F3\u6D6E\u52A8",superScript:"\u4E0A\u6807",subScript:"\u4E0B\u6807",removeStyles:"\u6E05\u9664\u6837\u5F0F",headings:"\u6807\u9898",header:"\u6807\u9898",normal:"\u5E38\u89C4",orderedList:"\u6709\u5E8F\u5217\u8868",unorderedList:"\u65E0\u5E8F\u5217\u8868",blockQuote:"\u5F15\u7528",code:"\u4EE3\u7801",link:"\u94FE\u63A5",unlink:"\u6E05\u9664\u94FE\u63A5",hr:"\u6C34\u5E73\u7EBF",media:"\u5A92\u4F53",mediaLibirary:"\u5A92\u4F53\u5E93",emoji:"\u5C0F\u8868\u60C5",fullscreen:"\u5168\u5C4F",exitFullscreen:"\u9000\u51FA\u5168\u5C4F"},linkEditor:{textInputPlaceHolder:"\u8F93\u5165\u94FE\u63A5\u6587\u5B57",linkInputPlaceHolder:"\u8F93\u5165\u94FE\u63A5\u5730\u5740",inputWithEnterPlaceHolder:"\u8F93\u5165\u94FE\u63A5\u5730\u5740\u5E76\u56DE\u8F66",openInNewWindow:"\u5728\u65B0\u7A97\u53E3\u6253\u5F00",removeLink:"\u79FB\u9664\u94FE\u63A5"},audioPlayer:{title:"\u64AD\u653E\u97F3\u9891\u6587\u4EF6"},videoPlayer:{title:"\u64AD\u653E\u89C6\u9891\u6587\u4EF6",embedTitle:"\u5D4C\u5165\u5F0F\u5A92\u4F53"},media:{image:"\u56FE\u50CF",video:"\u89C6\u9891",audio:"\u97F3\u9891",embed:"\u5D4C\u5165\u5F0F\u5A92\u4F53"}},_e={base:{remove:"\u522A\u9664",cancel:"\u53D6\u6D88",confirm:"\u78BA\u5B9A",inert:"\u63D2\u5165",width:"\u5BEC\u5EA6",height:"\u9AD8\u5EA6"},controls:{clear:"\u6E05\u9664\u5185\u5BB9",undo:"\u5FA9\u539F",redo:"\u53D6\u6D88\u5FA9\u539F",fontSize:"\u5B57\u578B\u5927\u5C0F",color:"\u984F\u8272",textColor:"\u6587\u5B57\u984F\u8272",backgroundColor:"\u80CC\u666F\u984F\u8272",tempColors:"\u81E8\u6642\u984F\u8272",bold:"\u7C97\u9AD4",lineHeight:"\u884C\u9AD8",letterSpacing:"\u5B57\u9593\u8DDD",textIndent:"\u6BB5\u843D\u7E2E\u9032",increaseIndent:"\u589E\u52A0\u7E2E\u9032",decreaseIndent:"\u51CF\u5C11\u7E2E\u9032",border:"\u908A\u6846",italic:"\u659C\u9AD4",underline:"\u5E95\u7DDA",strikeThrough:"\u522A\u9664\u7DDA",fontFamily:"\u5B57\u9AD4",textAlign:"\u6587\u5B57\u5C0D\u9F4A",alignLeft:"\u7F6E\u5DE6",alignCenter:"\u7F6E\u4E2D",alignRight:"\u7F6E\u53F3",alignJustify:"\u5DE6\u53F3\u5C0D\u9F4A",floatLeft:"\u5DE6\u6D6E\u52D5",floatRight:"\u53F3\u6D6E\u52D5",superScript:"\u4E0A\u6A19",subScript:"\u4E0B\u6A19",removeStyles:"\u6E05\u9664\u6A23\u5F0F",headings:"\u6A19\u984C",header:"\u6A19\u984C",normal:"\u5E38\u898F",orderedList:"\u6709\u5E8F\u5217\u8868",unorderedList:"\u7121\u5E8F\u5217\u8868",blockQuote:"\u5F15\u7528",code:"\u7A0B\u5F0F\u78BC",link:"\u9023\u7D50",unlink:"\u6E05\u9664\u9023\u7D50",hr:"\u6C34\u5E73\u7DDA",media:"\u5A92\u9AD4",mediaLibirary:"\u5A92\u9AD4\u5EAB",emoji:"\u8868\u60C5\u7B26\u865F",fullscreen:"\u5168\u87A2\u5E55",exitFullscreen:"\u9000\u51FA\u5168\u87A2\u5E55"},linkEditor:{textInputPlaceHolder:"\u8F38\u5165\u9023\u7D50\u6587\u5B57",linkInputPlaceHolder:"\u8F38\u5165\u9023\u7D50\u5730\u5740",inputWithEnterPlaceHolder:"\u8F38\u5165\u9023\u7D50\u5730\u5740\u4E26\u63DB\u884C",openInNewWindow:"\u5728\u65B0\u8996\u7A97\u6253\u958B",removeLink:"\u79FB\u9664\u9023\u7D50"},audioPlayer:{title:"\u64AD\u653E\u97F3\u6A94"},videoPlayer:{title:"\u64AD\u653E\u5F71\u7247",embedTitle:"\u5D4C\u5165\u5F0F\u5A92\u9AD4"},media:{image:"\u5716\u7247",video:"\u5F71\u7247",audio:"\u97F3\u6A94",embed:"\u5D4C\u5165\u5F0F\u5A92\u9AD4"}},Ze={base:{remove:"Usu\u0144",cancel:"Anuluj",confirm:"Potwierd\u017A",inert:"Wstaw",width:"Szeroko\u015B\u0107",height:"Wysoko\u015B\u0107"},controls:{clear:"Wyczy\u015B\u0107",undo:"Cofnij",redo:"Przywr\xF3\u0107",fontSize:"Wielko\u015B\u0107",color:"Kolor",textColor:"Kolor tekstu",tempColors:"Kolory",backgroundColor:"T\u0142o",bold:"Pogrubienie",lineHeight:"Wysoko\u015B\u0107 linii",letterSpacing:"Odst\u0119p znak\xF3w",textIndent:"Wci\u0119cie tekstu",increaseIndent:"Zwi\u0119ksz wci\u0119cie",decreaseIndent:"Zmniejsz wci\u0119cie",italic:"Italiki",underline:"Podkre\u015Blenie",strikeThrough:"Przekre\u015Blenie",fontFamily:"Czcionka",textAlign:"Wyr\xF3wnanie tekstu",alignLeft:"Do lewej",alignCenter:"Wycentruj",alignRight:"Do prawej",alignJustify:"Wyjustuj",floatLeft:"Do lewej",floatRight:"Do prawej",superScript:"Superskrypt",subScript:"Subskrypt",removeStyles:"Usu\u0144 stylowanie",headings:"Nag\u0142\xF3wki",header:"Nag\u0142\xF3wek",normal:"Normalny",orderedList:"Lista uporz\u0105dkowana",unorderedList:"Lista nieuporz\u0105dkowana",blockQuote:"Cytat",code:"Kod",link:"Link",unlink:"Usu\u0144 link",hr:"Linia pozioma",media:"Media",mediaLibirary:"Biblioteka medi\xF3w",emoji:"Emoji"},linkEditor:{textInputPlaceHolder:"Wpisz tekst linku",linkInputPlaceHolder:"Wpisz Adres URL",inputWithEnterPlaceHolder:"Wpisz adres URL i naci\u015Bnij Enter",openInNewWindow:"Otw\xF3rz w nowym oknie",removeLink:"Usu\u0144 link"},audioPlayer:{title:"Odtw\xF3rz audio"},videoPlayer:{title:"Odtw\xF3rz wideo",embedTitle:"Tytu\u0142"},media:{image:"Obraz",video:"Wideo",audio:"Audio",embed:"Obiekt osadzony"}},qe={base:{remove:"\uC0AD\uC81C",cancel:"\uCDE8\uC18C",confirm:"\uACB0\uC815",inert:"\uC0BD\uC785",width:"\uB108\uBE44",height:"\uB192\uC774"},controls:{clear:"\uCF58\uD150\uCE20\uC9C0\uC6B0\uAE30",undo:"\uCDE8\uC18C",redo:"\uB2E4\uC2DC\uD558\uAE30",fontSize:"\uAE00\uC790\uD06C\uAE30",lineHeight:"\uD589\uB192\uC774",letterSpacing:"\uB2E8\uC5B4\uAC04\uACA9",textIndent:"\uB2E8\uB77D\uB4E4\uC5EC\uC4F0\uAE30",increaseIndent:"\uB4E4\uC5EC\uC4F0\uAE30\uB298\uB9AC\uAE30",decreaseIndent:"\uB4E4\uC5EC\uC4F0\uAE30\uC904\uC774\uAE30",border:"\uAD6D\uACBD",color:"\uC0C9\uC0C1",textColor:"\uD14D\uC2A4\uD2B8\uC0C9\uC0C1",backgroundColor:"\uBC30\uACBD\uC0C9\uC0C1",tempColors:"\uC784\uC2DC\uC0C9",bold:"\uAD75\uAC8C",italic:"\uAE30\uC6B8\uC784\uAF34",underline:"\uBC11\uC904",strikeThrough:"\uCDE8\uC18C\uC120",fontFamily:"\uAE00\uAF34",textAlign:"\uD14D\uC2A4\uD2B8\uC815\uB82C",alignLeft:"\uC67C\uCABD",alignCenter:"\uC911\uC2EC",alignRight:"\uC624\uB978\uCABD",alignJustify:"\uC591\uCABD\uB05D",floatLeft:"\uB5A0\uB2E4\uB2C8\uAE30",floatRight:"\uC624\uB978\uCABD\uBD80\uB3D9",superScript:"\uC704\uCCA8\uC790",subScript:"\uCCA8\uC790",removeStyles:"\uC2A4\uD0C0\uC77C\uC9C0\uC6B0\uAE30",headings:"\uC81C\uBAA9",header:"\uC81C\uBAA9",normal:"\uC7AC\uB798\uC2DD",orderedList:"\uC21C\uC11C\uAC00\uC9C0\uC815\uB41C\uBAA9\uB85D",unorderedList:"\uC815\uB82C\uB418\uC9C0\uC54A\uC740\uBAA9\uB85D",blockQuote:"\uCC38\uACE0\uBB38\uD5CC",code:"\uCF54\uB4DC",link:"\uB9C1\uD06C",unlink:"\uB9C1\uD06C\uC0AD\uC81C",hr:"\uC218\uD3C9\uC120",media:"\uBBF8\uB514\uC5B4",mediaLibirary:"\uBBF8\uB514\uC5B4\uB77C\uC774\uBE0C\uB7EC\uB9AC",emoji:"\uC791\uC740\uD45C\uD604",fullscreen:"\uC804\uCCB4\uD654\uBA74",exitFullscreen:"\uC804\uCCB4\uD654\uBA74\uC885\uB8CC"},linkEditor:{textInputPlaceHolder:"\uB9C1\uD06C\uD14D\uC2A4\uD2B8\uC785\uB825",linkInputPlaceHolder:"\uB9C1\uD06C\uC8FC\uC18C\uC785\uB825",inputWithEnterPlaceHolder:"\uB9C1\uD06C\uC8FC\uC18C\uC785\uB825.",openInNewWindow:"\uC0C8\uCC3D\uC5F4\uAE30",removeLink:"\uB9C1\uD06C\uC0AD\uC81C"},audioPlayer:{title:"\uC624\uB514\uC624\uD30C\uC77C\uC7AC\uC0DD"},videoPlayer:{title:"\uBE44\uB514\uC624\uD30C\uC77C\uC7AC\uC0DD",embedTitle:"\uC784\uBCA0\uB514\uB4DC\uBBF8\uB514\uC5B4"},media:{image:"\uC774\uBBF8\uC9C0",video:"\uBE44\uB514\uC624",audio:"\uC624\uB514\uC624",embed:"\uC784\uBCA0\uB514\uB4DC\uBBF8\uB514\uC5B4"}},me={base:{remove:"Kald\u0131r",cancel:"\u0130ptal",confirm:"Onayla",inert:"Ekle",width:"Geni\u015Flik",height:"Y\xFCkseklik"},controls:{clear:"Temizle",undo:"Geri al",redo:"\u0130leri al",fontSize:"Yaz\u0131 boyutu",color:"Renk",textColor:"Yaz\u0131 rengi",tempColors:"Ge\xE7ici renkler",backgroundColor:"Arkaplan",bold:"Kal\u0131n",lineHeight:"Sat\u0131r y\xFCksekli\u011Fi",letterSpacing:"Harf aral\u0131\u011F\u0131",textIndent:"\xC7entik aral\u0131\u011F\u0131",increaseIndent:"\xC7enti\u011Fi geni\u015Flet",decreaseIndent:"\xC7enti\u011Fi daralt",italic:"E\u011Fik",underline:"Alt\u0131 \xE7izili",strikeThrough:"\xDCst\xFC \xE7izili",fontFamily:"Yaz\u0131 tipi",textAlign:"Metin Hizalama",alignLeft:"Sola hizala",alignCenter:"Ortaya hizala",alignRight:"Sa\u011Fa hizala",alignJustify:"Her iki tarafa hizala",floatLeft:"Sola yat\u0131r",floatRight:"Sa\u011Fa yat\u0131r",superScript:"Ana kod",subScript:"Alt kod",removeStyles:"Stilleri kald\u0131r",headings:"Ba\u015Fl\u0131klar",header:"Ba\u015Fl\u0131k",normal:"Normal",orderedList:"S\u0131ral\u0131 liste",unorderedList:"S\u0131ras\u0131z liste",blockQuote:"Al\u0131nt\u0131",code:"Kod",link:"Ba\u011Flant\u0131",unlink:"Ba\u011Flant\u0131y\u0131 kald\u0131r",hr:"Yatay \xE7izgi",media:"Medya",mediaLibirary:"K\xFCt\xFCphane",emoji:"\u0130fade",fullscreen:"Tam ekran",exitFullscreen:"Tam ekrandan \xE7\u0131k"},linkEditor:{textInputPlaceHolder:"Ba\u011Flant\u0131 metnini girin",linkInputPlaceHolder:"Ba\u011Flant\u0131 URL' si girin",inputWithEnterPlaceHolder:"Ba\u011Flant\u0131 URL'si girin ve Enter' a bas\u0131n",openInNewWindow:"Yeni pencerede a\xE7",removeLink:"Ba\u011Flant\u0131y\u0131 kald\u0131r"},audioPlayer:{title:"Ses \xE7al"},videoPlayer:{title:"G\xF6r\xFCnt\xFC oynat",embedTitle:"G\xF6r\xFCnt\xFCy\xFC g\xF6m"},media:{image:"Resim",video:"G\xF6r\xFCnt\xFC",audio:"Ses",embed:"G\xF6m\xFCl\xFC nesne"}},ye={base:{remove:"\u524A\u9664",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",confirm:"\u6C7A\u5B9A",inert:"\u633F\u5165",width:"\u5E45",height:"\u9AD8\u3055"},controls:{clear:"\u30AF\u30EA\u30A2\u30B3\u30F3\u30C6\u30F3\u30C4",undo:"\u30AD\u30E3\u30F3\u30BB\u30EB",redo:"\u30AD\u30E3\u30F3\u30BB\u30EB",fontSize:"\u30D5\u30A9\u30F3\u30C8\u30B5\u30A4\u30BA",lineHeight:"\u30D5\u30A9\u30F3\u30C8\u30B5\u30A4\u30BA",letterSpacing:"\u30EF\u30FC\u30C9\u9593\u9694",textIndent:"\u6BB5\u843D\u306E\u30A4\u30F3\u30C7\u30F3\u30C8",increaseIndent:"\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u5897\u3084\u3059",decreaseIndent:"\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u6E1B\u3089\u3059",border:"\u56FD\u5883",color:"\u8272",textColor:"\u30C6\u30AD\u30B9\u30C8\u306E\u8272",backgroundColor:"\u80CC\u666F\u8272",tempColors:"\u4EEE\u8272",bold:"\u592A\u5B57",italic:"\u30A4\u30BF\u30EA\u30C3\u30AF\u4F53",underline:"\u4E0B\u7DDA",strikeThrough:"\u53D6\u308A\u6D88\u3057\u7DDA",fontFamily:"\u30D5\u30A9\u30F3\u30C8",textAlign:"\u30C6\u30AD\u30B9\u30C8\u306E\u914D\u7F6E",alignLeft:"\u5DE6",alignCenter:"\u4E2D\u592E\u63C3\u3048",alignRight:"\u53F3\u306B\u7ACB\u3064",alignJustify:"\u4E21\u7AEF",floatLeft:"\u5DE6\u30D5\u30ED\u30FC\u30C6\u30A3\u30F3\u30B0",floatRight:"\u53F3\u30D5\u30ED\u30FC\u30C6\u30A3\u30F3\u30B0",superScript:"\u4E0A\u4ED8\u304D",subScript:"\u4E0B\u4ED8\u304D\u6587\u5B57",removeStyles:"\u30AF\u30EA\u30A2\u30B9\u30BF\u30A4\u30EB",headings:"\u5F79\u8077",header:"\u5F79\u8077",normal:"\u5F93\u6765\u306E",orderedList:"\u9806\u5E8F\u4ED8\u304D\u30EA\u30B9\u30C8",unorderedList:"\u756A\u53F7\u306A\u3057\u30EA\u30B9\u30C8",blockQuote:"\u53C2\u7167",code:"\u30B3\u30FC\u30C9",link:"\u30EA\u30F3\u30AF",unlink:"\u30EA\u30F3\u30AF\u3092\u89E3\u9664",hr:"\u6A2A\u7DDA",media:"\u30E1\u30C7\u30A3\u30A2",mediaLibirary:"\u30E1\u30C7\u30A3\u30A2\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC",emoji:"\u5C0F\u3055\u306A\u8868\u73FE",fullscreen:"\u5168\u753B\u9762",exitFullscreen:"\u5168\u753B\u9762\u3092\u9000\u304F"},linkEditor:{textInputPlaceHolder:"\u30EA\u30F3\u30AF\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B",linkInputPlaceHolder:"\u30EA\u30F3\u30AF\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B",inputWithEnterPlaceHolder:"\u30EA\u30F3\u30AF\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u623B\u308A\u307E\u3059",openInNewWindow:"\u65B0\u3057\u3044\u30A6\u30A3\u30F3\u30C9\u30A6\u3067\u958B\u304F",removeLink:"\u65B0\u3057\u3044\u30A6\u30A3\u30F3\u30C9\u30A6\u3067\u958B\u304F"},audioPlayer:{title:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D5\u30A1\u30A4\u30EB\u3092\u518D\u751F\u3059\u308B"},videoPlayer:{title:"\u30D3\u30C7\u30AA\u30D5\u30A1\u30A4\u30EB\u3092\u518D\u751F\u3059\u308B",embedTitle:"\u57CB\u3081\u8FBC\u307F\u30E1\u30C7\u30A3\u30A2"},media:{image:"\u753B\u50CF",video:"\u30D3\u30C7\u30AA",audio:"\u97F3\u58F0",embed:"\u57CB\u3081\u8FBC\u307F\u30E1\u30C7\u30A3\u30A2"}},Te={base:{remove:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",confirm:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",insert:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C",width:"\u0428\u0438\u0440\u0438\u043D\u0430",height:"\u0412\u044B\u0441\u043E\u0442\u0430"},controls:{clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",undo:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",redo:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",fontSize:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430",color:"\u0426\u0432\u0435\u0442",textColor:"\u0426\u0432\u0435\u0442 \u0442\u0435\u043A\u0441\u0442\u0430",tempColors:"Temp Colors",backgroundColor:"\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430",bold:"\u0416\u0438\u0440\u043D\u044B\u0439",lineHeight:"\u041C\u0435\u0436\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B",letterSpacing:"\u041C\u0435\u0436\u0431\u0443\u043A\u0432\u0435\u043D\u043D\u044B\u0439 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B",textIndent:"\u041E\u0442\u0441\u0442\u0443\u043F",increaseIndent:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F",decreaseIndent:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F",italic:"\u041A\u0443\u0440\u0441\u0438\u0432",underline:"\u041F\u043E\u0434\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439",strikeThrough:"\u041F\u0435\u0440\u0435\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439",fontFamily:"\u0428\u0440\u0438\u0444\u0442",textAlign:"\u0420\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430",alignLeft:"\u041F\u043E \u043B\u0435\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E",alignCenter:"\u041F\u043E \u0446\u0435\u043D\u0442\u0440\u0443",alignRight:"\u041F\u043E \u043F\u0440\u0430\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E",alignJustify:"\u041F\u043E \u0448\u0438\u0440\u0438\u043D\u0435",floatLeft:"\u041E\u0431\u0442\u0435\u043A\u0430\u043D\u0438\u0435 \u0441\u043B\u0435\u0432\u0430",floatRight:"\u041E\u0431\u0442\u0435\u043A\u0430\u043D\u0438\u0435 \u0441\u043F\u0440\u0430\u0432\u0430",superScript:"\u041D\u0430\u0434\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439 \u0438\u043D\u0434\u0435\u043A\u0441",subScript:"\u041F\u043E\u0434\u0441\u0442\u0440\u043E\u0447\u043D\u044B\u0439 \u0438\u043D\u0434\u0435\u043A\u0441",removeStyles:"\u0423\u0431\u0440\u0430\u0442\u044C \u0441\u0442\u0438\u043B\u0438",headings:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438",header:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A",normal:"\u041E\u0431\u044B\u0447\u043D\u044B\u0439",orderedList:"\u0423\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0435\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",unorderedList:"\u041D\u0435\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0435\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",blockQuote:"\u0426\u0438\u0442\u0430\u0442\u0430",code:"\u041A\u043E\u0434",link:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443",unlink:"\u0423\u0431\u0440\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443",hr:"\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u043B\u0438\u043D\u0438\u044F",media:"\u041C\u0435\u0434\u0438\u0430",mediaLibirary:"\u041C\u0435\u0434\u0438\u0430 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430",emoji:"Emoji",fullscreen:"\u041F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",exitFullscreen:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430"},linkEditor:{textInputPlaceHolder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",linkInputPlaceHolder:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443",inputWithEnterPlaceHolder:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u0438 \u043D\u0430\u0436\u0430\u0442\u044C Enter",openInNewWindow:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u043C \u043E\u043A\u043D\u0435",removeLink:"\u0423\u0431\u0440\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443"},audioPlayer:{title:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0430\u0443\u0434\u0438\u043E\u0444\u0430\u0439\u043B"},videoPlayer:{title:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E\u0444\u0430\u0439\u043B",embedTitle:"Embed Media"},media:{image:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430",video:"\u0412\u0438\u0434\u0435\u043E",audio:"\u0410\u0443\u0434\u0438\u043E",embed:"\u0412\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435"}},we={base:{remove:"Supprimer",cancel:"Annuler",confirm:"Confirmer",inert:"Ins\xE9rer",width:"Largeur",height:"Hauteur"},controls:{clear:"Effacer",undo:"Annuler",redo:"Refaire",fontSize:"Taille de police",color:"Couleur",textColor:"Texte",tempColors:"Couleurs temporaire",backgroundColor:"Couleur d'arri\xE8re plan",bold:"Gras",lineHeight:"Hauteur de ligne",letterSpacing:"Espacement des lettres",textIndent:"Indentation du texte",increaseIndent:"Augmenter l'indentation",decreaseIndent:"R\xE9duire l'indentation",italic:"Italique",underline:"Souligner",strikeThrough:"Barrer",fontFamily:"Police d'\xE9criture",textAlign:"Alignement du texte",alignLeft:"Aligner \xE0 gauche",alignCenter:"Aligner au centre",alignRight:"Aligner \xE0 droite",alignJustify:"Justifier",floatLeft:"D\xE9placer \xE0 gauche",floatRight:"D\xE9placer \xE0 droite",superScript:"Super-script",subScript:"Sous-script",removeStyles:"Supprimer les styles",headings:"Titres",header:"Ent\xEAtes",normal:"Normal",orderedList:"Liste ordonn\xE9e",unorderedList:"Liste non-ordonn\xE9e",blockQuote:"Citation",code:"Code",link:"Ins\xE9rer un lien",unlink:"Supprimer le lien",hr:"Ligne horizontale",media:"M\xE9dia",mediaLibirary:"Biblioth\xEAque",emoji:"Emoji",fullscreen:"Plein \xE9cran",exitFullscreen:"Quitter le plein \xE9cran"},linkEditor:{textInputPlaceHolder:"Ins\xE9rer le texte \xE0 afficher",linkInputPlaceHolder:"Ins\xE9rer le lien URL",inputWithEnterPlaceHolder:"Ins\xE9rer le lien URL puis appuyer sur Entr\xE9e",openInNewWindow:"Ouvrir dans une nouvelle fen\xEAtre",removeLink:"Supprimer le lien"},audioPlayer:{title:"Lancer le son audio"},videoPlayer:{title:"Lancer la video",embedTitle:"Int\xE9grer m\xE9dia"},media:{image:"Image",video:"Vid\xE9o",audio:"Audio",embed:"Int\xE9gr\xE9"}},Me={base:{remove:"Remover",cancel:"Cancelar",confirm:"Confirmar",inert:"Inserir",width:"Largura",height:"Altura"},controls:{clear:"Limpar",undo:"Desfazer",redo:"Refazer",fontSize:"Tamanho da Fonte",color:"Cor",textColor:"Texto",tempColors:"Temp Colors",backgroundColor:"Cor de Fundo",bold:"Negrito",lineHeight:"Altura da LinhaLine Height",letterSpacing:"Espa\xE7amento entre Letras",textIndent:"Identa\xE7\xE3o de Texto",increaseIndent:"Aumentar Identa\xE7\xE3o",decreaseIndent:"Diminuir Ident\xE7\xE3o",italic:"It\xE1lico",underline:"Sublinhado",strikeThrough:"Riscado",fontFamily:"Fam\xEDlia da Fonte",textAlign:"Alinhamento de Texto",alignLeft:"Alinhamento \xE0 Esquerda",alignCenter:"Alinhamento Centralizado",alignRight:"Alinhamento \xE0 Direita",alignJustify:"Alinhamento Justificado",floatLeft:"Flutua\xE7\xE3o \xE0 Esquerda",floatRight:"Flutua\xE7\xE3o \xE0 Direita",superScript:"Sobrescrito",subScript:"Subscrito",removeStyles:"Remover Estilos",headings:"Cabe\xE7alhos",header:"Cabe\xE7alho",normal:"Normal",orderedList:"Lista Ordenada",unorderedList:"Lista N\xE3o Ordenada",blockQuote:"Cita\xE7\xE3o",code:"C\xF3digo",link:"Link",unlink:"Remover Link",hr:"Linha Horizontal",media:"M\xEDdia",mediaLibirary:"Biblioteca de M\xEDdia",emoji:"Emoji",fullscreen:"Tela Cheia",exitFullscreen:"Sair de Tela Cheia"},linkEditor:{textInputPlaceHolder:"Insira o texto do link",linkInputPlaceHolder:"Insira a URL do link",inputWithEnterPlaceHolder:"Insira a URL do link e aperte Enter",openInNewWindow:"Abrir em nova janela",removeLink:"Remover Link"},audioPlayer:{title:"Tocar \xC1udio"},videoPlayer:{title:"Tocar V\xEDdeo",embedTitle:"M\xEDdia Embutida"},media:{image:"Imagem",video:"V\xEDdeo",audio:"\xC1udio",embed:"Embutido"}},Ne={base:{remove:"X\xF3a b\u1ECF",cancel:"H\u1EE7y b\u1ECF",confirm:"X\xE1c nh\u1EADn",inert:"Ch\xE8n v\xE0o",width:"\u0110\u1ED9 r\u1ED9ng",height:"\u0110\u1ED9 cao"},controls:{clear:"X\xF3a to\xE0n b\u1ED9 n\u1ED9i dung",undo:"H\u1EE7y b\u1ECF",redo:"L\xE0m l\u1EA1i",fontSize:"Size ch\u1EEF",lineHeight:"\u0110\u1ED9 cao h\xE0ng",letterSpacing:"Kho\u1EA3ng c\xE1ch ch\u1EEF",textIndent:"Kho\u1EA3ng c\xE1ch \u0111o\u1EA1n v\u0103n",increaseIndent:"T\u0103ng kho\u1EA3ng c\xE1ch",decreaseIndent:"Gi\u1EA3m kho\u1EA3ng c\xE1ch",border:"\u0110\u01B0\u1EDDng vi\u1EC1n",color:"M\xE0u s\u1EAFc",textColor:"M\xE0u ch\u1EEF",backgroundColor:"M\xE0u n\u1EC1n",tempColors:"M\xE0u t\u1EA1m th\u1EDDi",bold:"T\xF4 \u0111\u1EADm",italic:"In nghi\xEAng",underline:"G\u1EA1ch d\u01B0\u1EDBi",strikeThrough:"X\xF3a g\u1EA1ch d\u01B0\u1EDBi",fontFamily:"Font ch\u1EEF",textAlign:"C\u0103n ch\u1EC9nh v\u0103n b\u1EA3n",alignLeft:"C\u0103n tr\xE1i",alignCenter:"C\u0103n gi\u1EEFa",alignRight:"C\u0103n ph\u1EA3i",alignJustify:"Hai l\u1EC1",floatLeft:"Float left",floatRight:"Float right",superScript:"Ch\u1EC9 s\u1ED1 tr\xEAn",subScript:"Ch\u1EC9 s\u1ED1 d\u01B0\u1EDBi",removeStyles:"X\xF3a style",headings:"Ti\xEAu \u0111\u1EC1",header:"Ti\xEAu \u0111\u1EC1",normal:"Quy t\u1EAFc th\xF4ng th\u01B0\u1EDDng",orderedList:"Ki\u1EC3u s\u1EAFp x\u1EBFp",unorderedList:"Ki\u1EC3u kh\xF4ng s\u1EAFp x\u1EBFp",blockQuote:"Tr\xEDch d\u1EABn",code:"Code",link:"Li\xEAn k\u1EBFt",unlink:"G\u1EE1 li\xEAn k\u1EBFt",hr:"Horizontal line",media:"Media",mediaLibirary:"Kho media",emoji:"Bi\u1EC3u t\u01B0\u1EE3ng c\u1EA3m x\xFAc",fullscreen:"To\xE0n m\xE0n h\xECnh",exitFullscreen:"Tho\xE1t kh\u1ECFi ch\u1EBF \u0111\u1ED9 to\xE0n m\xE0n h\xECnh"},linkEditor:{textInputPlaceHolder:"Nh\u1EADp v\u0103n b\u1EA3n li\xEAn k\u1EBFt",linkInputPlaceHolder:"Nh\u1EADp \u0111\u1ECBa ch\u1EC9 li\xEAn k\u1EBFt",inputWithEnterPlaceHolder:"Nh\u1EADp \u0111\u1ECBa ch\u1EC9 li\xEAn k\u1EBFt v\xE0 Enter",openInNewWindow:"M\u1EDF trong tab m\u1EDBi",removeLink:"G\u1EE1 li\xEAn k\u1EBFt"},audioPlayer:{title:"Ph\xE1t t\u1EC7p \xE2m thanh"},videoPlayer:{title:"Ph\xE1t t\u1EC7p video",embedTitle:"Media nh\xFAng"},media:{image:"H\xECnh \u1EA3nh",video:"Video",audio:"\xC2m thanh",embed:"Media nh\xFAng"}},ze={en:Re,zh:Ye,"zh-hant":_e,pl:Ze,kr:qe,tr:me,jpn:ye,ru:Te,fr:we,"pt-br":Me,"vi-vn":Ne},We=s(17),rt=s.n(We),Fe=s(3),Je=s(6),pt=s(13),Dt=s.n(pt),Se=function(w){return function(m){return m.keyCode===83&&(Je.KeyBindingUtil.hasCommandModifier(m)||Je.KeyBindingUtil.isCtrlKeyCommand(m))?"braft-save":w&&w(m)||Object(Je.getDefaultKeyBinding)(m)}},V={language:"zh",controls:["undo","redo","separator","font-size","line-height","letter-spacing","separator","text-color","bold","italic","underline","strike-through","separator","superscript","subscript","remove-styles","emoji","separator","text-indent","text-align","separator","headings","list-ul","list-ol","blockquote","code","separator","media","link","table","split","hr","separator","clear","separator","fullscreen"],excludeControls:[],extendControls:[],extendAtomics:[],componentBelowControlBar:null,media:{pasteImage:!0,imagePasteLimit:5,image:!0,video:!0,audio:!0,uploadFn:null,validateFn:null,onBeforeDeselect:null,onDeselect:null,onBeforeSelect:null,onSelect:null,onBeforeRemove:null,onRemove:null,onCancel:null,onFileSelect:null,onBeforeInsert:null,onInsert:null,onChange:null,accepts:{image:"image/png,image/jpeg,image/gif,image/webp,image/apng,image/svg",video:"video/mp4",audio:"audio/mp3"},externals:{audio:!0,video:!0,image:!0,embed:!0}},imageControls:["float-left","float-right","align-left","align-center","align-right","link","size","remove"],imageResizable:!0,imageEqualRatio:!0,colors:["#000000","#333333","#666666","#999999","#cccccc","#ffffff","#61a951","#16a085","#07a9fe","#003ba5","#8e44ad","#f32784","#c0392b","#d35400","#f39c12","#fdda00"],colorPicker:null,colorPickerTheme:"dark",colorPickerAutoHide:!0,codeTabIndents:2,headings:["header-one","header-two","header-three","header-four","header-five","header-six","unstyled"],textAligns:["left","center","right","justify"],textBackgroundColor:!0,allowInsertLinkText:!1,defaultLinkTarget:"",letterSpacings:[0,1,2,3,4,5,6],lineHeights:[1,1.2,1.5,1.75,2,2.5,3,4],fontSizes:[12,14,16,18,20,24,28,30,32,36,40,48,56,64,72,96,120,144],fontFamilies:[{name:"Araial",family:"Arial, Helvetica, sans-serif"},{name:"Georgia",family:"Georgia, serif"},{name:"Impact",family:"Impact, serif"},{name:"Monospace",family:'"Courier New", Courier, monospace'},{name:"Tahoma",family:'tahoma, arial, "Hiragino Sans GB", \u5B8B\u4F53, sans-serif'}],converts:{unitExportFn:function(m,R){return R==="line-height"?m:"".concat(m,"px")}},emojis:["\u{1F923}","\u{1F64C}","\u{1F49A}","\u{1F49B}","\u{1F44F}","\u{1F609}","\u{1F4AF}","\u{1F495}","\u{1F49E}","\u{1F498}","\u{1F499}","\u{1F49D}","\u{1F5A4}","\u{1F49C}","\u2764\uFE0F","\u{1F60D}","\u{1F63B}","\u{1F493}","\u{1F497}","\u{1F60B}","\u{1F607}","\u{1F602}","\u{1F639}","\u{1F618}","\u{1F496}","\u{1F601}","\u{1F600}","\u{1F91E}","\u{1F632}","\u{1F604}","\u{1F60A}","\u{1F44D}","\u{1F60C}","\u{1F603}","\u{1F605}","\u270C\uFE0F","\u{1F917}","\u{1F48B}","\u{1F617}","\u{1F63D}","\u{1F61A}","\u{1F920}","\u{1F619}","\u{1F63A}","\u{1F444}","\u{1F638}","\u{1F60F}","\u{1F63C}","\u{1F44C}","\u{1F60E}","\u{1F606}","\u{1F61B}","\u{1F64F}","\u{1F91D}","\u{1F642}","\u{1F911}","\u{1F61D}","\u{1F610}","\u{1F611}","\u{1F924}","\u{1F624}","\u{1F643}","\u{1F921}","\u{1F636}","\u{1F62A}","\u{1F634}","\u{1F635}","\u{1F613}","\u{1F44A}","\u{1F626}","\u{1F637}","\u{1F910}","\u{1F61C}","\u{1F913}","\u{1F47B}","\u{1F625}","\u{1F644}","\u{1F914}","\u{1F912}","\u{1F641}","\u{1F614}","\u{1F62F}","\u2639\uFE0F","\u2620\uFE0F","\u{1F630}","\u{1F629}","\u{1F616}","\u{1F615}","\u{1F612}","\u{1F623}","\u{1F622}","\u{1F62E}","\u{1F63F}","\u{1F927}","\u{1F62B}","\u{1F925}","\u{1F61E}","\u{1F62C}","\u{1F44E}","\u{1F480}","\u{1F633}","\u{1F628}","\u{1F915}","\u{1F922}","\u{1F631}","\u{1F62D}","\u{1F620}","\u{1F608}","\u{1F627}","\u{1F494}","\u{1F61F}","\u{1F640}","\u{1F4A9}","\u{1F47F}","\u{1F621}","\u{1F63E}","\u{1F595}"],stripPastedStyles:!1,triggerChangeOnMount:!0,className:"",style:{},controlBarClassName:"",controlBarStyle:{},contentClassName:"",contentStyle:{},draftProps:{},hooks:{},onChange:null,onFocus:null,onBlur:null,onTab:null,onDelete:null,onSave:null,fixPlaceholder:!1},Y=s(22),ne=s.n(Y),fe=s(23),he=function(m,R,t){if(t.editorProps.handleKeyCommand&&t.editorProps.handleKeyCommand(m,R,t)==="handled")return"handled";if(m==="braft-save")return t.editorProps.onSave&&t.editorProps.onSave(R),"handled";var O=t.editorProps,G=O.controls,re=O.excludeControls,q=(G.indexOf("text-indent")!==0||G.find(function(an){return an.key==="text-indent"}))&&re.indexOf("text-indent")===-1,de=R.getSelection().getStartOffset(),ve=R.getSelection().getEndOffset(),Qe=de===0&&ve===0;if(m==="backspace"){if(t.editorProps.onDelete&&t.editorProps.onDelete(R)===!1)return"handled";var tt=Fe.ContentUtils.getSelectionBlockType(R);q&&Qe&&tt!=="code-block"&&t.setValue(Fe.ContentUtils.decreaseSelectionIndent(R))}if(m==="tab"){var dt=Fe.ContentUtils.getSelectionBlockType(R);if(dt==="code-block")return t.setValue(Fe.ContentUtils.insertText(R," ".repeat(t.editorProps.codeTabIndents))),"handled";if(dt==="ordered-list-item"||dt==="unordered-list-item"){var It=Je.RichUtils.onTab(event,R,4);return It!==R&&t.setValue(It),"handled"}else if(dt!=="atomic"&&q&&Qe)return t.setValue(Fe.ContentUtils.increaseSelectionIndent(R)),"handled"}var zt=Fe.ContentUtils.handleKeyCommand(R,m);return zt?(t.setValue(zt),"handled"):"not-handled"},be=function(m,R,t){if(t.editorProps.handleReturn&&t.editorProps.handleReturn(m,R,t)==="handled")return"handled";var O=Fe.ContentUtils.getSelectionBlock(R),G=O.getType();if(G==="unordered-list-item"||G==="ordered-list-item")return O.getLength()===0?(t.setValue(Fe.ContentUtils.toggleSelectionBlockType(R,"unstyled")),"handled"):"not-handled";if(G==="code-block")return m.which===13&&(m.getModifierState("Shift")||m.getModifierState("Alt")||m.getModifierState("Control"))?(t.setValue(Fe.ContentUtils.toggleSelectionBlockType(R,"unstyled")),"handled"):"not-handled";if(G==="blockquote"&&m.which===13)if(m.getModifierState("Shift")||m.getModifierState("Alt")||m.getModifierState("Control"))m.which=0;else return t.setValue(Je.RichUtils.insertSoftNewline(R)),"handled";var re=Object(fe.handleNewLine)(R,m);return re?(t.setValue(re),"handled"):"not-handled"},ke=function(m,R,t){return t.editorProps.handleBeforeInput&&t.editorProps.handleBeforeInput(m,R,t)==="handled"?"handled":"not-handled"},Oe=function(m,R){var t=R.state.editorState,O=Fe.ContentUtils.getSelectedBlocks(t);if(O&&O.length>1){var G=Je.EditorState.push(t,Je.Modifier.removeRange(t.getCurrentContent(),t.getSelection(),"backward"),"remove-range");R.setValue(G)}},Ke=function(m,R,t){if(t.editorProps.readOnly||t.editorProps.disabled)return"handled";if(window&&window.__BRAFT_DRAGING__IMAGE__){var O=Je.EditorState.forceSelection(t.state.editorState,m);return O=Fe.ContentUtils.insertMedias(O,[window.__BRAFT_DRAGING__IMAGE__.mediaData]),O=Fe.ContentUtils.removeBlock(O,window.__BRAFT_DRAGING__IMAGE__.block,O.getSelection()),window.__BRAFT_DRAGING__IMAGE__=null,t.lockOrUnlockEditor(!0),t.setValue(O),"handled"}else if(!R||!R.getText())return"handled";return"not-handled"},Ve=function(m,R){var t=o()({},R.constructor.defaultProps.media,R.editorProps.media),O=t.pasteImage,G=t.validateFn,re=t.imagePasteLimit;return O&&m.slice(0,re).forEach(function(q){if(q&&q.type.indexOf("image")>-1&&R.braftFinder){var de=G?G(q):!0;de instanceof Promise?de.then(function(){R.braftFinder.uploadImage(q,function(ve){R.isLiving&&R.setValue(Fe.ContentUtils.insertMedias(R.state.editorState,[ve]))})}):de&&R.braftFinder.uploadImage(q,function(ve){R.isLiving&&R.setValue(Fe.ContentUtils.insertMedias(R.state.editorState,[ve]))})}}),m[0]&&m[0].type.indexOf("image")>-1&&O?"handled":"not-handled"},et=function(m,R,t){return t.editorProps.handleDroppedFiles&&t.editorProps.handleDroppedFiles(m,R,t)==="handled"?"handled":Ve(R,t)},Pe=function(m,R){return R.editorProps.handlePastedFiles&&R.editorProps.handlePastedFiles(m,R)==="handled"?"handled":Ve(m,R)},at=function(m,R){var t=ne()(R.state.editorState);if(t&&t.toArray)try{var O=Je.ContentState.createFromBlockArray(t.toArray()),G=Je.EditorState.createWithContent(O),re=m.clipboardData||window.clipboardData||m.originalEvent.clipboardData;G.setConvertOptions(R.state.editorState.convertOptions),re.setData("text/html",G.toHTML()),re.setData("text/plain",G.toText()),m.preventDefault()}catch(q){console.warn(q)}},mt=function(m,R,t,O){if(O.editorProps.handlePastedText&&O.editorProps.handlePastedText(m,R,t,O)==="handled")return"handled";if(!R||O.editorProps.stripPastedStyles)return!1;var G=Fe.ColorUtils.detectColorsFromHTMLString(R);return O.setState({tempColors:[].concat(te()(O.state.tempColors),te()(G)).filter(function(re){return O.editorProps.colors.indexOf(re)===-1}).filter(function(re,q,de){return de.indexOf(re)===q})},function(){O.setValue(Fe.ContentUtils.insertHTML(t,R,"paste"))}),"handled"},Tt=[],St=[],At=[],Yt=[],Gt=[],ae=[],ce=[],Ce=[],xe=[],He=[],je=[],gt=[],it=function(m,R){return R?m.map(function(t){return!t.includeEditors&&!t.excludeEditors?t.data:t.includeEditors?t.includeEditors.indexOf(R)!==-1?t.data:!1:t.excludeEditors?t.excludeEditors.indexOf(R)!==-1?!1:t.data:!1}).filter(function(t){return t}):m.filter(function(t){return!t.includeEditors}).map(function(t){return t.data})},Et=function(m){return it(At,m)},ot=function(m){return it(Tt,m)},wt=function(m){return it(St,m,"decorators")},ut=function(m){return it(Yt,m)},Ct=function(m){return it(Gt,m)},nt=function(m){var R={};return it(ae,m).forEach(function(t){R[t.inlineStyleName]=t.styleMap}),R},ct=function(m){return it(ce,m)},ht=function(m,R){return function(t,O,G){return it(xe,R).forEach(function(re){re.importer&&re.importer(t,O)&&(G=G.add(re.inlineStyleName))}),m?m(t,O,G):G}},ft=function(m,R){return function(t){t=t.toUpperCase();var O=m?m(t):void 0;return O||(it(He,R).find(function(G){if(G.inlineStyleName===t)return O=G.exporter,!0}),O)}},jt=function(m,R){return function(t,O,G,re){var q=m?m(t,O,G,re):null;return q||(it(Ce,R).find(function(de){var ve=de.importer?de.importer(t,O,re):null;return ve&&(q=G(de.entityType,ve.mutability||"MUTABLE",ve.data||{})),!!ve}),q)}},Ht=function(m,R){return function(t,O){var G=m?m(t,O):void 0;if(G)return G;var re=t.type.toUpperCase();return it(Ce,R).find(function(q){if(q.entityType===re)return G=q.exporter?q.exporter(t,O):void 0,!0}),G}},Ot=function(m,R){return function(t,O,G){var re=m?m(t,O,G):null;return re||(it(je,R).find(function(q){var de=q.importer?q.importer(t,O,G):void 0;return de&&(re=de),!!de}),re)}},Ft=function(m,R){return function(t,O){var G=m?m(t,O):null;return G||(it(gt,R).find(function(re){var q=re.exporter?re.exporter(t,O):void 0;return q&&(G=q),!!q}),G)}},st=function w(m){if(m instanceof Array)return m.forEach(w),!1;if(!m||!m.type||typeof m.type!="string")return!1;var R=m.includeEditors,t=m.excludeEditors;if(m.type==="control")Tt.push({includeEditors:R,excludeEditors:t,data:m.control});else if(m.type==="inline-style"){var O=m.name.toUpperCase();m.control&&Tt.push({includeEditors:R,excludeEditors:t,data:o()({key:O,type:"inline-style",command:O},m.control)}),m.style&&ae.push({includeEditors:R,excludeEditors:t,data:{inlineStyleName:O,styleMap:m.style}}),m.styleFn&&ce.push({includeEditors:R,excludeEditors:t,data:{inlineStyleName:O,styleFn:m.styleFn}}),m.importer&&xe.push({includeEditors:R,excludeEditors:t,data:{inlineStyleName:O,importer:m.importer}}),He.push({includeEditors:R,excludeEditors:t,data:{inlineStyleName:O,exporter:m.exporter?m.exporter(m):Z.a.createElement("span",{style:m.style})}})}else if(m.type!=="block-style"){if(m.type==="entity"){var G=m.name.toUpperCase();m.control&&Tt.push({includeEditors:R,excludeEditors:t,data:typeof m.control=="function"?m.control:o()({key:G,type:"entity",command:G,data:{mutability:m.mutability||"MUTABLE",data:m.data||{}}},m.control)}),Ce.push({includeEditors:R,excludeEditors:t,data:{entityType:G,importer:m.importer,exporter:m.exporter}}),St.push({includeEditors:R,excludeEditors:t,data:{type:"entity",decorator:{key:G,component:m.component}}})}else if(m.type==="block"){var re=m.name;m.renderMap&&Yt.push({includeEditors:R,excludeEditors:t,data:{blockType:re,renderMap:m.renderMap}}),m.rendererFn&&Gt.push({includeEditors:R,excludeEditors:t,data:{blockType:re,rendererFn:m.rendererFn}}),m.importer&&je.push({includeEditors:R,excludeEditors:t,data:{blockType:re,importer:m.importer}}),m.exporter&&gt.push({includeEditors:R,excludeEditors:t,data:{blockType:re,exporter:m.exporter}})}else if(m.type!=="atomic")if(m.type==="decorator"){var q=m.decorator;q&&q.strategy&&q.component?St.push({includeEditors:R,excludeEditors:t,data:{type:"strategy",decorator:q}}):q&&q.getDecorations&&St.push({includeEditors:R,excludeEditors:t,data:{type:"class",decorator:q}})}else m.type==="prop-interception"&&At.push({includeEditors:R,excludeEditors:t,data:m.interceptor})}},Mt=function(m){return m.use=st,m},Bt=function(w,m){var R=Object(pt.Map)({atomic:{element:""},"code-block":{element:"code",wrapper:Z.a.createElement("pre",{className:"braft-code-block"})}});try{var t=ut(w.editorId);R=t.reduce(function(O,G){return O.merge(typeof G.renderMap=="function"?G.renderMap(w):G.renderMap)},R),m&&(typeof m=="function"?R=R.merge(m(w)):R=R.merge(m)),R=Je.DefaultDraftBlockRenderMap.merge(R)}catch(O){console.warn(O)}return R},lt=s(11),Rt=s.n(lt),Ut=s(24),_t=s.n(Ut),on=s(45),ln=s(46),Qt=function(w){var m=w.active,R=w.onClick,t=w.className;return Z.a.createElement("div",{onClick:function(){return R()},className:"bf-switch "+t+(m?" active":"")})},Bn=function(w,m){return[{key:"undo",title:w.controls.undo,text:Z.a.createElement("i",{className:"bfi-undo"}),type:"editor-method",command:"undo"},{key:"redo",title:w.controls.redo,text:Z.a.createElement("i",{className:"bfi-redo"}),type:"editor-method",command:"redo"},{key:"remove-styles",title:w.controls.removeStyles,text:Z.a.createElement("i",{className:"bfi-format_clear"}),type:"editor-method",command:"removeSelectionInlineStyles"},{key:"hr",title:w.controls.hr,text:Z.a.createElement("i",{className:"bfi-hr"}),type:"editor-method",command:"insertHorizontalLine"},{key:"bold",title:w.controls.bold,text:Z.a.createElement("i",{className:"bfi-bold"}),type:"inline-style",command:"bold"},{key:"italic",title:w.controls.italic,text:Z.a.createElement("i",{className:"bfi-italic"}),type:"inline-style",command:"italic"},{key:"underline",title:w.controls.underline,text:Z.a.createElement("i",{className:"bfi-underlined"}),type:"inline-style",command:"underline"},{key:"strike-through",title:w.controls.strikeThrough,text:Z.a.createElement("i",{className:"bfi-strikethrough"}),type:"inline-style",command:"strikethrough"},{key:"superscript",title:w.controls.superScript,text:Z.a.createElement("i",{className:"bfi-superscript"}),type:"inline-style",command:"superscript"},{key:"subscript",title:w.controls.subScript,text:Z.a.createElement("i",{className:"bfi-subscript"}),type:"inline-style",command:"subscript"},{key:"headings",title:w.controls.headings,type:"headings"},{key:"blockquote",title:w.controls.blockQuote,text:Z.a.createElement("i",{className:"bfi-quote"}),type:"block-type",command:"blockquote"},{key:"code",title:w.controls.code,text:Z.a.createElement("i",{className:"bfi-code"}),type:"block-type",command:"code-block"},{key:"list-ul",title:w.controls.unorderedList,text:Z.a.createElement("i",{className:"bfi-list"}),type:"block-type",command:"unordered-list-item"},{key:"list-ol",title:w.controls.orderedList,text:Z.a.createElement("i",{className:"bfi-list-numbered"}),type:"block-type",command:"ordered-list-item"},{key:"link",title:w.controls.link,type:"link"},{key:"text-color",title:w.controls.color,type:"text-color"},{key:"line-height",title:w.controls.lineHeight,type:"line-height"},{key:"letter-spacing",title:w.controls.letterSpacing,type:"letter-spacing"},{key:"text-indent",title:w.controls.textIndent,type:"text-indent"},{key:"font-size",title:w.controls.fontSize,type:"font-size"},{key:"font-family",title:w.controls.fontFamily,type:"font-family"},{key:"text-align",title:w.controls.textAlign,type:"text-align"},{key:"media",title:w.controls.media,text:Z.a.createElement("i",{className:"bfi-media"}),type:"media"},{key:"emoji",title:w.controls.emoji,text:Z.a.createElement("i",{className:"bfi-emoji"}),type:"emoji"},{key:"clear",title:w.controls.clear,text:Z.a.createElement("i",{className:"bfi-clear_all"}),type:"editor-method",command:"clearEditorContent"},{key:"fullscreen",title:m.state.isFullscreen?w.controls.exitFullscreen:w.controls.fullscreen,text:Z.a.createElement("i",{className:m.state.isFullscreen?"bfi-fullscreen-exit":"bfi-fullscreen"}),type:"editor-method",command:"toggleFullscreen"},{key:"modal",type:"modal"},{key:"button",type:"button"},{key:"dropdown",type:"dropdown"},{key:"component",type:"component"}]},un={"float-left":{text:Z.a.createElement("span",{"data-float":"left"},"\uE91E"),command:"setImageFloat|left"},"float-right":{text:Z.a.createElement("span",{"data-float":"right"},"\uE914"),command:"setImageFloat|right"},"align-left":{text:Z.a.createElement("span",{"data-align":"left"},"\uE027"),command:"setImageAlignment|left"},"align-center":{text:Z.a.createElement("span",{"data-align":"center"},"\uE028"),command:"setImageAlignment|center"},"align-right":{text:Z.a.createElement("span",{"data-align":"right"},"\uE029"),command:"setImageAlignment|right"},size:{text:Z.a.createElement("span",null,"\uE3C2"),command:"toggleSizeEditor"},link:{text:Z.a.createElement("span",null,"\uE91A"),command:"toggleLinkEditor"},remove:{text:Z.a.createElement("span",null,"\uE9AC"),command:"removeImage"}},Pt=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"state",{toolbarVisible:!1,toolbarOffset:0,linkEditorVisible:!1,sizeEditorVisible:!1,tempLink:null,tempWidth:null,tempHeight:null}),W()(I()(t),"initialLeft",void 0),W()(I()(t),"initialTop",void 0),W()(I()(t),"initialWidth",void 0),W()(I()(t),"initialHeight",void 0),W()(I()(t),"reSizeType",void 0),W()(I()(t),"zoom",void 0),W()(I()(t),"changeSize",function(q){var de=t.reSizeType;t.initialLeft||(t.initialLeft=q.screenX,t.initialTop=q.screenY),de==="rightbottom"&&(t.initialHeight+=q.screenY-t.initialTop,t.initialWidth+=q.screenX-t.initialLeft),de==="leftbottom"&&(t.initialHeight+=q.screenY-t.initialTop,t.initialWidth+=-q.screenX+t.initialLeft),t.initialLeft=q.screenX,t.initialTop=q.screenY}),W()(I()(t),"moveImage",function(q){t.changeSize(q),t.setState({tempWidth:Math.abs(t.initialWidth),tempHeight:Math.abs(t.initialHeight)})}),W()(I()(t),"upImage",function(){var q=t.props.imageEqualRatio;q?t.confirmImageSizeEqualRatio():t.confirmImageSize(),document.removeEventListener("mousemove",t.moveImage),document.removeEventListener("mouseup",t.upImage)}),W()(I()(t),"repareChangeSize",function(q){return function(de){t.reSizeType=q;var ve=t.imageElement.getBoundingClientRect();t.initialLeft=t.initialTop=0,t.initialWidth=ve.width,t.initialHeight=ve.height,t.zoom=ve.width/ve.height,de.preventDefault(),document.addEventListener("mousemove",t.moveImage),document.addEventListener("mouseup",t.upImage)}}),W()(I()(t),"preventDragEvent",function(q){q.stopPropagation(),q.preventDefault()}),W()(I()(t),"handleDragStart",function(){return t.props.editor.editorProps.readOnly||t.props.editor.editorProps.disabled?!1:(window.__BRAFT_DRAGING__IMAGE__={block:t.props.block,mediaData:o()({type:"IMAGE"},t.props.mediaData)},t.setState({toolbarVisible:!1},function(){t.unlockEditor()}),!0)}),W()(I()(t),"handleDragEnd",function(){return window.__BRAFT_DRAGING__IMAGE__=null,!1}),W()(I()(t),"executeCommand",function(q){if(typeof q=="string"){var de=q.split("|"),ve=_t()(de,2),Qe=ve[0],tt=ve[1];t[Qe]&&t[Qe](tt)}else typeof q=="function"&&q(t.props.block,t.props.mediaData,t.props.editor.getValue())}),W()(I()(t),"removeImage",function(){t.props.editor.setValue(Fe.ContentUtils.removeBlock(t.props.editor.getValue(),t.props.block)),t.unlockEditor()}),W()(I()(t),"toggleLinkEditor",function(){t.setState({linkEditorVisible:!t.state.linkEditorVisible,sizeEditorVisible:!1})}),W()(I()(t),"toggleSizeEditor",function(){t.setState({linkEditorVisible:!1,sizeEditorVisible:!t.state.sizeEditorVisible})}),W()(I()(t),"handleLinkInputKeyDown",function(q){if(q.keyCode===13)t.confirmImageLink();else return}),W()(I()(t),"setImageLink",function(q){t.setState({tempLink:q.currentTarget.value})}),W()(I()(t),"confirmImageLink",function(){var q=t.state.tempLink,de=t.props.hooks("set-image-link",q)(q);if(de===!1)return!1;typeof de=="string"&&(q=de),q!==null&&(t.props.editor.setValue(Fe.ContentUtils.setMediaData(t.props.editor.getValue(),t.props.entityKey,{link:q})),window.setImmediate(t.props.editor.forceRender))}),W()(I()(t),"handleSizeInputKeyDown",function(q){if(q.keyCode===13)t.confirmImageSize();else return}),W()(I()(t),"setImageWidth",function(q){var de=q.currentTarget,ve=de.value;ve&&!isNaN(ve)&&(ve=ve+"px"),t.setState({tempWidth:ve})}),W()(I()(t),"setImageHeight",function(q){var de=q.currentTarget,ve=de.value;ve&&!isNaN(ve)&&(ve=ve+"px"),t.setState({tempHeight:ve})}),W()(I()(t),"confirmImageSize",function(){var q=t.state,de=q.tempWidth,ve=q.tempHeight,Qe={};de!==null&&(Qe.width=de),ve!==null&&(Qe.height=ve);var tt=t.props.hooks("set-image-size",Qe)(Qe);if(tt===!1)return!1;tt&&(tt.width||tt.height)&&(Qe=tt),t.props.editor.setValue(Fe.ContentUtils.setMediaData(t.props.editor.getValue(),t.props.entityKey,Qe)),window.setImmediate(t.props.editor.forceRender)}),W()(I()(t),"confirmImageSizeEqualRatio",function(){var q=t.state,de=q.tempWidth,ve=q.tempHeight,Qe,tt,dt={};de/ve>t.zoom?(Qe=Math.floor(ve*t.zoom),t.setState({tempWidth:Qe}),tt=ve):de/ve<t.zoom&&(tt=Math.floor(de/t.zoom),t.setState({tempHeight:tt}),Qe=de),Qe!==null&&(dt.width=Qe),tt!==null&&(dt.height=tt);var It=t.props.hooks("set-image-size",dt)(dt);if(It===!1)return!1;It&&(It.width||It.height)&&(dt=It),t.props.editor.setValue(Fe.ContentUtils.setMediaData(t.props.editor.getValue(),t.props.entityKey,dt)),window.setImmediate(t.props.editor.forceRender)}),W()(I()(t),"setImageFloat",function(q){var de=t.props.hooks("set-image-float",q)(q);if(de===!1)return!1;typeof de=="string"&&(q=de),t.props.editor.setValue(Fe.ContentUtils.setMediaPosition(t.props.editor.getValue(),t.props.block,{float:q})),t.unlockEditor()}),W()(I()(t),"setImageAlignment",function(q){var de=t.props.hooks("set-image-alignment",q)(q);if(de===!1)return!1;typeof de=="string"&&(q=de),t.props.editor.setValue(Fe.ContentUtils.setMediaPosition(t.props.editor.getValue(),t.props.block,{alignment:q})),t.unlockEditor()}),W()(I()(t),"showToolbar",function(q){if(t.props.editor.editorProps.readOnly||t.props.editor.editorProps.disabled)return!1;q.preventDefault(),t.state.toolbarVisible||t.setState({toolbarVisible:!0},function(){t.lockEditor(),t.setState({toolbarOffset:t.calcToolbarOffset()})})}),W()(I()(t),"hideToolbar",function(q){q.preventDefault(),t.setState({toolbarVisible:!1},function(){t.unlockEditor()})}),t}return U()(m,[{key:"render",value:function(){var t=this,O=this.props,G=O.mediaData,re=O.language,q=O.imageControls,de=O.imageResizable,ve=this.state,Qe=ve.toolbarVisible,tt=ve.toolbarOffset,dt=ve.linkEditorVisible,It=ve.sizeEditorVisible,zt=ve.tempWidth,an=ve.tempHeight,tn=this.props.block.getData(),Vt=tn.get("float"),Jt=tn.get("alignment"),_n=G.url,Un=G.link,zn=G.link_target,On=G.width,Jn=G.height,yr=G.meta,Rn={},Xn=!1;Vt?Jt=null:Jt==="left"?(Rn.float="left",Xn=!0):Jt==="right"?(Rn.float="right",Xn=!0):Jt==="center"?Rn.textAlign="center":(Rn.float="left",Xn=!0);var Er=q.map(function(Xt,kn){return typeof Xt=="string"&&un[Xt]?Z.a.createElement("a",{className:Xt==="link"&&Un?"active":"",key:kn,onClick:function(){return t.executeCommand(un[Xt].command)}},un[Xt].text):Xt&&(Xt.render||Xt.text)?Xt.render?Xt.render(G,t.props.block):Z.a.createElement("a",{key:kn,onClick:function(){return Xt.onClick&&t.executeCommand(Xt.onClick)}},Xt.text):null});return Z.a.createElement("div",{className:"bf-media"},Z.a.createElement("div",{style:Rn,draggable:!0,onMouseEnter:this.showToolbar,onMouseMove:this.showToolbar,onMouseLeave:this.hideToolbar,onDragStart:this.handleDragStart,onDragEnd:this.handleDragEnd,ref:function(kn){return t.mediaEmbederInstance=kn},className:"bf-image"},Qe?Z.a.createElement("div",{style:{marginLeft:tt},ref:function(kn){return t.toolbarElement=kn},"data-float":Vt,"data-align":Jt,className:"bf-media-toolbar"},dt?Z.a.createElement("div",{className:"bf-image-link-editor"},Z.a.createElement("div",{className:"editor-input-group"},Z.a.createElement("input",{type:"text",placeholder:re.linkEditor.inputWithEnterPlaceHolder,onKeyDown:this.handleLinkInputKeyDown,onChange:this.setImageLink,defaultValue:Un}),Z.a.createElement("button",{type:"button",onClick:this.confirmImageLink},re.base.confirm)),Z.a.createElement("div",{className:"switch-group"},Z.a.createElement(Qt,{active:zn==="_blank",onClick:function(){return t.setImageLinkTarget(zn)}}),Z.a.createElement("label",null,re.linkEditor.openInNewWindow))):null,It?Z.a.createElement("div",{className:"bf-image-size-editor"},Z.a.createElement("div",{className:"editor-input-group"},Z.a.createElement("input",{type:"text",placeholder:re.base.width,onKeyDown:this.handleSizeInputKeyDown,onChange:this.setImageWidth,defaultValue:On}),Z.a.createElement("input",{type:"text",placeholder:re.base.height,onKeyDown:this.handleSizeInputKeyDown,onChange:this.setImageHeight,defaultValue:Jn}),Z.a.createElement("button",{type:"button",onClick:this.confirmImageSize},re.base.confirm))):null,Er,Z.a.createElement("i",{style:{marginLeft:tt*-1},className:"bf-media-toolbar-arrow"})):null,Z.a.createElement("div",{style:{position:"relative",width:"".concat(On,"px"),height:"".concat(Jn,"px"),display:"inline-block"}},Z.a.createElement("img",Rt()({ref:function(kn){return t.imageElement=kn},src:_n,width:On,height:Jn},yr)),Qe&&de?Z.a.createElement("div",{className:"bf-csize-icon right-bottom",onMouseDown:this.repareChangeSize("rightbottom")}):null,Qe&&de?Z.a.createElement("div",{className:"bf-csize-icon left-bottom",onMouseDown:this.repareChangeSize("leftbottom")}):null,Z.a.createElement("div",{className:"bf-pre-csize ".concat(this.reSizeType),style:{width:"".concat(zt,"px"),height:"".concat(an,"px")}}))),Xn&&Z.a.createElement("div",{className:"clearfix",style:{clear:"both",height:0,lineHeight:0,float:"none"}}))}},{key:"lockEditor",value:function(){this.props.editor.lockOrUnlockEditor(!0)}},{key:"unlockEditor",value:function(){this.props.editor.lockOrUnlockEditor(!1)}},{key:"calcToolbarOffset",value:function(){var t=this.props,O=t.getContainerNode,G=t.containerNode,re=O?O():G;if(!re)return 0;var q=re.querySelector(".bf-content").getBoundingClientRect(),de=this.toolbarElement.getBoundingClientRect(),ve=this.imageElement.getBoundingClientRect(),Qe=q.right-(ve.right-ve.width/2+de.width/2),tt=ve.left+ve.width/2-de.width/2-q.left;return Qe<10?Qe-10:tt<10?tt*-1+10:0}},{key:"setImageLinkTarget",value:function(t){var O=this.props.hooks("set-image-link-target",t)(t);if(O===!1)return!1;typeof O=="string"&&(t=O),t=t==="_blank"?"":"_blank",this.props.editor.setValue(Fe.ContentUtils.setMediaData(this.props.editor.getValue(),this.props.entityKey,{link_target:t})),window.setImmediate(this.props.editor.forceRender)}}]),m}(Z.a.Component),Tn=s(47),$t=s(48),An=s(16),gn=s.n(An),vn=function(w){$()(m,w);function m(R){var t;return f()(this,m),t=k()(this,z()(m).call(this,R)),W()(I()(t),"handleTransitionEnd",function(){if(!t.rootElement||!t.rootElement.classList)return!1;t.rootElement.classList.contains("active")||gn.a.unmountComponentAtNode(t.rootElement)&&t.rootElement.parentNode.removeChild(t.rootElement)}),W()(I()(t),"handleMouseDown",function(O){var G=O.target.tagName.toLowerCase();if(G==="input"||G==="textarea")return!1;O.preventDefault()}),W()(I()(t),"handleCancel",function(){t.props.closeOnCancel&&t.close(),t.props.onCancel&&t.props.onCancel()}),W()(I()(t),"handleConfirm",function(){t.props.closeOnConfirm&&t.close(),t.props.onConfirm&&t.props.onConfirm()}),W()(I()(t),"handleMaskClick",function(){t.props.closeOnBlur&&t.close(),t.props.onBlue&&t.props.onBlue()}),W()(I()(t),"close",function(){t.unrenderComponent(),t.props.onClose&&t.props.onClose()}),t.active=!1,t.componentId="BRAFT-MODAL-"+Fe.BaseUtils.UniqueIndex(),t}return U()(m,[{key:"componentDidMount",value:function(){this.props.visible&&(this.active=!0,this.renderComponent(this.props))}},{key:"componentWillReceiveProps",value:function(t){this.props.visible&&!t.visible?this.unrenderComponent():(this.props.visible||t.visible)&&(this.active=!0,this.renderComponent(t))}},{key:"render",value:function(){return null}},{key:"unrenderComponent",value:function(){this.active=!1,this.activeId&&window.clearImmediate(this.activeId),this.rootElement&&this.rootElement.classList&&this.rootElement.classList.remove("active")}},{key:"renderComponent",value:function(t){var O=this;if(!this.active)return!1;var G=t.title,re=t.className,q=t.width,de=t.height,ve=t.children,Qe=t.component,tt=t.confirmable,dt=t.showFooter,It=t.showCancel,zt=t.showConfirm,an=t.showClose,tn=t.cancelText,Vt=t.confirmText,Jt=t.bottomText,_n=t.language;typeof It=="undefined"&&(It=!0),typeof an=="undefined"&&(an=!0),typeof zt=="undefined"&&(zt=!0),typeof dt=="undefined"&&(dt=!0);var Un=Z.a.createElement("div",{onMouseDown:this.handleMouseDown,className:"bf-modal "+(re||"")},Z.a.createElement("div",{className:"bf-modal-mask",onClick:this.handleMaskClick}),Z.a.createElement("div",{onTransitionEnd:this.handleTransitionEnd,style:{width:q,height:de},className:"bf-modal-content"},Z.a.createElement("div",{className:"bf-modal-header"},Z.a.createElement("h3",{className:"bf-modal-caption"},G),an&&Z.a.createElement("button",{type:"button",onClick:this.close,className:"bf-modal-close-button"},Z.a.createElement("i",{className:"bfi-close"}))),Z.a.createElement("div",{className:"bf-modal-body"},ve||Qe),dt?Z.a.createElement("div",{className:"bf-modal-footer"},Z.a.createElement("div",{className:"bf-modal-addon-text"},Jt),Z.a.createElement("div",{className:"bf-modal-buttons"},It&&Z.a.createElement("button",{type:"button",onClick:this.handleCancel,className:"bf-modal-cancel"},tn||_n.base.cancel),zt&&Z.a.createElement("button",{type:"button",onClick:this.handleConfirm,className:"bf-modal-confirm "+(tt?"":"disabled")},Vt||_n.base.confirm))):null));this.rootElement=document.querySelector("#"+this.componentId),this.rootElement||(this.rootElement=document.createElement("div"),this.rootElement.id=this.componentId,this.rootElement.className="bf-modal-root",document.body.appendChild(this.rootElement)),gn.a.render(Un,this.rootElement),this.activeId=window.setImmediate(function(){O.rootElement.classList.add("active")})}}]),m}(Z.a.Component);W()(vn,"defaultProps",{showFooter:!0,closeOnBlur:!0});var sn=function(m){var R=document.createElement("div");R.style.display="none",document.body.appendChild(R),m=o()({visible:!0,closeOnConfirm:!0,closeOnCancel:!0},m);var t=function(){gn.a.unmountComponentAtNode(R)&&R.parentNode.removeChild(R)},O=function(){m.onConfirm&&m.onConfirm()},G=function(){m.onCancel&&m.onCancel()},re=function(){t(),m.onClose&&m.onClose()},q=gn.a.render(Z.a.createElement(vn,Rt()({},m,{onConfirm:O,onCancel:G,onClose:re})),R);return q.destroy=t,q.update=q.renderComponent,q},mn=s(49),yn=function(m,R,t){return sn({title:m,component:R,language:t,showFooter:!1})},pn={video:"bfi-film",audio:"bfi-music",embed:"bfi-code"},Fn=function(w){var m=w.title,R=w.type,t=w.language,O=w.name,G=w.url,re=w.poster,q=w.children,de=w.onRemove;return Z.a.createElement("div",{className:"bf-player-holder ".concat(R)},Z.a.createElement("div",{className:"icon-badge"},Z.a.createElement("i",{className:pn[R]}),Z.a.createElement("span",{className:"text"},t.media[R])),Z.a.createElement("button",{onMouseDown:de,className:"button-remove"},Z.a.createElement("i",{className:"bfi-close"})),Z.a.createElement("button",{onMouseDown:function(){return yn(O?"".concat(m,":").concat(O):m,q,t)},className:"button-play"},Z.a.createElement("i",{className:"bfi-play_arrow"})),O?Z.a.createElement("h5",{className:"bf-name"},O):null,Z.a.createElement("h6",{className:"bf-url"},G),re?Z.a.createElement("div",{className:"bf-poster",style:{backgroundImage:"url(".concat(re,")")}}):null)},$n=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"removeVideo",function(){t.props.editor.setValue(Fe.ContentUtils.removeBlock(t.props.editorState,t.props.block))}),t}return U()(m,[{key:"render",value:function(){var t=this.props,O=t.mediaData,G=t.language,re=O.url,q=O.name,de=O.meta;return Z.a.createElement("div",{className:"bf-video-wrap"},Z.a.createElement(Fn,{type:"video",onRemove:this.removeVideo,poster:de&&de.poster||"",language:G,url:re,name:q,title:G.videoPlayer.title},Z.a.createElement("div",{className:"bf-video-player"},Z.a.createElement("video",{controls:!0,poster:de&&de.poster||""},Z.a.createElement("source",{src:re})))))}}]),m}(Z.a.Component),nr=s(50),Hn=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"removeAudio",function(){t.props.editor.setValue(Fe.ContentUtils.removeBlock(t.props.editorState,t.props.block))}),t}return U()(m,[{key:"render",value:function(){var t=this.props,O=t.mediaData,G=t.language,re=O.url,q=O.name,de=O.meta;return Z.a.createElement("div",{className:"bf-audio-wrap"},Z.a.createElement(Fn,{type:"audio",onRemove:this.removeAudio,poster:de&&de.poster||"",language:G,url:re,name:q,title:G.audioPlayer.title},Z.a.createElement("div",{className:"bf-audio-player"},Z.a.createElement("audio",{controls:!0,src:re}))))}}]),m}(Z.a.Component),rr=s(51),jn=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"removeEmbed",function(){t.props.editor.setValue(Fe.ContentUtils.removeBlock(t.props.editorState,t.props.block))}),t}return U()(m,[{key:"render",value:function(){var t=this.props,O=t.mediaData,G=t.language,re=O.name,q=O.url,de=O.meta;return Z.a.createElement("div",{className:"bf-embed-wrap"},Z.a.createElement(Fn,{type:"embed",onRemove:this.removeEmbed,poster:de&&de.poster||"",language:G,url:q,name:re,title:G.videoPlayer.embedTitle},Z.a.createElement("div",{className:"bf-embed-player",dangerouslySetInnerHTML:{__html:q}})))}}]),m}(Z.a.Component),Zn=s(52),y=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"removeHorizontalLine",function(){t.props.editor.setValue(Fe.ContentUtils.removeBlock(t.props.editorState,t.props.block))}),t}return U()(m,[{key:"render",value:function(){return Z.a.createElement("div",{className:"bf-hr"},Z.a.createElement("div",{className:"bf-media-toolbar"},Z.a.createElement("a",{onClick:this.removeHorizontalLine},"\uE9AC")))}}]),m}(Z.a.Component),L=function w(){var m=this;f()(this,w),W()(this,"superProps",void 0),W()(this,"customBlockRendererFn",void 0),W()(this,"getRenderFn",function(R,t){return m.superProps=R,m.customBlockRendererFn=t,m.blockRendererFn}),W()(this,"renderAtomicBlock",function(R){var t=m.superProps,O=R.block.getEntityAt(0);if(!O)return null;var G=R.contentState.getEntity(O),re=G.getData(),q=G.getType(),de=o()({},t,{block:R.block,mediaData:re,entityKey:O});if(q==="IMAGE")return Z.a.createElement(Pt,de);if(q==="AUDIO")return Z.a.createElement(Hn,de);if(q==="VIDEO")return Z.a.createElement($n,de);if(q==="EMBED")return Z.a.createElement(jn,de);if(q==="HR")return Z.a.createElement(y,de);if(t.extendAtomics){for(var ve=t.extendAtomics,Qe=0;Qe<ve.length;Qe++)if(q===ve[Qe].type){var tt=ve[Qe].component;return Z.a.createElement(tt,de)}}return null}),W()(this,"blockRendererFn",function(R){var t=m.customBlockRendererFn,O=m.superProps,G=R.getType(),re=null;if(t&&(re=t(R,O)||null),re)return re;var q=Ct(O.editorId);return q.find(function(de){if(de.blockType===G||de.blockType instanceof RegExp&&de.blockType.test(G))return re=de.rendererFn?de.rendererFn(O):null,!0}),re||(G==="atomic"&&(re={component:m.renderAtomicBlock,editable:!1}),re)})},_=new L,ie=_.getRenderFn,Ee=function(w){return function(m){var R=m.getData()&&m.getData().get("textAlign"),t=m.getData()&&m.getData().get("textIndent"),O=m.getData()&&m.getData().get("float"),G="";return R&&(G="bfa-".concat(R)),t&&t!==0&&(G+=" bftd-".concat(t)),O&&(G+=" bff-".concat(O)),w&&(G+=w(m)||""),G}},ge=function(w){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=nt(w.editorId);return o()({SUPERSCRIPT:{position:"relative",top:"-8px",fontSize:"11px"},SUBSCRIPT:{position:"relative",bottom:"-8px",fontSize:"11px"}},R,m)},Be=function(m){return m.split("-")[1]},Ue=function(w,m){return function(R,t){var O={},G=m.fontFamilies,re=m.unitExportFn,q=m.customStyleFn,de=ct(w.editorId);return de.forEach(function(ve){O=ve.styleFn?ve.styleFn(R,t,O):O}),O=q?q(R,t,O):{},R.forEach(function(ve){ve.indexOf("COLOR-")===0?O.color="#"+Be(ve):ve.indexOf("BGCOLOR-")===0?O.backgroundColor="#"+Be(ve):ve.indexOf("FONTSIZE-")===0?O.fontSize=re(Be(ve),"font-size","editor"):ve.indexOf("LINEHEIGHT-")===0?O.lineHeight=re(Be(ve),"line-height","editor"):ve.indexOf("LETTERSPACING-")===0?O.letterSpacing=re(Be(ve),"letter-spacing","editor"):ve.indexOf("TEXTINDENT-")===0?O.textIndent=re(Be(ve),"text-indent","editor"):ve.indexOf("FONTFAMILY-")===0&&(O.fontFamily=(G.find(function(Qe){return Qe.name.toUpperCase()===Be(ve)})||{}).family||"")}),O}},Xe=s(18),vt=s.n(Xe),bt=function(w){var m=w.children,R=w.entityKey,t=w.contentState,O=t.getEntity(R).getData(),G=O.href,re=O.target;return Z.a.createElement("span",{className:"bf-link-wrap"},Z.a.createElement("a",{onClick:function(de){return en(de,G)},className:"bf-link",href:G,target:re},m))},en=function(m,R){if(m.getModifierState("Control")||m.getModifierState("Meta")){var t=document.createElement("a");t.href=R,t.target=m.currentTarget.target,t.click()}},Zt="-";vt.a.prototype.getDecorations=function(w,m){var R=Array(w.getText().length).fill(null);return this.decorators.forEach(function(t,O){t.getDecorations(w,m).forEach(function(G,re){G&&(G=O+Zt+G,R[re]=G)})}),Dt.a.List(R)};var nn=[{type:"entity",decorator:{key:"LINK",component:bt}}],lr=function(m){return function(R,t,O){R.findEntityRanges(function(G){var re=G.getEntity();return re!==null&&O.getEntity(re).getType()===m},t)}},Br=function(w){var m=wt(w),R=[].concat(nn,te()(m.filter(function(G){return G.type==="entity"}))),t=m.filter(function(G){return G.type==="strategy"}),O=m.filter(function(G){return G.type==="class"});return new vt.a([].concat(te()(O.map(function(G){return G.decorator})),[new Je.CompositeDecorator(t.map(function(G){return G.decorator})),new Je.CompositeDecorator(R.map(function(G){return{strategy:lr(G.decorator.key),component:G.decorator.component}}))]))},ur=Bt,Wn=ie,Sn=Ee,Cn=ge,Pn=Ue,xt=Br,Wt=s(53),or=s(54),Vn=s(55),hn=[],Mn=!1,bn=!1,cn={resolve:function(m){var R=Fe.BaseUtils.UniqueIndex();return hn.push({id:R,eventHandler:m}),R},unresolve:function(m){hn=hn.filter(function(R){return R.id!==m})}};!Mn&&(typeof window=="undefined"?"undefined":d()(window))==="object"&&(window.addEventListener("resize",function(w){clearTimeout(bn),bn=setTimeout(function(){hn.map(function(m){typeof m.eventHandler=="function"&&m.eventHandler(w)}),bn=!1},100)}),Mn=!0);var rn=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"responsiveResolveId",null),W()(I()(t),"dropDownHandlerElement",null),W()(I()(t),"dropDownContentElement",null),W()(I()(t),"state",{active:!1,offset:0}),W()(I()(t),"fixDropDownPosition",function(){var q=t.props.getContainerNode().getBoundingClientRect(),de=t.dropDownHandlerElement.getBoundingClientRect(),ve=t.dropDownContentElement.getBoundingClientRect(),Qe=0,tt=de.right-de.width/2+ve.width/2,dt=de.left+de.width/2-ve.width/2;tt=q.right-tt,dt=dt-q.left,tt<10?Qe=tt-10:dt<10&&(Qe=dt*-1+10),Qe!==t.state.offset&&t.setState({offset:Qe})}),W()(I()(t),"registerClickEvent",function(q){var de=t.props.autoHide,ve=t.state.active;if(t.dropDownContentElement.contains(q.target)||t.dropDownHandlerElement.contains(q.target))return!1;de&&ve&&t.hide()}),W()(I()(t),"toggle",function(){t.setState({active:!t.state.active})}),W()(I()(t),"show",function(){t.setState({active:!0})}),W()(I()(t),"hide",function(){t.setState({active:!1})}),t}return U()(m,[{key:"componentDidMount",value:function(){document&&(document.body.addEventListener("click",this.registerClickEvent),this.responsiveResolveId=cn.resolve(this.fixDropDownPosition))}},{key:"componentWillReceiveProps",value:function(t){!this.props.disabled&&t.disabled&&this.hide()}},{key:"componentDidUpdate",value:function(t){!t.active&&this.state.active&&this.fixDropDownPosition()}},{key:"componentWillUnmount",value:function(){document&&(document.body.removeEventListener("click",this.registerClickEvent),cn.unresolve(this.responsiveResolveId))}},{key:"render",value:function(){var t=this,O=this.state,G=O.active,re=O.offset,q=this.props,de=q.caption,ve=q.htmlCaption,Qe=q.title,tt=q.disabled,dt=q.showArrow,It=q.arrowActive,zt=q.className,an=q.children,tn=q.theme;return tt&&(G=!1),tn==="light"&&(zt=" light-theme "+zt),Z.a.createElement("div",{className:"bf-dropdown "+(G?"active ":"")+(tt?"disabled ":"")+zt},ve?Z.a.createElement("button",{type:"button",className:"dropdown-handler","data-title":Qe,onClick:this.toggle,dangerouslySetInnerHTML:ve?{__html:ve}:null,ref:function(Jt){return t.dropDownHandlerElement=Jt}}):Z.a.createElement("button",{type:"button",className:"dropdown-handler","data-title":Qe,onClick:this.toggle,ref:function(Jt){return t.dropDownHandlerElement=Jt}},Z.a.createElement("span",null,de),dt!==!1?Z.a.createElement("i",{className:"bfi-drop-down"}):null),Z.a.createElement("div",{className:"dropdown-content",style:{marginLeft:re},ref:function(Jt){return t.dropDownContentElement=Jt}},Z.a.createElement("i",{style:{marginLeft:re*-1},className:"dropdown-arrow"+(It?" active":"")}),Z.a.createElement("div",{className:"dropdown-content-inner"},an)))}}]),m}(Z.a.Component),wn=function(w){return Z.a.Fragment?Z.a.createElement(Z.a.Fragment,null,w.children):Z.a.createElement("div",{className:"control-item-group"},w.children)},Nn=function(w){$()(m,w);function m(R){var t;return f()(this,m),t=k()(this,z()(m).call(this,R)),W()(I()(t),"dropDownInstance",null),W()(I()(t),"handeKeyDown",function(O){if(O.keyCode===13)return t.handleConfirm(),O.preventDefault(),!1}),W()(I()(t),"handleTnputText",function(O){t.setState({text:O.currentTarget.value})}),W()(I()(t),"handleInputLink",function(O){t.setState({href:O.currentTarget.value})}),W()(I()(t),"setTarget",function(){t.setState({target:t.state.target==="_blank"?"":"_blank"})}),W()(I()(t),"handleCancel",function(){t.dropDownInstance.hide()}),W()(I()(t),"handleUnlink",function(){t.dropDownInstance.hide(),t.props.editor.setValue(Fe.ContentUtils.toggleSelectionLink(t.props.editorState,!1))}),W()(I()(t),"handleConfirm",function(){var O=t.state,G=O.text,re=O.href,q=O.target,de=O.textSelected,ve=t.props.hooks("toggle-link",{href:re,target:q})({href:re,target:q});if(t.dropDownInstance.hide(),t.props.editor.requestFocus(),ve===!1)return!1;ve&&(typeof ve.href=="string"&&(re=ve.href),typeof ve.target=="string"&&(q=ve.target)),de?re?t.props.editor.setValue(Fe.ContentUtils.toggleSelectionLink(t.props.editorState,re,q)):t.props.editor.setValue(Fe.ContentUtils.toggleSelectionLink(t.props.editorState,!1)):t.props.editor.setValue(Fe.ContentUtils.insertText(t.props.editorState,G||re,null,{type:"LINK",data:{href:re,target:q}}))}),t.state={text:"",href:"",target:R.defaultLinkTarget||"",textSelected:!1},t}return U()(m,[{key:"componentWillReceiveProps",value:function(t){var O=Fe.ContentUtils.getSelectionEntityData(t.editorState,"LINK"),G=O.href,re=O.target,q=!Fe.ContentUtils.isSelectionCollapsed(this.props.editorState)&&Fe.ContentUtils.getSelectionBlockType(this.props.editorState)!=="atomic",de="";q&&(de=Fe.ContentUtils.getSelectionText(this.props.editorState)),this.setState({textSelected:q,text:de,href:G||"",target:typeof re=="undefined"?t.defaultLinkTarget||"":re||""})}},{key:"render",value:function(){var t=this,O=this.props.allowInsertLinkText,G=this.state,re=G.text,q=G.href,de=G.target,ve=G.textSelected,Qe=Z.a.createElement("i",{className:"bfi-link"});return Z.a.createElement(wn,null,Z.a.createElement(rn,{key:0,caption:Qe,title:this.props.language.controls.link,autoHide:!0,getContainerNode:this.props.getContainerNode,showArrow:!1,ref:function(dt){return t.dropDownInstance=dt},className:"control-item dropdown link-editor-dropdown"},Z.a.createElement("div",{className:"bf-link-editor"},O?Z.a.createElement("div",{className:"input-group"},Z.a.createElement("input",{type:"text",value:re,spellCheck:!1,disabled:ve,placeholder:this.props.language.linkEditor.textInputPlaceHolder,onKeyDown:this.handeKeyDown,onChange:this.handleTnputText})):null,Z.a.createElement("div",{className:"input-group"},Z.a.createElement("input",{type:"text",value:q,spellCheck:!1,placeholder:this.props.language.linkEditor.linkInputPlaceHolder,onKeyDown:this.handeKeyDown,onChange:this.handleInputLink})),Z.a.createElement("div",{className:"switch-group"},Z.a.createElement(Qt,{active:de==="_blank",onClick:this.setTarget}),Z.a.createElement("label",null,this.props.language.linkEditor.openInNewWindow)),Z.a.createElement("div",{className:"buttons"},Z.a.createElement("a",{onClick:this.handleUnlink,className:"primary button-remove-link pull-left"},Z.a.createElement("i",{className:"bfi-close"}),Z.a.createElement("span",null,this.props.language.linkEditor.removeLink)),Z.a.createElement("button",{type:"button",onClick:this.handleConfirm,className:"primary pull-right"},this.props.language.base.confirm),Z.a.createElement("button",{type:"button",onClick:this.handleCancel,className:"default pull-right"},this.props.language.base.cancel)))),Z.a.createElement("button",{key:1,type:"button","data-title":this.props.language.controls.unlink,className:"control-item button",onClick:this.handleUnlink,disabled:!ve||!q},Z.a.createElement("i",{className:"bfi-link-off"})))}}]),m}(Z.a.Component),Ar=s(56),sr=function(m){return[{key:"header-one",title:m.controls.header+" 1",text:Z.a.createElement("h1",null,m.controls.header," 1"),type:"block-type",command:"header-one"},{key:"header-two",title:m.controls.header+" 2",text:Z.a.createElement("h2",null,m.controls.header," 2"),type:"block-type",command:"header-two"},{key:"header-three",title:m.controls.header+" 3",text:Z.a.createElement("h3",null,m.controls.header," 3"),type:"block-type",command:"header-three"},{key:"header-four",title:m.controls.header+" 4",text:Z.a.createElement("h4",null,m.controls.header," 4"),type:"block-type",command:"header-four"},{key:"header-five",title:m.controls.header+" 5",text:Z.a.createElement("h5",null,m.controls.header," 5"),type:"block-type",command:"header-five"},{key:"header-six",title:m.controls.header+" 6",text:Z.a.createElement("h6",null,m.controls.header," 6"),type:"block-type",command:"header-six"},{key:"unstyled",title:m.controls.normal,text:m.controls.normal,type:"block-type",command:"unstyled"}]},Sr={"header-one":"h1","header-two":"h2","header-three":"h3","header-four":"h4","header-fiv":"h5","header-six":"h6",unstyled:"p",blockquote:"blockquote"},Cr=function(w){var m=null,R=sr(w.language).filter(function(G){return w.headings.indexOf(G.key)!==-1}),t=R.findIndex(function(G){return G.command===w.current}),O=R[t]?R[t].title:w.language.controls.normal;return Z.a.createElement(rn,{caption:O,autoHide:!0,getContainerNode:w.getContainerNode,title:w.language.controls.headings,arrowActive:t===0,ref:function(re){return m=re},className:"control-item dropdown headings-dropdown"},Z.a.createElement("ul",{className:"menu"},R.map(function(G,re){var q=w.current===G.command;return Z.a.createElement("li",{key:re,className:"menu-item"+(q?" active":""),onClick:function(){w.onChange(G.command,G.type),m.hide()}},G.text)})))},cr=s(57),Tr=s(58),Gn=function(w){return Z.a.createElement("div",{className:"bf-colors-wrap"},Z.a.createElement("ul",{className:"bf-colors"},w.presetColors.map(function(m,R){var t=w.color&&m.toLowerCase()===w.color.toLowerCase()?"color-item active":"color-item";return Z.a.createElement("li",{key:R,title:m,className:t,style:{color:m},"data-color":m.replace("#",""),onClick:function(G){w.onChange(G.currentTarget.dataset.color,!0)}})})))},fr=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"state",{colorType:"color"}),W()(I()(t),"switchColorType",function(q){var de=q.currentTarget;t.setState({colorType:de.dataset.type})}),W()(I()(t),"toggleColor",function(q,de){if(q){var ve=t.props.hooks("toggle-text-".concat(t.state.colorType),q)(q);if(ve===!1)return!1;typeof ve=="string"&&(q=ve),t.state.colorType==="color"?t.props.editor.setValue(Fe.ContentUtils.toggleSelectionColor(t.props.editorState,q)):t.props.editor.setValue(Fe.ContentUtils.toggleSelectionBackgroundColor(t.props.editorState,q))}de&&(t.dropDownInstance.hide(),t.props.editor.requestFocus())}),t}return U()(m,[{key:"render",value:function(){var t=this,O={},G=null,re=this.state.colorType,q=this.props.editorState.getCurrentInlineStyle().toJS();q.forEach(function(Qe){Qe.indexOf("COLOR-")===0&&(O.color="#"+Qe.split("-")[1],re==="color"&&(G=O.color)),Qe.indexOf("BGCOLOR-")===0&&(O.backgroundColor="#"+Qe.split("-")[1],re==="background-color"&&(G=O.backgroundColor))});var de=Z.a.createElement("i",{style:O,className:"bfi-text-color"},Z.a.createElement("span",{className:"path1"}),Z.a.createElement("span",{className:"path2"})),ve=this.props.colorPicker||Gn;return Z.a.createElement(rn,{caption:de,title:this.props.language.controls.color,showArrow:!1,autoHide:this.props.autoHide,theme:this.props.theme,getContainerNode:this.props.getContainerNode,ref:function(tt){return t.dropDownInstance=tt},className:"control-item dropdown text-color-dropdown"},Z.a.createElement("div",{className:"bf-text-color-picker-wrap"},Z.a.createElement("div",{className:"bf-color-switch-buttons",style:this.props.enableBackgroundColor?{}:{display:"none"}},Z.a.createElement("button",{type:"button","data-type":"color",className:re==="color"?"active":"",onClick:this.switchColorType},this.props.language.controls.textColor),Z.a.createElement("button",{type:"button","data-type":"background-color",className:re==="background-color"?"active":"",onClick:this.switchColorType},this.props.language.controls.backgroundColor)),Z.a.createElement(ve,{width:200,color:G,disableAlpha:!0,presetColors:this.props.colors,onChange:this.toggleColor})))}}]),m}(Z.a.Component),Fr=s(59),qn=function(m,R){var t=m.currentTarget.dataset.size,O=R.hooks("toggle-font-size",t)(t);if(O===!1)return!1;isNaN(t)||(t=O),R.editor.setValue(Fe.ContentUtils.toggleSelectionFontSize(R.editorState,t)),R.editor.requestFocus()},br=function(w){var m=null,R=null,t=null;return w.fontSizes.find(function(O){return Fe.ContentUtils.selectionHasInlineStyle(w.editorState,"FONTSIZE-"+O)?(m=O,R=O,!0):!1}),Z.a.createElement(rn,{autoHide:!0,caption:m||w.defaultCaption,getContainerNode:w.getContainerNode,title:w.language.controls.fontSize,ref:function(G){return t=G},className:"control-item dropdown bf-font-size-dropdown"},Z.a.createElement("ul",{className:"bf-font-sizes"},w.fontSizes.map(function(O,G){return Z.a.createElement("li",{key:G,className:O===R?"active":null,"data-size":O,onClick:function(q){qn(q,w),t.hide()}},O)})))},wr=s(60),ir=function(m,R){var t=m.currentTarget.dataset.size,O=R.hooks("toggle-line-height",t)(t);if(O===!1)return!1;isNaN(O)||(t=O),R.editor.setValue(Fe.ContentUtils.toggleSelectionLineHeight(R.editorState,t)),R.editor.requestFocus()},xn=function(w){var m=null,R=null,t=null;return w.lineHeights.find(function(O){return Fe.ContentUtils.selectionHasInlineStyle(w.editorState,"LINEHEIGHT-"+O)?(m=O,R=O,!0):!1}),Z.a.createElement(rn,{autoHide:!0,caption:m||w.defaultCaption,getContainerNode:w.getContainerNode,title:w.language.controls.lineHeight,ref:function(G){return t=G},className:"control-item dropdown bf-line-height-dropdown"},Z.a.createElement("ul",{className:"bf-line-heights"},w.lineHeights.map(function(O,G){return Z.a.createElement("li",{key:G,className:O===R?"active":null,"data-size":O,onClick:function(q){ir(q,w),t.hide()}},O)})))},Qn=s(61),dr=function(m,R){var t=m.currentTarget.dataset.name,O=R.hooks("toggle-font-family",t)(t,R.fontFamilies);if(O===!1)return!1;typeof O=="string"&&(t=O),R.editor.setValue(Fe.ContentUtils.toggleSelectionFontFamily(R.editorState,t)),R.editor.requestFocus()},ar=function(w){var m=null,R=null,t=null;return w.fontFamilies.find(function(O,G){return Fe.ContentUtils.selectionHasInlineStyle(w.editorState,"FONTFAMILY-"+O.name)?(m=O.name,R=G,!0):!1}),Z.a.createElement(rn,{caption:m||w.defaultCaption,getContainerNode:w.getContainerNode,title:w.language.controls.fontFamily,autoHide:!0,arrowActive:R===0,ref:function(G){return t=G},className:"control-item dropdown font-family-dropdown"},Z.a.createElement("ul",{className:"menu"},w.fontFamilies.map(function(O,G){return Z.a.createElement("li",{key:G,className:"menu-item "+(G===R?"active":""),"data-name":O.name,onClick:function(q){dr(q,w),t.hide()}},Z.a.createElement("span",{style:{fontFamily:O.family}},O.name))})))},Lt=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"state",{currentAlignment:void 0}),W()(I()(t),"setAlignment",function(q){var de=q.currentTarget.dataset.alignment,ve=t.props.hooks("toggle-text-alignment",de)(de);t.props.textAligns.indexOf(ve)>-1&&(de=ve),t.props.editor.setValue(Fe.ContentUtils.toggleSelectionAlignment(t.props.editorState,de)),t.props.editor.requestFocus()}),t}return U()(m,[{key:"componentWillReceiveProps",value:function(t){this.setState({currentAlignment:Fe.ContentUtils.getSelectionBlockData(t.editorState,"textAlign")})}},{key:"render",value:function(){var t=this,O=[this.props.language.controls.alignLeft,this.props.language.controls.alignCenter,this.props.language.controls.alignRight,this.props.language.controls.alignJustify];return Z.a.createElement(wn,null,this.props.textAligns.map(function(G,re){return Z.a.createElement("button",{type:"button",key:re,"data-title":O[re],"data-alignment":G,className:"control-item button "+(G===t.state.currentAlignment?"active":null),onClick:t.setAlignment},Z.a.createElement("i",{className:"bfi-align-"+G}))}))}}]),m}(Z.a.Component),pr=s(62),fn=function(m,R){var t=m.currentTarget.dataset.emoji,O=R.hooks("insert-emoji",t)(t);if(O===!1)return!1;typeof O=="string"&&(t=O),R.editor.setValue(Fe.ContentUtils.insertText(R.editorState,t)),R.editor.requestFocus()},gr=function(w){return Z.a.createElement(rn,{caption:w.defaultCaption,autoHide:!0,showArrow:!1,getContainerNode:w.getContainerNode,title:w.language.controls.emoji,className:"control-item dropdown bf-emoji-dropdown"},Z.a.createElement("div",{className:"bf-emojis-wrap"},Z.a.createElement("ul",{className:"bf-emojis"},w.emojis.map(function(m,R){return Z.a.createElement("li",{key:R,"data-emoji":m,onClick:function(O){return fn(O,w)}},m)}))))},En=s(63),hr=function(m,R){var t=m.currentTarget.dataset.size,O=R.hooks("toggle-letter-spacing",t)(t);if(O===!1)return!1;isNaN(O)||(t=O),R.editor.setValue(Fe.ContentUtils.toggleSelectionLetterSpacing(R.editorState,t)),R.editor.requestFocus()},vr=function(w){var m=null,R=null,t=null;return w.letterSpacings.find(function(O){return Fe.ContentUtils.selectionHasInlineStyle(w.editorState,"LETTERSPACING-"+O)?(m=O,R=O,!0):!1}),Z.a.createElement(rn,{autoHide:!0,caption:m||w.defaultCaption,getContainerNode:w.getContainerNode,title:w.language.controls.letterSpacing,ref:function(G){return t=G},className:"control-item dropdown bf-letter-spacing-dropdown"},Z.a.createElement("ul",{className:"bf-letter-spacings"},w.letterSpacings.map(function(O,G){return Z.a.createElement("li",{key:G,className:O===R?"active":null,"data-size":O,onClick:function(q){hr(q,w),t.hide()}},O)})))},er=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"state",{currentIndent:0}),W()(I()(t),"increaseIndent",function(){t.props.editor.setValue(Fe.ContentUtils.increaseSelectionIndent(t.props.editorState)),t.props.editor.requestFocus()}),W()(I()(t),"decreaseIndent",function(){t.props.editor.setValue(Fe.ContentUtils.decreaseSelectionIndent(t.props.editorState)),t.props.editor.requestFocus()}),t}return U()(m,[{key:"componentWillReceiveProps",value:function(t){this.setState({currentIndent:Fe.ContentUtils.getSelectionBlockData(t.editorState,"textIndent")||0})}},{key:"render",value:function(){var t=this.state.currentIndent,O=this.props.language;return Z.a.createElement(wn,null,Z.a.createElement("button",{key:0,type:"button","data-title":O.controls.increaseIndent,disabled:t>=6,className:"control-item button button-indent-increase".concat(t>0&&t<6?" active":""),onClick:this.increaseIndent},Z.a.createElement("i",{className:"bfi-indent-increase"})),Z.a.createElement("button",{key:1,type:"button","data-title":O.controls.decreaseIndent,disabled:t<=0,className:"control-item button button-indent-decrease",onClick:this.decreaseIndent},Z.a.createElement("i",{className:"bfi-indent-decrease"})))}}]),m}(Z.a.Component),dn={"inline-style":"toggle-inline-style","block-type":"change-block-type","editor-method":"exec-editor-command"},qt={superscript:"subscript",subscript:"superscript"},Kn=function(m,R,t,O){return t=t.map(function(G){return typeof G=="function"?G(m):G}),O=O.map(function(G){return typeof G=="function"?G(m):G}),t.length===0&&O.length===0?R:R.map(function(G){return O.find(function(re){return re.replace===(G.key||G)})||t.find(function(re){return re.replace===(G.key||G)})||G}).concat(t.length?"separator":"").concat(t.filter(function(G){return!G.replace})).concat(O.filter(function(G){return typeof G=="string"||!G.replace}))},tr=function(w){$()(m,w);function m(){var R,t;f()(this,m);for(var O=arguments.length,G=new Array(O),re=0;re<O;re++)G[re]=arguments[re];return t=k()(this,(R=z()(m)).call.apply(R,[this].concat(G))),W()(I()(t),"allControls",[]),W()(I()(t),"mediaLibiraryModal",null),W()(I()(t),"extendedModals",{}),W()(I()(t),"openBraftFinder",function(){if(!t.props.braftFinder||!t.props.braftFinder.ReactComponent||t.props.hooks("open-braft-finder")()===!1)return!1;var q=t.props.media,de=t.props.braftFinder.ReactComponent;t.mediaLibiraryModal=sn({title:t.props.language.controls.mediaLibirary,language:t.props.language,width:640,showFooter:!1,className:q.modalClassName,component:Z.a.createElement(de,{accepts:q.accepts,onCancel:t.closeBraftFinder,onInsert:t.insertMedias,onChange:q.onChange,externals:q.externals,onBeforeSelect:t.bindBraftFinderHook("select-medias"),onBeforeDeselect:t.bindBraftFinderHook("deselect-medias"),onBeforeRemove:t.bindBraftFinderHook("remove-medias"),onBeforeInsert:t.bindBraftFinderHook("insert-medias"),onFileSelect:t.bindBraftFinderHook("select-files")})})}),W()(I()(t),"bindBraftFinderHook",function(q){return function(){return t.props.hooks(q,arguments.length<=0?void 0:arguments[0]).apply(void 0,arguments)}}),W()(I()(t),"insertMedias",function(q){t.props.editor.setValue(Fe.ContentUtils.insertMedias(t.props.editorState,q)),t.props.editor.requestFocus(),t.props.media.onInsert&&t.props.media.onInsert(q),t.closeBraftFinder()}),W()(I()(t),"closeBraftFinder",function(){t.props.media.onCancel&&t.props.media.onCancel(),t.mediaLibiraryModal&&t.mediaLibiraryModal.close()}),t}return U()(m,[{key:"componentDidUpdate",value:function(){var t=this,O=this.props.language;this.allControls.forEach(function(G){G.type==="modal"&&G.modal&&G.modal.id&&t.extendedModals[G.modal.id]&&t.extendedModals[G.modal.id].update(o()({},G.modal,{language:O}))})}},{key:"getControlItemClassName",value:function(t){var O="control-item button",G=t.type,re=t.command;return(G==="inline-style"&&Fe.ContentUtils.selectionHasInlineStyle(this.props.editorState,re)||G==="block-type"&&Fe.ContentUtils.getSelectionBlockType(this.props.editorState)===re||G==="entity"&&Fe.ContentUtils.getSelectionEntityType(this.props.editorState)===re)&&(O+=" active"),O}},{key:"applyControl",value:function(t,O){var G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},re=this.props.hooks(dn[O]||O,t)(t),q=this.props.editorState;if(re===!1)return!1;if(typeof re=="string"&&(t=re),O==="inline-style"){var de=qt[t];de&&Fe.ContentUtils.selectionHasInlineStyle(q,de)&&(q=Fe.ContentUtils.toggleSelectionInlineStyle(q,de)),this.props.editor.setValue(Fe.ContentUtils.toggleSelectionInlineStyle(q,t))}else O==="block-type"?this.props.editor.setValue(Fe.ContentUtils.toggleSelectionBlockType(q,t)):O==="entity"?this.props.editor.setValue(Fe.ContentUtils.toggleSelectionEntity(q,{type:t,mutability:G.mutability||"MUTABLE",data:G.data||{}})):O==="editor-method"&&this.props.editor[t]&&this.props.editor[t]()}},{key:"render",value:function(){var t=this,O=this.props,G=O.editor,re=O.editorId,q=O.editorState,de=O.className,ve=O.style,Qe=O.controls,tt=O.media,dt=O.extendControls,It=O.language,zt=O.hooks,an=O.colors,tn=O.colorPicker,Vt=O.colorPickerTheme,Jt=O.colorPickerAutoHide,_n=O.headings,Un=O.fontSizes,zn=O.fontFamilies,On=O.emojis,Jn=O.getContainerNode,yr=O.lineHeights,Rn=O.letterSpacings,Xn=O.textAligns,Er=O.textBackgroundColor,Xt=O.allowInsertLinkText,kn=O.defaultLinkTarget,e=Fe.ContentUtils.getSelectionBlockType(q),n={editor:G,editorId:re,editorState:q,language:It,getContainerNode:Jn,hooks:zt},T=[],N=Bn(It,G),H=ot(re),ee=Kn(n,Qe,H,dt);return this.allControls=ee,Z.a.createElement("div",{className:"bf-controlbar ".concat(de||""),style:ve,onMouseDown:this.preventDefault},ee.map(function(oe,se){var Ae=typeof oe=="string"?oe:oe.key;if(typeof Ae!="string"||T.indexOf(Ae)>-1)return null;if(Ae.toLowerCase()==="separator")return Z.a.createElement("span",{key:se,className:"separator-line"});var ue=N.find(function(Ge){return Ge.key.toLowerCase()===Ae.toLowerCase()});if(typeof oe!="string"&&(ue=o()({},ue,oe)),!ue)return null;if(T.push(Ae),ue.type==="headings")return Z.a.createElement(Cr,Rt()({key:se,headings:_n,current:e,onChange:function($e){return t.applyControl($e,"block-type")}},n));if(ue.type==="text-color")return Z.a.createElement(fr,Rt()({key:se,colors:an,colorPicker:tn,theme:Vt,autoHide:Jt,enableBackgroundColor:Er},n));if(ue.type==="font-size")return Z.a.createElement(br,Rt()({key:se,fontSizes:Un,defaultCaption:ue.title},n));if(ue.type==="line-height")return Z.a.createElement(xn,Rt()({key:se,lineHeights:yr,defaultCaption:ue.title},n));if(ue.type==="letter-spacing")return Z.a.createElement(vr,Rt()({key:se,letterSpacings:Rn,defaultCaption:ue.title},n));if(ue.type==="text-indent")return Z.a.createElement(er,Rt()({key:se,defaultCaption:ue.title},n));if(ue.type==="font-family")return Z.a.createElement(ar,Rt()({key:se,fontFamilies:zn,defaultCaption:ue.title},n));if(ue.type==="emoji")return Z.a.createElement(gr,Rt()({key:se,emojis:On,defaultCaption:ue.text},n));if(ue.type==="link")return Z.a.createElement(Nn,Rt()({key:se,defaultLinkTarget:kn,allowInsertLinkText:Xt},n));if(ue.type==="text-align")return Z.a.createElement(Lt,Rt()({key:se,textAligns:Xn},n));if(ue.type==="media")return!tt.image&&!tt.video&&!tt.audio?null:Z.a.createElement("button",{type:"button",key:se,"data-title":ue.title,disabled:ue.disabled,className:"control-item media button",onClick:t.openBraftFinder},ue.text);if(ue.type==="dropdown")return Z.a.createElement(rn,Rt()({key:se,className:"control-item extend-control-item dropdown ".concat(ue.className||""),caption:ue.text,htmlCaption:ue.html,showArrow:ue.showArrow,title:ue.title,arrowActive:ue.arrowActive,theme:ue.theme,autoHide:ue.autoHide,disabled:ue.disabled,ref:ue.ref},n),ue.component);if(ue.type==="modal")return Z.a.createElement("button",{type:"button",key:se,"data-title":ue.title,disabled:ue.disabled,className:"control-item extend-control-item button ".concat(ue.className||""),dangerouslySetInnerHTML:ue.html?{__html:ue.html}:null,onClick:function($e){ue.modal&&ue.modal.id&&(t.extendedModals[ue.modal.id]?(t.extendedModals[ue.modal.id].active=!0,t.extendedModals[ue.modal.id].update(o()({},ue.modal,{language:It}))):(t.extendedModals[ue.modal.id]=sn(o()({},ue.modal,{language:It})),ue.modal.onCreate&&ue.modal.onCreate(t.extendedModals[ue.modal.id]))),ue.onClick&&ue.onClick($e)}},ue.html?null:ue.text);if(ue.type==="component")return Z.a.createElement("div",{key:se,className:"component-wrapper ".concat(ue.className||"")},ue.component);if(ue.type==="button")return Z.a.createElement("button",{type:"button",key:se,"data-title":ue.title,disabled:ue.disabled,className:"control-item button ".concat(ue.className||""),dangerouslySetInnerHTML:ue.html?{__html:ue.html}:null,onClick:function($e){return ue.onClick&&ue.onClick($e)}},ue.html?null:ue.text);if(ue){var Ie=!1;return ue.command==="undo"?Ie=q.getUndoStack().size===0:ue.command==="redo"&&(Ie=q.getRedoStack().size===0),Z.a.createElement("button",{type:"button",key:se,disabled:Ie,"data-title":ue.title,className:t.getControlItemClassName({type:ue.type,command:ue.command}),onClick:function(){return t.applyControl(ue.command,ue.type,ue.data)}},ue.text)}}))}},{key:"preventDefault",value:function(t){var O=t.target.tagName.toLowerCase();O==="input"||O==="label"||t.preventDefault()}}]),m}(Z.a.Component),xr=function(m){return function(R){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return m[R]||function(){return t}}},mr=function(m,R){return m.filter(function(t){return!R.find(function(O){return O.toLowerCase()===t.toLowerCase()})}).filter(function(t,O,G){return G.indexOf(t)===O})},Nt=function(m,R){return[].concat(te()(m.controls),te()(m.extendControls)).find(function(t){return t===R||t.key===R})&&m.excludeControls.indexOf(R)===-1},In=function(m){var R=m.editorId||m.id,t=o()({},V.converts,m.converts,{fontFamilies:m.fontFamilies});return t.styleImportFn=ht(t.styleImportFn,R),t.styleExportFn=ft(t.styleExportFn,R),t.entityImportFn=jt(t.entityImportFn,R),t.entityExportFn=Ht(t.entityExportFn,R),t.blockImportFn=Ot(t.blockImportFn,R),t.blockExportFn=Ft(t.blockExportFn,R),t},Yn=function(w){$()(m,w);function m(R){var t;f()(this,m),t=k()(this,z()(m).call(this,R)),W()(I()(t),"onChange",function(q,de){q instanceof Je.EditorState||(q=Je.EditorState.set(q,{decorator:t.editorDecorators})),q.convertOptions||q.setConvertOptions(In(t.editorProps)),t.setState({editorState:q},function(){t.props.onChange&&t.props.onChange(q),de&&de(q)})}),W()(I()(t),"getDraftInstance",function(){return t.draftInstance}),W()(I()(t),"getFinderInstance",function(){return t.braftFinder}),W()(I()(t),"getValue",function(){return t.state.editorState}),W()(I()(t),"setValue",function(q,de){return t.onChange(q,de)}),W()(I()(t),"forceRender",function(){var q=t.state.editorState.getSelection();t.setValue(Je.EditorState.set(t.state.editorState,{decorator:t.editorDecorators}),function(){t.setValue(Je.EditorState.forceSelection(t.state.editorState,q))})}),W()(I()(t),"onTab",function(q){he("tab",t.state.editorState,I()(t))==="handled"&&q.preventDefault(),t.editorProps.onTab&&t.editorProps.onTab(q)}),W()(I()(t),"onFocus",function(){t.isFocused=!0,t.editorProps.onFocus&&t.editorProps.onFocus(t.state.editorState)}),W()(I()(t),"onBlur",function(){t.isFocused=!1,t.editorProps.onBlur&&t.editorProps.onBlur(t.state.editorState)}),W()(I()(t),"requestFocus",function(){setTimeout(function(){return t.draftInstance.focus()},0)}),W()(I()(t),"handleKeyCommand",function(q,de){return he(q,de,I()(t))}),W()(I()(t),"handleReturn",function(q,de){return be(q,de,I()(t))}),W()(I()(t),"handleBeforeInput",function(q,de){return ke(q,de,I()(t))}),W()(I()(t),"handleDrop",function(q,de){return Ke(q,de,I()(t))}),W()(I()(t),"handleDroppedFiles",function(q,de){return et(q,de,I()(t))}),W()(I()(t),"handlePastedFiles",function(q){return Pe(q,I()(t))}),W()(I()(t),"handleCopyContent",function(q){return at(q,I()(t))}),W()(I()(t),"handlePastedText",function(q,de,ve){return mt(q,de,ve,I()(t))}),W()(I()(t),"handleCompositionStart",function(q){return Oe(q,I()(t))}),W()(I()(t),"undo",function(){t.setValue(Fe.ContentUtils.undo(t.state.editorState))}),W()(I()(t),"redo",function(){t.setValue(Fe.ContentUtils.redo(t.state.editorState))}),W()(I()(t),"removeSelectionInlineStyles",function(){t.setValue(Fe.ContentUtils.removeSelectionInlineStyles(t.state.editorState))}),W()(I()(t),"insertHorizontalLine",function(){t.setValue(Fe.ContentUtils.insertHorizontalLine(t.state.editorState))}),W()(I()(t),"clearEditorContent",function(){t.setValue(Fe.ContentUtils.clear(t.state.editorState),function(q){t.setValue(Fe.ContentUtils.toggleSelectionIndent(q,0))})}),W()(I()(t),"toggleFullscreen",function(q){t.setState({isFullscreen:typeof q!="undefined"?q:!t.state.isFullscreen},function(){t.editorProps.onFullscreen&&t.editorProps.onFullscreen(t.state.isFullscreen)})}),W()(I()(t),"setEditorContainerNode",function(q){t.containerNode=q}),t.editorProps=t.getEditorProps(R),t.editorDecorators=xt(t.editorProps.editorId||t.editorProps.id),t.isFocused=!1,t.isLiving=!1,t.braftFinder=null,t.valueInitialized=!!(t.props.defaultValue||t.props.value);var O=(t.props.defaultValue||t.props.value)instanceof Je.EditorState?t.props.defaultValue||t.props.value:Je.EditorState.createEmpty(t.editorDecorators);O.setConvertOptions(In(t.editorProps));var G=[];if(Fe.ContentUtils.isEditorState(O)){var re=Fe.ColorUtils.detectColorsFromDraftState(O.toRAW(!0));O.setConvertOptions(In(t.editorProps)),G=mr(re,t.editorProps.colors)}return t.state={tempColors:G,editorState:O,isFullscreen:!1,draftProps:{}},t.containerNode=null,t}return U()(m,[{key:"getEditorProps",value:function(t){var O=this;t=t||this.props;var G=t,re=G.value,q=G.defaultValue,de=G.onChange,ve=x()(G,["value","defaultValue","onChange"]),Qe=Et(ve.editorId||ve.id);if(Qe.length===0)return ve;var tt=Object(pt.Map)(ve);return Qe.forEach(function(dt){tt=tt.merge(Object(pt.Map)(dt(tt.toJS(),O)||{}))}),tt.toJS()}},{key:"componentWillMount",value:function(){if(Nt(this.editorProps,"media")){var t=this.editorProps,O=t.language,G=t.media,re=o()({},V.media,G),q=re.uploadFn,de=re.validateFn,ve=re.items;this.braftFinder=new rt.a({items:ve,language:O,uploader:q,validator:de}),this.forceUpdate()}}},{key:"componentDidMount",value:function(){this.isLiving=!0}},{key:"componentDidUpdate",value:function(t,O){O.editorState!==this.state.editorState&&this.state.editorState.setConvertOptions(In(this.editorProps))}},{key:"componentWillReceiveProps",value:function(t){var O=this;this.editorProps=this.getEditorProps(t);var G=t.value,re=this.editorProps,q=re.media,de=re.language,ve=this.getEditorProps();if(!Nt(ve,"media")&&Nt(this.editorProps,"media")&&!this.braftFinder){var Qe=o()({},V.media,q),tt=Qe.uploadFn,dt=Qe.validateFn,It=Qe.items;this.braftFinder=new rt.a({items:It,language:de,uploader:tt,validator:dt}),this.forceUpdate()}q&&q.items&&this.braftFinder&&this.braftFinder.setItems(q.items);var zt;if(!this.valueInitialized&&typeof this.props.defaultValue=="undefined"&&Fe.ContentUtils.isEditorState(t.defaultValue)?zt=t.defaultValue:Fe.ContentUtils.isEditorState(G)&&(zt=G),zt)if(zt&&zt!==this.state.editorState){var an=Fe.ColorUtils.detectColorsFromDraftState(zt.toRAW(!0));zt.setConvertOptions(In(this.editorProps)),this.setState({tempColors:mr([].concat(te()(this.state.tempColors),te()(an)),ve.colors),editorState:zt},function(){O.props.onChange&&O.props.onChange(zt)})}else this.setState({editorState:zt})}},{key:"componentWillUnmount",value:function(){this.isLiving=!1,this.controlBarInstance&&this.controlBarInstance.closeBraftFinder()}},{key:"lockOrUnlockEditor",value:function(t){this.setState({editorLocked:t})}},{key:"render",value:function(){var t=this,O=this.editorProps,G=O.id,re=O.editorId,q=O.controls,de=O.excludeControls,ve=O.extendControls,Qe=O.readOnly,tt=O.disabled,dt=O.media,It=O.language,zt=O.colors,an=O.colorPicker,tn=O.colorPickerTheme,Vt=O.colorPickerAutoHide,Jt=O.hooks,_n=O.fontSizes,Un=O.fontFamilies,zn=O.emojis,On=O.placeholder,Jn=O.fixPlaceholder,yr=O.headings,Rn=O.imageControls,Xn=O.imageResizable,Er=O.imageEqualRatio,Xt=O.lineHeights,kn=O.letterSpacings,e=O.textAligns,n=O.textBackgroundColor,T=O.allowInsertLinkText,N=O.defaultLinkTarget,H=O.extendAtomics,ee=O.className,oe=O.style,se=O.controlBarClassName,Ae=O.controlBarStyle,ue=O.contentClassName,Ie=O.contentStyle,Ge=O.stripPastedStyles,$e=O.componentBelowControlBar,yt=this.state,kt=yt.isFullscreen,Kt=yt.editorState;re=re||G,Jt=xr(Jt),q=q.filter(function(Dr){return de.indexOf(Dr)===-1}),It=(typeof It=="function"?It(ze,"braft-editor"):ze[It])||ze[V.language];var Dn=dt&&dt.externals?o()({},V.media.externals,dt.externals):V.media.externals,Ln=dt&&dt.accepts?o()({},V.media.accepts,dt.accepts):V.media.accepts;dt=o()({},V.media,dt,{externalMedias:Dn,accepts:Ln}),dt.uploadFn||(dt.video=!1,dt.audio=!1);var kr={editor:this,editorState:Kt,braftFinder:this.braftFinder,ref:function(Mr){return t.controlBarInstance=Mr},getContainerNode:function(){return t.containerNode},className:se,style:Ae,colors:[].concat(te()(zt),te()(this.state.tempColors)),colorPicker:an,colorPickerTheme:tn,colorPickerAutoHide:Vt,hooks:Jt,editorId:re,media:dt,controls:q,language:It,extendControls:ve,headings:yr,fontSizes:_n,fontFamilies:Un,emojis:zn,lineHeights:Xt,letterSpacings:kn,textAligns:e,textBackgroundColor:n,allowInsertLinkText:T,defaultLinkTarget:N},Rr=Kt.convertOptions.unitExportFn,Ir={editor:this,editorId:re,hooks:Jt,editorState:Kt,containerNode:this.containerNode,imageControls:Rn,imageResizable:Xn,language:It,extendAtomics:H,imageEqualRatio:Er},Lr=Wn(Ir,this.editorProps.blockRendererFn),Pr=ur(Ir,this.editorProps.blockRenderMap),Nr=Sn(this.editorProps.blockStyleFn),Kr=Cn(Ir,this.editorProps.customStyleMap),Ur=Pn(Ir,{fontFamilies:Un,unitExportFn:Rr,customStyleFn:this.editorProps.customStyleFn}),zr=Se(this.editorProps.keyBindingFn),Or={};(this.state.editorLocked||this.editorProps.disabled||this.editorProps.readOnly||this.editorProps.draftProps.readOnly)&&(Or.readOnly=!0),On&&Jn&&Kt.isEmpty()&&Kt.getCurrentContent().getFirstBlock().getType()!=="unstyled"&&(On="");var Hr=o()({ref:function(Mr){t.draftInstance=Mr},editorState:Kt,handleKeyCommand:this.handleKeyCommand,handleReturn:this.handleReturn,handleBeforeInput:this.handleBeforeInput,handleDrop:this.handleDrop,handleDroppedFiles:this.handleDroppedFiles,handlePastedText:this.handlePastedText,handlePastedFiles:this.handlePastedFiles,onChange:this.onChange,onTab:this.onTab,onFocus:this.onFocus,onBlur:this.onBlur,blockRenderMap:Pr,blockRendererFn:Lr,blockStyleFn:Nr,customStyleMap:Kr,customStyleFn:Ur,keyBindingFn:zr,placeholder:On,stripPastedStyles:Ge},this.editorProps.draftProps,Or);return Z.a.createElement("div",{style:oe,ref:this.setEditorContainerNode,className:"bf-container ".concat(ee).concat(tt?" disabled":"").concat(Qe?" read-only":"").concat(kt?" fullscreen":"")},Z.a.createElement(tr,kr),$e,Z.a.createElement("div",{onCompositionStart:this.handleCompositionStart,className:"bf-content ".concat(ue),onCopy:this.handleCopyContent,style:Ie},Z.a.createElement(Je.Editor,Hr)))}}]),m}(Z.a.Component);W()(Yn,"defaultProps",V);var v=s(14);s.d(p,"EditorState",function(){return Je.EditorState}),s.d(p,"getDecorators",function(){return xt}),Je.EditorState.prototype.setConvertOptions=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.convertOptions=w},Je.EditorState.prototype.toHTML=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=this.convertOptions||{};return Object(v.convertEditorStateToHTML)(this,o()({},m,w))},Je.EditorState.prototype.toRAW=function(w){return w?Object(v.convertEditorStateToRaw)(this):JSON.stringify(Object(v.convertEditorStateToRaw)(this))},Je.EditorState.prototype.toText=function(){return this.getCurrentContent().getPlainText()},Je.EditorState.prototype.isEmpty=function(){return!this.getCurrentContent().hasText()},Yn.createEditorState=Je.EditorState.createFrom=function(w){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};m.unitExportFn=m.unitExportFn||Yn.defaultProps.converts.unitExportFn,m.styleImportFn=ht(m.styleImportFn,m.editorId),m.entityImportFn=jt(m.entityImportFn,m.editorId),m.blockImportFn=Ot(m.blockImportFn,m.editorId);var R=null;if(w instanceof Je.EditorState)R=w;else if(d()(w)==="object"&&w&&w.blocks&&w.entityMap)R=Object(v.convertRawToEditorState)(w,xt(m.editorId));else if(typeof w=="string")try{/^(-)?\d+$/.test(w)?R=Object(v.convertHTMLToEditorState)(w,xt(m.editorId),m,"create"):R=Je.EditorState.createFrom(JSON.parse(w),m)}catch(t){R=Object(v.convertHTMLToEditorState)(w,xt(m.editorId),m,"create")}else typeof w=="number"?R=Object(v.convertHTMLToEditorState)(w.toLocaleString().replace(/,/g,""),xt(m.editorId),m,"create"):R=Je.EditorState.createEmpty(xt(m.editorId));return m.styleExportFn=ft(m.styleExportFn,m.editorId),m.entityExportFn=Ht(m.entityExportFn,m.editorId),m.blockExportFn=Ft(m.blockExportFn,m.editorId),R.setConvertOptions(m),R};var P=p.default=Mt(Yn)},function(l,p){},,function(l,p){},,,function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){},function(l,p){}])})},80306:function(J,D,r){(function(A,C){if(!0)J.exports=C(r(93236));else var g,h})(window,function(S){return function(A){var C={};function g(h){if(C[h])return C[h].exports;var b=C[h]={i:h,l:!1,exports:{}};return A[h].call(b.exports,b,b.exports,g),b.l=!0,b.exports}return g.m=A,g.c=C,g.d=function(h,b,E){g.o(h,b)||Object.defineProperty(h,b,{enumerable:!0,get:E})},g.r=function(h){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})},g.t=function(h,b){if(b&1&&(h=g(h)),b&8||b&4&&typeof h=="object"&&h&&h.__esModule)return h;var E=Object.create(null);if(g.r(E),Object.defineProperty(E,"default",{enumerable:!0,value:h}),b&2&&typeof h!="string")for(var c in h)g.d(E,c,function(l){return h[l]}.bind(null,c));return E},g.n=function(h){var b=h&&h.__esModule?function(){return h.default}:function(){return h};return g.d(b,"a",b),b},g.o=function(h,b){return Object.prototype.hasOwnProperty.call(h,b)},g.p="/",g(g.s=20)}([function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var h=C.compressImage=function(E){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1280,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:800;return new Promise(function(p,s){var a=new Image;a.src=E,a.onerror=function(d){s(d)},a.onload=function(){try{var d=document.createElement("canvas"),i=this.width>c||this.height>l?this.width>this.height?c/this.width:l/this.height:1;d.width=this.width*i,d.height=this.height*i;var o=d.getContext("2d");o.drawImage(this,0,0,d.width,d.height),p({url:d.toDataURL("image/png",1),width:d.width,height:d.height})}catch(u){s(u)}}})}},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var h=C.UniqueIndex=function(){return isNaN(window.__BRAFT_MM_UNIQUE_INDEX__)?window.__BRAFT_MM_UNIQUE_INDEX__=1:window.__BRAFT_MM_UNIQUE_INDEX__+=1,window.__BRAFT_MM_UNIQUE_INDEX__}},function(A,C){A.exports=S},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default={remove:"Kald\u0131r",cancel:"\u0130ptal",confirm:"Onayla",insert:"Se\xE7ilenleri ekle",width:"Geni\u015Flik",height:"Y\xFCkseklik",image:"Resim",video:"G\xF6r\xFCnt\xFC",audio:"Ses",embed:"Nesne g\xF6m",caption:"Kitapl\u0131k",dragTip:"T\u0131kla ya da dosya s\xFCr\xFCkle",dropTip:"Y\xFCklemek i\xE7in s\xFCr\xFCkleyin",selectAll:"T\xFCm\xFCn\xFC se\xE7",deselect:"Se\xE7imi kald\u0131r",removeSelected:"Se\xE7ilenleri kald\u0131r",externalInputPlaceHolder:"Kaynak ad\u0131|Kaynak ba\u011Flant\u0131s\u0131",externalInputTip:`Kaynak as\u0131n\u0131 ve ba\u011Flant\u0131s\u0131n\u0131 "|" ile ay\u0131r\u0131n ve Enter' a bas\u0131n.`,addLocalFile:"Yerel' den ekle",addExternalSource:"Harici kaynaktan ekle",unnamedItem:"Adland\u0131r\u0131lmam\u0131\u015F giri\u015F",confirmInsert:"Se\xE7ilenleri ekle"}},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default={remove:"\u524A\u9664\u3059\u308B",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",confirm:"\u78BA\u8A8D\u3059\u308B",insert:"\u9078\u629E\u3057\u305F\u30A2\u30A4\u30C6\u30E0\u3092\u633F\u5165",width:"\u5E45",height:"\u8EAB\u9577",image:"\u7D75",video:"\u30D3\u30C7\u30AA",audio:"\u97F3\u58F0",embed:"\u57CB\u3081\u8FBC\u307F\u30E1\u30C7\u30A3\u30A2",caption:"\u30E1\u30C7\u30A3\u30A2\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC",dragTip:"\u30D5\u30A1\u30A4\u30EB\u3092\u3053\u306E\u4F4D\u7F6E\u307E\u3067\u30AF\u30EA\u30C3\u30AF\u307E\u305F\u306F\u30C9\u30E9\u30C3\u30B0\u3057\u307E\u3059",dropTip:"\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3059\u308B\u30DE\u30A6\u30B9\u3092\u653E\u3057\u307E\u3059",selectAll:"\u3059\u3079\u3066\u9078\u629E",deselect:"\u9078\u629E\u3092\u89E3\u9664",removeSelected:"\u9078\u629E\u3057\u305F\u30A2\u30A4\u30C6\u30E0\u3092\u524A\u9664",externalInputPlaceHolder:"\u30EA\u30BD\u30FC\u30B9\u540D|\u30EA\u30BD\u30FC\u30B9\u30A2\u30C9\u30EC\u30B9",externalInputTip:'\u30EA\u30BD\u30FC\u30B9\u540D\u3068\u30EA\u30BD\u30FC\u30B9\u30A2\u30C9\u30EC\u30B9\u306F "|"\u3067\u533A\u5207\u308A\u307E\u3059\u3002',addLocalFile:"\u30ED\u30FC\u30AB\u30EB\u30EA\u30BD\u30FC\u30B9\u3092\u8FFD\u52A0\u3059\u308B",addExternalSource:"\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u30EA\u30BD\u30FC\u30B9\u3092\u8FFD\u52A0\u3059\u308B",unnamedItem:"\u540D\u524D\u306E\u306A\u3044\u30A2\u30A4\u30C6\u30E0",confirmInsert:"\u9078\u629E\u3057\u305F\u30A2\u30A4\u30C6\u30E0\u3092\u633F\u5165"}},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default={remove:"\uC0AD\uC81C",cancel:"\uCDE8\uC18C",confirm:"\uD655\uC778",insert:"\uC120\uD0DD\uD55C\uD56D\uBAA9\uC0BD\uC785",width:"\uB108\uBE44",height:"\uB192\uC774",image:"\uADF8\uB9BC",video:"\uBE44\uB514\uC624",audio:"\uC624\uB514\uC624",embed:"\uC784\uBCA0\uB514\uB4DC\uBBF8\uB514\uC5B4",caption:"\uBBF8\uB514\uC5B4\uB77C\uC774\uBE0C\uB7EC\uB9AC",dragTip:"\uD30C\uC77C\uC744 \uD074\uB9AD\uD558\uAC70\uB098\uC774 \uC9C0\uC810\uC73C\uB85C \uB4DC\uB798\uADF8\uD558\uC2ED\uC2DC\uC624.",dropTip:"\uC5C5\uB85C\uB4DC\uD558\uB824\uBA74\uB9C8\uC6B0\uC2A4\uB97C\uB193\uC73C\uC2ED\uC2DC\uC624.",selectAll:"\uBAA8\uB450 \uC120\uD0DD",deselect:"\uC120\uD0DD \uCDE8\uC18C",removeSelected:"\uC120\uD0DD\uD55C \uD56D\uBAA9 \uC0AD\uC81C",externalInputPlaceHolder:"\uB9AC\uC18C\uC2A4 \uC774\uB984 | \uB9AC\uC18C\uC2A4 \uC8FC\uC18C",externalInputTip:'\uC790\uC6D0 \uC774\uB984\uACFC \uC790\uC6D0 \uC8FC\uC18C\uB97C "|"',addLocalFile:"\uB85C\uCEEC \uB9AC\uC18C\uC2A4 \uCD94\uAC00",addExternalSource:"\uB124\uD2B8\uC6CC\uD06C \uB9AC\uC18C\uC2A4 \uCD94\uAC00",unnamedItem:"\uC774\uB984\uC5C6\uB294 \uD56D\uBAA9",confirmInsert:"\uC120\uD0DD\uD55C \uD56D\uBAA9 \uC0BD\uC785"}},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default={remove:"Usu\u0144",cancel:"Anuluj",confirm:"Potwierd\u017A",insert:"Wstaw wybrane elementy",width:"Szeroko\u015B\u0107",height:"Wysoko\u015B\u0107",image:"Obraz",video:"Wideo",audio:"D\u017Awi\u0119k",embed:"Obiekt",caption:"Biblioteka medi\xF3w",dragTip:"Kliknij lub przenie\u015B tu pliki",dropTip:"Upu\u015B\u0107 aby doda\u0107 plik",selectAll:"Zaznacz wszystko",deselect:"Odznacz",removeSelected:"Usu\u0144 wybrane",externalInputPlaceHolder:"Nazwa \u017Ar\xF3d\u0142a|Adres URL",externalInputTip:'Oddziel nazw\u0119 i adres URL \u017Ar\xF3d\u0142a z pomoc\u0105 "|", Potwierd\u017A Enter-em',addLocalFile:"Dodaj z komputera",addExternalSource:"Dodaj z Internetu",unnamedItem:"Bez nazwy",confirmInsert:"Dodaj wybrane elementy"}},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default={remove:"\u5220\u9664",cancel:"\u53D6\u6D88",confirm:"\u786E\u8BA4",insert:"\u63D2\u5165\u6240\u9009\u9879\u76EE",width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6",image:"\u56FE\u7247",video:"\u89C6\u9891",audio:"\u97F3\u9891",embed:"\u5D4C\u5165\u5F0F\u5A92\u4F53",caption:"\u5A92\u4F53\u5E93",dragTip:"\u70B9\u51FB\u6216\u62D6\u52A8\u6587\u4EF6\u81F3\u6B64",dropTip:"\u653E\u5F00\u9F20\u6807\u4EE5\u4E0A\u4F20",selectAll:"\u9009\u62E9\u5168\u90E8",deselect:"\u53D6\u6D88\u9009\u62E9",removeSelected:"\u5220\u9664\u9009\u4E2D\u9879\u76EE",externalInputPlaceHolder:"\u8D44\u6E90\u540D\u79F0|\u8D44\u6E90\u5730\u5740",externalInputTip:"\u4F7F\u7528\u201C|\u201D\u5206\u9694\u8D44\u6E90\u540D\u79F0\u548C\u8D44\u6E90\u5730\u5740",addLocalFile:"\u6DFB\u52A0\u672C\u5730\u8D44\u6E90",addExternalSource:"\u6DFB\u52A0\u7F51\u7EDC\u8D44\u6E90",unnamedItem:"\u672A\u547D\u540D\u9879\u76EE",confirmInsert:"\u63D2\u5165\u9009\u4E2D\u9879\u76EE"}},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default={remove:"\u5220\u9664",cancel:"\u53D6\u6D88",confirm:"\u786E\u8BA4",insert:"\u63D2\u5165\u6240\u9009\u9879\u76EE",width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6",image:"\u56FE\u7247",video:"\u89C6\u9891",audio:"\u97F3\u9891",embed:"\u5D4C\u5165\u5F0F\u5A92\u4F53",caption:"\u5A92\u4F53\u5E93",dragTip:"\u70B9\u51FB\u6216\u62D6\u52A8\u6587\u4EF6\u81F3\u6B64",dropTip:"\u653E\u5F00\u9F20\u6807\u4EE5\u4E0A\u4F20",selectAll:"\u9009\u62E9\u5168\u90E8",deselect:"\u53D6\u6D88\u9009\u62E9",removeSelected:"\u5220\u9664\u9009\u4E2D\u9879\u76EE",externalInputPlaceHolder:"\u8D44\u6E90\u540D\u79F0|\u8D44\u6E90\u5730\u5740",externalInputTip:"\u4F7F\u7528\u201C|\u201D\u5206\u9694\u8D44\u6E90\u540D\u79F0\u548C\u8D44\u6E90\u5730\u5740",addLocalFile:"\u6DFB\u52A0\u672C\u5730\u8D44\u6E90",addExternalSource:"\u6DFB\u52A0\u7F51\u7EDC\u8D44\u6E90",unnamedItem:"\u672A\u547D\u540D\u9879\u76EE",confirmInsert:"\u63D2\u5165\u9009\u4E2D\u9879\u76EE"}},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default={remove:"Remove",cancel:"Cancel",confirm:"Confirm",insert:"Insert Selected Items",width:"Width",height:"Height",image:"Image",video:"Video",audio:"Audio",embed:"Embed",caption:"Media Library",dragTip:"Click Or Drag Files Here",dropTip:"Drop To Upload",selectAll:"Select All",deselect:"Deselect",removeSelected:"Remove Selected Items",externalInputPlaceHolder:"Source Name|Source URL",externalInputTip:'Split source name and source URL with "|", confirm by hit Enter.',addLocalFile:"Add from local",addExternalSource:"Add from Internet",unnamedItem:"Unnamed Item",confirmInsert:"Insert selected items"}},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var h=g(9),b=f(h),E=g(8),c=f(E),l=g(7),p=f(l),s=g(6),a=f(s),d=g(5),i=f(d),o=g(4),u=f(o),x=g(3),F=f(x);function f(B){return B&&B.__esModule?B:{default:B}}C.default={en:b.default,zh:c.default,"zh-hant":p.default,pl:a.default,kr:i.default,jpn:u.default,tr:F.default}},function(A,C){A.exports=function(g){var h=typeof window!="undefined"&&window.location;if(!h)throw new Error("fixUrls requires window.location");if(!g||typeof g!="string")return g;var b=h.protocol+"//"+h.host,E=b+h.pathname.replace(/\/[^\/]*$/,"/"),c=g.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(l,p){var s=p.trim().replace(/^"(.*)"$/,function(d,i){return i}).replace(/^'(.*)'$/,function(d,i){return i});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(s))return l;var a;return s.indexOf("//")===0?a=s:s.indexOf("/")===0?a=b+s:a=E+s.replace(/^\.\//,""),"url("+JSON.stringify(a)+")"});return c}},function(A,C,g){var h={},b=function(M){var I;return function(){return typeof I=="undefined"&&(I=M.apply(this,arguments)),I}},E=b(function(){return window&&document&&document.all&&!window.atob}),c=function(M){return document.querySelector(M)},l=function(M){var I={};return function(X){if(typeof X=="function")return X();if(typeof I[X]=="undefined"){var $=c.call(this,X);if(window.HTMLIFrameElement&&$ instanceof window.HTMLIFrameElement)try{$=$.contentDocument.head}catch(Q){$=null}I[X]=$}return I[X]}}(),p=null,s=0,a=[],d=g(11);A.exports=function(M,I){if(typeof DEBUG!="undefined"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");I=I||{},I.attrs=typeof I.attrs=="object"?I.attrs:{},!I.singleton&&typeof I.singleton!="boolean"&&(I.singleton=E()),I.insertInto||(I.insertInto="head"),I.insertAt||(I.insertAt="bottom");var X=o(M,I);return i(X,I),function(Q){for(var W=[],le=0;le<X.length;le++){var te=X[le],pe=h[te.id];pe.refs--,W.push(pe)}if(Q){var Le=o(Q,I);i(Le,I)}for(var le=0;le<W.length;le++){var pe=W[le];if(pe.refs===0){for(var De=0;De<pe.parts.length;De++)pe.parts[De]();delete h[pe.id]}}}};function i(M,I){for(var X=0;X<M.length;X++){var $=M[X],Q=h[$.id];if(Q){Q.refs++;for(var W=0;W<Q.parts.length;W++)Q.parts[W]($.parts[W]);for(;W<$.parts.length;W++)Q.parts.push(U($.parts[W],I))}else{for(var le=[],W=0;W<$.parts.length;W++)le.push(U($.parts[W],I));h[$.id]={id:$.id,refs:1,parts:le}}}}function o(M,I){for(var X=[],$={},Q=0;Q<M.length;Q++){var W=M[Q],le=I.base?W[0]+I.base:W[0],te=W[1],pe=W[2],Le=W[3],De={css:te,media:pe,sourceMap:Le};$[le]?$[le].parts.push(De):X.push($[le]={id:le,parts:[De]})}return X}function u(M,I){var X=l(M.insertInto);if(!X)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var $=a[a.length-1];if(M.insertAt==="top")$?$.nextSibling?X.insertBefore(I,$.nextSibling):X.appendChild(I):X.insertBefore(I,X.firstChild),a.push(I);else if(M.insertAt==="bottom")X.appendChild(I);else if(typeof M.insertAt=="object"&&M.insertAt.before){var Q=l(M.insertInto+" "+M.insertAt.before);X.insertBefore(I,Q)}else throw new Error(`[Style Loader]
Invalid value for parameter 'insertAt' ('options.insertAt') found.
Must be 'top', 'bottom', or Object.
(https://github.com/webpack-contrib/style-loader#insertat)
`)}function x(M){if(M.parentNode===null)return!1;M.parentNode.removeChild(M);var I=a.indexOf(M);I>=0&&a.splice(I,1)}function F(M){var I=document.createElement("style");return M.attrs.type===void 0&&(M.attrs.type="text/css"),B(I,M.attrs),u(M,I),I}function f(M){var I=document.createElement("link");return M.attrs.type===void 0&&(M.attrs.type="text/css"),M.attrs.rel="stylesheet",B(I,M.attrs),u(M,I),I}function B(M,I){Object.keys(I).forEach(function(X){M.setAttribute(X,I[X])})}function U(M,I){var X,$,Q,W;if(I.transform&&M.css)if(W=I.transform(M.css),W)M.css=W;else return function(){};if(I.singleton){var le=s++;X=p||(p=F(I)),$=k.bind(null,X,le,!1),Q=k.bind(null,X,le,!0)}else M.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(X=f(I),$=z.bind(null,X,I),Q=function(){x(X),X.href&&URL.revokeObjectURL(X.href)}):(X=F(I),$=j.bind(null,X),Q=function(){x(X)});return $(M),function(pe){if(pe){if(pe.css===M.css&&pe.media===M.media&&pe.sourceMap===M.sourceMap)return;$(M=pe)}else Q()}}var K=function(){var M=[];return function(I,X){return M[I]=X,M.filter(Boolean).join(`
`)}}();function k(M,I,X,$){var Q=X?"":$.css;if(M.styleSheet)M.styleSheet.cssText=K(I,Q);else{var W=document.createTextNode(Q),le=M.childNodes;le[I]&&M.removeChild(le[I]),le.length?M.insertBefore(W,le[I]):M.appendChild(W)}}function j(M,I){var X=I.css,$=I.media;if($&&M.setAttribute("media",$),M.styleSheet)M.styleSheet.cssText=X;else{for(;M.firstChild;)M.removeChild(M.firstChild);M.appendChild(document.createTextNode(X))}}function z(M,I,X){var $=X.css,Q=X.sourceMap,W=I.convertToAbsoluteUrls===void 0&&Q;(I.convertToAbsoluteUrls||W)&&($=d($)),Q&&($+=`
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(Q))))+" */");var le=new Blob([$],{type:"text/css"}),te=M.href;M.href=URL.createObjectURL(le),te&&URL.revokeObjectURL(te)}},function(A,C){A.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBsIAAAC8AAAAYGNtYXBWNv1DAAABHAAAANRnYXNwAAAAEAAAAfAAAAAIZ2x5ZtZLKCQAAAH4AAAPTGhlYWQT25ZrAAARRAAAADZoaGVhB8ID3gAAEXwAAAAkaG10eGoAC+sAABGgAAAAdGxvY2EqcC3wAAASFAAAADxtYXhwACcAewAAElAAAAAgbmFtZZlKCfsAABJwAAABhnBvc3QAAwAAAAAT+AAAACAAAwPsAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADprAPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAuAAAACoAIAAEAAoAAQAg4DTgN+BC4V3iQ+gN6Mno/ukD6QjpD+kT6RjpHOkm6YDprP/9//8AAAAAACDgNOA34ELhXeJD6A3oyej+6QHpB+kO6RHpFukc6SbpgOms//3//wAB/+Mf0B/OH8Qeqh3FF/wXQRcNFwsXCBcDFwIXABb9FvQWmxZwAAMAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAIBAACBAwAC1QADAAcAAAEzESMhETMRAlaqqv6qqgLV/awCVP2sAAABAVYAgQMqAtUAAgAACQIBVgHU/iwC1f7W/tYAAQCqACsDVgOBAC4AAAEyFx4BFxYVFAcOAQcGIyInLgEnJjUzFBceARcWMzI3PgE3NjU0Jy4BJyYjFSc3AgBGPz5dGxsbG10+PkdGPz5dGxtWFBRFLy81NS8vRRQUFBRFLy811tYC1RsbXD4+Rkc+Pl0bGxsbXT4+RzYuL0UUFBQURS8uNjUvLkYUFKzW1gAAAwBWAAEDqgNVABsANwA7AAAlMjc+ATc2NTQnLgEnJiMiBw4BBwYVFBceARcWEzIXHgEXFhUUBw4BBwYjIicuAScmNTQ3PgE3NgMhFSECAEY/Pl0bGxsbXT4+R0Y/Pl0bGxsbXT4+R1hOTnMiISEic05NWVhOTnMiISEic05NfQGs/lRVGxtdPj5HRj4/XRsbGxtdPz5GRz4+XRsbAwAiIXRNTlhZTU50ISEhIXROTVlYTk10ISL+gFQAAAABAKoAAQOAA1UAHwAAATMRIREUBisBIiY1ESE1IxUUBiMhIiY9ATQ2MyEyFhUDAID+qhgSVhIYAaoqGBL+ABIaGhICABIYAwH+qv6AEhgYEgHWqioSGhoSqhIYGBIAAAABAIAAAwOAA1UAMwAAJTIWFRQGIyImNTwBNyUOASMiJjU0NjMyFhclLgE1NDYzMhYVFAYjIiYnBR4BFRQGBwU+AQMAM0lJMzNJAv7SEiwaNExLNRktEgEsAQNLNTRMSzUZLRL+1AEDAgIBMBAs/UkzM0tLMwcPBrAREUs1NEwSEK4HDwg0TEw0NUsTEbAIDwcIDwewDxEAAAMAVgArA6oDVQACAAYAGgAALQI3FTM1FyERFAYjISImNREhNTQ2OwEyFhUBgAFA/sAqrFQBADAk/VQkMAEAMCSsJDCr1qrWVlZW/dYkMjIkAipWJDAwJAAEAIAAgQOAAtUAAwAHAAsADwAAEyEVIRU1IRUBNSEVJTUhFYADAP0AAwD9AAMA/QADAALVVKxWVv6sVFSqVlYABABVACIDqwN3AAQAIQA9AEIAACUzESMREyIHDgEHBhUUFx4BFxYzMjc+ATc2NTQnLgEnJiMRIicuAScmNTQ3PgE3NjMyFx4BFxYVFAcOAQcGAzM1IxUB1VZWK1hOTnQhIiIhdE5OWFhOTnQhIiIhdE5OWEc+Pl0aGxsaXT4+R0c+Pl0aGxsaXT4+clZW9wEA/wACgCEic05OWFlNTnQhIiIhdE5NWVhOTnMiIf0AGxtdPj5HRj8+XBsbGxtcPj9GRz4+XRsbAdZVVQAABABVACIDqwN3AAQAIQA9AFIAACUzNSMVEyIHDgEHBhUUFx4BFxYzMjc+ATc2NTQnLgEnJiMRIicuAScmNTQ3PgE3NjMyFx4BFxYVFAcOAQcGAyIGFTM0NjMyFhUUBhUzNDY1NCYjAdVWVitYTk50ISIiIXROTlhYTk50ISIiIXROTlhHPj5dGhsbGl0+PkdHPj5dGhsbGl0+PkdHZFYyIyMygFaAZEfNVVUCqiEic05OWFlNTnQhIiIhdE5NWVhOTnMiIf0AGxtdPj5HRj8+XBsbGxtcPj9GRz4+XRsbAlZkRyMyMiNALWhIPVBHZAAAAgBVAM0DqwLNAAUACwAAASc3JwkBJTcnNwkBAZHExDz/AAEAARrExDwBAP8AAQnExDz/AP8APMTEPP8A/wAAAAMAVQAiA6sDdwAcACsAOgAAASIHDgEHBhUUFx4BFxYzMjc+ATc2NTQnLgEnJiMBNDc+ATc2MzIWFwEuATUBIiYnAR4BFRQHDgEHBiMCAFhOTXQiIiIidE1OWFhOTXQiIiIidE1OWP6rGxtcPj9GOmot/iIjJQFVOmotAd4jJRsbXD4/RgN3ISJ0Tk1YWE5OdCEiIiF0Tk5YWE1OdCIh/lZGPj5dGxslI/4iLWo6/qomIwHeLWs5Rz4+XRsbAAAAAAMAgADNA4ACzQADAAcACwAANyE1ITUhNSE1FSE1gAMA/QADAP0AAwDNVYBV1lZWAAEAZAAlA1wDXABEAAABERQHBgcGBwYjIicmJyYnJjU0NzY3Njc2MzIXEQURFAcGBwYHBiMiJyYnJicmNTQ3Njc2NzYzMhcRNDc2NyU2MzIXFhUDXBERGhkaGRYXGRoZGhEREREaGRoZFzMr/oURERoZGhkXFhkaGRoRERERGhkaGRY0KwoJDwGbBggUDg4DLP3WGBQTCgsFBQUFCwoTFBgZExQKCwUFEwEKdv6iGRMTCwsFBQUFCwsTExkZExMLCgYFEwHeDw0MBX8CDg4UAAAEAHUAQgOJA1YALwA8AGIAeAAAAS4BBw4BJy4BJy4BBwYiJyYGBw4BJyYGBxQVHAEVFBUeATM2MzoBMzIzMjY3PAE1BSImNTQ2MzIWFRQGJyUqASM8ATU6ATMUFhUUFxwBFQYHFAYHDgEnLgE3PgE3OgEzPAE1BT4BNzoBMxQWBw4BJy4BNz4BNzoBMwKBARkZChUJCxcEFEMvBw8HHikMDCgdFyILCxgWNDM0ZzQzNBsaAf77L0FBMDBAQDEBtx8/IDRoNgEBAQENCxVFICIlBgc3JAcNCf7OAQICEyQTAwUFSiMmOAIBOiYHEAkCzhcaAQEBAwIJCC0fCAEBBhgbGxYGBBMVKCgpUCgoKQ8VARcaSpRK7T8uMEA/LzBAARchPyAKEgkzMjNmMjMzFCwRIBAOD0IjJjQDN2053QwUCi5dLSUsBgVEJig+BAAAAAAEAAAAAAQAA0AAGwAzAE8AUwAAARQXHgEXFjMyNz4BNzY1NCcuAScmIyIHDgEHBgEjLgEjISIGByMiBhURFBYzITI2NRE0JgEiJy4BJyY1NDc+ATc2MzIXHgEXFhUUBw4BBwYBIzUzATAQETgmJisrJiY4ERAQETgmJisrJiY4ERACkOAMJDD/ADAkDOAaJiYaA4AaJib+Jjs0M00XFhYXTTM0Ozs0M00XFhYXTTM0AYWAgAFgKyYmOBEQEBE4JiYrKyYmOBEQEBE4JiYBNTBQUDAmGv3AGiYmGgJAGib9hBYXTTM0Ozs0M00XFhYXTTM0Ozs0M00XFgG8QAABAJEAogOAAt4ABgAAAScHFwEnAQGAszzvAgA8/jwBGrM87wIAPP48AAAAAAEA4gCAAx4CyQAmAAABNzY0JyYiDwEnJiIHBhQfAQcGFBceATMyNj8BFx4BMzI2NzY0LwECPOINDQwkDOLiDCQMDQ3i4g0NBhAICBAG4uIGEAgIEAYNDeIBq+IMIw0MDOLiDAwNIwzi4g0jDAcGBgfh4QcGBgcMIw3iAAACAIAAYwNqA00AIgAvAAABIyc+ATU0Jy4BJyYjIgcOAQcGFRQXHgEXFjMyNjcXFRc3JyEiJjU0NjMyFhUUBiMClSEMHyQWFkszMjo5MzJLFhYWFksyMzk0XCUL1j/V/wBPcXFPUHBwUAF3DCRdMzoyM0sWFhYWSzMyOjkyM0sWFiQfDCLUP9VxT1BwcFBPcQACAGQAIgOcA3cATQBZAAABPgE1NCYnNz4BLwEuAQ8BLgEvAS4BKwEiBg8BDgEHJyYGDwEGFh8BDgEVFBYXBw4BHwEeAT8BHgEfAR4BOwEyNj8BPgE3FxY2PwE2JicFIiY1NDYzMhYVFAYDPQECAgFaBgMEVQQPB2oRJBQQAQwIqggMARAUJBFqBw8EVQQDBloBAgIBWgYDBFUEDwdqESQUEAEMCKoIDAEQFCQRagcPBFUEAwb+aT5XVz4+V1cBowoVCwsUC0YFDweUBwUDKgwVCHIHCgoHcggVDCoDBQeUBw8FRgsVCgsVCkYFEAeTBwUCKw0VCHEICgoIcQgVDSsDBgeTBxAFJlg+PldXPj5YAAEA1QCiAysC9wALAAABIREjESE1IREzESEDK/8AVv8AAQBWAQABov8AAQBVAQD/AAAAAAAJAAAAQAQAA0AAAwAHAAsADwATABcAGwAfACIAABMRIREBIzUzNSM1MzUjNTMBIREhEyM1MzUjNTM1IzUzBRElAAQA/MCAgICAgIACQP4AAgDAgICAgICA/cABAANA/QADAP1AgICAgID9gAKA/YCAgICAgID+gMAAAAAABgBA/8ADwAPAABkAIQA5AEcAVQBjAAABLgEnLgEnLgEjISIGFREUFjMhMjY1ETQmJyceARcjNR4BExQGIyEiJjURNDYzMDM6ATMyMRUUFjsBAyEiJjU0NjMhMhYVFAYnISImNTQ2MyEyFhUUBichIiY1NDYzITIWFRQGA5YRLRkaMxcnKQv+ECEvLyEC4CEvDhyFFyUNmhEphgkH/SAHCQkHTU66TU4TDeCg/kANExMNAcANExMN/kANExMNAcANExMN/kANExMNAcANExMC2xczGhktERwOLyH8oCEvLyECcAspJzYXKRGaDSX86AcJCQcDYAcJ4A0T/gATDQ0TEw0NE4ATDQ0TEw0NE4ATDQ0TEw0NEwAAAAcAAP/ABAADRgALABcAIwAvADsARwBTAAAlNDYzMhYVFAYjIiYBNDYzMhYVFAYjIiYlNDYzMhYVFAYjIiYBNDYzMhYVFAYjIiYBNDYzMhYVFAYjIiYlNDYzMhYVFAYjIiYBNDYzMhYVFAYjIiYBoDgoKDg4KCg4/mA4KCg4OCgoOANAOCgoODgoKDj9OjgoKDg4KCg4Akw4KCg4OCgoOP20OCgoODgoKDgCTDgoKDg4KCg4ICg4OCgoODgByCg4OCgoODgoKDg4KCg4OAFOKDg4KCg4OP3cKDg4KCg4OCgoODgoKDg4AnQoODgoKDg4AAUAfAAAA4QDVQAiAC0AOABGAFQAAAEjNTQmKwEiBh0BIyIGFRQWOwERFBYzITI2NREzMjY1NCYjJTQ2OwEyFh0BIzUBFAYjISImNREhEQEiBh0BFBYzMjY9ATQmMyIGHQEUFjMyNj0BNCYDXZtEMJwwRJsQFxcQJ0QwAYQwRCcQFxcQ/i8WEJwQFugBXRcQ/nwQFwHS/skQFhYQEBcXjBAXFxAQFhYCuicwREQwJxcQEBb+BzBERDAB+RYQEBcnEBcXECcn/ZMQFhYQAfn+BwGEFxDoEBcXEOgQFxcQ6BAXFxDoEBcAAAABAAAAAQAANAmLwV8PPPUACwQAAAAAANheKPcAAAAA2F4o9wAA/8AEAAPAAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAQAAAEAAAAAAAAAAAAAAAAAAAAdBAAAAAAAAAAAAAAAAgAAAAQAAQAEAAFWBAAAqgQAAFYEAACqBAAAgAQAAFYEAACABAAAVQQAAFUEAABVBAAAVQQAAIAEAABkBAAAdQQAAAAEAACRBAAA4gQAAIAEAABkBAAA1QQAAAAEAABABAAAAAQAAHwAAAAAAAoAFAAeADIAQACIAOYBFgFiAY4BrgIUAowCrAMMAyQDjAQ0BLIEyAUGBU4F1gXwBi4GugcyB6YAAQAAAB0AeQAJAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(A,C){A.exports=function(b){var E=[];return E.toString=function(){return this.map(function(l){var p=g(l,b);return l[2]?"@media "+l[2]+"{"+p+"}":p}).join("")},E.i=function(c,l){typeof c=="string"&&(c=[[null,c,""]]);for(var p={},s=0;s<this.length;s++){var a=this[s][0];typeof a=="number"&&(p[a]=!0)}for(s=0;s<c.length;s++){var d=c[s];(typeof d[0]!="number"||!p[d[0]])&&(l&&!d[2]?d[2]=l:l&&(d[2]="("+d[2]+") and ("+l+")"),E.push(d))}},E};function g(b,E){var c=b[1]||"",l=b[3];if(!l)return c;if(E&&typeof btoa=="function"){var p=h(l),s=l.sources.map(function(a){return"/*# sourceURL="+l.sourceRoot+a+" */"});return[c].concat(s).concat([p]).join(`
`)}return[c].join(`
`)}function h(b){var E=btoa(unescape(encodeURIComponent(JSON.stringify(b)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,"+E;return"/*# "+c+" */"}},function(A,C){A.exports=function(h){return typeof h!="string"?h:(/^['"].*['"]$/.test(h)&&(h=h.slice(1,-1)),/["'() \t\n]/.test(h)?'"'+h.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':h)}},function(A,C,g){var h=g(15);C=A.exports=g(14)(!1),C.push([A.i,`@font-face {
font-family: 'bf-icons';
src: url(`+h(g(13))+`) format("truetype");
font-weight: normal;
font-style: normal; }
.braft-finder [class^="braft-icon-"], .braft-finder [class*=" braft-icon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'bf-icons' !important;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
.braft-finder .braft-icon-code:before {
content: "\\E903"; }
.braft-finder .braft-icon-pause:before {
content: "\\E034"; }
.braft-finder .braft-icon-play_arrow:before {
content: "\\E037"; }
.braft-finder .braft-icon-bin:before {
content: "\\E9AC"; }
.braft-finder .braft-icon-replay:before {
content: "\\E042"; }
.braft-finder .braft-icon-close:before {
content: "\\E913"; }
.braft-finder .braft-icon-music:before {
content: "\\E90E"; }
.braft-finder .braft-icon-camera:before {
content: "\\E911"; }
.braft-finder .braft-icon-file-text:before {
content: "\\E926"; }
.braft-finder .braft-icon-film:before {
content: "\\E91C"; }
.braft-finder .braft-icon-paste:before {
content: "\\E92D"; }
.braft-finder .braft-icon-spinner:before {
content: "\\E980"; }
.braft-finder .braft-icon-media:before {
content: "\\E90F"; }
.braft-finder .braft-icon-add:before {
content: "\\E918"; }
.braft-finder .braft-icon-done:before {
content: "\\E912"; }
.braft-finder .braft-icon-drop-down:before {
content: "\\E906"; }
.braft-finder .braft-icon-drop-up:before {
content: "\\E909"; }
.braft-finder .braft-icon-help:before {
content: "\\E902"; }
.braft-finder .braft-icon-info:before {
content: "\\E901"; }
.braft-finder .braft-icon-menu:before {
content: "\\E908"; }
.pull-left {
float: left; }
.pull-right {
float: right; }
.braft-finder .bf-uploader {
position: relative;
height: 370px;
margin: 0; }
.braft-finder .bf-uploader.draging .bf-list-wrap,
.braft-finder .bf-uploader.draging .bf-add-external {
pointer-events: none; }
.braft-finder .bf-uploader input::-webkit-input-placeholder {
color: #ccc; }
.braft-finder .bf-uploader input::-moz-placeholder {
color: #ccc; }
.braft-finder .bf-uploader input::-ms-input-placeholder {
color: #ccc; }
.braft-finder .bf-list-wrap {
position: relative;
height: 370px; }
.braft-finder .bf-list-tools {
z-index: 1;
position: absolute;
top: 0;
right: 0;
left: 0;
height: 20px;
padding: 0 15px;
background-color: #fff; }
.braft-finder .bf-list-tools span {
height: 26px;
font-size: 12px;
line-height: 20px;
cursor: pointer;
user-select: none; }
.braft-finder .bf-list-tools span[disabled] {
opacity: .3;
pointer-events: none; }
.braft-finder .bf-list-tools .bf-select-all,
.braft-finder .bf-list-tools .bf-deselect-all {
float: left;
margin-right: 5px;
color: #bbb; }
.braft-finder .bf-list-tools .bf-select-all:hover,
.braft-finder .bf-list-tools .bf-deselect-all:hover {
color: #3498db; }
.braft-finder .bf-list-tools .bf-remove-selected {
float: right;
color: #e74c3c; }
.braft-finder .bf-list-tools .bf-remove-selected:hover {
color: #c92e1e; }
.braft-finder .bf-list {
position: absolute;
z-index: 1;
top: 30px;
right: 0;
left: 0;
bottom: 0;
margin: 0;
padding: 0 10px;
list-style: none;
overflow: auto; }
.braft-finder .bf-list::-webkit-scrollbar {
width: 5px;
height: 5px;
background-color: #fff; }
.braft-finder .bf-list::-webkit-scrollbar-track {
background-color: #fff; }
.braft-finder .bf-list::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.1); }
.braft-finder .bf-item,
.braft-finder .bf-add-item {
position: relative;
display: block;
float: left;
width: 113px;
height: 113px;
margin: 5px;
overflow: hidden;
border-radius: 3px; }
.braft-finder .bf-item.uploading {
pointer-events: none; }
.braft-finder .bf-item.error::before {
display: block;
content: "\\E901"; }
.braft-finder .bf-item.error::after {
position: absolute;
z-index: 1;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(231, 76, 60, 0.8);
content: ''; }
.braft-finder .bf-item.error:hover::after {
background-color: rgba(231, 76, 60, 0.9); }
.braft-finder .bf-item.error .bf-item-uploading {
display: none; }
.braft-finder .bf-add-item {
background-color: #ecedef;
color: #999; }
.braft-finder .bf-add-item:hover {
background-color: #e1e2e3; }
.braft-finder .bf-add-item i {
display: block;
width: 113px;
height: 113px;
font-size: 48px;
line-height: 113px;
text-align: center; }
.braft-finder .bf-add-item input {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer; }
.braft-finder .bf-item::before {
display: none;
position: absolute;
z-index: 2;
top: 0;
left: 0;
width: 113px;
height: 113px;
color: #fff;
font-size: 48px;
font-family: 'bf-icons';
line-height: 113px;
text-align: center; }
.braft-finder .bf-item::after {
position: absolute;
z-index: 1;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(52, 152, 219, 0);
content: ''; }
.braft-finder .bf-item:hover::after {
background-color: rgba(52, 152, 219, 0.3); }
.braft-finder .bf-item:hover .bf-item-remove {
display: block; }
.braft-finder .bf-item.active::before {
display: block;
content: "\\E912"; }
.braft-finder .bf-item.active::after {
background-color: rgba(52, 152, 219, 0.6); }
.braft-finder .bf-item.active:hover::after {
background-color: rgba(52, 152, 219, 0.8); }
.braft-finder .bf-item.active:hover .bf-item-remove {
display: none; }
.braft-finder .bf-item-uploading {
box-sizing: border-box;
position: absolute;
z-index: 3;
top: 52px;
left: 10px;
width: 93px;
height: 10px;
overflow: hidden;
background-color: rgba(255, 255, 255, 0.3);
border-radius: 5px;
box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.5); }
.braft-finder .bf-item-uploading-bar {
height: 10px;
background-color: #3498db;
border-radius: 0; }
.braft-finder .bf-item-remove {
display: none;
position: absolute;
z-index: 2;
top: 0;
right: 0;
width: 28px;
height: 28px;
color: #fff;
font-size: 18px;
line-height: 28px;
text-align: center;
cursor: pointer; }
.braft-finder .bf-item-remove:hover {
color: #e74c3c; }
.braft-finder .bf-item-title {
display: none;
box-sizing: border-box;
position: absolute;
z-index: 2;
bottom: 0;
left: 0;
width: 100%;
height: 40px;
padding: 0 5px;
overflow: hidden;
background-image: linear-gradient(rgba(0, 0, 0, 0), black);
color: #fff;
font-size: 12px;
line-height: 55px;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap; }
.braft-finder .bf-image {
width: 100%;
height: 100%;
background-color: #eee;
user-select: none; }
.braft-finder .bf-image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover; }
.braft-finder .bf-video {
background-color: #8e44ad; }
.braft-finder .bf-audio {
background-color: #f39c12; }
.braft-finder .bf-embed {
background-color: #f1c40f; }
.braft-finder .bf-icon {
display: block;
width: 113px;
height: 113px;
overflow: hidden;
color: #fff;
text-align: center;
text-decoration: none; }
.braft-finder .bf-icon i, .braft-finder .bf-icon span {
display: block; }
.braft-finder .bf-icon i {
margin-top: 35px;
font-size: 24px; }
.braft-finder .bf-icon span {
width: 103px;
margin: 10px auto;
overflow: hidden;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap; }
.braft-finder .bf-drag-uploader {
box-sizing: border-box;
position: absolute;
z-index: 2;
top: 0;
right: 15px;
left: 15px;
height: 100%;
background-color: #fff;
border: dashed 1px #bbb;
text-align: center;
opacity: 0;
pointer-events: none; }
.braft-finder .bf-drag-uploader:hover, .braft-finder .bf-drag-uploader.draging {
background-color: #f1f2f3; }
.braft-finder .bf-drag-uploader.active {
opacity: 1;
pointer-events: auto; }
.braft-finder .bf-uploader-buttons {
height: 370px;
margin: auto;
text-align: center; }
.braft-finder .bf-drag-tip {
display: inline-block;
margin-top: 150px;
color: #ccc;
text-align: center;
font-size: 28px;
font-weight: normal;
line-height: 40px; }
.braft-finder .bf-drag-tip input {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
color: #fff;
text-indent: -100px;
cursor: pointer; }
.braft-finder .bf-manager-footer {
height: 36px;
margin: 10px 0;
padding: 0 15px; }
.braft-finder .bf-manager-footer .button {
float: right;
height: 36px;
margin-left: 5px;
padding: 0 35px;
font-size: 12px;
font-weight: 700;
border: none;
border-radius: 3px;
cursor: pointer; }
.braft-finder .bf-manager-footer .button-insert {
color: #fff;
background-color: #3498db; }
.braft-finder .bf-manager-footer .button-insert:hover {
background-color: #2084c7; }
.braft-finder .bf-manager-footer .button-insert[disabled] {
opacity: .3;
pointer-events: none;
filter: grayscale(0.4); }
.braft-finder .bf-manager-footer .button-cancel {
color: #999;
background-color: #e8e8e9; }
.braft-finder .bf-manager-footer .button-cancel:hover {
background-color: #d8d8d9; }
.braft-finder .bf-toggle-external-form {
color: #666;
font-size: 12px;
line-height: 36px; }
.braft-finder .bf-toggle-external-form span {
color: #bbb;
line-height: 16px;
cursor: pointer;
user-select: none; }
.braft-finder .bf-toggle-external-form span:hover {
color: #3498db; }
.braft-finder .bf-toggle-external-form span i {
position: relative;
top: 2px;
font-size: 16px; }
.braft-finder .bf-add-external {
position: absolute;
z-index: 3;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: #fff; }
.braft-finder .bf-add-external input {
border: solid 1px rgba(0, 0, 0, 0.3);
border: solid 0.5px rgba(0, 0, 0, 0.3);
box-shadow: none; }
.braft-finder .bf-add-external input:focus {
border-color: #3498db;
box-shadow: none; }
.braft-finder .bf-external-form {
width: 500px;
max-width: 90%;
margin: 91px auto 0 auto; }
.braft-finder .bf-external-input {
position: relative;
width: 100%;
height: 40px;
margin-bottom: 10px; }
.braft-finder .bf-external-input div {
position: absolute;
top: 0;
right: 85px;
left: 0;
height: 40px; }
.braft-finder .bf-external-input input,
.braft-finder .bf-external-input textarea {
display: block;
box-sizing: border-box;
width: 100%;
height: 40px;
padding: 0 10px;
border: none;
border-radius: 3px;
outline: none;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
color: #999;
font-size: 18px; }
.braft-finder .bf-external-input input:focus,
.braft-finder .bf-external-input textarea:focus {
box-shadow: inset 0 0 0 1px #3498db; }
.braft-finder .bf-external-input textarea {
height: 100px;
font-size: 14px; }
.braft-finder .bf-external-input button {
position: absolute;
top: 0;
right: 0;
width: 80px;
height: 40px;
background-color: #3498db;
border: none;
border-radius: 3px;
color: #fff;
font-size: 14px;
font-weight: bold;
cursor: pointer; }
.braft-finder .bf-external-input button:disabled {
opacity: .3;
pointer-events: none;
filter: grayscale(0.4); }
.braft-finder .bf-external-input button:hover {
background-color: #2084c7; }
.braft-finder .bf-switch-external-type {
overflow: hidden;
text-align: center; }
.braft-finder .bf-switch-external-type button {
width: auto;
height: 30px;
margin: 10px 5px;
padding: 0 10px;
background-color: #e8e9ea;
border: none;
border-radius: 3px;
color: #999;
font-size: 12px;
cursor: pointer; }
.braft-finder .bf-switch-external-type button:hover {
background-color: #d8d9da; }
.braft-finder .bf-switch-external-type button:only-child {
display: none; }
.braft-finder .bf-switch-external-type[data-type="IMAGE"] [data-type="IMAGE"],
.braft-finder .bf-switch-external-type[data-type="VIDEO"] [data-type="VIDEO"],
.braft-finder .bf-switch-external-type[data-type="AUDIO"] [data-type="AUDIO"],
.braft-finder .bf-switch-external-type[data-type="EMBED"] [data-type="EMBED"],
.braft-finder .bf-switch-external-type[data-type="FILE"] [data-type="FILE"] {
background-color: #3498db;
color: #fff; }
.braft-finder .bf-external-tip {
display: block;
margin-top: 15px;
color: #ccc;
font-size: 12px;
text-align: center; }
`,""])},function(A,C,g){var h=g(16);typeof h=="string"&&(h=[[A.i,h,""]]);var b,E,c={hmr:!0};c.transform=b,c.insertInto=void 0;var l=g(12)(h,c);h.locals&&(A.exports=h.locals)},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var h=Object.assign||function(u){for(var x=1;x<arguments.length;x++){var F=arguments[x];for(var f in F)Object.prototype.hasOwnProperty.call(F,f)&&(u[f]=F[f])}return u},b=function(){function u(x,F){for(var f=0;f<F.length;f++){var B=F[f];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(x,B.key,B)}}return function(x,F,f){return F&&u(x.prototype,F),f&&u(x,f),x}}();g(17);var E=g(2),c=p(E),l=g(1);function p(u){return u&&u.__esModule?u:{default:u}}function s(u,x){if(!(u instanceof x))throw new TypeError("Cannot call a class as a function")}function a(u,x){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:u}function d(u,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);u.prototype=Object.create(x&&x.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(u,x):u.__proto__=x)}var i={image:"image/png,image/jpeg,image/gif,image/webp,image/apng,image/svg",video:"video/mp4",audio:"audio/mp3"},o=function(u){d(x,u);function x(F){s(this,x);var f=a(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,F));f.toggleSelectItem=function(U){var K=U.currentTarget.dataset.id,k=f.controller.getMediaItem(K);if(!k)return!1;k.selected?(!f.props.onBeforeDeselect||f.props.onBeforeDeselect([k],f.controller.getItems())!==!1)&&(f.controller.deselectMediaItem(K),f.props.onDeselect&&f.props.onDeselect([k],f.controller.getItems())):(!f.props.onBeforeSelect||f.props.onBeforeSelect([k],f.controller.getItems())!==!1)&&(f.controller.selectMediaItem(K),f.props.onSelect&&f.props.onSelect([k],f.controller.getItems()))},f.removeItem=function(U){var K=U.currentTarget.dataset.id,k=f.controller.getMediaItem(K);if(!k)return!1;(!f.props.onBeforeRemove||f.props.onBeforeRemove([k],f.controller.getItems())!==!1)&&(f.controller.removeMediaItem(K),f.props.onRemove&&f.props.onRemove([k],f.controller.getItems())),U.stopPropagation()},f.selectAllItems=function(){var U=f.controller.getItems();(!f.props.onBeforeSelect||f.props.onBeforeSelect(U,U)!==!1)&&(f.controller.selectAllItems(),f.props.onSelect&&f.props.onSelect(U,U))},f.deselectAllItems=function(){var U=f.controller.getItems();(!f.props.onBeforeDeselect||f.props.onBeforeDeselect(U,U)!==!1)&&(f.controller.deselectAllItems(),f.props.onDeselect&&f.props.onDeselect(U,U))},f.removeSelectedItems=function(){var U=f.controller.getSelectedItems();(!f.props.onBeforeRemove||f.props.onBeforeRemove(U,f.controller.getItems())!==!1)&&(f.controller.removeSelectedItems(),f.props.onRemove&&f.props.onRemove(U,f.controller.getItems()))},f.handleDragLeave=function(U){U.preventDefault(),f.dragCounter--,f.dragCounter===0&&f.setState({draging:!1})},f.handleDragDrop=function(U){U.preventDefault(),f.dragCounter=0,f.setState({draging:!1}),f.reslovePickedFiles(U)},f.handleDragEnter=function(U){U.preventDefault(),f.dragCounter++,f.setState({draging:!0})},f.reslovePickedFiles=function(U){U.persist();var K=U.type==="drop"?U.dataTransfer:U.target,k=K.files;if(f.props.onFileSelect){var j=f.props.onFileSelect(k);if(j===!1)return!1;(j instanceof FileList||j instanceof Array)&&(k=j)}var z=h({},i,f.props.accepts);f.controller.resolveFiles({files:k,onItemReady:function(I){var X=I.id;return f.controller.selectMediaItem(X)},onAllReady:function(){return U.target.value=null}},0,z)},f.inputExternal=function(U){f.setState({external:h({},f.state.external,{url:U.target.value})})},f.switchExternalType=function(U){f.setState({external:h({},f.state.external,{type:U.target.dataset.type})})},f.confirmAddExternal=function(U){if(U.target.nodeName.toLowerCase()==="button"||U.keyCode===13){var K=f.state.external,k=K.url,j=K.type;k=k.split("|");var z=k.length>1?k[0]:f.props.language.unnamedItem;k=k.length>1?k[1]:k[0];var M=j==="IMAGE"?k:null;f.controller.addItems([{thumbnail:M,url:k,name:z,type:j,id:new Date().getTime()+"_"+(0,l.UniqueIndex)(),uploading:!1,uploadProgress:1,selected:!0}]),f.setState({showExternalForm:!1,external:{url:"",type:"IMAGE"}})}},f.toggleExternalForm=function(){f.setState({showExternalForm:!f.state.showExternalForm})},f.cancelInsert=function(){f.props.onCancel&&f.props.onCancel()},f.confirmInsert=function(){var U=f.controller.getSelectedItems();if(f.props.onBeforeInsert){var K=f.props.onBeforeInsert(U);K&&K instanceof Array?(f.controller.deselectAllItems(),f.props.onInsert&&f.props.onInsert(K)):K!==!1&&(f.controller.deselectAllItems(),f.props.onInsert&&f.props.onInsert(U))}else f.controller.deselectAllItems(),f.props.onInsert&&f.props.onInsert(U)},f.dragCounter=0,f.controller=f.props.controller;var B=f.controller.getItems();return f.state={draging:!1,error:!1,confirmable:B.find(function(U){var K=U.selected;return K}),external:{url:"",type:"IMAGE"},fileAccept:"",showExternalForm:!1,allowExternal:!1,items:B},f.changeListenerId=f.controller.onChange(function(U){f.setState({items:U,confirmable:U.find(function(K){var k=K.selected;return k})}),f.props.onChange&&f.props.onChange(U)}),f}return b(x,[{key:"mapPropsToState",value:function(f){var B=f.accepts,U=f.externals;B=h({},i,B);var K=B?[B.image,B.video,B.audio].filter(function(j){return j}).join(","):[i.image,i.video,i.audio].join(","),k={url:"",type:U.image?"IMAGE":U.audio?"AUDIO":U.video?"VIDEO":U.embed?"EMBED":""};return{fileAccept:K,external:k,allowExternal:U&&(U.image||U.audio||U.video||U.embed)}}},{key:"componentDidMount",value:function(){this.setState(this.mapPropsToState(this.props))}},{key:"componentWillReceiveProps",value:function(f){this.setState(this.mapPropsToState(f))}},{key:"componentWillUnmount",value:function(){this.controller.offChange(this.changeListenerId)}},{key:"render",value:function(){var f=this.props,B=f.language,U=f.externals,K=this.state,k=K.items,j=K.draging,z=K.confirmable,M=K.fileAccept,I=K.external,X=K.showExternalForm,$=K.allowExternal;return c.default.createElement("div",{className:"braft-finder"},c.default.createElement("div",{onDragEnter:this.handleDragEnter,onDragOver:this.handleDragEnter,onDragLeave:this.handleDragLeave,onDrop:this.handleDragDrop,className:"bf-uploader"},c.default.createElement("div",{className:"bf-drag-uploader "+(j||!k.length?"active ":" ")+(j?"draging":"")},c.default.createElement("span",{className:"bf-drag-tip"},c.default.createElement("input",{accept:M,onChange:this.reslovePickedFiles,multiple:!0,type:"file"}),j?B.dropTip:B.dragTip)),k.length?c.default.createElement("div",{className:"bf-list-wrap"},c.default.createElement("div",{className:"bf-list-tools"},c.default.createElement("span",{onClick:this.selectAllItems,className:"bf-select-all"},c.default.createElement("i",{className:"braft-icon-done"})," ",B.selectAll),c.default.createElement("span",{onClick:this.deselectAllItems,disabled:!z,className:"bf-deselect-all"},c.default.createElement("i",{className:"braft-icon-close"})," ",B.deselect),c.default.createElement("span",{onClick:this.removeSelectedItems,disabled:!z,className:"bf-remove-selected"},c.default.createElement("i",{className:"braft-icon-bin"})," ",B.removeSelected)),this.buildItemList()):null,X&&$?c.default.createElement("div",{className:"bf-add-external"},c.default.createElement("div",{className:"bf-external-form"},c.default.createElement("div",{className:"bf-external-input"},c.default.createElement("div",null,c.default.createElement("input",{onKeyDown:this.confirmAddExternal,value:I.url,onChange:this.inputExternal,placeholder:B.externalInputPlaceHolder})),c.default.createElement("button",{type:"button",onClick:this.confirmAddExternal,disabled:!I.url.trim().length},B.confirm)),c.default.createElement("div",{"data-type":I.type,className:"bf-switch-external-type"},U.image?c.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"IMAGE"},B.image):null,U.audio?c.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"AUDIO"},B.audio):null,U.video?c.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"VIDEO"},B.video):null,U.embed?c.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"EMBED"},B.embed):null),c.default.createElement("span",{className:"bf-external-tip"},B.externalInputTip))):null),c.default.createElement("footer",{className:"bf-manager-footer"},c.default.createElement("div",{className:"pull-left"},$?c.default.createElement("span",{onClick:this.toggleExternalForm,className:"bf-toggle-external-form"},X?c.default.createElement("span",{className:"bf-bottom-text"},c.default.createElement("i",{className:"braft-icon-add"})," ",B.addLocalFile):c.default.createElement("span",{className:"bf-bottom-text"},c.default.createElement("i",{className:"braft-icon-add"})," ",B.addExternalSource)):null),c.default.createElement("div",{className:"pull-right"},c.default.createElement("button",{onClick:this.confirmInsert,className:"button button-insert",disabled:!z},B.insert),c.default.createElement("button",{onClick:this.cancelInsert,className:"button button-cancel"},B.cancel))))}},{key:"buildItemList",value:function(){var f=this;return c.default.createElement("ul",{className:"bf-list"},c.default.createElement("li",{className:"bf-add-item"},c.default.createElement("i",{className:"braft-icon-add"}),c.default.createElement("input",{accept:this.state.fileAccept,onChange:this.reslovePickedFiles,multiple:!0,type:"file"})),this.state.items.map(function(B,U){var K=null,k=B.uploading&&!f.props.hideProgress?c.default.createElement("div",{className:"bf-item-uploading"},c.default.createElement("div",{className:"bf-item-uploading-bar",style:{width:B.uploadProgress/1+"%"}})):"";switch(B.type){case"IMAGE":K=c.default.createElement("div",{className:"bf-image"},k,c.default.createElement("img",{src:B.thumbnail||B.url}));break;case"VIDEO":K=c.default.createElement("div",{className:"bf-icon bf-video",title:B.url},k,c.default.createElement("i",{className:"braft-icon-film"}),c.default.createElement("span",null,B.name||B.url));break;case"AUDIO":K=c.default.createElement("div",{className:"bf-icon bf-audio",title:B.url},k,c.default.createElement("i",{className:"braft-icon-music"}),c.default.createElement("span",null,B.name||B.url));break;case"EMBED":K=c.default.createElement("div",{className:"bf-icon bf-embed",title:B.url},k,c.default.createElement("i",{className:"braft-icon-code"}),c.default.createElement("span",null,B.name||f.props.language.embed));break;default:K=c.default.createElement("a",{className:"bf-icon bf-file",title:B.url,href:B.url},k,c.default.createElement("i",{className:"braft-icon-file-text"}),c.default.createElement("span",null,B.name||B.url));break}var j=["bf-item"];return B.selected&&j.push("active"),B.uploading&&j.push("uploading"),B.error&&j.push("error"),c.default.createElement("li",{key:U,title:B.name,"data-id":B.id,className:j.join(" "),onClick:f.toggleSelectItem},K,c.default.createElement("span",{"data-id":B.id,onClick:f.removeItem,className:"bf-item-remove braft-icon-close"}),c.default.createElement("span",{className:"bf-item-title"},B.name))}))}}]),x}(c.default.Component);o.defaultProps={accepts:i,externals:{image:!0,video:!0,audio:!0,embed:!0}},C.default=o},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var h=Object.assign||function(d){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var u in o)Object.prototype.hasOwnProperty.call(o,u)&&(d[u]=o[u])}return d},b=g(1),E=g(0);function c(d){if(Array.isArray(d)){for(var i=0,o=Array(d.length);i<d.length;i++)o[i]=d[i];return o}else return Array.from(d)}function l(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}var p=function(){return!0},s=function d(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};l(this,d),a.call(this),this.items=i.items||[],this.uploadFn=i.uploader,this.validateFn=i.validator||p,this.changeListeners=[]},a=function(){var i=this;this.setProps=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};i.items=o.items||i.items||[],i.uploadFn=o.uploader,i.validateFn=o.validator||p},this.getMediaItem=function(o){return i.items.find(function(u){return u.id===o})},this.getSelectedItems=function(){return i.items.filter(function(o){return o.selected})},this.getItems=function(){return i.items},this.setItems=function(o){i.items=o.map(function(u){return h({},u,{id:u.id.toString()})})||[],i.applyChange(),i.uploadItems()},this.addMediaItem=function(o){i.addItems([o])},this.addItems=function(o){i.items=[].concat(c(i.items),c(o.map(function(u){return h({},u,{id:u.id.toString()})}))),i.applyChange(),i.uploadItems()},this.selectMediaItem=function(o){var u=i.getMediaItem(o);if(u&&(u.uploading||u.error))return!1;i.setMediaItemState(o,{selected:!0})},this.selectAllItems=function(){i.items=i.items.filter(function(o){return!o.error&&!o.uploading}).map(function(o){return h({},o,{selected:!0})}),i.applyChange()},this.deselectMediaItem=function(o){i.setMediaItemState(o,{selected:!1})},this.deselectAllItems=function(){i.items=i.items.map(function(o){return h({},o,{selected:!1})}),i.applyChange()},this.removeMediaItem=function(o){i.items=i.items.filter(function(u){return u.id!==o}),i.applyChange()},this.removeItems=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];i.items=i.items.filter(function(u){return!o.includes(u.id)}),i.applyChange()},this.removeSelectedItems=function(){i.items=i.items.filter(function(o){return!o.selected}),i.applyChange()},this.removeErrorItems=function(){i.items=i.items.filter(function(o){return!o.error}),i.applyChange()},this.removeAllItems=function(){i.items=[],i.applyChange()},this.setMediaItemState=function(o,u){i.items=i.items.map(function(x){return x.id===o?h({},x,u):x}),i.applyChange()},this.reuploadErrorItems=function(){i.uploadItems(!0)},this.uploadItems=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;i.items.forEach(function(u,x){if(u.uploading||u.url||!o&&u.error)return!1;if(u.type==="IMAGE")i.createThumbnail(u),i.uploadFn=i.uploadFn||i.createInlineImage;else if(!i.uploadFn)return i.setMediaItemState(u.id,{error:1}),!1;i.setMediaItemState(u.id,{uploading:!0,uploadProgress:0,error:0}),i.uploadFn({id:u.id,file:u.file,success:function(f){i.handleUploadSuccess(u.id,f)},progress:function(f){i.setMediaItemState(u.id,{uploading:!0,uploadProgress:f})},error:function(f){i.setMediaItemState(u.id,{uploading:!1,error:2})}})})},this.createThumbnail=function(o){var u=o.id,x=o.file;(0,E.compressImage)(URL.createObjectURL(x),226,226).then(function(F){i.setMediaItemState(u,{thumbnail:F.url})})},this.createInlineImage=function(o){(0,E.compressImage)(URL.createObjectURL(o.file),1280,800).then(function(u){o.success({url:u.url})}).catch(function(u){o.error(u)})},this.handleUploadSuccess=function(o,u){i.setMediaItemState(o,h({},u,{file:null,uploadProgress:1,uploading:!1,selected:!1}));var x=i.getMediaItem(u.id||o);x.onReady&&x.onReady(x)},this.applyChange=function(){i.changeListeners.forEach(function(o){var u=o.callback;return u(i.items)})},this.uploadImage=function(o,u){var x=new Date().getTime()+"_"+(0,b.UniqueIndex)();i.addMediaItem({type:"IMAGE",id:x,file:o,name:x,size:o.size,uploadProgress:0,uploading:!1,selected:!1,error:0,onReady:u})},this.uploadImageRecursively=function(o,u){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;o[x]&&o[x].type.indexOf("image")>-1?i.uploadImage(o[x],function(F){u&&u(F),x<o.length-1&&i.uploadImageRecursively(o,u,x+1)}):x<o.length-1&&i.uploadImageRecursively(o,u,x+1)},this.addResolvedFiles=function(o,u,x){var F={id:new Date().getTime()+"_"+(0,b.UniqueIndex)(),file:o.files[u],name:o.files[u].name,size:o.files[u].size,uploadProgress:0,uploading:!1,selected:!1,error:0,onReady:function(B){o.onItemReady&&o.onItemReady(B)}};o.files[u].type.indexOf("image/")===0&&x.image?(F.type="IMAGE",i.addMediaItem(F)):o.files[u].type.indexOf("video/")===0&&x.video?(F.type="VIDEO",i.addMediaItem(F)):o.files[u].type.indexOf("audio/")===0&&x.audio&&(F.type="AUDIO",i.addMediaItem(F)),setTimeout(function(){i.resolveFiles(o,u+1,x)},60)},this.resolveFiles=function(o,u,x){if(u<o.files.length){var F=i.validateFn(o.files[u]);F instanceof Promise?F.then(function(){i.addResolvedFiles(o,u,x)}):F&&i.addResolvedFiles(o,u,x)}else o.onAllReady&&o.onAllReady()},this.onChange=function(o){var u=(0,b.UniqueIndex)();return i.changeListeners.push({id:u,callback:o}),u},this.offChange=function(o){i.changeListeners=i.changeListeners.filter(function(u){var x=u.id;return x!==o})}};C.default=s},function(A,C,g){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.ImageUtils=void 0;var h=Object.assign||function(k){for(var j=1;j<arguments.length;j++){var z=arguments[j];for(var M in z)Object.prototype.hasOwnProperty.call(z,M)&&(k[M]=z[M])}return k},b=g(2),E=x(b),c=g(19),l=x(c),p=g(18),s=x(p),a=g(10),d=x(a),i=g(0),o=u(i);function u(k){if(k&&k.__esModule)return k;var j={};if(k!=null)for(var z in k)Object.prototype.hasOwnProperty.call(k,z)&&(j[z]=k[z]);return j.default=k,j}function x(k){return k&&k.__esModule?k:{default:k}}function F(k,j){if(!(k instanceof j))throw new TypeError("Cannot call a class as a function")}function f(k,j){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return j&&(typeof j=="object"||typeof j=="function")?j:k}function B(k,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof j);k.prototype=Object.create(j&&j.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),j&&(Object.setPrototypeOf?Object.setPrototypeOf(k,j):k.__proto__=j)}var U=function(k){B(j,k);function j(z){F(this,j);var M=f(this,(j.__proto__||Object.getPrototypeOf(j)).call(this,z));return K.call(M),M.superProps=z,M}return j}(l.default),K=function(){var j=this;this.ReactComponent=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=h({},j.superProps,z),I=(typeof M.language=="function"?M.language(d.default,"braft-finder"):d.default[M.language])||d.default.zh;return E.default.createElement(s.default,h({},M,{language:I,controller:j}))}};C.default=U,C.ImageUtils=o}])})},36594:function(J,D){"use strict";Object.defineProperty(D,"__esModule",{value:!0});var r=0,S=D.UniqueIndex=function(){return r+=1}},63039:function(J,D){"use strict";Object.defineProperty(D,"__esModule",{value:!0});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},S=function(E){if(E=E.replace("color:","").replace(";","").replace(" ",""),/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(E))return E;if(A[E])return A[E];if(E.indexOf("rgb")===0){var c=E.split(","),l=c.length<3?null:"#"+[c[0],c[1],c[2]].map(function(p){var s=parseInt(p.replace(/\D/g,""),10).toString(16);return s.length===1?"0"+s:s}).join("");return/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(l)?l:null}else return null},A=D.namedColors=r,C=D.getHexColor=S,g=D.detectColorsFromHTMLString=function(E){return typeof E!="string"?[]:(E.match(/color:[^;]{3,24};/g)||[]).map(C).filter(function(c){return c})},h=D.detectColorsFromDraftState=function(E){var c=[];return!E||!E.blocks||!E.blocks.length?c:(E.blocks.forEach(function(l){l&&l.inlineStyleRanges&&l.inlineStyleRanges.length&&l.inlineStyleRanges.forEach(function(p){p.style&&p.style.indexOf("COLOR-")>=0&&c.push("#"+p.style.split("COLOR-")[1])})}),c.filter(function(l){return l}))}},17274:function(J,D,r){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.redo=D.undo=D.handleKeyCommand=D.clear=D.setMediaPosition=D.removeMedia=D.setMediaData=D.insertMedias=D.insertHorizontalLine=D.insertAtomicBlock=D.insertHTML=D.insertText=D.toggleSelectionLetterSpacing=D.toggleSelectionFontFamily=D.toggleSelectionLineHeight=D.toggleSelectionFontSize=D.toggleSelectionBackgroundColor=D.toggleSelectionColor=D.decreaseSelectionIndent=D.increaseSelectionIndent=D.toggleSelectionIndent=D.toggleSelectionAlignment=D.removeSelectionInlineStyles=D.toggleSelectionInlineStyle=D.selectionHasInlineStyle=D.getSelectionInlineStyle=D.toggleSelectionLink=D.toggleSelectionEntity=D.getSelectionEntityData=D.getSelectionEntityType=D.toggleSelectionBlockType=D.getSelectionText=D.getSelectionBlockType=D.getSelectionBlockData=D.setSelectionBlockData=D.getSelectedBlocks=D.updateEachCharacterOfSelection=D.getSelectionBlock=D.removeBlock=D.selectNextBlock=D.selectBlock=D.selectionContainsStrictBlock=D.selectionContainsBlockType=D.isSelectionCollapsed=D.createEditorState=D.createEmptyEditorState=D.isEditorState=D.registerStrictBlockType=void 0;var S=r(87937),A=r(64162),C=r(91796),g=r(52724),h=b(g);function b(Se){return Se&&Se.__esModule?Se:{default:Se}}var E=["atomic"],c=D.registerStrictBlockType=function(V){E.indexOf(V)===-1&&E.push(V)},l=D.isEditorState=function(V){return V instanceof S.EditorState},p=D.createEmptyEditorState=function(V){return S.EditorState.createEmpty(V)},s=D.createEditorState=function(V,Y){return S.EditorState.createWithContent(V,Y)},a=D.isSelectionCollapsed=function(V){return V.getSelection().isCollapsed()},d=D.selectionContainsBlockType=function(V,Y){return B(V).find(function(ne){return ne.getType()===Y})},i=D.selectionContainsStrictBlock=function(V){return B(V).find(function(Y){return~E.indexOf(Y.getType())})},o=D.selectBlock=function(V,Y){var ne=Y.getKey();return S.EditorState.forceSelection(V,new S.SelectionState({anchorKey:ne,anchorOffset:0,focusKey:ne,focusOffset:Y.getLength()}))},u=D.selectNextBlock=function(V,Y){var ne=V.getCurrentContent().getBlockAfter(Y.getKey());return ne?o(V,ne):V},x=D.removeBlock=function(V,Y){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,fe=void 0,he=void 0,be=Y.getKey();return fe=S.Modifier.removeRange(V.getCurrentContent(),new S.SelectionState({anchorKey:be,anchorOffset:0,focusKey:be,focusOffset:Y.getLength()}),"backward"),fe=S.Modifier.setBlockType(fe,fe.getSelectionAfter(),"unstyled"),he=S.EditorState.push(V,fe,"remove-range"),S.EditorState.forceSelection(he,ne||fe.getSelectionAfter())},F=D.getSelectionBlock=function(V){return V.getCurrentContent().getBlockForKey(V.getSelection().getAnchorKey())},f=D.updateEachCharacterOfSelection=function(V,Y){var ne=V.getSelection(),fe=V.getCurrentContent(),he=fe.getBlockMap(),be=B(V);if(be.length===0)return V;var ke=ne.getStartKey(),Oe=ne.getStartOffset(),Ke=ne.getEndKey(),Ve=ne.getEndOffset(),et=he.map(function(Pe){if(be.indexOf(Pe)===-1)return Pe;var at=Pe.getKey(),mt=Pe.getCharacterList(),Tt=null;return at===ke&&at===Ke?Tt=mt.map(function(St,At){return At>=Oe&&At<Ve?Y(St):St}):at===ke?Tt=mt.map(function(St,At){return At>=Oe?Y(St):St}):at===Ke?Tt=mt.map(function(St,At){return At<Ve?Y(St):St}):Tt=mt.map(function(St){return Y(St)}),Pe.merge({characterList:Tt})});return S.EditorState.push(V,fe.merge({blockMap:et,selectionBefore:ne,selectionAfter:ne}),"update-selection-character-list")},B=D.getSelectedBlocks=function(V){var Y=V.getSelection(),ne=V.getCurrentContent(),fe=Y.getStartKey(),he=Y.getEndKey(),be=fe===he,ke=ne.getBlockForKey(fe),Oe=[ke];if(!be)for(var Ke=fe;Ke!==he;){var Ve=ne.getBlockAfter(Ke);Oe.push(Ve),Ke=Ve.getKey()}return Oe},U=D.setSelectionBlockData=function(V,Y,ne){var fe=ne?Y:Object.assign({},K(V).toJS(),Y);return Object.keys(fe).forEach(function(he){fe.hasOwnProperty(he)&&fe[he]===void 0&&delete fe[he]}),(0,A.setBlockData)(V,fe)},K=D.getSelectionBlockData=function(V,Y){var ne=F(V).getData();return Y?ne.get(Y):ne},k=D.getSelectionBlockType=function(V){return F(V).getType()},j=D.getSelectionText=function(V){var Y=V.getSelection(),ne=V.getCurrentContent();if(Y.isCollapsed()||k(V)==="atomic")return"";var fe=Y.getAnchorKey(),he=ne.getBlockForKey(fe),be=Y.getStartOffset(),ke=Y.getEndOffset();return he.getText().slice(be,ke)},z=D.toggleSelectionBlockType=function(V,Y){return i(V)?V:S.RichUtils.toggleBlockType(V,Y)},M=D.getSelectionEntityType=function(V){var Y=(0,A.getSelectionEntity)(V);if(Y){var ne=V.getCurrentContent().getEntity(Y);return ne?ne.get("type"):null}return null},I=D.getSelectionEntityData=function(V,Y){var ne=(0,A.getSelectionEntity)(V);if(ne){var fe=V.getCurrentContent().getEntity(ne);return fe&&fe.get("type")===Y?fe.getData():{}}else return{}},X=D.toggleSelectionEntity=function(V,Y){var ne=V.getCurrentContent(),fe=V.getSelection();if(fe.isCollapsed()||k(V)==="atomic")return V;if(!Y||!Y.type||M(V)===Y.type)return S.EditorState.push(V,S.Modifier.applyEntity(ne,fe,null),"apply-entity");try{var he=ne.createEntity(Y.type,Y.mutability,Y.data),be=he.getLastCreatedEntityKey(),ke=S.EditorState.set(V,{currentContent:he});return S.EditorState.push(ke,S.Modifier.applyEntity(he,fe,be),"apply-entity")}catch(Oe){return console.warn(Oe),V}},$=D.toggleSelectionLink=function(V,Y,ne){var fe=V.getCurrentContent(),he=V.getSelection(),be={href:Y,target:ne};if(he.isCollapsed()||k(V)==="atomic")return V;if(Y===!1)return S.RichUtils.toggleLink(V,he,null);Y===null&&delete be.href;try{var ke=fe.createEntity("LINK","MUTABLE",be),Oe=ke.getLastCreatedEntityKey(),Ke=S.EditorState.set(V,{currentContent:ke});return Ke=S.RichUtils.toggleLink(Ke,he,Oe),Ke=S.EditorState.forceSelection(Ke,he.merge({anchorOffset:he.getEndOffset(),focusOffset:he.getEndOffset()})),Ke=S.EditorState.push(Ke,S.Modifier.insertText(Ke.getCurrentContent(),Ke.getSelection(),""),"insert-text"),Ke}catch(Ve){return console.warn(Ve),V}},Q=D.getSelectionInlineStyle=function(V){return V.getCurrentInlineStyle()},W=D.selectionHasInlineStyle=function(V,Y){return Q(V).has(Y.toUpperCase())},le=D.toggleSelectionInlineStyle=function(V,Y){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",fe=V;return Y=ne+Y.toUpperCase(),ne&&(fe=f(fe,function(he){return he.toJS().style.reduce(function(be,ke){return ke.indexOf(ne)===0&&Y!==ke?S.CharacterMetadata.removeStyle(be,ke):be},he)})),S.RichUtils.toggleInlineStyle(fe,Y)},te=D.removeSelectionInlineStyles=function(V){return f(V,function(Y){return Y.merge({style:h.default.OrderedSet([])})})},pe=D.toggleSelectionAlignment=function(V,Y){return U(V,{textAlign:K(V,"textAlign")!==Y?Y:void 0})},Le=D.toggleSelectionIndent=function(V,Y){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6;return Y<0||Y>ne||isNaN(Y)?V:U(V,{textIndent:Y||void 0})},De=D.increaseSelectionIndent=function(V){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,ne=K(V,"textIndent")||0;return Le(V,ne+1,Y)},Z=D.decreaseSelectionIndent=function(V,Y){var ne=K(V,"textIndent")||0;return Le(V,ne-1,Y)},Re=D.toggleSelectionColor=function(V,Y){return le(V,Y.replace("#",""),"COLOR-")},Ye=D.toggleSelectionBackgroundColor=function(V,Y){return le(V,Y.replace("#",""),"BGCOLOR-")},_e=D.toggleSelectionFontSize=function(V,Y){return le(V,Y,"FONTSIZE-")},Ze=D.toggleSelectionLineHeight=function(V,Y){return le(V,Y,"LINEHEIGHT-")},qe=D.toggleSelectionFontFamily=function(V,Y){return le(V,Y,"FONTFAMILY-")},me=D.toggleSelectionLetterSpacing=function(V,Y){return le(V,Y,"LETTERSPACING-")},ye=D.insertText=function(V,Y,ne,fe){var he=V.getSelection(),be=k(V);if(be==="atomic")return V;var ke=void 0,Oe=V.getCurrentContent();return fe&&fe.type&&(Oe=Oe.createEntity(fe.type,fe.mutability||"MUTABLE",fe.data||entityData),ke=Oe.getLastCreatedEntityKey()),he.isCollapsed()?S.EditorState.push(V,S.Modifier.insertText(Oe,he,Y,ne,ke),"insert-text"):S.EditorState.push(V,S.Modifier.replaceText(Oe,he,Y,ne,ke),"replace-text")},Te=D.insertHTML=function(V,Y,ne){if(!Y)return V;var fe=V.getSelection(),he=V.getCurrentContent(),be=V.convertOptions||{};try{var ke=(0,S.convertFromRaw)((0,C.convertHTMLToRaw)(Y,be,ne)),Oe=ke.blockMap;return S.EditorState.push(V,S.Modifier.replaceWithFragment(he,fe,Oe),"insert-fragment")}catch(Ke){return console.warn(Ke),V}},we=D.insertAtomicBlock=function Se(V,Y){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,fe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(i(V))return Se(u(V,F(V)),Y,ne,fe);var he=V.getSelection(),be=V.getCurrentContent();if(!he.isCollapsed()||k(V)==="atomic")return V;var ke=be.createEntity(Y,ne?"IMMUTABLE":"MUTABLE",fe),Oe=ke.getLastCreatedEntityKey(),Ke=S.AtomicBlockUtils.insertAtomicBlock(V,Oe," ");return Ke},Me=D.insertHorizontalLine=function(V){return we(V,"HR")},Ne=D.insertMedias=function(V){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Y.length?Y.reduce(function(ne,fe){var he=fe.url,be=fe.link,ke=fe.link_target,Oe=fe.name,Ke=fe.type,Ve=fe.width,et=fe.height,Pe=fe.meta;return we(ne,Ke,!0,{url:he,link:be,link_target:ke,name:Oe,type:Ke,width:Ve,height:et,meta:Pe})},V):V},ze=D.setMediaData=function(V,Y,ne){return S.EditorState.push(V,V.getCurrentContent().mergeEntityData(Y,ne),"change-block-data")},We=D.removeMedia=function(V,Y){return x(V,Y)},rt=D.setMediaPosition=function(V,Y,ne){var fe={},he=ne.float,be=ne.alignment;return typeof he!="undefined"&&(fe.float=Y.getData().get("float")===he?null:he),typeof be!="undefined"&&(fe.alignment=Y.getData().get("alignment")===be?null:be),U(o(V,Y),fe)},Fe=D.clear=function(V){var Y=V.getCurrentContent(),ne=Y.getFirstBlock(),fe=Y.getLastBlock(),he=new S.SelectionState({anchorKey:ne.getKey(),anchorOffset:0,focusKey:fe.getKey(),focusOffset:fe.getLength(),hasFocus:!0});return S.RichUtils.toggleBlockType(S.EditorState.push(V,S.Modifier.removeRange(Y,he,"backward"),"remove-range"),"unstyled")},Je=D.handleKeyCommand=function(V,Y){return S.RichUtils.handleKeyCommand(V,Y)},pt=D.undo=function(V){return S.EditorState.undo(V)},Dt=D.redo=function(V){return S.EditorState.redo(V)}},51980:function(J,D,r){"use strict";var S;S={value:!0},S=S=D.gk=void 0;var A=r(17274),C=c(A),g=r(36594),h=c(g),b=r(63039),E=c(b);function c(a){if(a&&a.__esModule)return a;var d={};if(a!=null)for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(d[i]=a[i]);return d.default=a,d}var l=D.gk=C,p=S=h,s=S=E},37266:function(J,D){"use strict";Object.defineProperty(D,"__esModule",{value:!0});var r=0,S=D.UniqueIndex=function(){return r+=1}},79071:function(J,D){"use strict";Object.defineProperty(D,"__esModule",{value:!0});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},S=function(E){if(E=E.replace("color:","").replace(";","").replace(" ",""),/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(E))return E;if(A[E])return A[E];if(E.indexOf("rgb")===0){var c=E.split(","),l=c.length<3?null:"#"+[c[0],c[1],c[2]].map(function(p){var s=parseInt(p.replace(/\D/g,""),10).toString(16);return s.length===1?"0"+s:s}).join("");return/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(l)?l:null}else return null},A=D.namedColors=r,C=D.getHexColor=S,g=D.detectColorsFromHTMLString=function(E){return typeof E!="string"?[]:(E.match(/color:[^;]{3,24};/g)||[]).map(C).filter(function(c){return c})},h=D.detectColorsFromDraftState=function(E){var c=[];return!E||!E.blocks||!E.blocks.length?c:(E.blocks.forEach(function(l){l&&l.inlineStyleRanges&&l.inlineStyleRanges.length&&l.inlineStyleRanges.forEach(function(p){p.style&&p.style.indexOf("COLOR-")>=0&&c.push("#"+p.style.split("COLOR-")[1])})}),c.filter(function(l){return l}))}},81792:function(J,D,r){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.redo=D.undo=D.handleKeyCommand=D.clear=D.setMediaPosition=D.removeMedia=D.setMediaData=D.insertMedias=D.insertHorizontalLine=D.insertAtomicBlock=D.insertHTML=D.insertText=D.toggleSelectionLetterSpacing=D.toggleSelectionFontFamily=D.toggleSelectionLineHeight=D.toggleSelectionFontSize=D.toggleSelectionBackgroundColor=D.toggleSelectionColor=D.decreaseSelectionIndent=D.increaseSelectionIndent=D.toggleSelectionIndent=D.toggleSelectionAlignment=D.removeSelectionInlineStyles=D.toggleSelectionInlineStyle=D.selectionHasInlineStyle=D.getSelectionInlineStyle=D.toggleSelectionLink=D.toggleSelectionEntity=D.getSelectionEntityData=D.getSelectionEntityType=D.toggleSelectionBlockType=D.getSelectionText=D.getSelectionBlockType=D.getSelectionBlockData=D.setSelectionBlockData=D.getSelectedBlocks=D.updateEachCharacterOfSelection=D.getSelectionBlock=D.removeBlock=D.selectNextBlock=D.selectBlock=D.selectionContainsStrictBlock=D.selectionContainsBlockType=D.isSelectionCollapsed=D.createEditorState=D.createEmptyEditorState=D.isEditorState=D.registerStrictBlockType=void 0;var S=r(87937),A=r(57865),C=r(91796),g=r(52724),h=b(g);function b(Se){return Se&&Se.__esModule?Se:{default:Se}}var E=["atomic"],c=D.registerStrictBlockType=function(V){E.indexOf(V)===-1&&E.push(V)},l=D.isEditorState=function(V){return V instanceof S.EditorState},p=D.createEmptyEditorState=function(V){return S.EditorState.createEmpty(V)},s=D.createEditorState=function(V,Y){return S.EditorState.createWithContent(V,Y)},a=D.isSelectionCollapsed=function(V){return V.getSelection().isCollapsed()},d=D.selectionContainsBlockType=function(V,Y){return B(V).find(function(ne){return ne.getType()===Y})},i=D.selectionContainsStrictBlock=function(V){return B(V).find(function(Y){return~E.indexOf(Y.getType())})},o=D.selectBlock=function(V,Y){var ne=Y.getKey();return S.EditorState.forceSelection(V,new S.SelectionState({anchorKey:ne,anchorOffset:0,focusKey:ne,focusOffset:Y.getLength()}))},u=D.selectNextBlock=function(V,Y){var ne=V.getCurrentContent().getBlockAfter(Y.getKey());return ne?o(V,ne):V},x=D.removeBlock=function(V,Y){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,fe=void 0,he=void 0,be=Y.getKey();return fe=S.Modifier.removeRange(V.getCurrentContent(),new S.SelectionState({anchorKey:be,anchorOffset:0,focusKey:be,focusOffset:Y.getLength()}),"backward"),fe=S.Modifier.setBlockType(fe,fe.getSelectionAfter(),"unstyled"),he=S.EditorState.push(V,fe,"remove-range"),S.EditorState.forceSelection(he,ne||fe.getSelectionAfter())},F=D.getSelectionBlock=function(V){return V.getCurrentContent().getBlockForKey(V.getSelection().getAnchorKey())},f=D.updateEachCharacterOfSelection=function(V,Y){var ne=V.getSelection(),fe=V.getCurrentContent(),he=fe.getBlockMap(),be=B(V);if(be.length===0)return V;var ke=ne.getStartKey(),Oe=ne.getStartOffset(),Ke=ne.getEndKey(),Ve=ne.getEndOffset(),et=he.map(function(Pe){if(be.indexOf(Pe)===-1)return Pe;var at=Pe.getKey(),mt=Pe.getCharacterList(),Tt=null;return at===ke&&at===Ke?Tt=mt.map(function(St,At){return At>=Oe&&At<Ve?Y(St):St}):at===ke?Tt=mt.map(function(St,At){return At>=Oe?Y(St):St}):at===Ke?Tt=mt.map(function(St,At){return At<Ve?Y(St):St}):Tt=mt.map(function(St){return Y(St)}),Pe.merge({characterList:Tt})});return S.EditorState.push(V,fe.merge({blockMap:et,selectionBefore:ne,selectionAfter:ne}),"update-selection-character-list")},B=D.getSelectedBlocks=function(V){var Y=V.getSelection(),ne=V.getCurrentContent(),fe=Y.getStartKey(),he=Y.getEndKey(),be=fe===he,ke=ne.getBlockForKey(fe),Oe=[ke];if(!be)for(var Ke=fe;Ke!==he;){var Ve=ne.getBlockAfter(Ke);Oe.push(Ve),Ke=Ve.getKey()}return Oe},U=D.setSelectionBlockData=function(V,Y,ne){var fe=ne?Y:Object.assign({},K(V).toJS(),Y);return Object.keys(fe).forEach(function(he){fe.hasOwnProperty(he)&&fe[he]===void 0&&delete fe[he]}),(0,A.setBlockData)(V,fe)},K=D.getSelectionBlockData=function(V,Y){var ne=F(V).getData();return Y?ne.get(Y):ne},k=D.getSelectionBlockType=function(V){return F(V).getType()},j=D.getSelectionText=function(V){var Y=V.getSelection(),ne=V.getCurrentContent();if(Y.isCollapsed()||k(V)==="atomic")return"";var fe=Y.getAnchorKey(),he=ne.getBlockForKey(fe),be=Y.getStartOffset(),ke=Y.getEndOffset();return he.getText().slice(be,ke)},z=D.toggleSelectionBlockType=function(V,Y){return i(V)?V:S.RichUtils.toggleBlockType(V,Y)},M=D.getSelectionEntityType=function(V){var Y=(0,A.getSelectionEntity)(V);if(Y){var ne=V.getCurrentContent().getEntity(Y);return ne?ne.get("type"):null}return null},I=D.getSelectionEntityData=function(V,Y){var ne=(0,A.getSelectionEntity)(V);if(ne){var fe=V.getCurrentContent().getEntity(ne);return fe&&fe.get("type")===Y?fe.getData():{}}else return{}},X=D.toggleSelectionEntity=function(V,Y){var ne=V.getCurrentContent(),fe=V.getSelection();if(fe.isCollapsed()||k(V)==="atomic")return V;if(!Y||!Y.type||M(V)===Y.type)return S.EditorState.push(V,S.Modifier.applyEntity(ne,fe,null),"apply-entity");try{var he=ne.createEntity(Y.type,Y.mutability,Y.data),be=he.getLastCreatedEntityKey(),ke=S.EditorState.set(V,{currentContent:he});return S.EditorState.push(ke,S.Modifier.applyEntity(he,fe,be),"apply-entity")}catch(Oe){return console.warn(Oe),V}},$=D.toggleSelectionLink=function(V,Y,ne){var fe=V.getCurrentContent(),he=V.getSelection(),be={href:Y,target:ne};if(he.isCollapsed()||k(V)==="atomic")return V;if(Y===!1)return S.RichUtils.toggleLink(V,he,null);Y===null&&delete be.href;try{var ke=fe.createEntity("LINK","MUTABLE",be),Oe=ke.getLastCreatedEntityKey(),Ke=S.EditorState.set(V,{currentContent:ke});return Ke=S.RichUtils.toggleLink(Ke,he,Oe),Ke=S.EditorState.forceSelection(Ke,he.merge({anchorOffset:he.getEndOffset(),focusOffset:he.getEndOffset()})),Ke=S.EditorState.push(Ke,S.Modifier.insertText(Ke.getCurrentContent(),Ke.getSelection(),""),"insert-text"),Ke}catch(Ve){return console.warn(Ve),V}},Q=D.getSelectionInlineStyle=function(V){return V.getCurrentInlineStyle()},W=D.selectionHasInlineStyle=function(V,Y){return Q(V).has(Y.toUpperCase())},le=D.toggleSelectionInlineStyle=function(V,Y){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",fe=V;return Y=ne+Y.toUpperCase(),ne&&(fe=f(fe,function(he){return he.toJS().style.reduce(function(be,ke){return ke.indexOf(ne)===0&&Y!==ke?S.CharacterMetadata.removeStyle(be,ke):be},he)})),S.RichUtils.toggleInlineStyle(fe,Y)},te=D.removeSelectionInlineStyles=function(V){return f(V,function(Y){return Y.merge({style:h.default.OrderedSet([])})})},pe=D.toggleSelectionAlignment=function(V,Y){return U(V,{textAlign:K(V,"textAlign")!==Y?Y:void 0})},Le=D.toggleSelectionIndent=function(V,Y){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6;return Y<0||Y>ne||isNaN(Y)?V:U(V,{textIndent:Y||void 0})},De=D.increaseSelectionIndent=function(V){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,ne=K(V,"textIndent")||0;return Le(V,ne+1,Y)},Z=D.decreaseSelectionIndent=function(V,Y){var ne=K(V,"textIndent")||0;return Le(V,ne-1,Y)},Re=D.toggleSelectionColor=function(V,Y){return le(V,Y.replace("#",""),"COLOR-")},Ye=D.toggleSelectionBackgroundColor=function(V,Y){return le(V,Y.replace("#",""),"BGCOLOR-")},_e=D.toggleSelectionFontSize=function(V,Y){return le(V,Y,"FONTSIZE-")},Ze=D.toggleSelectionLineHeight=function(V,Y){return le(V,Y,"LINEHEIGHT-")},qe=D.toggleSelectionFontFamily=function(V,Y){return le(V,Y,"FONTFAMILY-")},me=D.toggleSelectionLetterSpacing=function(V,Y){return le(V,Y,"LETTERSPACING-")},ye=D.insertText=function(V,Y,ne,fe){var he=V.getSelection(),be=k(V);if(be==="atomic")return V;var ke=void 0,Oe=V.getCurrentContent();return fe&&fe.type&&(Oe=Oe.createEntity(fe.type,fe.mutability||"MUTABLE",fe.data||entityData),ke=Oe.getLastCreatedEntityKey()),he.isCollapsed()?S.EditorState.push(V,S.Modifier.insertText(Oe,he,Y,ne,ke),"insert-text"):S.EditorState.push(V,S.Modifier.replaceText(Oe,he,Y,ne,ke),"replace-text")},Te=D.insertHTML=function(V,Y,ne){if(!Y)return V;var fe=V.getSelection(),he=V.getCurrentContent(),be=V.convertOptions||{};try{var ke=(0,S.convertFromRaw)((0,C.convertHTMLToRaw)(Y,be,ne)),Oe=ke.blockMap;return S.EditorState.push(V,S.Modifier.replaceWithFragment(he,fe,Oe),"insert-fragment")}catch(Ke){return console.warn(Ke),V}},we=D.insertAtomicBlock=function Se(V,Y){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,fe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(i(V))return Se(u(V,F(V)),Y,ne,fe);var he=V.getSelection(),be=V.getCurrentContent();if(!he.isCollapsed()||k(V)==="atomic")return V;var ke=be.createEntity(Y,ne?"IMMUTABLE":"MUTABLE",fe),Oe=ke.getLastCreatedEntityKey(),Ke=S.AtomicBlockUtils.insertAtomicBlock(V,Oe," ");return Ke},Me=D.insertHorizontalLine=function(V){return we(V,"HR")},Ne=D.insertMedias=function(V){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Y.length?Y.reduce(function(ne,fe){var he=fe.url,be=fe.link,ke=fe.link_target,Oe=fe.name,Ke=fe.type,Ve=fe.width,et=fe.height,Pe=fe.meta;return we(ne,Ke,!0,{url:he,link:be,link_target:ke,name:Oe,type:Ke,width:Ve,height:et,meta:Pe})},V):V},ze=D.setMediaData=function(V,Y,ne){return S.EditorState.push(V,V.getCurrentContent().mergeEntityData(Y,ne),"change-block-data")},We=D.removeMedia=function(V,Y){return x(V,Y)},rt=D.setMediaPosition=function(V,Y,ne){var fe={},he=ne.float,be=ne.alignment;return typeof he!="undefined"&&(fe.float=Y.getData().get("float")===he?null:he),typeof be!="undefined"&&(fe.alignment=Y.getData().get("alignment")===be?null:be),U(o(V,Y),fe)},Fe=D.clear=function(V){var Y=V.getCurrentContent(),ne=Y.getFirstBlock(),fe=Y.getLastBlock(),he=new S.SelectionState({anchorKey:ne.getKey(),anchorOffset:0,focusKey:fe.getKey(),focusOffset:fe.getLength(),hasFocus:!0});return S.RichUtils.toggleBlockType(S.EditorState.push(V,S.Modifier.removeRange(Y,he,"backward"),"remove-range"),"unstyled")},Je=D.handleKeyCommand=function(V,Y){return S.RichUtils.handleKeyCommand(V,Y)},pt=D.undo=function(V){return S.EditorState.undo(V)},Dt=D.redo=function(V){return S.EditorState.redo(V)}},10881:function(J,D,r){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.ColorUtils=D.BaseUtils=D.ContentUtils=void 0;var S=r(81792),A=E(S),C=r(37266),g=E(C),h=r(79071),b=E(h);function E(s){if(s&&s.__esModule)return s;var a={};if(s!=null)for(var d in s)Object.prototype.hasOwnProperty.call(s,d)&&(a[d]=s[d]);return a.default=s,a}var c=D.ContentUtils=A,l=D.BaseUtils=g,p=D.ColorUtils=b},9945:function(J,D,r){"use strict";r.r(D),r.d(D,{convertFromHTML:function(){return Gt},convertToHTML:function(){return Ze},parseHTML:function(){return ye}});var S=r(53670),A=r.n(S),C=r(93236),g=r(24155),h=r(87937),b=r(96835);function E(ae,ce,Ce,xe,He,je){var gt=xe-Ce,it=ce+Ce<=ae.offset;if(it)return Object.assign({},ae,{offset:ae.offset+gt});var Et=ce>=ae.offset&&ce+Ce<=ae.offset+ae.length;if(Et)return Object.assign({},ae,{length:ae.length+gt});var ot=ae.offset>=ce&&ae.offset+ae.length<=ce+Ce&&He>0;if(ot)return Object.assign({},ae,{offset:ae.offset+He});var wt=ae.offset<ce&&ae.offset+ae.length<=ce+Ce&&ae.offset+ae.length>ce&&He>0;if(wt)return[Object.assign({},ae,{length:ce-ae.offset}),Object.assign({},ae,{offset:ce+He,length:ae.offset-ce+ae.length})];var ut=ae.offset>=ce&&ae.offset+ae.length>ce+Ce&&ce+Ce>ae.offset&&je>0;return ut?[Object.assign({},ae,{offset:ae.offset+He,length:ce+Ce-ae.offset}),Object.assign({},ae,{offset:ce+Ce+He+je,length:ae.offset+ae.length-(ce+Ce)})]:ae}var c=function(ae,ce){return ae.offset===ce.offset?ce.length-ae.length:ae.offset-ce.offset},l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"},p=function(ae){for(var ce=(0,b.Z)(ae.text),Ce=ae.entityRanges.sort(c),xe=ae.inlineStyleRanges.sort(c),He="",je=function(Et){var ot=ce[Et];if(l[ot]!==void 0){var wt=l[ot],ut=(0,b.Z)(He).length;He+=wt;var Ct=function(ct){return E(ct,ut,ot.length,wt.length,0,0)};Ce=Ce.map(Ct),xe=xe.map(Ct)}else He+=ot},gt=0;gt<ce.length;gt++)je(gt);return Object.assign({},ae,{text:He,inlineStyleRanges:xe,entityRanges:Ce})},s=r(11371),a=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function d(ae){if(a.indexOf(ae.type)!==-1)return g.renderToStaticMarkup(ae);var ce=g.renderToStaticMarkup(C.cloneElement(ae,{},"\r")).split("\r");return A()(ce.length>1,"convertToHTML: Element of type ".concat(ae.type," must render children")),A()(ce.length<3,"convertToHTML: Element of type ".concat(ae.type," cannot use carriage return character")),{start:ce[0],end:ce[1]}}function i(ae){return C.isValidElement(ae)&&C.Children.count(ae.props.children)>0}function o(ae){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(ae==null||typeof ae=="string")return ae;if(C.isValidElement(ae)){if(i(ae))return g.renderToStaticMarkup(ae);var Ce=d(ae);if(ce!==null&&(0,s.Z)(Ce)==="object"){var xe=Ce.start,He=Ce.end;return xe+ce+He}return Ce}if(A()(Object.prototype.hasOwnProperty.call(ae,"start")&&Object.prototype.hasOwnProperty.call(ae,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),ce!==null){var je=ae.start,gt=ae.end;return je+ce+gt}return ae}var u=function ae(ce){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"start";if(C.isValidElement(ce)){var xe=d(ce);if(typeof xe=="string")return 0;var He=xe[Ce].length,je=C.Children.toArray(ce.props.children)[0];return He+(je&&C.isValidElement(je)?ae(je,Ce):0)}return(0,s.Z)(ce)==="object"&&ce[Ce]?ce[Ce].length:0},x=u,F=function(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ce=arguments.length>1?arguments[1]:void 0;return Ce},f=function(ae,ce){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:F,xe=(0,b.Z)(ae.text),He=Ce;if(Ce.__isMiddleware&&(He=Ce(F)),Object.prototype.hasOwnProperty.call(ae,"entityRanges")&&ae.entityRanges.length>0){for(var je=ae.entityRanges.sort(c),gt=ae.inlineStyleRanges,it=function(wt){var ut=je[wt],Ct=ce[ut.key],nt=xe.slice(ut.offset,ut.offset+ut.length).join(""),ct=He(Ct,nt),ht=o(ct,nt),ft=void 0;ht||ht===""?ft=(0,b.Z)(ht):ft=nt;var jt=x(ct,"start"),Ht=x(ct,"end"),Ot=function(Mt,Bt){return Bt>wt||Object.prototype.hasOwnProperty.call(Mt,"style")?E(Mt,ut.offset,ut.length,ft.length,jt,Ht):Mt},Ft=function(Mt){return Mt.reduce(function(Bt,lt,Rt){var Ut=Ot(lt,Rt);return Array.isArray(Ut)?Bt.concat(Ut):Bt.concat([Ut])},[])};je=Ft(je),gt=Ft(gt),xe=[].concat((0,b.Z)(xe.slice(0,ut.offset)),(0,b.Z)(ft),(0,b.Z)(xe.slice(ut.offset+ut.length)))},Et=0;Et<je.length;Et++)it(Et);return Object.assign({},ae,{text:xe.join(""),inlineStyleRanges:gt,entityRanges:je})}return ae},B=function(ae){return function(ce){return typeof ae=="function"?ae(ce):ae[ce]}},U=function(ae,ce){return function(){var Ce=ae.apply(void 0,arguments);return Ce!=null?Ce:ce.apply(void 0,arguments)}};function K(ae){switch(ae){case"BOLD":return C.createElement("strong",null);case"ITALIC":return C.createElement("em",null);case"UNDERLINE":return C.createElement("u",null);case"CODE":return C.createElement("code",null);default:return{start:"",end:""}}}var k=function(ce,Ce){return ce.filter(function(xe){return!Ce.some(function(He){return He.style===xe.style})})},j=function(ce,Ce){return Ce.reduceRight(function(xe,He){var je=xe[xe.length-1];return A()(je.style===He.style,"Style ".concat(je.style," to be removed doesn't match expected ").concat(He.style)),xe.slice(0,-1)},ce)},z=function(ce,Ce){return Ce.filter(function(xe){return ce>=xe.offset&&ce<xe.offset+xe.length})},M=function(ce,Ce){var xe=ce.offset<=Ce.offset,He=ce.offset+ce.length>=Ce.offset+Ce.length;return xe&&He},I=function(ce,Ce){var xe=Ce.offset+Ce.length,He=ce.offset+ce.length;return xe-He},X=function(ce,Ce){for(var xe=0;xe<ce.length;)if(Ce.every(M.bind(null,ce[xe])))xe++;else return ce.slice(xe);return[]},$=function(ce,Ce,xe){return Ce+o(ce(xe.style)).start},Q=function(ce,Ce,xe){return o(ce(xe.style)).end+Ce},W=function(ce){return function(Ce){return ce(Ce)}};W.__isMiddleware=!0;var le=function(ae){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:W;A()(ae!=null,"Expected raw block to be non-null");var Ce;ce.__isMiddleware===!0?Ce=ce(K):Ce=U(B(ce),B(K));for(var xe="",He=[],je=ae.inlineStyleRanges.sort(c),gt=(0,b.Z)(ae.text),it=0;it<gt.length;it++){var Et=z(it,je),ot=k(He,Et),wt=k(Et,He),ut=k(He,ot),Ct=X(ut,wt),nt=Ct.concat(wt).sort(I),ct=nt.reduce($.bind(null,Ce),""),ht=ot.concat(Ct).reduce(Q.bind(null,Ce),"");xe+=ht+ct+gt[it],He=j(He,Ct.concat(ot)),He=He.concat(nt),A()(He.length===Et.length,"Character ".concat(it,": ").concat(He.length-Et.length," styles left on stack that should no longer be there"))}return xe=He.reduceRight(function(ft,jt){return ft+o(Ce(jt.style)).end},xe),xe},te=function(ae){return function(ce){return typeof ae=="function"?ae(ce):ae[ce.type]}};function pe(ae){return C.isValidElement(ae)&&C.Children.count(ae.props.children)>0}function Le(ae){return A()(ae!=null,"Expected block HTML value to be non-null"),typeof ae=="string"?ae:C.isValidElement(ae)?pe(ae)?g.renderToStaticMarkup(ae):d(ae):Object.prototype.hasOwnProperty.call(ae,"element")&&C.isValidElement(ae.element)?Object.assign({},ae,d(ae.element)):(A()(Object.prototype.hasOwnProperty.call(ae,"start")&&Object.prototype.hasOwnProperty.call(ae,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),ae)}function De(ae,ce){if(A()(ae!=null,"Expected block HTML value to be non-null"),typeof ae.nest=="function"){var Ce=d(ae.nest(ce)),xe=Ce.start,He=Ce.end;return Object.assign({},ae,{nestStart:xe,nestEnd:He})}if(C.isValidElement(ae.nest)){var je=d(ae.nest),gt=je.start,it=je.end;return Object.assign({},ae,{nestStart:gt,nestEnd:it})}return A()(Object.prototype.hasOwnProperty.call(ae,"nestStart")&&Object.prototype.hasOwnProperty.call(ae,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),ae}var Z=["1","a","i"],Re={unstyled:C.createElement("p",null),paragraph:C.createElement("p",null),"header-one":C.createElement("h1",null),"header-two":C.createElement("h2",null),"header-three":C.createElement("h3",null),"header-four":C.createElement("h4",null),"header-five":C.createElement("h5",null),"header-six":C.createElement("h6",null),"code-block":C.createElement("pre",null),blockquote:C.createElement("blockquote",null),"unordered-list-item":{element:C.createElement("li",null),nest:C.createElement("ul",null)},"ordered-list-item":{element:C.createElement("li",null),nest:function(ce){var Ce=Z[ce%3];return C.createElement("ol",{type:Ce})}},media:C.createElement("figure",null),atomic:C.createElement("figure",null)},Ye=function(ce,Ce){return Ce},_e=function(ce){var Ce=ce.styleToHTML,xe=Ce===void 0?{}:Ce,He=ce.blockToHTML,je=He===void 0?{}:He,gt=ce.entityToHTML,it=gt===void 0?Ye:gt;return function(Et){A()(Et!=null,"Expected contentState to be non-null");var ot;je.__isMiddleware===!0?ot=je(te(Re)):ot=U(te(je),te(Re));var wt=(0,h.convertToRaw)(Et),ut=[],Ct=wt.blocks.map(function(nt){var ct=nt.type,ht=nt.depth,ft="",jt="",Ht=ot(nt);if(!Ht)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(nt.type));if(!Ht.nest)ft=ut.reduceRight(function(lt,Rt){return lt+De(ot(Rt),ht).nestEnd},""),ut=[];else for(;ht+1!==ut.length||ct!==ut[ht].type;)if(ht+1===ut.length){var Ot=ut[ht];ft+=De(ot(Ot),ht).nestEnd,jt+=De(ot(nt),ht).nestStart,ut[ht]=nt}else if(ht+1<ut.length){var Ft=ut[ut.length-1];ft+=De(ot(Ft),ht).nestEnd,ut=ut.slice(0,-1)}else jt+=De(ot(nt),ht).nestStart,ut.push(nt);var st=le(f(p(nt),wt.entityMap,it),xe),Mt=Le(ot(nt)),Bt;return typeof Mt=="string"?Bt=Mt:Bt=Mt.start+st+Mt.end,st.length===0&&Object.prototype.hasOwnProperty.call(Mt,"empty")&&(C.isValidElement(Mt.empty)?Bt=g.renderToStaticMarkup(Mt.empty):Bt=Mt.empty),ft+jt+Bt}).join("");return Ct=ut.reduce(function(nt,ct){return nt+De(ot(ct),ct.depth).nestEnd},Ct),Ct}},Ze=function(){for(var ae=arguments.length,ce=new Array(ae),Ce=0;Ce<ae;Ce++)ce[Ce]=arguments[Ce];return ce.length===1&&Object.prototype.hasOwnProperty.call(ce[0],"_map")&&ce[0].getBlockMap!=null?_e({}).apply(void 0,ce):_e.apply(void 0,ce)},qe=r(52724),me=function(ce){var Ce=document.implementation.createHTMLDocument("");return Ce.documentElement.innerHTML=ce,Ce};function ye(ae){var ce;if(typeof DOMParser!="undefined"){var Ce=new DOMParser;ce=Ce.parseFromString(ae,"text/html"),(ce===null||ce.body===null)&&(ce=me(ae))}else ce=me(ae);return ce.body}var Te="&nbsp;",we=" ",Me=4,Ne=new RegExp("\r","g"),ze=new RegExp(`
`,"g"),We=new RegExp(Te,"g"),rt=new RegExp("\r","g"),Fe=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],Je={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},pt=function(ce,Ce){return ce&&ce.__isMiddleware===!0?ce(Ce):ce},Dt=function(ce,Ce,xe){},Se=function(ce,Ce,xe){return xe},V=function(ce,Ce){},Y=function(ce){return[]},ne=function(ce){if(ce!=null)return ce;throw new Error("Got unexpected null or undefined")},fe=function(ce){return ce.replace(rt,"")};function he(){return{text:"",inlines:[],entities:[],blocks:[]}}function be(ae){var ce=new Array(1);return ae&&(ce[0]=ae),{text:we,inlines:[(0,qe.OrderedSet)()],entities:ce,blocks:[]}}function ke(ae,ce){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:(0,qe.Map)();return Ce===!0?{text:"\r",inlines:[(0,qe.OrderedSet)()],entities:new Array(1),blocks:[{type:ae,data:xe,depth:Math.max(0,Math.min(Me,ce))}],isNewline:!0}:{text:`
`,inlines:[(0,qe.OrderedSet)()],entities:new Array(1),blocks:[]}}function Oe(ae,ce){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,qe.Map)();return{text:"\r",inlines:[(0,qe.OrderedSet)()],entities:new Array(1),blocks:[{type:ae,data:Ce,depth:Math.max(0,Math.min(Me,ce))}]}}function Ke(ae,ce){switch(ae){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return ce==="ol"?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function Ve(ae,ce,Ce){return Ke(ae,Ce)}function et(ae,ce,Ce){var xe=Je[ae];if(xe)Ce=Ce.add(xe).toOrderedSet();else if(ce instanceof HTMLElement){var He=ce;Ce=Ce.withMutations(function(je){He.style.fontWeight==="bold"&&je.add("BOLD"),He.style.fontStyle==="italic"&&je.add("ITALIC"),He.style.textDecoration==="underline"&&je.add("UNDERLINE"),He.style.textDecoration==="line-through"&&je.add("STRIKETHROUGH")}).toOrderedSet()}return Ce}function Pe(ae,ce){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,qe.OrderedSet)();return et(ae,ce,Ce)}function at(ae,ce){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,xe=ce.text.slice(0,1),He=ae.text.slice(-1),je=He==="\r"&&xe==="\r",gt=ae.text!=="\r"&&ce.text!=="\r",it=ae.text==="\r"&&!ae.isNewline&&ce.isNewline;if(je&&(gt||it)&&(ae.text=ae.text.slice(0,-1),ae.inlines.pop(),ae.entities.pop(),ae.blocks.pop()),ae.text.slice(-1)==="\r"&&Ce===!0){if(ce.text===we||ce.text===`
`)return ae;(xe===we||xe===`
`)&&(ce.text=ce.text.slice(1),ce.inlines.shift(),ce.entities.shift())}var Et=ae.text.length===0&&ce.isNewline;return{text:ae.text+ce.text,inlines:ae.inlines.concat(ce.inlines),entities:ae.entities.concat(ce.entities),blocks:ae.blocks.concat(ce.blocks),isNewline:Et}}function mt(ae){return Fe.some(function(ce){return ae.indexOf("<".concat(ce))!==-1})}function Tt(ae,ce,Ce,xe,He,je,gt,it,Et,ot,wt,ut,Ct,nt,ct,ht){var ft=ae.nodeName.toLowerCase(),jt=!1,Ht="unstyled";if(ft==="#text"){var Ot=ae.textContent;if(Ot.trim()===""&&xe===null)return he();if(Ot.trim()===""&&xe!=="code-block")return be(ht);xe!=="code-block"&&(Ot=Ot.replace(ze,we));var Ft=Array(Ot.length).fill(ht),st=0,Mt=Et(Ot,wt,ut,Ct,nt).sort(c);return Mt.forEach(function(An){var gn=An.entity,vn=An.offset,sn=An.length,mn=An.result,yn=vn+st;mn==null&&(mn=Ot.substr(yn,sn));var pn=Ot.split("");pn.splice.bind(pn,yn,sn).apply(pn,mn.split("")),Ot=pn.join(""),Ft.splice.bind(Ft,yn,sn).apply(Ft,Array(mn.length).fill(gn)),st+=mn.length-sn}),{text:Ot,inlines:Array(Ot.length).fill(ce),entities:Ft,blocks:[]}}if(ft==="br"){var Bt=xe;return Bt===null?ke("unstyled",je,!0):ke(Bt||"unstyled",je,ct.flat)}var lt=he(),Rt=null;ce=et(ft,ae,ce),ce=gt(ft,ae,ce),(ft==="ul"||ft==="ol")&&(Ce&&(je+=1),Ce=ft,xe=null);var Ut=ot(ft,ae,Ce,xe),_t,on;if(Ut===!1)return he();if(Ut=Ut||{},typeof Ut=="string"?(_t=Ut,on=(0,qe.Map)()):(_t=typeof Ut=="string"?Ut:Ut.type,on=Ut.data?(0,qe.Map)(Ut.data):(0,qe.Map)()),!xe&&(He.indexOf(ft)!==-1||_t))lt=Oe(_t||Ke(ft,Ce),je,on),xe=_t||Ke(ft,Ce),jt=!0;else if(Ce&&(xe==="ordered-list-item"||xe==="unordered-list-item")&&ft==="li"){var ln=Ke(ft,Ce);lt=Oe(ln,je),xe=ln,jt=!0,Ht=Ce==="ul"?"unordered-list-item":"ordered-list-item"}else xe&&xe!=="atomic"&&_t==="atomic"&&(xe=_t,jt=!0,lt=ke(_t,je,!0,on));var Qt=ae.firstChild;Qt==null&&ht&&(_t==="atomic"||xe==="atomic")&&(Qt=document.createTextNode("a")),Qt!=null&&(ft=Qt.nodeName.toLowerCase());for(var Bn=null;Qt;){Bn=it(ft,Qt,wt,ut,Ct,nt),Rt=Tt(Qt,ce,Ce,xe,He,je,gt,it,Et,ot,wt,ut,Ct,nt,ct,Bn||ht),lt=at(lt,Rt,ct.flat);var un=Qt.nextSibling;if(un&&He.indexOf(ft)>=0&&xe){var Pt=ot(ft,Qt,Ce,xe),Tn=void 0,$t=void 0;Pt!==!1&&(Pt=Pt||{},typeof Pt=="string"?(Tn=Pt,$t=(0,qe.Map)()):(Tn=Pt.type||Ke(ft,Ce),$t=Pt.data?(0,qe.Map)(Pt.data):(0,qe.Map)()),lt=at(lt,ke(Tn,je,ct.flat,$t),ct.flat))}un&&(ft=un.nodeName.toLowerCase()),Qt=un}return jt&&(lt=at(lt,Oe(Ht,je,(0,qe.Map)()),ct.flat)),lt}function St(ae,ce,Ce,xe,He,je,gt,it,Et,ot,wt){ae=ae.trim().replace(Ne,"").replace(We,we);var ut=wt(ae);if(!ut)return null;var Ct=mt(ae)?Fe.concat(["div"]):["div"],nt=Tt(ut,(0,qe.OrderedSet)(),"ul",null,Ct,-1,ce,Ce,xe,He,je,gt,it,Et,ot);return nt.text.indexOf("\r")===0&&(nt={text:nt.text.slice(1),inlines:nt.inlines.slice(1),entities:nt.entities.slice(1),blocks:nt.blocks}),nt.text.slice(-1)==="\r"&&(nt.text=nt.text.slice(0,-1),nt.inlines=nt.inlines.slice(0,-1),nt.entities=nt.entities.slice(0,-1),nt.blocks.pop()),nt.blocks.length===0&&nt.blocks.push({type:"unstyled",data:(0,qe.Map)(),depth:0}),nt.text.split("\r").length===nt.blocks.length+1&&nt.blocks.unshift({type:"unstyled",data:(0,qe.Map)(),depth:0}),nt}function At(ae,ce,Ce,xe,He,je,gt,it,Et,ot,wt,ut){var Ct=St(ae,ce,Ce,xe,He,je,gt,it,Et,ot,wt,ut);if(Ct==null)return[];var nt=0;return Ct.text.split("\r").map(function(ct,ht){ct=fe(ct);var ft=nt+ct.length,jt=ne(Ct).inlines.slice(nt,ft),Ht=ne(Ct).entities.slice(nt,ft),Ot=(0,qe.List)(jt.map(function(Ft,st){var Mt={style:Ft,entity:null};return Ht[st]&&(Mt.entity=Ht[st]),h.CharacterMetadata.create(Mt)}));return nt=ft+1,new h.ContentBlock({key:ut(),type:ne(Ct).blocks[ht].type,data:ne(Ct).blocks[ht].data,depth:ne(Ct).blocks[ht].depth,text:ct,characterList:Ot})})}var Yt=function(ce){var Ce=ce.htmlToStyle,xe=Ce===void 0?Se:Ce,He=ce.htmlToEntity,je=He===void 0?V:He,gt=ce.textToEntity,it=gt===void 0?Y:gt,Et=ce.htmlToBlock,ot=Et===void 0?Dt:Et;return function(wt){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{flat:!1},Ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ye,nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:h.genKey,ct=h.ContentState.createFromText(""),ht=function(){if(ct.createEntity){var Bt;return ct=(Bt=ct).createEntity.apply(Bt,arguments),ct.getLastCreatedEntityKey()}return h.Entity.create.apply(h.Entity,arguments)},ft=function(){if(ct.getEntity){var Bt;return(Bt=ct).getEntity.apply(Bt,arguments)}return h.Entity.get.apply(h.Entity,arguments)},jt=function(){if(ct.mergeEntityData){var Bt;ct=(Bt=ct).mergeEntityData.apply(Bt,arguments);return}h.Entity.mergeData.apply(h.Entity,arguments)},Ht=function(){if(ct.replaceEntityData){var Bt;ct=(Bt=ct).replaceEntityData.apply(Bt,arguments);return}h.Entity.replaceData.apply(h.Entity,arguments)},Ot=At(wt,pt(xe,Pe),pt(je,V),pt(it,Y),pt(ot,Ve),ht,ft,jt,Ht,ut,Ct,nt),Ft=h.BlockMapBuilder.createFromArray(Ot),st=Ot[0].getKey();return ct.merge({blockMap:Ft,selectionBefore:h.SelectionState.createEmpty(st),selectionAfter:h.SelectionState.createEmpty(st)})}},Gt=function(){return arguments.length>=1&&typeof(arguments.length<=0?void 0:arguments[0])=="string"?Yt({}).apply(void 0,arguments):Yt.apply(void 0,arguments)}},19441:function(J,D,r){"use strict";var S=r(22767),A=S||function(f){for(var B=1;B<arguments.length;B++){var U=arguments[B];for(var K in U)Object.prototype.hasOwnProperty.call(U,K)&&(f[K]=U[K])}return f},C=r(46852),g=r(24227),h=r(22696),b=r(73833),E=r(50130),c=r(89808),l=r(13406),p=r(52724),s=r(7870),a=r(85607),d=r(39692),i=E.draft_tree_data_support,o=i?b:h,u=p.List,x=p.Repeat,F={insertAtomicBlock:function(B,U,K){var k=B.getCurrentContent(),j=B.getSelection(),z=c.removeRange(k,j,"backward"),M=z.getSelectionAfter(),I=c.splitBlock(z,M),X=I.getSelectionAfter(),$=c.setBlockType(I,X,"atomic"),Q=g.create({entity:U}),W={key:a(),type:"atomic",text:K,characterList:u(x(Q,K.length))},le={key:a(),type:"unstyled"};i&&(W=A({},W,{nextSibling:le.key}),le=A({},le,{prevSibling:W.key}));var te=[new o(W),new o(le)],pe=C.createFromArray(te),Le=c.replaceWithFragment($,X,pe),De=Le.merge({selectionBefore:j,selectionAfter:Le.getSelectionAfter().set("hasFocus",!0)});return l.push(B,De,"insert-fragment")},moveAtomicBlock:function(B,U,K,k){var j=B.getCurrentContent(),z=B.getSelection(),M=void 0;if(k==="before"||k==="after"){var I=j.getBlockForKey(k==="before"?K.getStartKey():K.getEndKey());M=d(j,U,I,k)}else{var X=c.removeRange(j,K,"backward"),$=X.getSelectionAfter(),Q=X.getBlockForKey($.getFocusKey());if($.getStartOffset()===0)M=d(X,U,Q,"before");else if($.getEndOffset()===Q.getLength())M=d(X,U,Q,"after");else{var W=c.splitBlock(X,$),le=W.getSelectionAfter(),te=W.getBlockForKey(le.getFocusKey());M=d(W,U,te,"before")}}var pe=M.merge({selectionBefore:z,selectionAfter:M.getSelectionAfter().set("hasFocus",!0)});return l.push(B,pe,"move-block")}};J.exports=F},46852:function(J,D,r){"use strict";var S=r(52724),A=S.OrderedMap,C={createFromArray:function(h){return A(h.map(function(b){return[b.getKey(),b]}))}};J.exports=C},42743:function(J,D,r){"use strict";var S=r(52724),A=r(5047),C=r(94718),g=S.List,h=S.Repeat,b=S.Record,E=A.thatReturnsTrue,c="-",l={start:null,end:null},p=b(l),s={start:null,end:null,decoratorKey:null,leaves:null},a=b(s),d={generate:function(x,F,f){var B=F.getLength();if(!B)return g.of(new a({start:0,end:0,decoratorKey:null,leaves:g.of(new p({start:0,end:0}))}));var U=[],K=f?f.getDecorations(F,x):g(h(null,B)),k=F.getCharacterList();return C(K,o,E,function(j,z){U.push(new a({start:j,end:z,decoratorKey:K.get(j),leaves:i(k.slice(j,z).toList(),j)}))}),g(U)},getFingerprint:function(x){return x.map(function(F){var f=F.get("decoratorKey"),B=f!==null?f+"."+(F.get("end")-F.get("start")):"";return""+B+"."+F.get("leaves").size}).join(c)}};function i(u,x){var F=[],f=u.map(function(B){return B.getStyle()}).toList();return C(f,o,E,function(B,U){F.push(new p({start:B+x,end:U+x}))}),g(F)}function o(u,x){return u===x}J.exports=d},24227:function(J,D,r){"use strict";function S(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")}function A(i,o){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:i}function C(i,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);i.prototype=Object.create(o&&o.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(i,o):i.__proto__=o)}var g=r(52724),h=g.Map,b=g.OrderedSet,E=g.Record,c=b(),l={style:c,entity:null},p=E(l),s=function(i){C(o,i);function o(){return S(this,o),A(this,i.apply(this,arguments))}return o.prototype.getStyle=function(){return this.get("style")},o.prototype.getEntity=function(){return this.get("entity")},o.prototype.hasStyle=function(x){return this.getStyle().includes(x)},o.applyStyle=function(x,F){var f=x.set("style",x.getStyle().add(F));return o.create(f)},o.removeStyle=function(x,F){var f=x.set("style",x.getStyle().remove(F));return o.create(f)},o.applyEntity=function(x,F){var f=x.getEntity()===F?x:x.set("entity",F);return o.create(f)},o.create=function(x){if(!x)return a;var F={style:c,entity:null},f=h(F).merge(x),B=d.get(f);if(B)return B;var U=new o(f);return d=d.set(f,U),U},o}(p),a=new s,d=h([[h(l),a]]);s.EMPTY=a,J.exports=s},46492:function(J,D,r){"use strict";function S(c,l){if(!(c instanceof l))throw new TypeError("Cannot call a class as a function")}var A=r(52724),C=A.List,g=".",h=function(){function c(l){S(this,c),this._decorators=l.slice()}return c.prototype.getDecorations=function(p,s){var a=Array(p.getText().length).fill(null);return this._decorators.forEach(function(d,i){var o=0,u=d.strategy,x=function(f,B){b(a,f,B)&&(E(a,f,B,i+g+o),o++)};u(p,x,s)}),C(a)},c.prototype.getComponentForKey=function(p){var s=parseInt(p.split(g)[0],10);return this._decorators[s].component},c.prototype.getPropsForKey=function(p){var s=parseInt(p.split(g)[0],10);return this._decorators[s].props},c}();function b(c,l,p){for(var s=l;s<p;s++)if(c[s]!=null)return!1;return!0}function E(c,l,p,s){for(var a=l;a<p;a++)c[a]=s}J.exports=h},22696:function(J,D,r){"use strict";function S(f,B){if(!(f instanceof B))throw new TypeError("Cannot call a class as a function")}function A(f,B){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B&&(typeof B=="object"||typeof B=="function")?B:f}function C(f,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof B);f.prototype=Object.create(B&&B.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),B&&(Object.setPrototypeOf?Object.setPrototypeOf(f,B):f.__proto__=B)}var g=r(24227),h=r(52724),b=r(94718),E=h.List,c=h.Map,l=h.OrderedSet,p=h.Record,s=h.Repeat,a=l(),d={key:"",type:"unstyled",text:"",characterList:E(),depth:0,data:c()},i=p(d),o=function(B){if(!B)return B;var U=B.characterList,K=B.text;return K&&!U&&(B.characterList=E(s(g.EMPTY,K.length))),B},u=function(f){C(B,f);function B(U){return S(this,B),A(this,f.call(this,o(U)))}return B.prototype.getKey=function(){return this.get("key")},B.prototype.getType=function(){return this.get("type")},B.prototype.getText=function(){return this.get("text")},B.prototype.getCharacterList=function(){return this.get("characterList")},B.prototype.getLength=function(){return this.getText().length},B.prototype.getDepth=function(){return this.get("depth")},B.prototype.getData=function(){return this.get("data")},B.prototype.getInlineStyleAt=function(K){var k=this.getCharacterList().get(K);return k?k.getStyle():a},B.prototype.getEntityAt=function(K){var k=this.getCharacterList().get(K);return k?k.getEntity():null},B.prototype.findStyleRanges=function(K,k){b(this.getCharacterList(),x,K,k)},B.prototype.findEntityRanges=function(K,k){b(this.getCharacterList(),F,K,k)},B}(i);function x(f,B){return f.getStyle()===B.getStyle()}function F(f,B){return f.getEntity()===B.getEntity()}J.exports=u},73833:function(J,D,r){"use strict";function S(F,f){if(!(F instanceof f))throw new TypeError("Cannot call a class as a function")}function A(F,f){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:F}function C(F,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);F.prototype=Object.create(f&&f.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(F,f):F.__proto__=f)}var g=r(24227),h=r(52724),b=r(94718),E=h.List,c=h.Map,l=h.OrderedSet,p=h.Record,s=h.Repeat,a=l(),d={parent:null,characterList:E(),data:c(),depth:0,key:"",text:"",type:"unstyled",children:E(),prevSibling:null,nextSibling:null},i=function(f,B){return f.getStyle()===B.getStyle()},o=function(f,B){return f.getEntity()===B.getEntity()},u=function(f){if(!f)return f;var B=f.characterList,U=f.text;return U&&!B&&(f.characterList=E(s(g.EMPTY,U.length))),f},x=function(F){C(f,F);function f(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return S(this,f),A(this,F.call(this,u(B)))}return f.prototype.getKey=function(){return this.get("key")},f.prototype.getType=function(){return this.get("type")},f.prototype.getText=function(){return this.get("text")},f.prototype.getCharacterList=function(){return this.get("characterList")},f.prototype.getLength=function(){return this.getText().length},f.prototype.getDepth=function(){return this.get("depth")},f.prototype.getData=function(){return this.get("data")},f.prototype.getInlineStyleAt=function(U){var K=this.getCharacterList().get(U);return K?K.getStyle():a},f.prototype.getEntityAt=function(U){var K=this.getCharacterList().get(U);return K?K.getEntity():null},f.prototype.getChildKeys=function(){return this.get("children")},f.prototype.getParentKey=function(){return this.get("parent")},f.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},f.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},f.prototype.findStyleRanges=function(U,K){b(this.getCharacterList(),i,U,K)},f.prototype.findEntityRanges=function(U,K){b(this.getCharacterList(),o,U,K)},f}(p(d));J.exports=x},96152:function(J,D,r){"use strict";function S(K,k){if(!(K instanceof k))throw new TypeError("Cannot call a class as a function")}function A(K,k){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k&&(typeof k=="object"||typeof k=="function")?k:K}function C(K,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof k);K.prototype=Object.create(k&&k.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(K,k):K.__proto__=k)}var g=r(46852),h=r(24227),b=r(22696),E=r(73833),c=r(75364),l=r(50130),p=r(52724),s=r(7870),a=r(85607),d=r(2293),i=p.List,o=p.Record,u=p.Repeat,x=l.draft_tree_data_support,F={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},f=x?E:b,B=o(F),U=function(K){C(k,K);function k(){return S(this,k),A(this,K.apply(this,arguments))}return k.prototype.getEntityMap=function(){return c},k.prototype.getBlockMap=function(){return this.get("blockMap")},k.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},k.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},k.prototype.getBlockForKey=function(z){var M=this.getBlockMap().get(z);return M},k.prototype.getKeyBefore=function(z){return this.getBlockMap().reverse().keySeq().skipUntil(function(M){return M===z}).skip(1).first()},k.prototype.getKeyAfter=function(z){return this.getBlockMap().keySeq().skipUntil(function(M){return M===z}).skip(1).first()},k.prototype.getBlockAfter=function(z){return this.getBlockMap().skipUntil(function(M,I){return I===z}).skip(1).first()},k.prototype.getBlockBefore=function(z){return this.getBlockMap().reverse().skipUntil(function(M,I){return I===z}).skip(1).first()},k.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},k.prototype.getFirstBlock=function(){return this.getBlockMap().first()},k.prototype.getLastBlock=function(){return this.getBlockMap().last()},k.prototype.getPlainText=function(z){return this.getBlockMap().map(function(M){return M?M.getText():""}).join(z||`
`)},k.prototype.getLastCreatedEntityKey=function(){return c.__getLastCreatedEntityKey()},k.prototype.hasText=function(){var z=this.getBlockMap();return z.size>1||z.first().getLength()>0},k.prototype.createEntity=function(z,M,I){return c.__create(z,M,I),this},k.prototype.mergeEntityData=function(z,M){return c.__mergeData(z,M),this},k.prototype.replaceEntityData=function(z,M){return c.__replaceData(z,M),this},k.prototype.addEntity=function(z){return c.__add(z),this},k.prototype.getEntity=function(z){return c.__get(z)},k.createFromBlockArray=function(z,M){var I=Array.isArray(z)?z:z.contentBlocks,X=g.createFromArray(I),$=X.isEmpty()?new s:s.createEmpty(X.first().getKey());return new k({blockMap:X,entityMap:M||c,selectionBefore:$,selectionAfter:$})},k.createFromText=function(z){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:/\r\n?|\n/g,I=z.split(M),X=I.map(function($){return $=d($),new f({key:a(),text:$,type:"unstyled",characterList:i(u(h.EMPTY,$.length))})});return k.createFromBlockArray(X)},k}(B);J.exports=U},85689:function(J,D,r){"use strict";var S=r(24227),A=r(52724),C=A.Map,g={add:function(E,c,l){return h(E,c,l,!0)},remove:function(E,c,l){return h(E,c,l,!1)}};function h(b,E,c,l){var p=b.getBlockMap(),s=E.getStartKey(),a=E.getStartOffset(),d=E.getEndKey(),i=E.getEndOffset(),o=p.skipUntil(function(u,x){return x===s}).takeUntil(function(u,x){return x===d}).concat(C([[d,p.get(d)]])).map(function(u,x){var F,f;s===d?(F=a,f=i):(F=x===s?a:0,f=x===d?i:u.getLength());for(var B=u.getCharacterList(),U;F<f;)U=B.get(F),B=B.set(F,l?S.applyStyle(U,c):S.removeStyle(U,c)),F++;return u.set("characterList",B)});return b.merge({blockMap:p.merge(o),selectionBefore:E,selectionAfter:E})}J.exports=g},2968:function(J,D,r){"use strict";var S=r(52724),A=S.Map,C=r(93236),g=r(47471),h=C.createElement("ul",{className:g("public/DraftStyleDefault/ul")}),b=C.createElement("ol",{className:g("public/DraftStyleDefault/ol")}),E=C.createElement("pre",{className:g("public/DraftStyleDefault/pre")}),c=A({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:h},"ordered-list-item":{element:"li",wrapper:b},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:E},unstyled:{element:"div",aliasedElements:["p"]}});J.exports=c},73008:function(J){"use strict";J.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},87937:function(J,D,r){"use strict";var S=r(19441),A=r(46852),C=r(24227),g=r(46492),h=r(22696),b=r(96152),E=r(2968),c=r(73008),l=r(90347),p=r(55946),s=r(75364),a=r(89808),d=r(88649),i=r(13406),o=r(28131),u=r(39656),x=r(7870),F=r(62543),f=r(43108),B=r(89795),U=r(85607),K=r(63169),k=r(30227),j={Editor:l,EditorBlock:p,EditorState:i,CompositeDecorator:g,Entity:s,EntityInstance:d,BlockMapBuilder:A,CharacterMetadata:C,ContentBlock:h,ContentState:b,SelectionState:x,AtomicBlockUtils:S,KeyBindingUtil:o,Modifier:a,RichUtils:u,DefaultDraftBlockRenderMap:E,DefaultDraftInlineStyle:c,convertFromHTML:f,convertFromRaw:B,convertToRaw:F,genKey:U,getDefaultKeyBinding:K,getVisibleSelectionRect:k};J.exports=j},90347:function(J,D,r){"use strict";var S=r(22767),A=S||function(Q){for(var W=1;W<arguments.length;W++){var le=arguments[W];for(var te in le)Object.prototype.hasOwnProperty.call(le,te)&&(Q[te]=le[te])}return Q};function C(Q,W){if(!(Q instanceof W))throw new TypeError("Cannot call a class as a function")}function g(Q,W){if(!Q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W&&(typeof W=="object"||typeof W=="function")?W:Q}function h(Q,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var b=r(2968),E=r(73008),c=r(61324),l=r(25914),p=r(78961),s=r(46948),a=r(59955),d=r(13406),i=r(93236),o=r(19103),u=r(39937),x=r(68520),F=r(13567),f=r(47471),B=r(5047),U=r(85607),K=r(63169),k=r(56182),j=r(44083),z=r(17e3),M=F.isBrowser("IE"),I=!M,X={edit:s,composite:c,drag:p,cut:null,render:null},$=function(Q){h(W,Q);function W(le){C(this,W);var te=g(this,Q.call(this,le));return te.focus=function(pe){var Le=te.props.editorState,De=Le.getSelection().getHasFocus(),Z=o.findDOMNode(te.editor);if(Z){var Re=x.getScrollParent(Z),Ye=pe||k(Re),_e=Ye.x,Ze=Ye.y;Z instanceof HTMLElement||j(!1),Z.focus(),Re===window?window.scrollTo(_e,Ze):u.setTop(Re,Ze),De||te.update(d.forceSelection(Le,Le.getSelection()))}},te.blur=function(){var pe=o.findDOMNode(te.editor);pe instanceof HTMLElement||j(!1),pe.blur()},te.setMode=function(pe){te._handler=X[pe]},te.exitCurrentMode=function(){te.setMode("edit")},te.restoreEditorDOM=function(pe){te.setState({contentsKey:te.state.contentsKey+1},function(){te.focus(pe)})},te.setClipboard=function(pe){te._clipboard=pe},te.getClipboard=function(){return te._clipboard},te.update=function(pe){te._latestEditorState=pe,te.props.onChange(pe)},te.onDragEnter=function(){te._dragCount++},te.onDragLeave=function(){te._dragCount--,te._dragCount===0&&te.exitCurrentMode()},te._blockSelectEvents=!1,te._clipboard=null,te._handler=null,te._dragCount=0,te._editorKey=le.editorKey||U(),te._placeholderAccessibilityID="placeholder-"+te._editorKey,te._latestEditorState=le.editorState,te._latestCommittedEditorState=le.editorState,te._onBeforeInput=te._buildHandler("onBeforeInput"),te._onBlur=te._buildHandler("onBlur"),te._onCharacterData=te._buildHandler("onCharacterData"),te._onCompositionEnd=te._buildHandler("onCompositionEnd"),te._onCompositionStart=te._buildHandler("onCompositionStart"),te._onCopy=te._buildHandler("onCopy"),te._onCut=te._buildHandler("onCut"),te._onDragEnd=te._buildHandler("onDragEnd"),te._onDragOver=te._buildHandler("onDragOver"),te._onDragStart=te._buildHandler("onDragStart"),te._onDrop=te._buildHandler("onDrop"),te._onInput=te._buildHandler("onInput"),te._onFocus=te._buildHandler("onFocus"),te._onKeyDown=te._buildHandler("onKeyDown"),te._onKeyPress=te._buildHandler("onKeyPress"),te._onKeyUp=te._buildHandler("onKeyUp"),te._onMouseDown=te._buildHandler("onMouseDown"),te._onMouseUp=te._buildHandler("onMouseUp"),te._onPaste=te._buildHandler("onPaste"),te._onSelect=te._buildHandler("onSelect"),te.getEditorKey=function(){return te._editorKey},te.state={contentsKey:0},te}return W.prototype._buildHandler=function(te){var pe=this;return function(Le){if(!pe.props.readOnly){var De=pe._handler&&pe._handler[te];De&&De(pe,Le)}}},W.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},W.prototype._renderPlaceholder=function(){if(this._showPlaceholder()){var te={text:z(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return i.createElement(a,te)}return null},W.prototype.render=function(){var te=this,pe=this.props,Le=pe.blockRenderMap,De=pe.blockRendererFn,Z=pe.blockStyleFn,Re=pe.customStyleFn,Ye=pe.customStyleMap,_e=pe.editorState,Ze=pe.readOnly,qe=pe.textAlignment,me=pe.textDirectionality,ye=f({"DraftEditor/root":!0,"DraftEditor/alignLeft":qe==="left","DraftEditor/alignRight":qe==="right","DraftEditor/alignCenter":qe==="center"}),Te={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},we=this.props.role||"textbox",Me=we==="combobox"?!!this.props.ariaExpanded:null,Ne={blockRenderMap:Le,blockRendererFn:De,blockStyleFn:Z,customStyleMap:A({},E,Ye),customStyleFn:Re,editorKey:this._editorKey,editorState:_e,key:"contents"+this.state.contentsKey,textDirectionality:me};return i.createElement("div",{className:ye},this._renderPlaceholder(),i.createElement("div",{className:f("DraftEditor/editorContainer"),ref:function(We){return te.editorContainer=We}},i.createElement("div",{"aria-activedescendant":Ze?null:this.props.ariaActiveDescendantID,"aria-autocomplete":Ze?null:this.props.ariaAutoComplete,"aria-controls":Ze?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":Ze?null:Me,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:f({notranslate:!Ze,"public/DraftEditor/content":!0}),contentEditable:!Ze,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:function(We){return te.editor=We},role:Ze?null:we,spellCheck:I&&this.props.spellCheck,style:Te,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},i.createElement(l,Ne))))},W.prototype.componentDidMount=function(){this.setMode("edit"),M&&document.execCommand("AutoUrlDetect",!1,!1)},W.prototype.componentWillUpdate=function(te){this._blockSelectEvents=!0,this._latestEditorState=te.editorState},W.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},W}(i.Component);$.defaultProps={blockRenderMap:b,blockRendererFn:B.thatReturnsNull,blockStyleFn:B.thatReturns(""),keyBindingFn:K,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},J.exports=$},55946:function(J,D,r){"use strict";var S=r(22767),A=S||function(k){for(var j=1;j<arguments.length;j++){var z=arguments[j];for(var M in z)Object.prototype.hasOwnProperty.call(z,M)&&(k[M]=z[M])}return k};function C(k,j){if(!(k instanceof j))throw new TypeError("Cannot call a class as a function")}function g(k,j){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return j&&(typeof j=="object"||typeof j=="function")?j:k}function h(k,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof j);k.prototype=Object.create(j&&j.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),j&&(Object.setPrototypeOf?Object.setPrototypeOf(k,j):k.__proto__=j)}var b=r(31136),E=r(73728),c=r(93236),l=r(19103),p=r(39937),s=r(68520),a=r(71873),d=r(83673),i=r(47471),o=r(18850),u=r(56182),x=r(92699),F=r(44083),f=r(17e3),B=10,U=function(j,z){return j.getAnchorKey()===z||j.getFocusKey()===z},K=function(k){h(j,k);function j(){return C(this,j),g(this,k.apply(this,arguments))}return j.prototype.shouldComponentUpdate=function(M){return this.props.block!==M.block||this.props.tree!==M.tree||this.props.direction!==M.direction||U(M.selection,M.block.getKey())&&M.forceSelection},j.prototype.componentDidMount=function(){var M=this.props.selection,I=M.getEndKey();if(!(!M.getHasFocus()||I!==this.props.block.getKey())){var X=l.findDOMNode(this),$=s.getScrollParent(X),Q=u($),W=void 0;if($===window){var le=o(X),te=le.y+le.height,pe=x().height;W=te-pe,W>0&&window.scrollTo(Q.x,Q.y+W+B)}else{X instanceof HTMLElement||F(!1);var Le=X.offsetHeight+X.offsetTop,De=$.offsetHeight+Q.y;W=Le-De,W>0&&p.setTop($,p.getTop($)+W+B)}}},j.prototype._renderChildren=function(){var M=this,I=this.props.block,X=I.getKey(),$=I.getText(),Q=this.props.tree.size-1,W=U(this.props.selection,X);return this.props.tree.map(function(le,te){var pe=le.get("leaves"),Le=pe.size-1,De=pe.map(function(ye,Te){var we=E.encode(X,te,Te),Me=ye.get("start"),Ne=ye.get("end");return c.createElement(b,{key:we,offsetKey:we,block:I,start:Me,selection:W?M.props.selection:null,forceSelection:M.props.forceSelection,text:$.slice(Me,Ne),styleSet:I.getInlineStyleAt(Me),customStyleMap:M.props.customStyleMap,customStyleFn:M.props.customStyleFn,isLast:te===Q&&Te===Le})}).toArray(),Z=le.get("decoratorKey");if(Z==null||!M.props.decorator)return De;var Re=f(M.props.decorator),Ye=Re.getComponentForKey(Z);if(!Ye)return De;var _e=Re.getPropsForKey(Z),Ze=E.encode(X,te,0),qe=$.slice(pe.first().get("start"),pe.last().get("end")),me=d.getHTMLDirIfDifferent(a.getDirection(qe),M.props.direction);return c.createElement(Ye,A({},_e,{contentState:M.props.contentState,decoratedText:qe,dir:me,key:Ze,entityKey:I.getEntityAt(le.get("start")),offsetKey:Ze}),De)}).toArray()},j.prototype.render=function(){var M=this.props,I=M.direction,X=M.offsetKey,$=i({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":I==="LTR","public/DraftStyleDefault/rtl":I==="RTL"});return c.createElement("div",{"data-offset-key":X,className:$},this._renderChildren())},j}(c.Component);J.exports=K},61324:function(J,D,r){"use strict";var S=r(50130),A=r(89808),C=r(13406),g=r(16803),h=r(4509),b=r(84510),E=r(51305),c=20,l=!1,p=!1,s="",a={onBeforeInput:function(i,o){s=(s||"")+o.data},onCompositionStart:function(i){p=!0},onCompositionEnd:function(i){l=!1,p=!1,setTimeout(function(){l||a.resolveComposition(i)},c)},onKeyDown:function(i,o){if(!p){a.resolveComposition(i),i._onKeyDown(o);return}(o.which===g.RIGHT||o.which===g.LEFT)&&o.preventDefault()},onKeyPress:function(i,o){o.which===g.RETURN&&o.preventDefault()},resolveComposition:function(i){if(!p){l=!0;var o=s;s="";var u=C.set(i._latestEditorState,{inCompositionMode:!1}),x=u.getCurrentInlineStyle(),F=h(u.getCurrentContent(),u.getSelection()),f=!o||E(u)||x.size>0||F!==null;if(f&&i.restoreEditorDOM(),i.exitCurrentMode(),o){if(S.draft_handlebeforeinput_composed_text&&i.props.handleBeforeInput&&b(i.props.handleBeforeInput(o,u)))return;var B=A.replaceText(u.getCurrentContent(),u.getSelection(),o,x,F);i.update(C.push(u,B,"insert-characters"));return}f&&i.update(C.set(u,{nativelyRenderedContent:null,forceSelection:!0}))}}};J.exports=a},41753:function(J,D,r){"use strict";var S=r(22767),A=S||function(o){for(var u=1;u<arguments.length;u++){var x=arguments[u];for(var F in x)Object.prototype.hasOwnProperty.call(x,F)&&(o[F]=x[F])}return o};function C(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}function g(o,u){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:o}function h(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(o,u):o.__proto__=u)}var b=r(55946),E=r(73728),c=r(13406),l=r(93236),p=r(47471),s=r(72115),a=r(17e3),d=function(u,x,F,f){return p({"public/DraftStyleDefault/unorderedListItem":u==="unordered-list-item","public/DraftStyleDefault/orderedListItem":u==="ordered-list-item","public/DraftStyleDefault/reset":F,"public/DraftStyleDefault/depth0":x===0,"public/DraftStyleDefault/depth1":x===1,"public/DraftStyleDefault/depth2":x===2,"public/DraftStyleDefault/depth3":x===3,"public/DraftStyleDefault/depth4":x===4,"public/DraftStyleDefault/listLTR":f==="LTR","public/DraftStyleDefault/listRTL":f==="RTL"})},i=function(o){h(u,o);function u(){return C(this,u),g(this,o.apply(this,arguments))}return u.prototype.shouldComponentUpdate=function(F){var f=this.props.editorState,B=F.editorState,U=f.getDirectionMap(),K=B.getDirectionMap();if(U!==K)return!0;var k=f.getSelection().getHasFocus(),j=B.getSelection().getHasFocus();if(k!==j)return!0;var z=B.getNativelyRenderedContent(),M=f.isInCompositionMode(),I=B.isInCompositionMode();if(f===B||z!==null&&B.getCurrentContent()===z||M&&I)return!1;var X=f.getCurrentContent(),$=B.getCurrentContent(),Q=f.getDecorator(),W=B.getDecorator();return M!==I||X!==$||Q!==W||B.mustForceSelection()},u.prototype.render=function(){for(var F=this.props,f=F.blockRenderMap,B=F.blockRendererFn,U=F.blockStyleFn,K=F.customStyleMap,k=F.customStyleFn,j=F.editorState,z=F.editorKey,M=F.textDirectionality,I=j.getCurrentContent(),X=j.getSelection(),$=j.mustForceSelection(),Q=j.getDecorator(),W=a(j.getDirectionMap()),le=I.getBlocksAsArray(),te=[],pe=null,Le=null,De=0;De<le.length;De++){var Z=le[De],Re=Z.getKey(),Ye=Z.getType(),_e=B(Z),Ze=void 0,qe=void 0,me=void 0;_e&&(Ze=_e.component,qe=_e.props,me=_e.editable);var ye=M||W.get(Re),Te=E.encode(Re,0,0),we={contentState:I,block:Z,blockProps:qe,blockStyleFn:U,customStyleMap:K,customStyleFn:k,decorator:Q,direction:ye,forceSelection:$,key:Re,offsetKey:Te,selection:X,tree:j.getBlockTree(Re)},Me=f.get(Ye)||f.get("unstyled"),Ne=Me.wrapper,ze=Me.element||f.get("unstyled").element,We=Z.getDepth(),rt="";if(U&&(rt=U(Z)),ze==="li"){var Fe=Le!==Ne||pe===null||We>pe;rt=s(rt,d(Ye,We,Fe,ye))}var Je=Ze||b,pt={className:rt,"data-block":!0,"data-editor":z,"data-offset-key":Te,key:Re};me!==void 0&&(pt=A({},pt,{contentEditable:me,suppressContentEditableWarning:!0}));var Dt=l.createElement(ze,pt,l.createElement(Je,we));te.push({block:Dt,wrapperTemplate:Ne,key:Re,offsetKey:Te}),Ne?pe=Z.getDepth():pe=null,Le=Ne}for(var Se=[],V=0;V<te.length;){var Y=te[V];if(Y.wrapperTemplate){var ne=[];do ne.push(te[V].block),V++;while(V<te.length&&te[V].wrapperTemplate===Y.wrapperTemplate);var fe=l.cloneElement(Y.wrapperTemplate,{key:Y.key+"-wrap","data-offset-key":Y.offsetKey},ne);Se.push(fe)}else Se.push(Y.block),V++}return l.createElement("div",{"data-contents":"true"},Se)},u}(l.Component);J.exports=i},25914:function(J,D,r){"use strict";var S=r(41753);J.exports=S},78961:function(J,D,r){"use strict";var S=r(8768),A=r(89808),C=r(13406),g=r(91658),h=r(31915),b=r(78201),E=r(84510),c=r(17e3);function l(d,i){var o=null,u=null;if(typeof document.caretRangeFromPoint=="function"){var x=document.caretRangeFromPoint(d.x,d.y);o=x.startContainer,u=x.startOffset}else if(d.rangeParent)o=d.rangeParent,u=d.rangeOffset;else return null;o=c(o),u=c(u);var F=c(g(o));return b(i,F,u,F,u)}var p={onDragEnd:function(i){i.exitCurrentMode()},onDrop:function(i,o){var u=new S(o.nativeEvent.dataTransfer),x=i._latestEditorState,F=l(o.nativeEvent,x);if(o.preventDefault(),i.exitCurrentMode(),F!=null){var f=u.getFiles();if(f.length>0){if(i.props.handleDroppedFiles&&E(i.props.handleDroppedFiles(F,f)))return;h(f,function(U){U&&i.update(a(x,F,U))});return}var B=i._internalDrag?"internal":"external";if(!(i.props.handleDrop&&E(i.props.handleDrop(F,u,B)))){if(i._internalDrag){i.update(s(x,F));return}i.update(a(x,F,u.getText()))}}}};function s(d,i){var o=A.moveText(d.getCurrentContent(),d.getSelection(),i);return C.push(d,o,"insert-fragment")}function a(d,i,o){var u=A.insertText(d.getCurrentContent(),i,o,d.getCurrentInlineStyle());return C.push(d,u,"insert-fragment")}J.exports=p},46948:function(J,D,r){"use strict";var S=r(9325),A=r(79849),C=r(44622),g=r(69817),h=r(72521),b=r(67860),E=r(62891),c=r(47629),l=r(58279),p=r(3727),s=r(49749),a=r(71576),d={onBeforeInput:S,onBlur:A,onCompositionStart:C,onCopy:g,onCut:h,onDragOver:b,onDragStart:E,onFocus:c,onInput:l,onKeyDown:p,onPaste:s,onSelect:a};J.exports=d},31136:function(J,D,r){"use strict";var S=r(22767);function A(s,a){if(!(s instanceof a))throw new TypeError("Cannot call a class as a function")}function C(s,a){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:s}function g(s,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);s.prototype=Object.create(a&&a.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(s,a):s.__proto__=a)}var h=r(90780),b=r(93236),E=r(19103),c=r(44083),l=r(17742),p=function(s){g(a,s);function a(){return A(this,a),C(this,s.apply(this,arguments))}return a.prototype._setSelection=function(){var i=this.props.selection;if(!(i==null||!i.getHasFocus())){var o=this.props,u=o.block,x=o.start,F=o.text,f=u.getKey(),B=x+F.length;if(i.hasEdgeWithin(f,x,B)){var U=E.findDOMNode(this);U||c(!1);var K=U.firstChild;K||c(!1);var k=void 0;K.nodeType===Node.TEXT_NODE?k=K:K.tagName==="BR"?k=U:(k=K.firstChild,k||c(!1)),l(i,k,f,x,B)}}},a.prototype.shouldComponentUpdate=function(i){var o=E.findDOMNode(this.leaf);return o||c(!1),o.textContent!==i.text||i.styleSet!==this.props.styleSet||i.forceSelection},a.prototype.componentDidUpdate=function(){this._setSelection()},a.prototype.componentDidMount=function(){this._setSelection()},a.prototype.render=function(){var i=this,o=this.props.block,u=this.props.text;u.endsWith(`
`)&&this.props.isLast&&(u+=`
`);var x=this.props,F=x.customStyleMap,f=x.customStyleFn,B=x.offsetKey,U=x.styleSet,K=U.reduce(function(j,z){var M={},I=F[z];return I!==void 0&&j.textDecoration!==I.textDecoration&&(M.textDecoration=[j.textDecoration,I.textDecoration].join(" ").trim()),S(j,I,M)},{});if(f){var k=f(U,o);K=S(K,k)}return b.createElement("span",{"data-offset-key":B,ref:function(z){return i.leaf=z},style:K},b.createElement(h,null,u))},a}(b.Component);J.exports=p},59955:function(J,D,r){"use strict";function S(E,c){if(!(E instanceof c))throw new TypeError("Cannot call a class as a function")}function A(E,c){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:E}function C(E,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);E.prototype=Object.create(c&&c.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(E,c):E.__proto__=c)}var g=r(93236),h=r(47471),b=function(E){C(c,E);function c(){return S(this,c),A(this,E.apply(this,arguments))}return c.prototype.shouldComponentUpdate=function(p){return this.props.text!==p.text||this.props.editorState.getSelection().getHasFocus()!==p.editorState.getSelection().getHasFocus()},c.prototype.render=function(){var p=this.props.editorState.getSelection().getHasFocus(),s=h({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":p}),a={whiteSpace:"pre-wrap"};return g.createElement("div",{className:s},g.createElement("div",{className:h("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:a},this.props.text))},c}(g.Component);J.exports=b},90780:function(J,D,r){"use strict";function S(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}function A(d,i){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:d}function C(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(d,i):d.__proto__=i)}var g=r(93236),h=r(19103),b=r(13567),E=r(44083),c=b.isBrowser("IE <= 11");function l(d){return c?d.textContent===`
`:d.tagName==="BR"}var p=c?g.createElement("span",{key:"A","data-text":"true"},`
`):g.createElement("br",{key:"A","data-text":"true"}),s=c?g.createElement("span",{key:"B","data-text":"true"},`
`):g.createElement("br",{key:"B","data-text":"true"}),a=function(d){C(i,d);function i(o){S(this,i);var u=A(this,d.call(this,o));return u._forceFlag=!1,u}return i.prototype.shouldComponentUpdate=function(u){var x=h.findDOMNode(this),F=u.children==="";return x instanceof Element||E(!1),F?!l(x):x.textContent!==u.children},i.prototype.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.prototype.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.prototype.render=function(){return this.props.children===""?this._forceFlag?p:s:g.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},i}(g.Component);J.exports=a},75364:function(J,D,r){"use strict";var S=r(22767),A=S||function(s){for(var a=1;a<arguments.length;a++){var d=arguments[a];for(var i in d)Object.prototype.hasOwnProperty.call(d,i)&&(s[i]=d[i])}return s},C=r(88649),g=r(52724),h=r(44083),b=g.Map,E=b(),c=0;function l(s,a){console.warn("WARNING: "+s+` will be deprecated soon!
Please use "`+a+'" instead.')}var p={getLastCreatedEntityKey:function(){return l("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),p.__getLastCreatedEntityKey()},create:function(a,d,i){return l("DraftEntity.create","contentState.createEntity"),p.__create(a,d,i)},add:function(a){return l("DraftEntity.add","contentState.addEntity"),p.__add(a)},get:function(a){return l("DraftEntity.get","contentState.getEntity"),p.__get(a)},mergeData:function(a,d){return l("DraftEntity.mergeData","contentState.mergeEntityData"),p.__mergeData(a,d)},replaceData:function(a,d){return l("DraftEntity.replaceData","contentState.replaceEntityData"),p.__replaceData(a,d)},__getLastCreatedEntityKey:function(){return""+c},__create:function(a,d,i){return p.__add(new C({type:a,mutability:d,data:i||{}}))},__add:function(a){var d=""+ ++c;return E=E.set(d,a),d},__get:function(a){var d=E.get(a);return d||h(!1),d},__mergeData:function(a,d){var i=p.__get(a),o=A({},i.getData(),d),u=i.set("data",o);return E=E.set(a,u),u},__replaceData:function(a,d){var i=p.__get(a),o=i.set("data",d);return E=E.set(a,o),o}};J.exports=p},88649:function(J,D,r){"use strict";function S(c,l){if(!(c instanceof l))throw new TypeError("Cannot call a class as a function")}function A(c,l){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:c}function C(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);c.prototype=Object.create(l&&l.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(c,l):c.__proto__=l)}var g=r(52724),h=g.Record,b=h({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),E=function(c){C(l,c);function l(){return S(this,l),A(this,c.apply(this,arguments))}return l.prototype.getType=function(){return this.get("type")},l.prototype.getMutability=function(){return this.get("mutability")},l.prototype.getData=function(){return this.get("data")},l}(b);J.exports=E},56004:function(J){"use strict";var D={getRemovalRange:function(S,A,C,g,h){var b=C.split(" ");b=b.map(function(u,x){if(h==="forward"){if(x>0)return" "+u}else if(x<b.length-1)return u+" ";return u});for(var E=g,c,l,p=null,s=null,a=0;a<b.length;a++){if(l=b[a],c=E+l.length,S<c&&E<A)p!==null||(p=E),s=c;else if(p!==null)break;E=c}var d=g+C.length,i=p===g,o=s===d;return(!i&&o||i&&!o)&&(h==="forward"?s!==d&&s++:p!==g&&p--),{start:p,end:s}}};J.exports=D},43155:function(J){"use strict";var D={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1,draft_handlebeforeinput_composed_text:!1,draft_tree_data_support:!1};J.exports=D},50130:function(J,D,r){"use strict";var S=r(43155);J.exports=S},33066:function(J){"use strict";J.exports={logSelectionStateFailure:function(){return null}}},89808:function(J,D,r){"use strict";var S=r(24227),A=r(85689),C=r(50130),g=r(52724),h=r(61116),b=r(3949),E=r(84391),c=r(44400),l=r(21505),p=r(44083),s=r(22758),a=r(25702),d=r(79793),i=r(72439),o=g.OrderedSet,u={replaceText:function(F,f,B,U,K){var k=a(F,f),j=d(k,f),z=S.create({style:U||o(),entity:K||null});return l(j,j.getSelectionAfter(),B,z)},insertText:function(F,f,B,U,K){return f.isCollapsed()||p(!1),u.replaceText(F,f,B,U,K)},moveText:function(F,f,B){var U=E(F,f),K=u.removeRange(F,f,"backward");return u.replaceWithFragment(K,B,U)},replaceWithFragment:function(F,f,B){var U=a(F,f),K=d(U,f);return c(K,K.getSelectionAfter(),B)},removeRange:function(F,f,B){var U=void 0,K=void 0,k=void 0,j=void 0;f.getIsBackward()&&(f=f.merge({anchorKey:f.getFocusKey(),anchorOffset:f.getFocusOffset(),focusKey:f.getAnchorKey(),focusOffset:f.getAnchorOffset(),isBackward:!1})),U=f.getAnchorKey(),K=f.getFocusKey(),k=F.getBlockForKey(U),j=F.getBlockForKey(K);var z=f.getStartOffset(),M=f.getEndOffset(),I=k.getEntityAt(z),X=j.getEntityAt(M-1);if(U===K&&I&&I===X){var $=b(F.getEntityMap(),k,j,f,B);return d(F,$)}var Q=f;C.draft_segmented_entities_behavior&&(Q=b(F.getEntityMap(),k,j,f,B));var W=a(F,Q);return d(W,Q)},splitBlock:function(F,f){var B=a(F,f),U=d(B,f);return i(U,U.getSelectionAfter())},applyInlineStyle:function(F,f,B){return A.add(F,f,B)},removeInlineStyle:function(F,f,B){return A.remove(F,f,B)},setBlockType:function(F,f,B){return s(F,f,function(U){return U.merge({type:B,depth:0})})},setBlockData:function(F,f,B){return s(F,f,function(U){return U.merge({data:B})})},mergeBlockData:function(F,f,B){return s(F,f,function(U){return U.merge({data:U.getData().merge(B)})})},applyEntity:function(F,f,B){var U=a(F,f);return h(U,f,B)}};J.exports=u},73728:function(J){"use strict";var D="-",r={encode:function(A,C,g){return A+D+C+D+g},decode:function(A){var C=A.split(D),g=C[0],h=C[1],b=C[2];return{blockKey:g,decoratorKey:parseInt(h,10),leafKey:parseInt(b,10)}}};J.exports=r},85525:function(J,D,r){"use strict";var S=r(22767),A=S||function(x){for(var F=1;F<arguments.length;F++){var f=arguments[F];for(var B in f)Object.prototype.hasOwnProperty.call(f,B)&&(x[B]=f[B])}return x},C=r(24227),g=r(22696),h=r(73833),b=r(50130),E=r(52724),c=r(43108),l=r(85607),p=r(7557),s=r(2293),a=E.List,d=E.Repeat,i=b.draft_tree_data_support,o=i?h:g,u={processHTML:function(F,f){return c(F,p,f)},processText:function(F,f,B){return F.reduce(function(U,K,k){K=s(K);var j=l(),z={key:j,type:B,text:K,characterList:a(d(f,K.length))};if(i&&k!==0){var M=k-1,I=U[M]=U[M].merge({nextSibling:j});z=A({},z,{prevSibling:I.getKey()})}return U.push(new o(z)),U},[])}};J.exports=u},21096:function(J,D,r){"use strict";var S=r(35343),A=S.getPunctuation(),C="['\u2018\u2019]",g="\\s|(?![_])"+A,h="^(?:"+g+")*(?:"+C+"|(?!"+g+").)*(?:(?!"+g+").)",b=new RegExp(h),E="(?:(?!"+g+").)(?:"+C+"|(?!"+g+").)*(?:"+g+")*$",c=new RegExp(E);function l(s,a){var d=a?c.exec(s):b.exec(s);return d?d[0]:s}var p={getBackward:function(a){return l(a,!0)},getForward:function(a){return l(a,!1)}};J.exports=p},29072:function(J){"use strict";var D={stringify:function(S){return"_"+String(S)},unstringify:function(S){return S.slice(1)}};J.exports=D},71544:function(J,D,r){"use strict";var S=r(22767),A=S||function(c){for(var l=1;l<arguments.length;l++){var p=arguments[l];for(var s in p)Object.prototype.hasOwnProperty.call(p,s)&&(c[s]=p[s])}return c},C=r(44083),g=function(l,p){for(var s=[].concat(l).reverse();s.length;){var a=s.pop();p(a);var d=a.children;Array.isArray(d)||C(!1),s=s.concat([].concat(d.reverse()))}},h=function(l){if(!(l&&l.type))return!1;var p=l.type;return p==="unordered-list-item"||p==="ordered-list-item"},b=function(l){Array.isArray(l.children)&&(l.children=l.children.map(function(p){return p.type===l.type?A({},p,{depth:(l.depth||0)+1}):p}))},E={fromRawTreeStateToRawState:function(l){var p=l.blocks,s=[];return Array.isArray(p)||C(!1),!Array.isArray(p)||!p.length?l:(g(p,function(a){var d=A({},a);h(a)&&(d.depth=d.depth||0,b(a)),delete d.children,s.push(d)}),l.blocks=s,A({},l,{blocks:s}))},fromRawStateToRawTreeState:function(l){var p={},s=[];return l.blocks.forEach(function(a){var d=h(a),i=a.depth||0,o=A({},a,{children:[]});if(!d){p={},s.push(o);return}if(p[i]=o,i>0){var u=p[i-1];u||C(!1),u.children.push(o);return}s.push(o)}),A({},l,{blocks:s})}};J.exports=E},64154:function(J,D,r){"use strict";var S=r(52724),A=r(84720),C=r(17e3),g=S.OrderedMap,h,b={getDirectionMap:function(c,l){h?h.reset():h=new A;var p=c.getBlockMap(),s=p.valueSeq().map(function(d){return C(h).getDirection(d.getText())}),a=g(p.keySeq().zip(s));return l!=null&&S.is(l,a)?l:a}};J.exports=b},13406:function(J,D,r){"use strict";var S=r(22767),A=S||function(k){for(var j=1;j<arguments.length;j++){var z=arguments[j];for(var M in z)Object.prototype.hasOwnProperty.call(z,M)&&(k[M]=z[M])}return k};function C(k,j){if(!(k instanceof j))throw new TypeError("Cannot call a class as a function")}var g=r(42743),h=r(96152),b=r(64154),E=r(52724),c=r(7870),l=E.OrderedSet,p=E.Record,s=E.Stack,a={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:s(),selection:null,treeMap:null,undoStack:s()},d=p(a),i=function(){k.createEmpty=function(z){return k.createWithContent(h.createFromText(""),z)},k.createWithContent=function(z,M){var I=z.getBlockMap().first().getKey();return k.create({currentContent:z,undoStack:s(),redoStack:s(),decorator:M||null,selection:c.createEmpty(I)})},k.create=function(z){var M=z.currentContent,I=z.decorator,X=A({},z,{treeMap:u(M,I),directionMap:b.getDirectionMap(M)});return new k(new d(X))},k.set=function(z,M){var I=z.getImmutable().withMutations(function(X){var $=X.get("decorator"),Q=$;M.decorator===null?Q=null:M.decorator&&(Q=M.decorator);var W=M.currentContent||z.getCurrentContent();if(Q!==$){var le=X.get("treeMap"),te;Q&&$?te=F(W,W.getBlockMap(),le,Q,$):te=u(W,Q),X.merge({decorator:Q,treeMap:te,nativelyRenderedContent:null});return}var pe=z.getCurrentContent();W!==pe&&X.set("treeMap",x(z,W.getBlockMap(),W.getEntityMap(),Q)),X.merge(M)});return new k(I)},k.prototype.toJS=function(){return this.getImmutable().toJS()},k.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},k.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},k.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},k.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},k.prototype.getSelection=function(){return this.getImmutable().get("selection")},k.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},k.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},k.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},k.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},k.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},k.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},k.setInlineStyleOverride=function(z,M){return k.set(z,{inlineStyleOverride:M})},k.prototype.getCurrentInlineStyle=function(){var z=this.getInlineStyleOverride();if(z!=null)return z;var M=this.getCurrentContent(),I=this.getSelection();return I.isCollapsed()?B(M,I):U(M,I)},k.prototype.getBlockTree=function(z){return this.getImmutable().getIn(["treeMap",z])},k.prototype.isSelectionAtStartOfContent=function(){var z=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(z,0,0)},k.prototype.isSelectionAtEndOfContent=function(){var z=this.getCurrentContent(),M=z.getBlockMap(),I=M.last(),X=I.getLength();return this.getSelection().hasEdgeWithin(I.getKey(),X,X)},k.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},k.acceptSelection=function(z,M){return o(z,M,!1)},k.forceSelection=function(z,M){return M.getHasFocus()||(M=M.set("hasFocus",!0)),o(z,M,!0)},k.moveSelectionToEnd=function(z){var M=z.getCurrentContent(),I=M.getLastBlock(),X=I.getKey(),$=I.getLength();return k.acceptSelection(z,new c({anchorKey:X,anchorOffset:$,focusKey:X,focusOffset:$,isBackward:!1}))},k.moveFocusToEnd=function(z){var M=k.moveSelectionToEnd(z);return k.forceSelection(M,M.getSelection())},k.push=function(z,M,I){if(z.getCurrentContent()===M)return z;var X=I!=="insert-characters",$=b.getDirectionMap(M,z.getDirectionMap());if(!z.getAllowUndo())return k.set(z,{currentContent:M,directionMap:$,lastChangeType:I,selection:M.getSelectionAfter(),forceSelection:X,inlineStyleOverride:null});var Q=z.getSelection(),W=z.getCurrentContent(),le=z.getUndoStack(),te=M;Q!==W.getSelectionAfter()||f(z,I)?(le=le.push(W),te=te.set("selectionBefore",Q)):(I==="insert-characters"||I==="backspace-character"||I==="delete-character")&&(te=te.set("selectionBefore",W.getSelectionBefore()));var pe=z.getInlineStyleOverride(),Le=["adjust-depth","change-block-type","split-block"];Le.indexOf(I)===-1&&(pe=null);var De={currentContent:te,directionMap:$,undoStack:le,redoStack:s(),lastChangeType:I,selection:M.getSelectionAfter(),forceSelection:X,inlineStyleOverride:pe};return k.set(z,De)},k.undo=function(z){if(!z.getAllowUndo())return z;var M=z.getUndoStack(),I=M.peek();if(!I)return z;var X=z.getCurrentContent(),$=b.getDirectionMap(I,z.getDirectionMap());return k.set(z,{currentContent:I,directionMap:$,undoStack:M.shift(),redoStack:z.getRedoStack().push(X),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:X.getSelectionBefore()})},k.redo=function(z){if(!z.getAllowUndo())return z;var M=z.getRedoStack(),I=M.peek();if(!I)return z;var X=z.getCurrentContent(),$=b.getDirectionMap(I,z.getDirectionMap());return k.set(z,{currentContent:I,directionMap:$,undoStack:z.getUndoStack().push(X),redoStack:M.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:I.getSelectionAfter()})};function k(j){C(this,k),this._immutable=j}return k.prototype.getImmutable=function(){return this._immutable},k}();function o(k,j,z){return i.set(k,{selection:j,forceSelection:z,nativelyRenderedContent:null,inlineStyleOverride:null})}function u(k,j){return k.getBlockMap().map(function(z){return g.generate(k,z,j)}).toOrderedMap()}function x(k,j,z,M){var I=k.getCurrentContent().set("entityMap",z),X=I.getBlockMap(),$=k.getImmutable().get("treeMap");return $.merge(j.toSeq().filter(function(Q,W){return Q!==X.get(W)}).map(function(Q){return g.generate(I,Q,M)}))}function F(k,j,z,M,I){return z.merge(j.toSeq().filter(function(X){return M.getDecorations(X,k)!==I.getDecorations(X,k)}).map(function(X){return g.generate(k,X,M)}))}function f(k,j){var z=k.getLastChangeType();return j!==z||j!=="insert-characters"&&j!=="backspace-character"&&j!=="delete-character"}function B(k,j){var z=j.getStartKey(),M=j.getStartOffset(),I=k.getBlockForKey(z);return M>0?I.getInlineStyleAt(M-1):I.getLength()?I.getInlineStyleAt(0):K(k,z)}function U(k,j){var z=j.getStartKey(),M=j.getStartOffset(),I=k.getBlockForKey(z);return M<I.getLength()?I.getInlineStyleAt(M):M>0?I.getInlineStyleAt(M-1):K(k,z)}function K(k,j){var z=k.getBlockMap().reverse().skipUntil(function(M,I){return I===j}).skip(1).skipUntil(function(M,I){return M.getLength()}).first();return z?z.getInlineStyleAt(z.getLength()-1):l()}J.exports=i},28131:function(J,D,r){"use strict";var S=r(13567),A=S.isPlatform("Mac OS X"),C={isCtrlKeyCommand:function(h){return!!h.ctrlKey&&!h.altKey},isOptionKeyCommand:function(h){return A&&h.altKey},hasCommandModifier:function(h){return A?!!h.metaKey&&!h.altKey:C.isCtrlKeyCommand(h)}};J.exports=C},39656:function(J,D,r){"use strict";var S=r(89808),A=r(13406),C=r(7870),g=r(28782),h=r(17e3),b={currentBlockContainsLink:function(c){var l=c.getSelection(),p=c.getCurrentContent(),s=p.getEntityMap();return p.getBlockForKey(l.getAnchorKey()).getCharacterList().slice(l.getStartOffset(),l.getEndOffset()).some(function(a){var d=a.getEntity();return!!d&&s.__get(d).getType()==="LINK"})},getCurrentBlockType:function(c){var l=c.getSelection();return c.getCurrentContent().getBlockForKey(l.getStartKey()).getType()},getDataObjectForLinkURL:function(c){return{url:c.toString()}},handleKeyCommand:function(c,l){switch(l){case"bold":return b.toggleInlineStyle(c,"BOLD");case"italic":return b.toggleInlineStyle(c,"ITALIC");case"underline":return b.toggleInlineStyle(c,"UNDERLINE");case"code":return b.toggleCode(c);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return b.onBackspace(c);case"delete":case"delete-word":case"delete-to-end-of-block":return b.onDelete(c);default:return null}},insertSoftNewline:function(c){var l=S.insertText(c.getCurrentContent(),c.getSelection(),`
`,c.getCurrentInlineStyle(),null),p=A.push(c,l,"insert-characters");return A.forceSelection(p,l.getSelectionAfter())},onBackspace:function(c){var l=c.getSelection();if(!l.isCollapsed()||l.getAnchorOffset()||l.getFocusOffset())return null;var p=c.getCurrentContent(),s=l.getStartKey(),a=p.getBlockBefore(s);if(a&&a.getType()==="atomic"){var d=p.getBlockMap().delete(a.getKey()),i=p.merge({blockMap:d,selectionAfter:l});if(i!==p)return A.push(c,i,"remove-range")}var o=b.tryToRemoveBlockStyle(c);return o?A.push(c,o,"change-block-type"):null},onDelete:function(c){var l=c.getSelection();if(!l.isCollapsed())return null;var p=c.getCurrentContent(),s=l.getStartKey(),a=p.getBlockForKey(s),d=a.getLength();if(l.getStartOffset()<d)return null;var i=p.getBlockAfter(s);if(!i||i.getType()!=="atomic")return null;var o=l.merge({focusKey:i.getKey(),focusOffset:i.getLength()}),u=S.removeRange(p,o,"forward");return u!==p?A.push(c,u,"remove-range"):null},onTab:function(c,l,p){var s=l.getSelection(),a=s.getAnchorKey();if(a!==s.getFocusKey())return l;var d=l.getCurrentContent(),i=d.getBlockForKey(a),o=i.getType();if(o!=="unordered-list-item"&&o!=="ordered-list-item")return l;c.preventDefault();var u=d.getBlockBefore(a);if(!u)return l;var x=u.getType();if(x!=="unordered-list-item"&&x!=="ordered-list-item")return l;var F=i.getDepth();if(!c.shiftKey&&F===p)return l;p=Math.min(u.getDepth()+1,p);var f=g(d,s,c.shiftKey?-1:1,p);return A.push(l,f,"adjust-depth")},toggleBlockType:function(c,l){var p=c.getSelection(),s=p.getStartKey(),a=p.getEndKey(),d=c.getCurrentContent(),i=p;if(s!==a&&p.getEndOffset()===0){var o=h(d.getBlockBefore(a));a=o.getKey(),i=i.merge({anchorKey:s,anchorOffset:p.getStartOffset(),focusKey:a,focusOffset:o.getLength(),isBackward:!1})}var u=d.getBlockMap().skipWhile(function(F,f){return f!==s}).reverse().skipWhile(function(F,f){return f!==a}).some(function(F){return F.getType()==="atomic"});if(u)return c;var x=d.getBlockForKey(s).getType()===l?"unstyled":l;return A.push(c,S.setBlockType(d,i,x),"change-block-type")},toggleCode:function(c){var l=c.getSelection(),p=l.getAnchorKey(),s=l.getFocusKey();return l.isCollapsed()||p!==s?b.toggleBlockType(c,"code-block"):b.toggleInlineStyle(c,"CODE")},toggleInlineStyle:function(c,l){var p=c.getSelection(),s=c.getCurrentInlineStyle();if(p.isCollapsed())return A.setInlineStyleOverride(c,s.has(l)?s.remove(l):s.add(l));var a=c.getCurrentContent(),d;return s.has(l)?d=S.removeInlineStyle(a,p,l):d=S.applyInlineStyle(a,p,l),A.push(c,d,"change-inline-style")},toggleLink:function(c,l,p){var s=S.applyEntity(c.getCurrentContent(),l,p);return A.push(c,s,"apply-entity")},tryToRemoveBlockStyle:function(c){var l=c.getSelection(),p=l.getAnchorOffset();if(l.isCollapsed()&&p===0){var s=l.getAnchorKey(),a=c.getCurrentContent(),d=a.getBlockForKey(s),i=a.getFirstBlock();if(d.getLength()>0&&d!==i)return null;var o=d.getType(),u=a.getBlockBefore(s);if(o==="code-block"&&u&&u.getType()==="code-block"&&u.getLength()!==0)return null;if(o!=="unstyled")return S.setBlockType(a,l,"unstyled")}return null}};J.exports=b},84644:function(J,D,r){"use strict";var S=r(89808),A=r(13406),C=r(84391),g=r(17e3),h=null,b={cut:function(c){var l=c.getCurrentContent(),p=c.getSelection(),s=null;if(p.isCollapsed()){var a=p.getAnchorKey(),d=l.getBlockForKey(a).getLength();if(d===p.getAnchorOffset())return c;s=p.set("focusOffset",d)}else s=p;s=g(s),h=C(l,s);var i=S.removeRange(l,s,"forward");return i===l?c:A.push(c,i,"remove-range")},paste:function(c){if(!h)return c;var l=S.replaceWithFragment(c.getCurrentContent(),c.getSelection(),h);return A.push(c,l,"insert-fragment")}};J.exports=b},7870:function(J,D,r){"use strict";function S(l,p){if(!(l instanceof p))throw new TypeError("Cannot call a class as a function")}function A(l,p){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:l}function C(l,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);l.prototype=Object.create(p&&p.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(l,p):l.__proto__=p)}var g=r(52724),h=g.Record,b={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},E=h(b),c=function(l){C(p,l);function p(){return S(this,p),A(this,l.apply(this,arguments))}return p.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},p.prototype.getAnchorKey=function(){return this.get("anchorKey")},p.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},p.prototype.getFocusKey=function(){return this.get("focusKey")},p.prototype.getFocusOffset=function(){return this.get("focusOffset")},p.prototype.getIsBackward=function(){return this.get("isBackward")},p.prototype.getHasFocus=function(){return this.get("hasFocus")},p.prototype.hasEdgeWithin=function(a,d,i){var o=this.getAnchorKey(),u=this.getFocusKey();if(o===u&&o===a){var x=this.getStartOffset(),F=this.getEndOffset();return d<=F&&x<=i}if(a!==o&&a!==u)return!1;var f=a===o?this.getAnchorOffset():this.getFocusOffset();return d<=f&&i>=f},p.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},p.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},p.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},p.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},p.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},p.createEmpty=function(a){return new p({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:0,isBackward:!1,hasFocus:!1})},p}(E);J.exports=c},28782:function(J){"use strict";function D(r,S,A,C){var g=S.getStartKey(),h=S.getEndKey(),b=r.getBlockMap(),E=b.toSeq().skipUntil(function(c,l){return l===g}).takeUntil(function(c,l){return l===h}).concat([[h,b.get(h)]]).map(function(c){var l=c.getDepth()+A;return l=Math.max(0,Math.min(l,C)),c.set("depth",l)});return b=b.merge(E),r.merge({blockMap:b,selectionBefore:S,selectionAfter:S})}J.exports=D},36194:function(J,D,r){"use strict";var S=r(24227);function A(C,g,h,b){for(var E=C.getCharacterList();g<h;)E=E.set(g,S.applyEntity(E.get(g),b)),g++;return C.set("characterList",E)}J.exports=A},61116:function(J,D,r){"use strict";var S=r(52724),A=r(36194);function C(g,h,b){var E=g.getBlockMap(),c=h.getStartKey(),l=h.getStartOffset(),p=h.getEndKey(),s=h.getEndOffset(),a=E.skipUntil(function(d,i){return i===c}).takeUntil(function(d,i){return i===p}).toOrderedMap().merge(S.OrderedMap([[p,E.get(p)]])).map(function(d,i){var o=i===c?l:0,u=i===p?s:d.getLength();return A(d,o,u,b)});return g.merge({blockMap:E.merge(a),selectionBefore:h,selectionAfter:h})}J.exports=C},62543:function(J,D,r){"use strict";var S=r(22767),A=S||function(i){for(var o=1;o<arguments.length;o++){var u=arguments[o];for(var x in u)Object.prototype.hasOwnProperty.call(u,x)&&(i[x]=u[x])}return i},C=r(22696),g=r(73833),h=r(29072),b=r(93115),E=r(50151),c=r(44083),l=function(o,u){return{key:o.getKey(),text:o.getText(),type:o.getType(),depth:o.getDepth(),inlineStyleRanges:E(o),entityRanges:b(o,u),data:o.getData().toObject()}},p=function(o,u,x,F){if(o instanceof C){x.push(l(o,u));return}o instanceof g||c(!1);var f=o.getParentKey(),B=F[o.getKey()]=A({},l(o,u),{children:[]});if(f){F[f].children.push(B);return}x.push(B)},s=function(o,u){var x=u.entityMap,F=[],f={},B={},U=0;return o.getBlockMap().forEach(function(K){K.findEntityRanges(function(k){return k.getEntity()!==null},function(k){var j=K.getEntityAt(k),z=h.stringify(j);B[z]||(B[z]=j,x[z]=""+U,U++)}),p(K,x,F,f)}),{blocks:F,entityMap:x}},a=function(o,u){var x=u.blocks,F=u.entityMap,f={};return Object.keys(F).forEach(function(B,U){var K=o.getEntity(h.unstringify(B));f[U]={type:K.getType(),mutability:K.getMutability(),data:K.getData()}}),{blocks:x,entityMap:f}},d=function(o){var u={entityMap:{},blocks:[]};return u=s(o,u),u=a(o,u),u};J.exports=d},43108:function(J,D,r){"use strict";var S=C||function(V){for(var Y=1;Y<arguments.length;Y++){var ne=arguments[Y];for(var fe in ne)Object.prototype.hasOwnProperty.call(ne,fe)&&(V[fe]=ne[fe])}return V},A,C=r(22767);function g(V,Y,ne){return Y in V?Object.defineProperty(V,Y,{value:ne,enumerable:!0,configurable:!0,writable:!0}):V[Y]=ne,V}var h=r(24227),b=r(22696),E=r(73833),c=r(2968),l=r(75364),p=r(50130),s=r(52724),a=r(52724),d=a.Set,i=r(26213),o=r(47471),u=r(85607),x=r(7557),F=r(44083),f=r(2293),B=p.draft_tree_data_support,U=s.List,K=s.OrderedSet,k="&nbsp;",j=" ",z=4,M=new RegExp("\r","g"),I=new RegExp(`
`,"g"),X=new RegExp(k,"g"),$=new RegExp("&#13;?","g"),Q=new RegExp("&#8203;?","g"),W=["bold","bolder","500","600","700","800","900"],le=["light","lighter","100","200","300","400"],te={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},pe=(A={},g(A,o("public/DraftStyleDefault/depth0"),0),g(A,o("public/DraftStyleDefault/depth1"),1),g(A,o("public/DraftStyleDefault/depth2"),2),g(A,o("public/DraftStyleDefault/depth3"),3),g(A,o("public/DraftStyleDefault/depth4"),4),A),Le=["className","href","rel","target","title"],De=["alt","className","height","src","width"],Z=void 0,Re={text:"",inlines:[],entities:[],blocks:[]},Ye={children:U(),depth:0,key:"",type:""},_e=function(Y,ne){return Y==="li"?ne==="ol"?"ordered-list-item":"unordered-list-item":null},Ze=function(Y){var ne=Y.get("unstyled").element,fe=d([]);return Y.forEach(function(he){he.aliasedElements&&he.aliasedElements.forEach(function(be){fe=fe.add(be)}),fe=fe.add(he.element)}),fe.filter(function(he){return he&&he!==ne}).toArray().sort()},qe=function(Y,ne,fe){for(var he=0;he<fe.length;he++){var be=fe[he](Y,ne);if(be)return be}return null},me=function(Y,ne,fe){var he=fe.filter(function(be){return be.element===Y||be.wrapper===Y||be.aliasedElements&&be.aliasedElements.some(function(ke){return ke===Y})}).keySeq().toSet().toArray().sort();switch(he.length){case 0:return"unstyled";case 1:return he[0];default:return qe(Y,ne,[_e])||"unstyled"}},ye=function(Y,ne,fe){var he=te[Y];if(he)fe=fe.add(he).toOrderedSet();else if(ne instanceof HTMLElement){var be=ne;fe=fe.withMutations(function(ke){var Oe=be.style.fontWeight,Ke=be.style.fontStyle,Ve=be.style.textDecoration;W.indexOf(Oe)>=0?ke.add("BOLD"):le.indexOf(Oe)>=0&&ke.remove("BOLD"),Ke==="italic"?ke.add("ITALIC"):Ke==="normal"&&ke.remove("ITALIC"),Ve==="underline"&&ke.add("UNDERLINE"),Ve==="line-through"&&ke.add("STRIKETHROUGH"),Ve==="none"&&(ke.remove("UNDERLINE"),ke.remove("STRIKETHROUGH"))}).toOrderedSet()}return fe},Te=function(Y,ne,fe){var he=Y.text.slice(-1),be=ne.text.slice(0,1);if(he==="\r"&&be==="\r"&&!fe&&(Y.text=Y.text.slice(0,-1),Y.inlines.pop(),Y.entities.pop(),Y.blocks.pop()),he==="\r"){if(ne.text===j||ne.text===`
`)return Y;(be===j||be===`
`)&&(ne.text=ne.text.slice(1),ne.inlines.shift(),ne.entities.shift())}return{text:Y.text+ne.text,inlines:Y.inlines.concat(ne.inlines),entities:Y.entities.concat(ne.entities),blocks:Y.blocks.concat(ne.blocks)}},we=function(Y,ne){return ne.some(function(fe){return Y.indexOf("<"+fe)!==-1})},Me=function(Y){Y instanceof HTMLAnchorElement||F(!1);var ne=Y.protocol;return ne==="http:"||ne==="https:"||ne==="mailto:"},Ne=function(Y){var ne=new Array(1);return Y&&(ne[0]=Y),S({},Re,{text:j,inlines:[K()],entities:ne})},ze=function(){return S({},Re,{text:`
`,inlines:[K()],entities:new Array(1)})},We=function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return S({},Ye,Y)},rt=function(Y,ne){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return{text:"\r",inlines:[K()],entities:new Array(1),blocks:[We({parent:fe,key:u(),type:Y,depth:Math.max(0,Math.min(z,ne))})]}},Fe=function(Y){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object.keys(pe).some(function(fe){Y.classList.contains(fe)&&(ne=pe[fe])}),ne},Je=function V(Y,ne,fe,he,be,ke,Oe,Ke,Ve,et){var Pe=Z,at=ne.nodeName.toLowerCase(),mt=Y,Tt="unstyled",St=!1,At=be&&me(be,he,Ke),Yt=S({},Re),Gt=null,ae=void 0;if(at==="#text"){var ce=ne.textContent,Ce=ce.trim();if(he&&Ce===""&&ne.parentElement){var xe=ne.parentElement.nodeName.toLowerCase();if(xe==="ol"||xe==="ul")return{chunk:S({},Re),entityMap:Y}}return Ce===""&&be!=="pre"?{chunk:Ne(Ve),entityMap:Y}:(be!=="pre"&&(ce=ce.replace(I,j)),Z=at,{chunk:{text:ce,inlines:Array(ce.length).fill(fe),entities:Array(ce.length).fill(Ve),blocks:[]},entityMap:Y})}if(Z=at,at==="br")return Pe==="br"&&(!be||At==="unstyled")?{chunk:rt("unstyled",Oe,et),entityMap:Y}:{chunk:ze(),entityMap:Y};if(at==="img"&&ne instanceof HTMLImageElement&&ne.attributes.getNamedItem("src")&&ne.attributes.getNamedItem("src").value){var He=ne,je={};De.forEach(function(ht){var ft=He.getAttribute(ht);ft&&(je[ht]=ft)}),ne.textContent="\u{1F4F7}",Ve=l.__create("IMAGE","MUTABLE",je||{})}fe=ye(at,ne,fe),(at==="ul"||at==="ol")&&(he&&(Oe+=1),he=at),!B&&at==="li"&&ne instanceof HTMLElement&&(Oe=Fe(ne,Oe));var gt=me(at,he,Ke),it=he&&be==="li"&&at==="li",Et=(!be||B)&&ke.indexOf(at)!==-1;(it||Et)&&(Yt=rt(gt,Oe,et),ae=Yt.blocks[0].key,be=at,St=!B),it&&(Tt=he==="ul"?"unordered-list-item":"ordered-list-item");var ot=ne.firstChild;ot!=null&&(at=ot.nodeName.toLowerCase());for(var wt=null;ot;){ot instanceof HTMLAnchorElement&&ot.href&&Me(ot)?function(){var ht=ot,ft={};Le.forEach(function(jt){var Ht=ht.getAttribute(jt);Ht&&(ft[jt]=Ht)}),ft.url=new i(ht.href).toString(),wt=l.__create("LINK","MUTABLE",ft||{})}():wt=void 0;var ut=V(mt,ot,fe,he,be,ke,Oe,Ke,wt||Ve,B?ae:null),Ct=ut.chunk,nt=ut.entityMap;Gt=Ct,mt=nt,Yt=Te(Yt,Gt,B);var ct=ot.nextSibling;!et&&ct&&ke.indexOf(at)>=0&&be&&(Yt=Te(Yt,ze())),ct&&(at=ct.nodeName.toLowerCase()),ot=ct}return St&&(Yt=Te(Yt,rt(Tt,Oe,et))),{chunk:Yt,entityMap:mt}},pt=function(Y,ne,fe,he){Y=Y.trim().replace(M,"").replace(X,j).replace($,"").replace(Q,"");var be=Ze(fe),ke=ne(Y);if(!ke)return null;Z=null;var Oe=we(Y,be)?be:["div"],Ke=Je(he,ke,K(),"ul",null,Oe,-1,fe),Ve=Ke.chunk,et=Ke.entityMap;return Ve.text.indexOf("\r")===0&&(Ve={text:Ve.text.slice(1),inlines:Ve.inlines.slice(1),entities:Ve.entities.slice(1),blocks:Ve.blocks}),Ve.text.slice(-1)==="\r"&&(Ve.text=Ve.text.slice(0,-1),Ve.inlines=Ve.inlines.slice(0,-1),Ve.entities=Ve.entities.slice(0,-1),Ve.blocks.pop()),Ve.blocks.length===0&&Ve.blocks.push(S({},Re,{type:"unstyled",depth:0})),Ve.text.split("\r").length===Ve.blocks.length+1&&Ve.blocks.unshift({type:"unstyled",depth:0}),{chunk:Ve,entityMap:et}},Dt=function(Y){if(!Y||!Y.text||!Array.isArray(Y.blocks))return null;var ne={cacheRef:{},contentBlocks:[]},fe=0,he=Y.blocks,be=Y.inlines,ke=Y.entities,Oe=B?E:b;return Y.text.split("\r").reduce(function(Ke,Ve,et){Ve=f(Ve);var Pe=he[et],at=fe+Ve.length,mt=be.slice(fe,at),Tt=ke.slice(fe,at),St=U(mt.map(function(Et,ot){var wt={style:Et,entity:null};return Tt[ot]&&(wt.entity=Tt[ot]),h.create(wt)}));fe=at+1;var At=Pe.depth,Yt=Pe.type,Gt=Pe.parent,ae=Pe.key||u(),ce=null;if(Gt){var Ce=Ke.cacheRef[Gt],xe=Ke.contentBlocks[Ce];if(xe.getChildKeys().isEmpty()&&xe.getText()){var He=xe.getCharacterList(),je=xe.getText();ce=u();var gt=new E({key:ce,text:je,characterList:He,parent:Gt,nextSibling:ae});Ke.contentBlocks.push(gt),xe=xe.withMutations(function(Et){Et.set("characterList",U()).set("text","").set("children",xe.children.push(gt.getKey()))})}Ke.contentBlocks[Ce]=xe.set("children",xe.children.push(ae))}var it=new Oe({key:ae,parent:Gt,type:Yt,depth:At,text:Ve,characterList:St,prevSibling:ce||(et===0||he[et-1].parent!==Gt?null:he[et-1].key),nextSibling:et===he.length-1||he[et+1].parent!==Gt?null:he[et+1].key});return Ke.contentBlocks.push(it),Ke.cacheRef[it.key]=et,Ke},ne).contentBlocks},Se=function(Y){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:x,fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:c,he=pt(Y,ne,fe,l);if(he==null)return null;var be=he.chunk,ke=he.entityMap,Oe=Dt(be);return{contentBlocks:Oe,entityMap:ke}};J.exports=Se},89795:function(J,D,r){"use strict";var S=r(22767),A=S||function($){for(var Q=1;Q<arguments.length;Q++){var W=arguments[Q];for(var le in W)Object.prototype.hasOwnProperty.call(W,le)&&($[le]=W[le])}return $},C=r(22696),g=r(73833),h=r(96152),b=r(75364),E=r(50130),c=r(71544),l=r(52724),p=r(7870),s=r(93783),a=r(44238),d=r(14732),i=r(85607),o=r(44083),u=E.draft_tree_data_support,x=l.List,F=l.Map,f=l.OrderedMap,B=function(Q,W){var le=Q.key,te=Q.type,pe=Q.data,Le=Q.text,De=Q.depth,Z={text:Le,depth:De||0,type:te||"unstyled",key:le||i(),data:F(pe),characterList:U(Q,W)};return Z},U=function(Q,W){var le=Q.text,te=Q.entityRanges,pe=Q.inlineStyleRanges,Le=te||[],De=pe||[];return s(d(le,De),a(le,Le.filter(function(Z){return W.hasOwnProperty(Z.key)}).map(function(Z){return A({},Z,{key:W[Z.key]})})))},K=function(Q){return A({},Q,{key:Q.key||i()})},k=function(Q,W,le){var te=W.map(function(pe){return A({},pe,{parentRef:le})});return Q.concat(te.reverse())},j=function(Q,W){return Q.map(K).reduce(function(le,te,pe){Array.isArray(te.children)||o(!1);var Le=te.children.map(K),De=new g(A({},B(te,W),{prevSibling:pe===0?null:Q[pe-1].key,nextSibling:pe===Q.length-1?null:Q[pe+1].key,children:x(Le.map(function(Te){return Te.key}))}));le=le.set(De.getKey(),De);for(var Z=k([],Le,De);Z.length>0;){var Re=Z.pop(),Ye=Re.parentRef,_e=Ye.getChildKeys(),Ze=_e.indexOf(Re.key),qe=Array.isArray(Re.children);if(!qe){qe||o(!1);break}var me=Re.children.map(K),ye=new g(A({},B(Re,W),{parent:Ye.getKey(),children:x(me.map(function(Te){return Te.key})),prevSibling:Ze===0?null:_e.get(Ze-1),nextSibling:Ze===_e.size-1?null:_e.get(Ze+1)}));le=le.set(ye.getKey(),ye),Z=k(Z,me,ye)}return le},f())},z=function(Q,W){return f(Q.map(function(le){var te=new C(B(le,W));return[te.getKey(),te]}))},M=function(Q,W){var le=Array.isArray(Q.blocks[0].children),te=u&&!le?c.fromRawStateToRawTreeState(Q).blocks:Q.blocks;return u?j(te,W):z(le?c.fromRawTreeStateToRawState(Q).blocks:te,W)},I=function(Q){var W=Q.entityMap,le={};return Object.keys(W).forEach(function(te){var pe=W[te],Le=pe.type,De=pe.mutability,Z=pe.data;le[te]=b.__create(Le,De,Z||{})}),le},X=function(Q){Array.isArray(Q.blocks)||o(!1);var W=I(Q),le=M(Q,W),te=le.isEmpty()?new p:p.createEmpty(le.first().getKey());return new h({blockMap:le,entityMap:W,selectionBefore:te,selectionAfter:te})};J.exports=X},93783:function(J,D,r){"use strict";var S=r(24227),A=r(52724),C=A.List;function g(h,b){var E=h.map(function(c,l){var p=b[l];return S.create({style:c,entity:p})});return C(E)}J.exports=g},44238:function(J,D,r){"use strict";var S=r(11568),A=S.substr;function C(g,h){var b=Array(g.length).fill(null);return h&&h.forEach(function(E){for(var c=A(g,0,E.offset).length,l=c+A(g,E.offset,E.length).length,p=c;p<l;p++)b[p]=E.key}),b}J.exports=C},14732:function(J,D,r){"use strict";var S=r(52724),A=S.OrderedSet,C=r(11568),g=C.substr,h=A();function b(E,c){var l=Array(E.length).fill(h);return c&&c.forEach(function(p){for(var s=g(E,0,p.offset).length,a=s+g(E,p.offset,p.length).length;s<a;)l[s]=l[s].add(p.style),s++}),l}J.exports=b},9325:function(J,D,r){"use strict";var S=r(42743),A=r(89808),C=r(13406),g=r(13567),h=r(4509),b=r(84510),E=r(51305),c=r(17e3),l=r(67241),p="'",s="/",a=g.isBrowser("Firefox");function d(u){return a&&(u==p||u==s)}function i(u,x,F,f){var B=A.replaceText(u.getCurrentContent(),u.getSelection(),x,F,f);return C.push(u,B,"insert-characters")}function o(u,x){u._pendingStateFromBeforeInput!==void 0&&(u.update(u._pendingStateFromBeforeInput),u._pendingStateFromBeforeInput=void 0);var F=u._latestEditorState,f=x.data;if(f){if(u.props.handleBeforeInput&&b(u.props.handleBeforeInput(f,F))){x.preventDefault();return}var B=F.getSelection(),U=B.getStartOffset(),K=B.getEndOffset(),k=B.getAnchorKey();if(!B.isCollapsed()){x.preventDefault();var j=F.getCurrentContent().getPlainText().slice(U,K);f===j?u.update(C.forceSelection(F,B.merge({focusOffset:K}))):u.update(i(F,f,F.getCurrentInlineStyle(),h(F.getCurrentContent(),F.getSelection())));return}var z=i(F,f,F.getCurrentInlineStyle(),h(F.getCurrentContent(),F.getSelection())),M=!1;if(M||(M=E(u._latestCommittedEditorState)),!M){var I=r.g.getSelection();if(I.anchorNode&&I.anchorNode.nodeType===Node.TEXT_NODE){var X=I.anchorNode.parentNode;M=X.nodeName==="SPAN"&&X.firstChild.nodeType===Node.TEXT_NODE&&X.firstChild.nodeValue.indexOf(" ")!==-1}}if(!M){var $=S.getFingerprint(F.getBlockTree(k)),Q=S.getFingerprint(z.getBlockTree(k));M=$!==Q}if(M||(M=d(f)),M||(M=c(z.getDirectionMap()).get(k)!==c(F.getDirectionMap()).get(k)),M){x.preventDefault(),u.update(z);return}z=C.set(z,{nativelyRenderedContent:z.getCurrentContent()}),u._pendingStateFromBeforeInput=z,l(function(){u._pendingStateFromBeforeInput!==void 0&&(u.update(u._pendingStateFromBeforeInput),u._pendingStateFromBeforeInput=void 0)})}}J.exports=o},79849:function(J,D,r){"use strict";var S=r(13406),A=r(29558),C=r(21026);function g(h,b){if(C()===document.body){var E=r.g.getSelection(),c=h.editor;E.rangeCount===1&&A(c,E.anchorNode)&&A(c,E.focusNode)&&E.removeAllRanges()}var l=h._latestEditorState,p=l.getSelection();if(p.getHasFocus()){var s=p.set("hasFocus",!1);h.props.onBlur&&h.props.onBlur(b),h.update(S.acceptSelection(l,s))}}J.exports=g},44622:function(J,D,r){"use strict";var S=r(13406);function A(C,g){C.setMode("composite"),C.update(S.set(C._latestEditorState,{inCompositionMode:!0})),C._onCompositionStart(g)}J.exports=A},69817:function(J,D,r){"use strict";var S=r(6518);function A(C,g){var h=C._latestEditorState,b=h.getSelection();if(b.isCollapsed()){g.preventDefault();return}C.setClipboard(S(C._latestEditorState))}J.exports=A},72521:function(J,D,r){"use strict";var S=r(89808),A=r(13406),C=r(68520),g=r(6518),h=r(56182);function b(c,l){var p=c._latestEditorState,s=p.getSelection(),a=l.target,d=void 0;if(s.isCollapsed()){l.preventDefault();return}a instanceof Node&&(d=h(C.getScrollParent(a)));var i=g(p);c.setClipboard(i),c.setMode("cut"),setTimeout(function(){c.restoreEditorDOM(d),c.exitCurrentMode(),c.update(E(p))},0)}function E(c){var l=S.removeRange(c.getCurrentContent(),c.getSelection(),"forward");return A.push(c,l,"remove-range")}J.exports=b},67860:function(J){"use strict";function D(r,S){r._internalDrag=!1,r.setMode("drag"),S.preventDefault()}J.exports=D},62891:function(J){"use strict";function D(r){r._internalDrag=!0,r.setMode("drag")}J.exports=D},47629:function(J,D,r){"use strict";var S=r(13406),A=r(13567);function C(g,h){var b=g._latestEditorState,E=b.getSelection();if(!E.getHasFocus()){var c=E.set("hasFocus",!0);g.props.onFocus&&g.props.onFocus(h),A.isBrowser("Chrome < 60.0.3081.0")?g.update(S.forceSelection(b,c)):g.update(S.acceptSelection(b,c))}}J.exports=C},58279:function(J,D,r){"use strict";var S=r(50130),A=r(89808),C=r(73728),g=r(13406),h=r(13567),b=r(91658),E=r(17e3),c=h.isEngine("Gecko"),l=`
`;function p(s){s._pendingStateFromBeforeInput!==void 0&&(s.update(s._pendingStateFromBeforeInput),s._pendingStateFromBeforeInput=void 0);var a=r.g.getSelection(),d=a.anchorNode,i=a.isCollapsed,o=d.nodeType!==Node.TEXT_NODE,u=d.nodeType!==Node.TEXT_NODE&&d.nodeType!==Node.ELEMENT_NODE;if(S.draft_killswitch_allow_nontextnodes){if(o)return}else if(u)return;if(d.nodeType===Node.TEXT_NODE&&(d.previousSibling!==null||d.nextSibling!==null)){var x=d.parentNode;d.nodeValue=x.textContent;for(var F=x.firstChild;F!==null;F=F.nextSibling)F!==d&&x.removeChild(F)}var f=d.textContent,B=s._latestEditorState,U=E(b(d)),K=C.decode(U),k=K.blockKey,j=K.decoratorKey,z=K.leafKey,M=B.getBlockTree(k).getIn([j,"leaves",z]),I=M.start,X=M.end,$=B.getCurrentContent(),Q=$.getBlockForKey(k),W=Q.getText().slice(I,X);if(f.endsWith(l)&&(f=f.slice(0,-1)),f!==W){var le=B.getSelection(),te=le.merge({anchorOffset:I,focusOffset:X,isBackward:!1}),pe=Q.getEntityAt(I),Le=pe&&$.getEntity(pe),De=Le&&Le.getMutability(),Z=De==="MUTABLE",Re=Z?"spellcheck-change":"apply-entity",Ye=A.replaceText($,te,f,Q.getInlineStyleAt(I),Z?Q.getEntityAt(I):null),_e,Ze,qe,me;if(c)_e=a.anchorOffset,Ze=a.focusOffset,qe=I+Math.min(_e,Ze),me=qe+Math.abs(_e-Ze),_e=qe,Ze=me;else{var ye=f.length-W.length;qe=le.getStartOffset(),me=le.getEndOffset(),_e=i?me+ye:qe,Ze=me+ye}var Te=Ye.merge({selectionBefore:$.getSelectionAfter(),selectionAfter:le.merge({anchorOffset:_e,focusOffset:Ze})});s.update(g.push(B,Te,Re))}}J.exports=p},3727:function(J,D,r){"use strict";var S=r(89808),A=r(13406),C=r(28131),g=r(16803),h=r(84644),b=r(13567),E=r(84510),c=r(1618),l=r(92138),p=r(40867),s=r(27830),a=r(37658),d=r(73080),i=r(17259),o=r(70127),u=r(97816),x=r(95261),F=C.isOptionKeyCommand,f=b.isBrowser("Chrome");function B(K,k){switch(K){case"redo":return A.redo(k);case"delete":return o(k);case"delete-word":return p(k);case"backspace":return i(k);case"backspace-word":return l(k);case"backspace-to-start-of-line":return c(k);case"split-block":return s(k);case"transpose-characters":return u(k);case"move-selection-to-start-of-block":return d(k);case"move-selection-to-end-of-block":return a(k);case"secondary-cut":return h.cut(k);case"secondary-paste":return h.paste(k);default:return k}}function U(K,k){var j=k.which,z=K._latestEditorState;switch(j){case g.RETURN:if(k.preventDefault(),K.props.handleReturn&&E(K.props.handleReturn(k,z)))return;break;case g.ESC:k.preventDefault(),K.props.onEscape&&K.props.onEscape(k);return;case g.TAB:K.props.onTab&&K.props.onTab(k);return;case g.UP:K.props.onUpArrow&&K.props.onUpArrow(k);return;case g.RIGHT:K.props.onRightArrow&&K.props.onRightArrow(k);return;case g.DOWN:K.props.onDownArrow&&K.props.onDownArrow(k);return;case g.LEFT:K.props.onLeftArrow&&K.props.onLeftArrow(k);return;case g.SPACE:if(f&&F(k)){k.preventDefault();var M=S.replaceText(z.getCurrentContent(),z.getSelection(),"\xA0");K.update(A.push(z,M,"insert-characters"));return}}var I=K.props.keyBindingFn(k);if(I){if(I==="undo"){x(k,z,K.update);return}if(k.preventDefault(),!(K.props.handleKeyCommand&&E(K.props.handleKeyCommand(I,z)))){var X=B(I,z);X!==z&&K.update(X)}}}J.exports=U},49749:function(J,D,r){"use strict";var S=r(46852),A=r(24227),C=r(8768),g=r(89808),h=r(85525),b=r(13406),E=r(39656),c=r(4509),l=r(31915),p=r(84510),s=r(68208);function a(o,u){u.preventDefault();var x=new C(u.clipboardData);if(!x.isRichText()){var F=x.getFiles(),f=x.getText();if(F.length>0){if(o.props.handlePastedFiles&&p(o.props.handlePastedFiles(F)))return;l(F,function(te){if(te=te||f,!!te){var pe=o._latestEditorState,Le=s(te),De=A.create({style:pe.getCurrentInlineStyle(),entity:c(pe.getCurrentContent(),pe.getSelection())}),Z=E.getCurrentBlockType(pe),Re=h.processText(Le,De,Z),Ye=S.createFromArray(Re),_e=g.replaceWithFragment(pe.getCurrentContent(),pe.getSelection(),Ye);o.update(b.push(pe,_e,"insert-fragment"))}});return}}var B=[],U=x.getText(),K=x.getHTML(),k=o._latestEditorState;if(!(o.props.handlePastedText&&p(o.props.handlePastedText(U,K,k)))){if(U&&(B=s(U)),!o.props.stripPastedStyles){var j=o.getClipboard();if(x.isRichText()&&j){if(K.indexOf(o.getEditorKey())!==-1||B.length===1&&j.size===1&&j.first().getText()===U){o.update(d(o._latestEditorState,j));return}}else if(j&&x.types.includes("com.apple.webarchive")&&!x.types.includes("text/html")&&i(B,j)){o.update(d(o._latestEditorState,j));return}if(K){var z=h.processHTML(K,o.props.blockRenderMap);if(z){var M=z.contentBlocks,I=z.entityMap;if(M){var X=S.createFromArray(M);o.update(d(o._latestEditorState,X,I));return}}}o.setClipboard(null)}if(B.length){var $=A.create({style:k.getCurrentInlineStyle(),entity:c(k.getCurrentContent(),k.getSelection())}),Q=E.getCurrentBlockType(k),W=h.processText(B,$,Q),le=S.createFromArray(W);o.update(d(o._latestEditorState,le))}}}function d(o,u,x){var F=g.replaceWithFragment(o.getCurrentContent(),o.getSelection(),u);return b.push(o,F.set("entityMap",x),"insert-fragment")}function i(o,u){return o.length===u.size&&u.valueSeq().every(function(x,F){return x.getText()===o[F]})}J.exports=a},71576:function(J,D,r){"use strict";var S=r(13406),A=r(19103),C=r(25981),g=r(44083);function h(b){if(!(b._blockSelectEvents||b._latestEditorState!==b.props.editorState)){var E=b.props.editorState,c=A.findDOMNode(b.editorContainer);c||g(!1),c.firstChild instanceof HTMLElement||g(!1);var l=C(E,c.firstChild),p=l.selectionState;p!==E.getSelection()&&(l.needsRecovery?E=S.forceSelection(E,p):E=S.acceptSelection(E,p),b.update(E))}}J.exports=h},93115:function(J,D,r){"use strict";var S=r(29072),A=r(11568),C=A.strlen;function g(h,b){var E=[];return h.findEntityRanges(function(c){return!!c.getEntity()},function(c,l){var p=h.getText(),s=h.getEntityAt(c);E.push({offset:C(p.slice(0,c)),length:C(p.slice(c,l)),key:Number(b[S.stringify(s)])})}),E}J.exports=g},50151:function(J,D,r){"use strict";var S=r(11568),A=r(94718),C=function(l,p){return l===p},g=function(l){return!!l},h=[];function b(c,l,p){var s=[],a=l.map(function(d){return d.has(p)}).toList();return A(a,C,g,function(d,i){var o=c.getText();s.push({offset:S.strlen(o.slice(0,d)),length:S.strlen(o.slice(d,i)),style:p})}),s}function E(c){var l=c.getCharacterList().map(function(s){return s.getStyle()}).toList(),p=l.flatten().toSet().map(function(s){return b(c,l,s)});return Array.prototype.concat.apply(h,p.toJS())}J.exports=E},88995:function(J,D,r){"use strict";var S=r(11568),A=r(11174),C=r(44083);function g(c){var l=getComputedStyle(c),p=document.createElement("div");p.style.fontFamily=l.fontFamily,p.style.fontSize=l.fontSize,p.style.fontStyle=l.fontStyle,p.style.fontWeight=l.fontWeight,p.style.lineHeight=l.lineHeight,p.style.position="absolute",p.textContent="M";var s=document.body;s||C(!1),s.appendChild(p);var a=p.getBoundingClientRect();return s.removeChild(p),a.height}function h(c,l){for(var p=1/0,s=1/0,a=-1/0,d=-1/0,i=0;i<c.length;i++){var o=c[i];o.width===0||o.width===1||(p=Math.min(p,o.top),s=Math.min(s,o.bottom),a=Math.max(a,o.top),d=Math.max(d,o.bottom))}return a<=s&&a-p<l&&d-s<l}function b(c){switch(c.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return c.length;default:return c.childNodes.length}}function E(c){c.collapsed||C(!1),c=c.cloneRange();var l=c.startContainer;l.nodeType!==1&&(l=l.parentNode);var p=g(l),s=c.endContainer,a=c.endOffset;for(c.setStart(c.startContainer,0);h(A(c),p)&&(s=c.startContainer,a=c.startOffset,s.parentNode||C(!1),c.setStartBefore(s),!(s.nodeType===1&&getComputedStyle(s).display!=="inline")););var d=s,i=a-1;do{for(var o=d.nodeValue,u=i;u>=0;u--)if(!(o!=null&&u>0&&S.isSurrogatePair(o,u-1)))if(c.setStart(d,u),h(A(c),p))s=d,a=u;else break;if(u===-1||d.childNodes.length===0)break;d=d.childNodes[u],i=b(d)}while(!0);return c.setStart(s,a),c}J.exports=E},91658:function(J,D,r){"use strict";var S=r(68518);function A(C){for(var g=C;g&&g!==document.documentElement;){var h=S(g);if(h!=null)return h;g=g.parentNode}return null}J.exports=A},94718:function(J){"use strict";function D(r,S,A,C){if(r.size){var g=0;r.reduce(function(h,b,E){return S(h,b)||(A(h)&&C(g,E),g=E),b}),A(r.last())&&C(g,r.count())}}J.exports=D},85607:function(J){"use strict";var D={},r=Math.pow(2,24);function S(){for(var A=void 0;A===void 0||D.hasOwnProperty(A)||!isNaN(+A);)A=Math.floor(Math.random()*r).toString(32);return D[A]=!0,A}J.exports=S},3949:function(J,D,r){"use strict";var S=r(56004),A=r(59833),C=r(44083);function g(b,E,c,l,p){var s=l.getStartOffset(),a=l.getEndOffset(),d=E.getEntityAt(s),i=c.getEntityAt(a-1);if(!d&&!i)return l;var o=l;if(d&&d===i)o=h(b,E,o,p,d,!0,!0);else if(d&&i){var u=h(b,E,o,p,d,!1,!0),x=h(b,c,o,p,i,!1,!1);o=o.merge({anchorOffset:u.getAnchorOffset(),focusOffset:x.getFocusOffset(),isBackward:!1})}else if(d){var F=h(b,E,o,p,d,!1,!0);o=o.merge({anchorOffset:F.getStartOffset(),isBackward:!1})}else if(i){var f=h(b,c,o,p,i,!1,!1);o=o.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return o}function h(b,E,c,l,p,s,a){var d=c.getStartOffset(),i=c.getEndOffset(),o=b.__get(p),u=o.getMutability(),x=a?d:i;if(u==="MUTABLE")return c;var F=A(E,p).filter(function(U){return x<=U.end&&x>=U.start});F.length!=1&&C(!1);var f=F[0];if(u==="IMMUTABLE")return c.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});s||(a?i=f.end:d=f.start);var B=S.getRemovalRange(d,i,E.getText().slice(f.start,f.end),f.start,l);return c.merge({anchorOffset:B.start,focusOffset:B.end,isBackward:!1})}J.exports=g},84391:function(J,D,r){"use strict";var S=r(47382),A=r(25702),C=function(h,b){var E=b.getStartKey(),c=b.getStartOffset(),l=b.getEndKey(),p=b.getEndOffset(),s=A(h,b),a=s.getBlockMap(),d=a.keySeq(),i=d.indexOf(E),o=d.indexOf(l)+1;return S(a.slice(i,o).map(function(u,x){var F=u.getText(),f=u.getCharacterList();return E===l?u.merge({text:F.slice(c,p),characterList:f.slice(c,p)}):x===E?u.merge({text:F.slice(c),characterList:f.slice(c)}):x===l?u.merge({text:F.slice(0,p),characterList:f.slice(0,p)}):u}))};J.exports=C},63169:function(J,D,r){"use strict";var S=r(28131),A=r(16803),C=r(13567),g=C.isPlatform("Mac OS X"),h=C.isPlatform("Windows"),b=g&&C.isBrowser("Firefox < 29"),E=S.hasCommandModifier,c=S.isCtrlKeyCommand;function l(i){return g&&i.altKey||c(i)}function p(i){return E(i)?i.shiftKey?"redo":"undo":null}function s(i){return h&&i.shiftKey?null:l(i)?"delete-word":"delete"}function a(i){return E(i)&&g?"backspace-to-start-of-line":l(i)?"backspace-word":"backspace"}function d(i){switch(i.keyCode){case 66:return E(i)?"bold":null;case 68:return c(i)?"delete":null;case 72:return c(i)?"backspace":null;case 73:return E(i)?"italic":null;case 74:return E(i)?"code":null;case 75:return!h&&c(i)?"secondary-cut":null;case 77:return c(i)?"split-block":null;case 79:return c(i)?"split-block":null;case 84:return g&&c(i)?"transpose-characters":null;case 85:return E(i)?"underline":null;case 87:return g&&c(i)?"backspace-word":null;case 89:return c(i)?h?"redo":"secondary-paste":null;case 90:return p(i)||null;case A.RETURN:return"split-block";case A.DELETE:return s(i);case A.BACKSPACE:return a(i);case A.LEFT:return b&&E(i)?"move-selection-to-start-of-block":null;case A.RIGHT:return b&&E(i)?"move-selection-to-end-of-block":null;default:return null}}J.exports=d},25981:function(J,D,r){"use strict";var S=r(93717);function A(C,g){var h=r.g.getSelection();return h.rangeCount===0?{selectionState:C.getSelection().set("hasFocus",!1),needsRecovery:!1}:S(C,g,h.anchorNode,h.anchorOffset,h.focusNode,h.focusOffset)}J.exports=A},93717:function(J,D,r){"use strict";var S=r(91658),A=r(68518),C=r(78201),g=r(44083),h=r(17e3);function b(s,a,d,i,o,u){var x=d.nodeType===Node.TEXT_NODE,F=o.nodeType===Node.TEXT_NODE;if(x&&F)return{selectionState:C(s,h(S(d)),i,h(S(o)),u),needsRecovery:!1};var f=null,B=null,U=!0;return x?(f={key:h(S(d)),offset:i},B=l(a,o,u)):F?(B={key:h(S(o)),offset:u},f=l(a,d,i)):(f=l(a,d,i),B=l(a,o,u),d===o&&i===u&&(U=!!d.firstChild&&d.firstChild.nodeName!=="BR")),{selectionState:C(s,f.key,f.offset,B.key,B.offset),needsRecovery:U}}function E(s){for(;s.firstChild&&(s.firstChild instanceof Element&&s.firstChild.getAttribute("data-blocks")==="true"||A(s.firstChild));)s=s.firstChild;return s}function c(s){for(;s.lastChild&&(s.lastChild instanceof Element&&s.lastChild.getAttribute("data-blocks")==="true"||A(s.lastChild));)s=s.lastChild;return s}function l(s,a,d){var i=a,o=S(i);if(o!=null||s&&(s===i||s.firstChild===i)||g(!1),s===i&&(i=i.firstChild,i instanceof Element&&i.getAttribute("data-contents")==="true"||g(!1),d>0&&(d=i.childNodes.length)),d===0){var u=null;if(o!=null)u=o;else{var x=E(i);u=h(A(x))}return{key:u,offset:0}}var F=i.childNodes[d-1],f=null,B=null;if(!A(F))f=h(o),B=p(F);else{var U=c(F);f=h(A(U)),B=p(U)}return{key:f,offset:B}}function p(s){var a=s.textContent;return a===`
`?0:a.length}J.exports=b},4509:function(J){"use strict";function D(S,A){var C;if(A.isCollapsed()){var g=A.getAnchorKey(),h=A.getAnchorOffset();return h>0?(C=S.getBlockForKey(g).getEntityAt(h-1),C!==S.getBlockForKey(g).getEntityAt(h)?null:r(S.getEntityMap(),C)):null}var b=A.getStartKey(),E=A.getStartOffset(),c=S.getBlockForKey(b);return C=E===c.getLength()?null:c.getEntityAt(E),r(S.getEntityMap(),C)}function r(S,A){if(A){var C=S.__get(A);return C.getMutability()==="MUTABLE"?A:null}return null}J.exports=D},6518:function(J,D,r){"use strict";var S=r(84391);function A(C){var g=C.getSelection();return g.isCollapsed()?null:S(C.getCurrentContent(),g)}J.exports=A},14284:function(J,D,r){"use strict";var S=r(73833),A=function(g,h){var b=g instanceof S;if(!b)return null;var E=g.getNextSiblingKey();if(E)return E;var c=g.getParentKey();if(!c)return null;for(var l=h.get(c);l&&!l.getNextSiblingKey();){var p=l.getParentKey();l=p?h.get(p):null}return l?l.getNextSiblingKey():null};J.exports=A},40266:function(J,D,r){"use strict";var S=r(11174);function A(C){var g=S(C),h=0,b=0,E=0,c=0;if(g.length){if(g.length>1&&g[0].width===0){var l=g[1];h=l.top,b=l.right,E=l.bottom,c=l.left}else{var p=g[0];h=p.top,b=p.right,E=p.bottom,c=p.left}for(var s=1;s<g.length;s++){var a=g[s];a.height!==0&&a.width!==0&&(h=Math.min(h,a.top),b=Math.max(b,a.right),E=Math.max(E,a.bottom),c=Math.min(c,a.left))}}return{top:h,right:b,bottom:E,left:c,width:b-c,height:E-h}}J.exports=A},11174:function(J,D,r){"use strict";var S=r(13567),A=r(44083),C=S.isBrowser("Chrome");function g(b){for(var E=b.cloneRange(),c=[],l=b.endContainer;l!=null;l=l.parentNode){var p=l===b.commonAncestorContainer;p?E.setStart(b.startContainer,b.startOffset):E.setStart(E.endContainer,0);var s=Array.from(E.getClientRects());if(c.push(s),p){var a;return c.reverse(),(a=[]).concat.apply(a,c)}E.setEndBefore(l)}A(!1)}var h=C?g:function(b){return Array.from(b.getClientRects())};J.exports=h},59833:function(J,D,r){"use strict";var S=r(44083);function A(C,g){var h=[];return C.findEntityRanges(function(b){return b.getEntity()===g},function(b,E){h.push({start:b,end:E})}),h.length||S(!1),h}J.exports=A},7557:function(J,D,r){"use strict";var S=r(13567),A=r(44083),C=S.isBrowser("IE <= 9");function g(h){var b,E=null;return!C&&document.implementation&&document.implementation.createHTMLDocument&&(b=document.implementation.createHTMLDocument("foo"),b.documentElement||A(!1),b.documentElement.innerHTML=h,E=b.getElementsByTagName("body")[0]),E}J.exports=g},68518:function(J){"use strict";function D(r){if(r instanceof Element){var S=r.getAttribute("data-offset-key");if(S)return S;for(var A=0;A<r.childNodes.length;A++){var C=D(r.childNodes[A]);if(C)return C}}return null}J.exports=D},31915:function(J,D,r){"use strict";var S=r(44083),A=/\.textClipping$/,C={"text/plain":!0,"text/html":!0,"text/rtf":!0},g=5e3;function h(E,c){var l=0,p=[];E.forEach(function(s){b(s,function(a){l++,a&&p.push(a.slice(0,g)),l==E.length&&c(p.join("\r"))})})}function b(E,c){if(!r.g.FileReader||E.type&&!(E.type in C)){c("");return}if(E.type===""){var l="";A.test(E.name)&&(l=E.name.replace(A,"")),c(l);return}var p=new FileReader;p.onload=function(){var s=p.result;typeof s!="string"&&S(!1),c(s)},p.onerror=function(){c("")},p.readAsText(E)}J.exports=h},78201:function(J,D,r){"use strict";var S=r(73728),A=r(17e3);function C(g,h,b,E,c){var l=A(g.getSelection()),p=S.decode(h),s=p.blockKey,a=g.getBlockTree(s).getIn([p.decoratorKey,"leaves",p.leafKey]),d=S.decode(E),i=d.blockKey,o=g.getBlockTree(i).getIn([d.decoratorKey,"leaves",d.leafKey]),u=a.get("start"),x=o.get("start"),F=a?u+b:null,f=o?x+c:null,B=l.getAnchorKey()===s&&l.getAnchorOffset()===F&&l.getFocusKey()===i&&l.getFocusOffset()===f;if(B)return l;var U=!1;if(s===i){var K=a.get("end"),k=o.get("end");x===u&&k===K?U=c<b:U=x<u}else{var j=g.getCurrentContent().getBlockMap().keySeq().skipUntil(function(z){return z===s||z===i}).first();U=j===i}return l.merge({anchorKey:s,anchorOffset:F,focusKey:i,focusOffset:f,isBackward:U})}J.exports=C},30227:function(J,D,r){"use strict";var S=r(40266);function A(C){var g=C.getSelection();if(!g.rangeCount)return null;var h=g.getRangeAt(0),b=S(h),E=b.top,c=b.right,l=b.bottom,p=b.left;return E===0&&c===0&&l===0&&p===0?null:b}J.exports=A},44400:function(J,D,r){"use strict";var S=r(46852),A=r(73833),C=r(52724),g=r(60378),h=r(44083),b=r(47382),E=C.List,c=function(u,x,F,f,B,U){var K=F.get(B),k=K.getText(),j=K.getCharacterList(),z=B,M=U+f.getText().length,I=K.merge({text:k.slice(0,U)+f.getText()+k.slice(U),characterList:g(j,f.getCharacterList(),U),data:f.getData()});return u.merge({blockMap:F.set(B,I),selectionBefore:x,selectionAfter:x.merge({anchorKey:z,anchorOffset:M,focusKey:z,focusOffset:M,isBackward:!1})})},l=function(u,x,F){var f=u.getText(),B=u.getCharacterList(),U=f.slice(0,x),K=B.slice(0,x),k=F.first();return u.merge({text:U+k.getText(),characterList:K.concat(k.getCharacterList()),type:U?u.getType():k.getType(),data:k.getData()})},p=function(u,x,F){var f=u.getText(),B=u.getCharacterList(),U=f.length,K=f.slice(x,U),k=B.slice(x,U),j=F.last();return j.merge({text:j.getText()+K,characterList:j.getCharacterList().concat(k),data:j.getData()})},s=function(u,x){var F=u.getKey(),f=u,B=[];for(x.get(F)&&B.push(F);f&&f.getNextSiblingKey();){var U=f.getNextSiblingKey();if(!U)break;B.push(U),f=x.get(U)}return B},a=function(u,x,F,f){return u.withMutations(function(B){var U=F.getKey(),K=f.getKey(),k=F.getNextSiblingKey(),j=F.getParentKey(),z=s(f,u),M=z[z.length-1];if(B.get(K)?(B.setIn([U,"nextSibling"],K),B.setIn([K,"prevSibling"],U)):(B.setIn([U,"nextSibling"],f.getNextSiblingKey()),B.setIn([f.getNextSiblingKey(),"prevSibling"],U)),B.setIn([M,"nextSibling"],k),k&&B.setIn([k,"prevSibling"],M),z.forEach(function(le){return B.setIn([le,"parent"],j)}),j){var I=u.get(j),X=I.getChildKeys(),$=X.indexOf(U),Q=$+1,W=X.toArray();W.splice.apply(W,[Q,0].concat(z)),B.setIn([j,"children"],E(W))}})},d=function(u,x,F,f,B,U){var K=F.first()instanceof A,k=[],j=f.size,z=F.get(B),M=f.first(),I=f.last(),X=I.getLength(),$=I.getKey(),Q=K&&(!z.getChildKeys().isEmpty()||!M.getChildKeys().isEmpty());F.forEach(function(le,te){if(te!==B){k.push(le);return}Q?k.push(le):k.push(l(le,U,f)),f.slice(Q?0:1,j-1).forEach(function(pe){return k.push(pe)}),k.push(p(le,U,f))});var W=S.createFromArray(k);return K&&(W=a(W,F,z,M)),u.merge({blockMap:W,selectionBefore:x,selectionAfter:x.merge({anchorKey:$,anchorOffset:X,focusKey:$,focusOffset:X,isBackward:!1})})},i=function(u,x,F){x.isCollapsed()||h(!1);var f=u.getBlockMap(),B=b(F),U=x.getStartKey(),K=x.getStartOffset(),k=f.get(U);return k instanceof A&&(k.getChildKeys().isEmpty()||h(!1)),B.size===1?c(u,x,f,B.first(),U,K):d(u,x,f,B,U,K)};J.exports=i},60378:function(J){"use strict";function D(r,S,A){if(A===r.count())S.forEach(function(h){r=r.push(h)});else if(A===0)S.reverse().forEach(function(h){r=r.unshift(h)});else{var C=r.slice(0,A),g=r.slice(A);r=C.concat(S,g).toList()}return r}J.exports=D},21505:function(J,D,r){"use strict";var S=r(52724),A=r(60378),C=r(44083),g=S.Repeat;function h(b,E,c,l){E.isCollapsed()||C(!1);var p=c.length;if(!p)return b;var s=b.getBlockMap(),a=E.getStartKey(),d=E.getStartOffset(),i=s.get(a),o=i.getText(),u=i.merge({text:o.slice(0,d)+c+o.slice(d,i.getLength()),characterList:A(i.getCharacterList(),g(l,p).toList(),d)}),x=d+p;return b.merge({blockMap:s.set(a,u),selectionAfter:E.merge({anchorOffset:x,focusOffset:x})})}J.exports=h},84510:function(J){"use strict";function D(r){return r==="handled"||r===!0}J.exports=D},51305:function(J){"use strict";function D(r){var S=r.getSelection(),A=S.getAnchorKey(),C=r.getBlockTree(A),g=S.getStartOffset(),h=!1;return C.some(function(b){return g===b.get("start")?(h=!0,!0):g<b.get("end")?b.get("leaves").some(function(E){var c=E.get("start");return g===c?(h=!0,!0):!1}):!1}),h}J.exports=D},1618:function(J,D,r){"use strict";var S=r(13406),A=r(88995),C=r(93717),g=r(93138),h=r(40563);function b(E){var c=h(E,function(l){var p=l.getSelection();if(p.isCollapsed()&&p.getAnchorOffset()===0)return g(l,1);var s=r.g.getSelection(),a=s.getRangeAt(0);return a=A(a),C(l,null,a.endContainer,a.endOffset,a.startContainer,a.startOffset).selectionState},"backward");return c===E.getCurrentContent()?E:S.push(E,c,"remove-range")}J.exports=b},92138:function(J,D,r){"use strict";var S=r(21096),A=r(13406),C=r(93138),g=r(40563);function h(b){var E=g(b,function(c){var l=c.getSelection(),p=l.getStartOffset();if(p===0)return C(c,1);var s=l.getStartKey(),a=c.getCurrentContent(),d=a.getBlockForKey(s).getText().slice(0,p),i=S.getBackward(d);return C(c,i.length||1)},"backward");return E===b.getCurrentContent()?b:A.push(b,E,"remove-range")}J.exports=h},40867:function(J,D,r){"use strict";var S=r(21096),A=r(13406),C=r(10749),g=r(40563);function h(b){var E=g(b,function(c){var l=c.getSelection(),p=l.getStartOffset(),s=l.getStartKey(),a=c.getCurrentContent(),d=a.getBlockForKey(s).getText().slice(p),i=S.getForward(d);return C(c,i.length||1)},"forward");return E===b.getCurrentContent()?b:A.push(b,E,"remove-range")}J.exports=h},27830:function(J,D,r){"use strict";var S=r(89808),A=r(13406);function C(g){var h=S.splitBlock(g.getCurrentContent(),g.getSelection());return A.push(g,h,"split-block")}J.exports=C},37658:function(J,D,r){"use strict";var S=r(13406);function A(C){var g=C.getSelection(),h=g.getEndKey(),b=C.getCurrentContent(),E=b.getBlockForKey(h).getLength();return S.set(C,{selection:g.merge({anchorKey:h,anchorOffset:E,focusKey:h,focusOffset:E,isBackward:!1}),forceSelection:!0})}J.exports=A},73080:function(J,D,r){"use strict";var S=r(13406);function A(C){var g=C.getSelection(),h=g.getStartKey();return S.set(C,{selection:g.merge({anchorKey:h,anchorOffset:0,focusKey:h,focusOffset:0,isBackward:!1}),forceSelection:!0})}J.exports=A},17259:function(J,D,r){"use strict";var S=r(13406),A=r(11568),C=r(93138),g=r(40563);function h(b){var E=g(b,function(l){var p=l.getSelection(),s=l.getCurrentContent(),a=p.getAnchorKey(),d=p.getAnchorOffset(),i=s.getBlockForKey(a).getText()[d-1];return C(l,i?A.getUTF16Length(i,0):1)},"backward");if(E===b.getCurrentContent())return b;var c=b.getSelection();return S.push(b,E.set("selectionBefore",c),c.isCollapsed()?"backspace-character":"remove-range")}J.exports=h},70127:function(J,D,r){"use strict";var S=r(13406),A=r(11568),C=r(10749),g=r(40563);function h(b){var E=g(b,function(l){var p=l.getSelection(),s=l.getCurrentContent(),a=p.getAnchorKey(),d=p.getAnchorOffset(),i=s.getBlockForKey(a).getText()[d];return C(l,i?A.getUTF16Length(i,0):1)},"forward");if(E===b.getCurrentContent())return b;var c=b.getSelection();return S.push(b,E.set("selectionBefore",c),c.isCollapsed()?"delete-character":"remove-range")}J.exports=h},97816:function(J,D,r){"use strict";var S=r(89808),A=r(13406),C=r(84391);function g(h){var b=h.getSelection();if(!b.isCollapsed())return h;var E=b.getAnchorOffset();if(E===0)return h;var c=b.getAnchorKey(),l=h.getCurrentContent(),p=l.getBlockForKey(c),s=p.getLength();if(s<=1)return h;var a,d;E===s?(a=b.set("anchorOffset",E-1),d=b):(a=b.set("focusOffset",E+1),d=a.set("anchorOffset",E+1));var i=C(l,a),o=S.removeRange(l,a,"backward"),u=o.getSelectionAfter(),x=u.getAnchorOffset()-1,F=u.merge({anchorOffset:x,focusOffset:x}),f=S.replaceWithFragment(o,F,i),B=A.push(h,f,"insert-fragment");return A.acceptSelection(B,d)}J.exports=g},95261:function(J,D,r){"use strict";var S=r(13406);function A(C,g,h){var b=S.undo(g);if(g.getLastChangeType()==="spellcheck-change"){var E=b.getCurrentContent();h(S.set(b,{nativelyRenderedContent:E}));return}if(C.preventDefault(),!g.getNativelyRenderedContent()){h(b);return}h(S.set(g,{nativelyRenderedContent:null})),setTimeout(function(){h(b)},0)}J.exports=A},22758:function(J,D,r){"use strict";var S=r(52724),A=S.Map;function C(g,h,b){var E=h.getStartKey(),c=h.getEndKey(),l=g.getBlockMap(),p=l.toSeq().skipUntil(function(s,a){return a===E}).takeUntil(function(s,a){return a===c}).concat(A([[c,l.get(c)]])).map(b);return g.merge({blockMap:l.merge(p),selectionBefore:h,selectionAfter:h})}J.exports=C},39692:function(J,D,r){"use strict";var S=r(73833),A=r(52724),C=r(14284),g=r(44083),h=A.OrderedMap,b=A.List,E=function(s,a,d){if(s){var i=a.get(s);i&&a.set(s,d(i))}},c=function(s,a,d,i,o){if(!o)return s;var u=i==="after",x=a.getKey(),F=d.getKey(),f=a.getParentKey(),B=a.getNextSiblingKey(),U=a.getPrevSiblingKey(),K=d.getParentKey(),k=u?d.getNextSiblingKey():F,j=u?F:d.getPrevSiblingKey();return s.withMutations(function(z){E(f,z,function(M){var I=M.getChildKeys();return M.merge({children:I.delete(I.indexOf(x))})}),E(U,z,function(M){return M.merge({nextSibling:B})}),E(B,z,function(M){return M.merge({prevSibling:U})}),E(k,z,function(M){return M.merge({prevSibling:x})}),E(j,z,function(M){return M.merge({nextSibling:x})}),E(K,z,function(M){var I=M.getChildKeys(),X=I.indexOf(F),$=u?X+1:X!==0?X-1:0,Q=I.toArray();return Q.splice($,0,x),M.merge({children:b(Q)})}),E(x,z,function(M){return M.merge({nextSibling:k,prevSibling:j,parent:K})})})},l=function(s,a,d,i){i==="replace"&&g(!1);var o=d.getKey(),u=a.getKey();u===o&&g(!1);var x=s.getBlockMap(),F=a instanceof S,f=[a],B=x.delete(u);F&&(f=[],B=x.withMutations(function(I){var X=a.getNextSiblingKey(),$=C(a,I);I.toSeq().skipUntil(function(Q){return Q.getKey()===u}).takeWhile(function(Q){var W=Q.getKey(),le=W===u,te=X&&W!==X,pe=!X&&Q.getParentKey()&&(!$||W!==$);return!!(le||te||pe)}).forEach(function(Q){f.push(Q),I.delete(Q.getKey())})}));var U=B.toSeq().takeUntil(function(I){return I===d}),K=B.toSeq().skipUntil(function(I){return I===d}).skip(1),k=f.map(function(I){return[I.getKey(),I]}),j=h();if(i==="before"){var z=s.getBlockBefore(o);!z||z.getKey()!==a.getKey()||g(!1),j=U.concat([].concat(k,[[o,d]]),K).toOrderedMap()}else if(i==="after"){var M=s.getBlockAfter(o);!M||M.getKey()!==u||g(!1),j=U.concat([[o,d]].concat(k),K).toOrderedMap()}return s.merge({blockMap:c(j,a,d,i,F),selectionBefore:s.getSelectionAfter(),selectionAfter:s.getSelectionAfter().merge({anchorKey:u,focusKey:u})})};J.exports=l},93138:function(J){"use strict";function D(r,S){var A=r.getSelection(),C=r.getCurrentContent(),g=A.getStartKey(),h=A.getStartOffset(),b=g,E=0;if(S>h){var c=C.getKeyBefore(g);if(c==null)b=g;else{b=c;var l=C.getBlockForKey(c);E=l.getText().length}}else E=h-S;return A.merge({focusKey:b,focusOffset:E,isBackward:!0})}J.exports=D},10749:function(J){"use strict";function D(r,S){var A=r.getSelection(),C=A.getStartKey(),g=A.getStartOffset(),h=r.getCurrentContent(),b=C,E,c=h.getBlockForKey(C);return S>c.getText().length-g?(b=h.getKeyAfter(C),E=0):E=g+S,A.merge({focusKey:b,focusOffset:E})}J.exports=D},47382:function(J,D,r){"use strict";var S=r(73833),A=r(52724),C=r(85607),g=A.OrderedMap,h=function(l){var p={},s=void 0;return g(l.withMutations(function(a){a.forEach(function(d,i){var o=d.getKey(),u=d.getNextSiblingKey(),x=d.getPrevSiblingKey(),F=d.getChildKeys(),f=d.getParentKey(),B=C();if(p[o]=B,u){var U=a.get(u);U?a.setIn([u,"prevSibling"],B):a.setIn([o,"nextSibling"],null)}if(x){var K=a.get(x);K?a.setIn([x,"nextSibling"],B):a.setIn([o,"prevSibling"],null)}if(f&&a.get(f)){var k=a.get(f),j=k.getChildKeys();a.setIn([f,"children"],j.set(j.indexOf(d.getKey()),B))}else a.setIn([o,"parent"],null),s&&(a.setIn([s.getKey(),"nextSibling"],B),a.setIn([o,"prevSibling"],p[s.getKey()])),s=a.get(o);F.forEach(function(z){var M=a.get(z);M?a.setIn([z,"parent"],B):a.setIn([o,"children"],d.getChildKeys().filter(function(I){return I!==z}))})})}).toArray().map(function(a){return[p[a.getKey()],a.set("key",p[a.getKey()])]}))},b=function(l){return g(l.toArray().map(function(p){var s=C();return[s,p.set("key",s)]}))},E=function(l){var p=l.first()instanceof S;return p?h(l):b(l)};J.exports=E},25702:function(J,D,r){"use strict";var S=r(24227),A=r(94718),C=r(44083);function g(E,c){var l=E.getBlockMap(),p=E.getEntityMap(),s={},a=c.getStartKey(),d=c.getStartOffset(),i=l.get(a),o=b(p,i,d);o!==i&&(s[a]=o);var u=c.getEndKey(),x=c.getEndOffset(),F=l.get(u);a===u&&(F=o);var f=b(p,F,x);return f!==F&&(s[u]=f),Object.keys(s).length?E.merge({blockMap:l.merge(s),selectionAfter:c}):E.set("selectionAfter",c)}function h(E,c,l){var p;return A(E,function(s,a){return s.getEntity()===a.getEntity()},function(s){return s.getEntity()===c},function(s,a){s<=l&&a>=l&&(p={start:s,end:a})}),typeof p!="object"&&C(!1),p}function b(E,c,l){var p=c.getCharacterList(),s=l>0?p.get(l-1):void 0,a=l<p.count()?p.get(l):void 0,d=s?s.getEntity():void 0,i=a?a.getEntity():void 0;if(i&&i===d){var o=E.__get(i);if(o.getMutability()!=="MUTABLE"){for(var u=h(p,i,l),x=u.start,F=u.end,f;x<F;)f=p.get(x),p=p.set(x,S.applyEntity(f,null)),x++;return c.set("characterList",p)}}return c}J.exports=g},79793:function(J,D,r){"use strict";var S=r(73833),A=r(52724),C=r(14284),g=A.List,h=A.Map,b=function(o,u,x){if(o){var F=u.get(o);F&&u.set(o,x(F))}},E=function(o,u){var x=[];if(!o)return x;for(var F=u.get(o);F&&F.getParentKey();){var f=F.getParentKey();f&&x.push(f),F=f?u.get(f):null}return x},c=function(o,u){var x=[];if(!o)return x;for(var F=C(o,u);F&&u.get(F);){var f=u.get(F);x.push(F),F=f.getParentKey()?C(f,u):null}return x},l=function(o,u,x){if(!o)return null;for(var F=x.get(o.getKey()).getNextSiblingKey();F&&!u.get(F);)F=x.get(F).getNextSiblingKey()||null;return F},p=function(o,u,x){if(!o)return null;for(var F=x.get(o.getKey()).getPrevSiblingKey();F&&!u.get(F);)F=x.get(F).getPrevSiblingKey()||null;return F},s=function(o,u,x,F){return o.withMutations(function(f){b(u.getKey(),f,function(B){return B.merge({nextSibling:l(u,f,F),prevSibling:p(u,f,F)})}),b(x.getKey(),f,function(B){return B.merge({nextSibling:l(x,f,F),prevSibling:p(x,f,F)})}),E(u.getKey(),F).forEach(function(B){return b(B,f,function(U){return U.merge({children:U.getChildKeys().filter(function(K){return f.get(K)}),nextSibling:l(U,f,F),prevSibling:p(U,f,F)})})}),b(u.getNextSiblingKey(),f,function(B){return B.merge({prevSibling:u.getPrevSiblingKey()})}),b(u.getPrevSiblingKey(),f,function(B){return B.merge({nextSibling:l(u,f,F)})}),b(x.getNextSiblingKey(),f,function(B){return B.merge({prevSibling:p(x,f,F)})}),b(x.getPrevSiblingKey(),f,function(B){return B.merge({nextSibling:x.getNextSiblingKey()})}),E(x.getKey(),F).forEach(function(B){b(B,f,function(U){return U.merge({children:U.getChildKeys().filter(function(K){return f.get(K)}),nextSibling:l(U,f,F),prevSibling:p(U,f,F)})})}),c(x,F).forEach(function(B){return b(B,f,function(U){return U.merge({nextSibling:l(U,f,F),prevSibling:p(U,f,F)})})})})},a=function(o,u){if(u.isCollapsed())return o;var x=o.getBlockMap(),F=u.getStartKey(),f=u.getStartOffset(),B=u.getEndKey(),U=u.getEndOffset(),K=x.get(F),k=x.get(B),j=K instanceof S,z=[];if(j){var M=k.getChildKeys(),I=E(B,x);k.getNextSiblingKey()&&(z=z.concat(I)),M.isEmpty()||(z=z.concat(I.concat([B]))),z=z.concat(E(C(k,x),x))}var X=void 0;K===k?X=d(K.getCharacterList(),f,U):X=K.getCharacterList().slice(0,f).concat(k.getCharacterList().slice(U));var $=K.merge({text:K.getText().slice(0,f)+k.getText().slice(U),characterList:X}),Q=x.toSeq().skipUntil(function(le,te){return te===F}).takeUntil(function(le,te){return te===B}).filter(function(le,te){return z.indexOf(te)===-1}).concat(h([[B,null]])).map(function(le,te){return te===F?$:null}),W=x.merge(Q).filter(function(le){return!!le});return j&&(W=s(W,K,k,x)),o.merge({blockMap:W,selectionBefore:u,selectionAfter:u.merge({anchorKey:F,anchorOffset:f,focusKey:F,focusOffset:f,isBackward:!1})})},d=function(o,u,x){if(u===0)for(;u<x;)o=o.shift(),u++;else if(x===o.count())for(;x>u;)o=o.pop(),x--;else{var F=o.slice(0,u),f=o.slice(x);o=F.concat(f).toList()}return o};J.exports=a},40563:function(J,D,r){"use strict";var S=r(89808);function A(C,g,h){var b=C.getSelection(),E=C.getCurrentContent(),c=b;if(b.isCollapsed()){if(h==="forward"){if(C.isSelectionAtEndOfContent())return E}else if(C.isSelectionAtStartOfContent())return E;if(c=g(C),c===b)return E}return S.removeRange(E,c,h)}J.exports=A},2293:function(J){"use strict";var D=new RegExp("\r","g");function r(S){return S.replace(D,"")}J.exports=r},17742:function(J,D,r){"use strict";var S=r(33066),A=r(29558),C=r(21026),g=r(44083);function h(a,d){if(!a)return"[empty]";var i=b(a,d);return i.nodeType===Node.TEXT_NODE?i.textContent:(i instanceof Element||g(!1),i.outerHTML)}function b(a,d){var i=d!==void 0?d(a):[];if(a.nodeType===Node.TEXT_NODE){var o=a.textContent.length;return document.createTextNode("[text "+o+(i.length?" | "+i.join(", "):"")+"]")}var u=a.cloneNode();u.nodeType===1&&i.length&&u.setAttribute("data-labels",i.join(", "));for(var x=a.childNodes,F=0;F<x.length;F++)u.appendChild(b(x[F],d));return u}function E(a,d){for(var i=a;i;){if(i instanceof Element&&i.hasAttribute("contenteditable"))return h(i,d);i=i.parentNode}return"Could not find contentEditable parent of node"}function c(a){return a.nodeValue===null?a.childNodes.length:a.nodeValue.length}function l(a,d,i,o,u){if(A(document.documentElement,d)){var x=r.g.getSelection(),F=a.getAnchorKey(),f=a.getAnchorOffset(),B=a.getFocusKey(),U=a.getFocusOffset(),K=a.getIsBackward();if(!x.extend&&K){var k=F,j=f;F=B,f=U,B=k,U=j,K=!1}var z=F===i&&o<=f&&u>=f,M=B===i&&o<=U&&u>=U;if(z&&M){x.removeAllRanges(),s(x,d,f-o,a),p(x,d,U-o,a);return}if(!K)z&&(x.removeAllRanges(),s(x,d,f-o,a)),M&&p(x,d,U-o,a);else if(M&&(x.removeAllRanges(),s(x,d,U-o,a)),z){var I=x.focusNode,X=x.focusOffset;x.removeAllRanges(),s(x,d,f-o,a),p(x,I,X,a)}}}function p(a,d,i,o){var u=C();if(a.extend&&A(u,d)){i>c(d)&&S.logSelectionStateFailure({anonymizedDom:E(d),extraParams:JSON.stringify({offset:i}),selectionState:JSON.stringify(o.toJS())});var x=d===a.focusNode;try{a.extend(d,i)}catch(f){throw S.logSelectionStateFailure({anonymizedDom:E(d,function(B){var U=[];return B===u&&U.push("active element"),B===a.anchorNode&&U.push("selection anchor node"),B===a.focusNode&&U.push("selection focus node"),U}),extraParams:JSON.stringify({activeElementName:u?u.nodeName:null,nodeIsFocus:d===a.focusNode,nodeWasFocus:x,selectionRangeCount:a.rangeCount,selectionAnchorNodeName:a.anchorNode?a.anchorNode.nodeName:null,selectionAnchorOffset:a.anchorOffset,selectionFocusNodeName:a.focusNode?a.focusNode.nodeName:null,selectionFocusOffset:a.focusOffset,message:f?""+f:null,offset:i},null,2),selectionState:JSON.stringify(o.toJS(),null,2)}),f}}else{var F=a.getRangeAt(0);F.setEnd(d,i),a.addRange(F.cloneRange())}}function s(a,d,i,o){var u=document.createRange();i>c(d)&&S.logSelectionStateFailure({anonymizedDom:E(d),extraParams:JSON.stringify({offset:i}),selectionState:JSON.stringify(o.toJS())}),u.setStart(d,i),a.addRange(u)}J.exports=l},72439:function(J,D,r){"use strict";var S=r(73833),A=r(52724),C=r(85607),g=r(44083),h=A.List,b=A.Map,E=function(s,a,d){if(s){var i=a.get(s);i&&a.set(s,d(i))}},c=function(s,a,d){return s.withMutations(function(i){var o=a.getKey(),u=d.getKey();E(a.getParentKey(),i,function(x){var F=x.getChildKeys(),f=F.indexOf(o)+1,B=F.toArray();return B.splice(f,0,u),x.merge({children:h(B)})}),E(a.getNextSiblingKey(),i,function(x){return x.merge({prevSibling:u})}),E(o,i,function(x){return x.merge({nextSibling:u})}),E(u,i,function(x){return x.merge({prevSibling:o})})})},l=function(s,a){a.isCollapsed()||g(!1);var d=a.getAnchorKey(),i=a.getAnchorOffset(),o=s.getBlockMap(),u=o.get(d),x=u.getText(),F=u.getCharacterList(),f=C(),B=u instanceof S,U=u.merge({text:x.slice(0,i),characterList:F.slice(0,i)}),K=U.merge({key:f,text:x.slice(i),characterList:F.slice(i),data:b()}),k=o.toSeq().takeUntil(function(M){return M===u}),j=o.toSeq().skipUntil(function(M){return M===u}).rest(),z=k.concat([[d,U],[f,K]],j).toOrderedMap();return B&&(u.getChildKeys().isEmpty()||g(!1),z=c(z,U,K)),s.merge({blockMap:z,selectionBefore:a,selectionAfter:a.merge({anchorKey:f,anchorOffset:0,focusKey:f,focusOffset:0,isBackward:!1})})};J.exports=l},68208:function(J){"use strict";var D=/\r\n?|\n/g;function r(S){return S.split(D)}J.exports=r},64162:function(J,D,r){(function(S,A){J.exports=A(r(87937),r(52724))})(window,function(S,A){return h={},C.m=g=[function(b,E){b.exports=S},function(b,E){b.exports=A},function(b,E,c){b.exports=c(3)},function(b,E,c){"use strict";c.r(E);var l=c(0),p=c(1);function s(me){var ye=me.getSelection(),Te=me.getCurrentContent(),we=ye.getStartKey(),Me=ye.getEndKey(),Ne=Te.getBlockMap();return Ne.toSeq().skipUntil(function(ze,We){return We===we}).takeUntil(function(ze,We){return We===Me}).concat([[Me,Ne.get(Me)]])}function a(me){return s(me).toList()}function d(me){if(me)return a(me).get(0)}function i(me){if(me){var ye=d(me),Te=me.getCurrentContent().getBlockMap().toSeq().toList(),we=0;if(Te.forEach(function(Me,Ne){Me.get("key")===ye.get("key")&&(we=Ne-1)}),-1<we)return Te.get(we)}}function o(me){return me?me.getCurrentContent().getBlockMap().toList():new p.List}function u(me){var ye=a(me);if(!ye.some(function(Te){return Te.type!==ye.get(0).type}))return ye.get(0).type}function x(me){var ye=l.RichUtils.tryToRemoveBlockStyle(me);return ye?l.EditorState.push(me,ye,"change-block-type"):me}function F(me){var ye="",Te=me.getSelection(),we=Te.getAnchorOffset(),Me=Te.getFocusOffset(),Ne=a(me);if(0<Ne.size){if(Te.getIsBackward()){var ze=we;we=Me,Me=ze}for(var We=0;We<Ne.size;We+=1){var rt=We===0?we:0,Fe=We===Ne.size-1?Me:Ne.get(We).getText().length;ye+=Ne.get(We).getText().slice(rt,Fe)}}return ye}function f(me){var ye=me.getCurrentContent(),Te=me.getSelection(),we=l.Modifier.removeRange(ye,Te,"forward"),Me=we.getSelectionAfter(),Ne=we.getBlockForKey(Me.getStartKey());return we=l.Modifier.insertText(we,Me,`
`,Ne.getInlineStyleAt(Me.getStartOffset()),null),l.EditorState.push(me,we,"insert-fragment")}function B(me){var ye=l.Modifier.splitBlock(me.getCurrentContent(),me.getSelection());return x(l.EditorState.push(me,ye,"split-block"))}function U(me){var ye=me.getCurrentContent().getBlockMap().toList(),Te=me.getSelection().merge({anchorKey:ye.first().get("key"),anchorOffset:0,focusKey:ye.last().get("key"),focusOffset:ye.last().getLength()}),we=l.Modifier.removeRange(me.getCurrentContent(),Te,"forward");return l.EditorState.push(me,we,"remove-range")}function K(me,ye){var Te=l.Modifier.setBlockData(me.getCurrentContent(),me.getSelection(),ye);return l.EditorState.push(me,Te,"change-block-data")}function k(me){var ye=new p.Map({}),Te=a(me);if(Te&&0<Te.size)for(var we=function(Ne){var ze=Te.get(Ne).getData();if(!ze||ze.size===0)return ye=ye.clear(),"break";if(Ne===0)ye=ze;else if(ye.forEach(function(We,rt){ze.get(rt)&&ze.get(rt)===We||(ye=ye.delete(rt))}),ye.size===0)return ye=ye.clear(),"break"},Me=0;Me<Te.size&&we(Me)!=="break";Me+=1);return ye}var j=Object(p.Map)({code:{element:"pre"}}),z=l.DefaultDraftBlockRenderMap.merge(j);function M(me){if(me){var ye=me.getType();return ye==="unordered-list-item"||ye==="ordered-list-item"}return!1}function I(me,ye,Te){var we,Me=me.getSelection();we=Me.getIsBackward()?Me.getFocusKey():Me.getAnchorKey();var Ne=me.getCurrentContent(),ze=Ne.getBlockForKey(we),We=ze.getType();if(We!=="unordered-list-item"&&We!=="ordered-list-item")return me;var rt=Ne.getBlockBefore(we);if(!rt||rt.getType()!==We)return me;var Fe=ze.getDepth();if(ye===1&&Fe===Te)return me;var Je,pt,Dt,Se,V,Y,ne,fe=Math.min(rt.getDepth()+1,Te),he=(pt=ye,Dt=fe,Se=(Je=me).getSelection(),V=Je.getCurrentContent(),Y=V.getBlockMap(),ne=s(Je).map(function(be){var ke=be.getDepth()+pt;return ke=Math.max(0,Math.min(ke,Dt)),be.set("depth",ke)}),Y=Y.merge(ne),V.merge({blockMap:Y,selectionBefore:Se,selectionAfter:Se}));return l.EditorState.push(me,he,"adjust-depth")}function X(me,ye){var Te;return(Te=ye).which===13&&(Te.getModifierState("Shift")||Te.getModifierState("Alt")||Te.getModifierState("Control"))?me.getSelection().isCollapsed()?l.RichUtils.insertSoftNewline(me):f(me):function(we){var Me=we.getSelection();if(Me.isCollapsed()){var Ne=we.getCurrentContent(),ze=Me.getStartKey(),We=Ne.getBlockForKey(ze);if(!M(We)&&We.getType()!=="unstyled"&&We.getLength()===Me.getStartOffset())return B(we);if(M(We)&&We.getLength()===0){var rt=We.getDepth();if(rt===0)return x(we);if(0<rt)return I(we,-1,rt)}}}(me)}function $(me,ye){var Te=Object.keys(me);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(me);ye&&(we=we.filter(function(Me){return Object.getOwnPropertyDescriptor(me,Me).enumerable})),Te.push.apply(Te,we)}return Te}function Q(me,ye,Te){return ye in me?Object.defineProperty(me,ye,{value:Te,enumerable:!0,configurable:!0,writable:!0}):me[ye]=Te,me}function W(me){return(W=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ye){return typeof ye}:function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye})(me)}function le(me){var ye=me.getSelection();if(ye.isCollapsed()){var Te={},we=me.getCurrentInlineStyle().toList().toJS();if(we)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(rt){Te[rt]=0<=we.indexOf(rt)}),Te}var Me=ye.getStartOffset(),Ne=ye.getEndOffset(),ze=a(me);if(0<ze.size){var We=function(){for(var rt={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},Fe=0;Fe<ze.size;Fe+=1){var Je=Fe===0?Me:0,pt=Fe===ze.size-1?Ne:ze.get(Fe).getText().length;Je===pt&&Je===0?(Je=1,pt=2):Je===pt&&--Je;for(var Dt=function(V){var Y=ze.get(Fe).getInlineStyleAt(V);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(ne){rt[ne]=rt[ne]&&Y.get(ne)===ne})},Se=Je;Se<pt;Se+=1)Dt(Se)}return{v:rt}}();if(W(We)==="object")return We.v}return{}}function te(me){var ye,Te=me.getSelection(),we=Te.getStartOffset(),Me=Te.getEndOffset();we===Me&&we===0?Me=1:we===Me&&--we;for(var Ne=d(me),ze=we;ze<Me;ze+=1){var We=Ne.getEntityAt(ze);if(!We){ye=void 0;break}if(ze===we)ye=We;else if(ye!==We){ye=void 0;break}}return ye}function pe(me,ye){var Te,we=d(me);return we.findEntityRanges(function(Me){return Me.get("entity")===ye},function(Me,Ne){Te={start:Me,end:Ne,text:we.get("text").slice(Me,Ne)}}),Te}function Le(me,ye,Te){Z[me]["".concat(me.toLowerCase(),"-").concat(Te)]=Q({},"".concat(ye),Te)}function De(){return function(me){for(var ye=1;ye<arguments.length;ye++){var Te=arguments[ye]!=null?arguments[ye]:{};ye%2?$(Object(Te),!0).forEach(function(we){Q(me,we,Te[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(me,Object.getOwnPropertyDescriptors(Te)):$(Object(Te)).forEach(function(we){Object.defineProperty(me,we,Object.getOwnPropertyDescriptor(Te,we))})}return me}({},Z.color,{},Z.bgcolor,{},Z.fontSize,{},Z.fontFamily,{CODE:Z.CODE,SUPERSCRIPT:Z.SUPERSCRIPT,SUBSCRIPT:Z.SUBSCRIPT})}var Z={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}};function Re(me,ye,Te){var we=me.getSelection(),Me=Object.keys(Z[ye]).reduce(function(rt,Fe){return l.Modifier.removeInlineStyle(rt,we,Fe)},me.getCurrentContent()),Ne=l.EditorState.push(me,Me,"changeinline-style"),ze=me.getCurrentInlineStyle();if(we.isCollapsed()&&(Ne=ze.reduce(function(rt,Fe){return l.RichUtils.toggleInlineStyle(rt,Fe)},Ne)),ye==="SUPERSCRIPT"||ye=="SUBSCRIPT")ze.has(Te)||(Ne=l.RichUtils.toggleInlineStyle(Ne,Te));else{var We=ye==="bgcolor"?"backgroundColor":ye;ze.has("".concat(We,"-").concat(Te))||(Ne=l.RichUtils.toggleInlineStyle(Ne,"".concat(ye.toLowerCase(),"-").concat(Te)),Le(ye,We,Te))}return Ne}function Ye(me){me&&me.getCurrentContent().getBlockMap().map(function(ye){return ye.get("characterList")}).toList().flatten().forEach(function(ye){ye&&ye.indexOf("color-")===0?Le("color","color",ye.substr(6)):ye&&ye.indexOf("bgcolor-")===0?Le("bgcolor","backgroundColor",ye.substr(8)):ye&&ye.indexOf("fontsize-")===0?Le("fontSize","fontSize",+ye.substr(9)):ye&&ye.indexOf("fontfamily-")===0&&Le("fontFamily","fontFamily",ye.substr(11))})}function _e(me,ye,Te){var we=me.getInlineStyleAt(Te).toList().filter(function(Me){return Me.startsWith(ye.toLowerCase())});if(we&&0<we.size)return we.get(0)}function Ze(me,ye){if(me&&ye&&0<ye.length){var Te=function(){var we=me.getSelection(),Me={};if(we.isCollapsed())return ye.forEach(function(Je){Me[Je]=function(pt,Dt){var Se=pt.getCurrentInlineStyle().toList().filter(function(V){return V.startsWith(Dt.toLowerCase())});if(Se&&0<Se.size)return Se.get(0)}(me,Je)}),{v:Me};var Ne=we.getStartOffset(),ze=we.getEndOffset(),We=a(me);if(0<We.size){for(var rt=function(Je){var pt=Je===0?Ne:0,Dt=Je===We.size-1?ze:We.get(Je).getText().length;pt===Dt&&pt===0?(pt=1,Dt=2):pt===Dt&&--pt;for(var Se=function(Y){Y===pt?ye.forEach(function(ne){Me[ne]=_e(We.get(Je),ne,Y)}):ye.forEach(function(ne){Me[ne]&&Me[ne]!==_e(We.get(Je),ne,Y)&&(Me[ne]=void 0)})},V=pt;V<Dt;V+=1)Se(V)},Fe=0;Fe<We.size;Fe+=1)rt(Fe);return{v:Me}}}();if(W(Te)==="object")return Te.v}return{}}function qe(me){var ye=me.getCurrentInlineStyle(),Te=me.getCurrentContent();return ye.forEach(function(we){Te=l.Modifier.removeInlineStyle(Te,me.getSelection(),we)}),l.EditorState.push(me,Te,"change-inline-style")}c.d(E,"isListBlock",function(){return M}),c.d(E,"changeDepth",function(){return I}),c.d(E,"handleNewLine",function(){return X}),c.d(E,"getEntityRange",function(){return pe}),c.d(E,"getCustomStyleMap",function(){return De}),c.d(E,"toggleCustomInlineStyle",function(){return Re}),c.d(E,"getSelectionEntity",function(){return te}),c.d(E,"extractInlineStyle",function(){return Ye}),c.d(E,"removeAllInlineStyles",function(){return qe}),c.d(E,"getSelectionInlineStyle",function(){return le}),c.d(E,"getSelectionCustomInlineStyle",function(){return Ze}),c.d(E,"getSelectedBlocksMap",function(){return s}),c.d(E,"getSelectedBlocksList",function(){return a}),c.d(E,"getSelectedBlock",function(){return d}),c.d(E,"getBlockBeforeSelectedBlock",function(){return i}),c.d(E,"getAllBlocks",function(){return o}),c.d(E,"getSelectedBlocksType",function(){return u}),c.d(E,"removeSelectedBlocksStyle",function(){return x}),c.d(E,"getSelectionText",function(){return F}),c.d(E,"addLineBreakRemovingSelection",function(){return f}),c.d(E,"insertNewUnstyledBlock",function(){return B}),c.d(E,"clearEditorContent",function(){return U}),c.d(E,"setBlockData",function(){return K}),c.d(E,"getSelectedBlocksMetadata",function(){return k}),c.d(E,"blockRenderMap",function(){return z})}],C.c=h,C.d=function(b,E,c){C.o(b,E)||Object.defineProperty(b,E,{enumerable:!0,get:c})},C.r=function(b){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(b,"__esModule",{value:!0})},C.t=function(b,E){if(1&E&&(b=C(b)),8&E||4&E&&typeof b=="object"&&b&&b.__esModule)return b;var c=Object.create(null);if(C.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:b}),2&E&&typeof b!="string")for(var l in b)C.d(c,l,function(p){return b[p]}.bind(null,l));return c},C.n=function(b){var E=b&&b.__esModule?function(){return b.default}:function(){return b};return C.d(E,"a",E),E},C.o=function(b,E){return Object.prototype.hasOwnProperty.call(b,E)},C.p="",C(C.s=2);function C(b){if(h[b])return h[b].exports;var E=h[b]={i:b,l:!1,exports:{}};return g[b].call(E.exports,E,E.exports,C),E.l=!0,E.exports}var g,h})},57865:function(J,D,r){(function(S,A){J.exports=A(r(87937),r(52724))})(typeof self!="undefined"?self:this,function(S,A){return function(C){function g(b){if(h[b])return h[b].exports;var E=h[b]={i:b,l:!1,exports:{}};return C[b].call(E.exports,E,E.exports,g),E.l=!0,E.exports}var h={};return g.m=C,g.c=h,g.d=function(b,E,c){g.o(b,E)||Object.defineProperty(b,E,{configurable:!1,enumerable:!0,get:c})},g.n=function(b){var E=b&&b.__esModule?function(){return b.default}:function(){return b};return g.d(E,"a",E),E},g.o=function(b,E){return Object.prototype.hasOwnProperty.call(b,E)},g.p="",g(g.s=3)}([function(C,g){C.exports=S},function(C,g,h){"use strict";function b(K){var k=K.getSelection(),j=K.getCurrentContent(),z=k.getStartKey(),M=k.getEndKey(),I=j.getBlockMap();return I.toSeq().skipUntil(function(X,$){return $===z}).takeUntil(function(X,$){return $===M}).concat([[M,I.get(M)]])}function E(K){return b(K).toList()}function c(K){if(K)return E(K).get(0)}function l(K){if(K){var k=c(K),j=K.getCurrentContent(),z=j.getBlockMap().toSeq().toList(),M=0;if(z.forEach(function(I,X){I.get("key")===k.get("key")&&(M=X-1)}),M>-1)return z.get(M)}}function p(K){return K?K.getCurrentContent().getBlockMap().toList():new B.List}function s(K){var k=E(K);if(!k.some(function(j){return j.type!==k.get(0).type}))return k.get(0).type}function a(K){var k=f.RichUtils.tryToRemoveBlockStyle(K);return k?f.EditorState.push(K,k,"change-block-type"):K}function d(K){var k="",j=K.getSelection(),z=j.getAnchorOffset(),M=j.getFocusOffset(),I=E(K);if(I.size>0){if(j.getIsBackward()){var X=z;z=M,M=X}for(var $=0;$<I.size;$+=1){var Q=$===0?z:0,W=$===I.size-1?M:I.get($).getText().length;k+=I.get($).getText().slice(Q,W)}}return k}function i(K){var k=K.getCurrentContent(),j=K.getSelection(),z=f.Modifier.removeRange(k,j,"forward"),M=z.getSelectionAfter(),I=z.getBlockForKey(M.getStartKey());return z=f.Modifier.insertText(z,M,`
`,I.getInlineStyleAt(M.getStartOffset()),null),f.EditorState.push(K,z,"insert-fragment")}function o(K){var k=f.Modifier.splitBlock(K.getCurrentContent(),K.getSelection());return a(f.EditorState.push(K,k,"split-block"))}function u(K){var k=K.getCurrentContent().getBlockMap().toList(),j=K.getSelection().merge({anchorKey:k.first().get("key"),anchorOffset:0,focusKey:k.last().get("key"),focusOffset:k.last().getLength()}),z=f.Modifier.removeRange(K.getCurrentContent(),j,"forward");return f.EditorState.push(K,z,"remove-range")}function x(K,k){var j=f.Modifier.setBlockData(K.getCurrentContent(),K.getSelection(),k);return f.EditorState.push(K,j,"change-block-data")}function F(K){var k=new B.Map({}),j=E(K);if(j&&j.size>0)for(var z=0;z<j.size;z+=1){var M=function(I){var X=j.get(I).getData();if(!X||X.size===0)return k=k.clear(),"break";if(I===0)k=X;else if(k.forEach(function($,Q){X.get(Q)&&X.get(Q)===$||(k=k.delete(Q))}),k.size===0)return k=k.clear(),"break"}(z);if(M==="break")break}return k}Object.defineProperty(g,"__esModule",{value:!0}),g.blockRenderMap=void 0,g.getSelectedBlocksMap=b,g.getSelectedBlocksList=E,g.getSelectedBlock=c,g.getBlockBeforeSelectedBlock=l,g.getAllBlocks=p,g.getSelectedBlocksType=s,g.removeSelectedBlocksStyle=a,g.getSelectionText=d,g.addLineBreakRemovingSelection=i,g.insertNewUnstyledBlock=o,g.clearEditorContent=u,g.setBlockData=x,g.getSelectedBlocksMetadata=F;var f=h(0),B=h(6),U=(0,B.Map)({code:{element:"pre"}});g.blockRenderMap=f.DefaultDraftBlockRenderMap.merge(U)},function(C,g,h){"use strict";function b(s){if(s){var a=s.getType();return a==="unordered-list-item"||a==="ordered-list-item"}return!1}function E(s,a,d){var i=s.getSelection(),o=s.getCurrentContent(),u=o.getBlockMap(),x=(0,p.getSelectedBlocksMap)(s).map(function(F){var f=F.getDepth()+a;return f=Math.max(0,Math.min(f,d)),F.set("depth",f)});return u=u.merge(x),o.merge({blockMap:u,selectionBefore:i,selectionAfter:i})}function c(s,a,d){var i=s.getSelection(),o=void 0;o=i.getIsBackward()?i.getFocusKey():i.getAnchorKey();var u=s.getCurrentContent(),x=u.getBlockForKey(o),F=x.getType();if(F!=="unordered-list-item"&&F!=="ordered-list-item")return s;var f=u.getBlockBefore(o);if(!f||f.getType()!==F)return s;var B=x.getDepth();if(a===1&&B===d)return s;var U=Math.min(f.getDepth()+1,d),K=E(s,a,U);return l.EditorState.push(s,K,"adjust-depth")}Object.defineProperty(g,"__esModule",{value:!0}),g.isListBlock=b,g.changeDepth=c;var l=h(0),p=h(1)},function(C,g,h){C.exports=h(4)},function(C,g,h){"use strict";var b=h(5),E=h(1),c=h(7),l=function(s){return s&&s.__esModule?s:{default:s}}(c),p=h(2);C.exports={getSelectedBlocksMap:E.getSelectedBlocksMap,getSelectedBlocksList:E.getSelectedBlocksList,getSelectedBlock:E.getSelectedBlock,getBlockBeforeSelectedBlock:E.getBlockBeforeSelectedBlock,getAllBlocks:E.getAllBlocks,getSelectedBlocksType:E.getSelectedBlocksType,removeSelectedBlocksStyle:E.removeSelectedBlocksStyle,getSelectionText:E.getSelectionText,addLineBreakRemovingSelection:E.addLineBreakRemovingSelection,insertNewUnstyledBlock:E.insertNewUnstyledBlock,clearEditorContent:E.clearEditorContent,setBlockData:E.setBlockData,getSelectedBlocksMetadata:E.getSelectedBlocksMetadata,blockRenderMap:E.blockRenderMap,getEntityRange:b.getEntityRange,getCustomStyleMap:b.getCustomStyleMap,toggleCustomInlineStyle:b.toggleCustomInlineStyle,getSelectionEntity:b.getSelectionEntity,extractInlineStyle:b.extractInlineStyle,removeAllInlineStyles:b.removeAllInlineStyles,getSelectionInlineStyle:b.getSelectionInlineStyle,getSelectionCustomInlineStyle:b.getSelectionCustomInlineStyle,handleNewLine:l.default,isListBlock:p.isListBlock,changeDepth:p.changeDepth}},function(C,g,h){"use strict";function b(K,k,j){return k in K?Object.defineProperty(K,k,{value:j,enumerable:!0,configurable:!0,writable:!0}):K[k]=j,K}function E(K){var k=K.getSelection();if(k.isCollapsed()){var j={},z=K.getCurrentInlineStyle().toList().toJS();if(z)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(Q){j[Q]=z.indexOf(Q)>=0}),j}var M=k.getStartOffset(),I=k.getEndOffset(),X=(0,f.getSelectedBlocksList)(K);if(X.size>0){var $=function(){for(var Q={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},W=0;W<X.size;W+=1){var le=W===0?M:0,te=W===X.size-1?I:X.get(W).getText().length;le===te&&le===0?(le=1,te=2):le===te&&(le-=1);for(var pe=le;pe<te;pe+=1)(function(Le){var De=X.get(W).getInlineStyleAt(Le);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(Z){Q[Z]=Q[Z]&&De.get(Z)===Z})})(pe)}return{v:Q}}();if(($===void 0?"undefined":x($))==="object")return $.v}return{}}function c(K){var k=void 0,j=K.getSelection(),z=j.getStartOffset(),M=j.getEndOffset();z===M&&z===0?M=1:z===M&&(z-=1);for(var I=(0,f.getSelectedBlock)(K),X=z;X<M;X+=1){var $=I.getEntityAt(X);if(!$){k=void 0;break}if(X===z)k=$;else if(k!==$){k=void 0;break}}return k}function l(K,k){var j=(0,f.getSelectedBlock)(K),z=void 0;return j.findEntityRanges(function(M){return M.get("entity")===k},function(M,I){z={start:M,end:I,text:j.get("text").slice(M,I)}}),z}function p(K,k,j){var z=K.getSelection(),M=Object.keys(B[k]).reduce(function(Q,W){return F.Modifier.removeInlineStyle(Q,z,W)},K.getCurrentContent()),I=F.EditorState.push(K,M,"changeinline-style"),X=K.getCurrentInlineStyle();if(z.isCollapsed()&&(I=X.reduce(function(Q,W){return F.RichUtils.toggleInlineStyle(Q,W)},I)),k==="SUPERSCRIPT"||k=="SUBSCRIPT")X.has(j)||(I=F.RichUtils.toggleInlineStyle(I,j));else{var $=k==="bgcolor"?"backgroundColor":k;X.has($+"-"+j)||(I=F.RichUtils.toggleInlineStyle(I,k.toLowerCase()+"-"+j),U(k,$,j))}return I}function s(K){K&&K.getCurrentContent().getBlockMap().map(function(k){return k.get("characterList")}).toList().flatten().forEach(function(k){k&&k.indexOf("color-")===0?U("color","color",k.substr(6)):k&&k.indexOf("bgcolor-")===0?U("bgcolor","backgroundColor",k.substr(8)):k&&k.indexOf("fontsize-")===0?U("fontSize","fontSize",+k.substr(9)):k&&k.indexOf("fontfamily-")===0&&U("fontFamily","fontFamily",k.substr(11))})}function a(K,k,j){var z=K.getInlineStyleAt(j).toList(),M=z.filter(function(I){return I.startsWith(k.toLowerCase())});if(M&&M.size>0)return M.get(0)}function d(K,k){var j=K.getCurrentInlineStyle().toList(),z=j.filter(function(M){return M.startsWith(k.toLowerCase())});if(z&&z.size>0)return z.get(0)}function i(K,k){if(K&&k&&k.length>0){var j=function(){var z=K.getSelection(),M={};if(z.isCollapsed())return k.forEach(function(W){M[W]=d(K,W)}),{v:M};var I=z.getStartOffset(),X=z.getEndOffset(),$=(0,f.getSelectedBlocksList)(K);if($.size>0){for(var Q=0;Q<$.size;Q+=1)(function(W){var le=W===0?I:0,te=W===$.size-1?X:$.get(W).getText().length;le===te&&le===0?(le=1,te=2):le===te&&(le-=1);for(var pe=le;pe<te;pe+=1)(function(Le){Le===le?k.forEach(function(De){M[De]=a($.get(W),De,Le)}):k.forEach(function(De){M[De]&&M[De]!==a($.get(W),De,Le)&&(M[De]=void 0)})})(pe)})(Q);return{v:M}}}();if((j===void 0?"undefined":x(j))==="object")return j.v}return{}}function o(K){var k=K.getCurrentInlineStyle(),j=K.getCurrentContent();return k.forEach(function(z){j=F.Modifier.removeInlineStyle(j,K.getSelection(),z)}),F.EditorState.push(K,j,"change-inline-style")}Object.defineProperty(g,"__esModule",{value:!0}),g.getCustomStyleMap=void 0;var u=Object.assign||function(K){for(var k=1;k<arguments.length;k++){var j=arguments[k];for(var z in j)Object.prototype.hasOwnProperty.call(j,z)&&(K[z]=j[z])}return K},x=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(K){return typeof K}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K};g.getSelectionInlineStyle=E,g.getSelectionEntity=c,g.getEntityRange=l,g.toggleCustomInlineStyle=p,g.extractInlineStyle=s,g.getSelectionCustomInlineStyle=i,g.removeAllInlineStyles=o;var F=h(0),f=h(1),B={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}},U=function(K,k,j){B[K][K.toLowerCase()+"-"+j]=b({},""+k,j)};g.getCustomStyleMap=function(){return u({},B.color,B.bgcolor,B.fontSize,B.fontFamily,{CODE:B.CODE,SUPERSCRIPT:B.SUPERSCRIPT,SUBSCRIPT:B.SUBSCRIPT})}},function(C,g){C.exports=A},function(C,g,h){"use strict";function b(a){var d=a.getSelection();if(d.isCollapsed()){var i=a.getCurrentContent(),o=d.getStartKey(),u=i.getBlockForKey(o);if(!(0,s.isListBlock)(u)&&u.getType()!=="unstyled"&&u.getLength()===d.getStartOffset())return(0,p.insertNewUnstyledBlock)(a);if((0,s.isListBlock)(u)&&u.getLength()===0){var x=u.getDepth();if(x===0)return(0,p.removeSelectedBlocksStyle)(a);if(x>0)return(0,s.changeDepth)(a,-1,x)}}}function E(a){return a.which===13&&(a.getModifierState("Shift")||a.getModifierState("Alt")||a.getModifierState("Control"))}function c(a,d){return E(d)?a.getSelection().isCollapsed()?l.RichUtils.insertSoftNewline(a):(0,p.addLineBreakRemovingSelection)(a):b(a)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=c;var l=h(0),p=h(1),s=h(2)}])})},8768:function(J,D,r){"use strict";function S(p,s){if(!(p instanceof s))throw new TypeError("Cannot call a class as a function")}var A=r(24144),C=r(19543),g=r(5047),h=new RegExp(`\r
`,"g"),b=`
`,E={"text/rtf":1,"text/html":1};function c(p){if(p.kind=="file")return p.getAsFile()}var l=function(){function p(s){S(this,p),this.data=s,this.types=s.types?C(s.types):[]}return p.prototype.isRichText=function(){return this.getHTML()&&this.getText()?!0:this.isImage()?!1:this.types.some(function(a){return E[a]})},p.prototype.getText=function(){var a;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(a=this.data.getData("text/plain")):a=this.data.getData("Text")),a?a.replace(h,b):null},p.prototype.getHTML=function(){if(this.data.getData)if(this.types.length){if(this.types.indexOf("text/html")!=-1)return this.data.getData("text/html")}else return this.data.getData("Text")},p.prototype.isLink=function(){return this.types.some(function(a){return a.indexOf("Url")!=-1||a.indexOf("text/uri-list")!=-1||a.indexOf("text/x-moz-url")})},p.prototype.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var a=this.data.getData("text/x-moz-url").split(`
`);return a[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},p.prototype.isImage=function(){var a=this.types.some(function(u){return u.indexOf("application/x-moz-file")!=-1});if(a)return!0;for(var d=this.getFiles(),i=0;i<d.length;i++){var o=d[i].type;if(!A.isImage(o))return!1}return!0},p.prototype.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},p.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(c).filter(g.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},p.prototype.hasFiles=function(){return this.getFiles().length>0},p}();J.exports=l},16803:function(J){"use strict";J.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},24144:function(J){"use strict";var D={isImage:function(A){return r(A)[0]==="image"},isJpeg:function(A){var C=r(A);return D.isImage(A)&&(C[1]==="jpeg"||C[1]==="pjpeg")}};function r(S){return S.split("/")}J.exports=D},39937:function(J){"use strict";function D(S,A){return!!A&&(S===A.documentElement||S===A.body)}var r={getTop:function(A){var C=A.ownerDocument;return D(A,C)?C.body.scrollTop||C.documentElement.scrollTop:A.scrollTop},setTop:function(A,C){var g=A.ownerDocument;D(A,g)?g.body.scrollTop=g.documentElement.scrollTop=C:A.scrollTop=C},getLeft:function(A){var C=A.ownerDocument;return D(A,C)?C.body.scrollLeft||C.documentElement.scrollLeft:A.scrollLeft},setLeft:function(A,C){var g=A.ownerDocument;D(A,g)?g.body.scrollLeft=g.documentElement.scrollLeft=C:A.scrollLeft=C}};J.exports=r},68520:function(J,D,r){"use strict";var S=r(39404);function A(g,h){var b=C.get(g,h);return b==="auto"||b==="scroll"}var C={get:S,getScrollParent:function(h){if(!h)return null;for(var b=h.ownerDocument;h&&h!==b.body;){if(A(h,"overflow")||A(h,"overflowY")||A(h,"overflowX"))return h;h=h.parentNode}return b.defaultView||b.parentWindow}};J.exports=C},35343:function(J){"use strict";var D=`[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;\u30FB\u3001\u3002\u3008-\u3011\u3014-\u301F\uFF1A-\uFF1F\uFF01-\uFF0F\uFF3B-\uFF40\uFF5B-\uFF65\u2E2E\u061F\u066A-\u066C\u061B\u060C\u060D\uFD3E\uFD3F\u1801\u0964\u104A\u104B\u2010-\u2027\u2030-\u205E\xA1-\xB1\xB4-\xB8\xBA\xBB\xBF]`;J.exports={getPunctuation:function(){return D}}},26213:function(J){"use strict";function D(S,A){if(!(S instanceof A))throw new TypeError("Cannot call a class as a function")}var r=function(){function S(A){D(this,S),this._uri=A}return S.prototype.toString=function(){return this._uri},S}();J.exports=r},71873:function(J,D,r){"use strict";var S=r(83673),A=r(44083),C={L:"A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u01BA\u01BB\u01BC-\u01BF\u01C0-\u01C3\u01C4-\u0293\u0294\u0295-\u02AF\u02B0-\u02B8\u02BB-\u02C1\u02D0-\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376-\u0377\u037A\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0482\u048A-\u052F\u0531-\u0556\u0559\u055A-\u055F\u0561-\u0587\u0589\u0903\u0904-\u0939\u093B\u093D\u093E-\u0940\u0949-\u094C\u094E-\u094F\u0950\u0958-\u0961\u0964-\u0965\u0966-\u096F\u0970\u0971\u0972-\u0980\u0982-\u0983\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09BE-\u09C0\u09C7-\u09C8\u09CB-\u09CC\u09CE\u09D7\u09DC-\u09DD\u09DF-\u09E1\u09E6-\u09EF\u09F0-\u09F1\u09F4-\u09F9\u09FA\u0A03\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0ABE-\u0AC0\u0AC9\u0ACB-\u0ACC\u0AD0\u0AE0-\u0AE1\u0AE6-\u0AEF\u0AF0\u0B02-\u0B03\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47-\u0B48\u0B4B-\u0B4C\u0B57\u0B5C-\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B70\u0B71\u0B72-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BBF\u0BC1-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BEF\u0BF0-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C59\u0C60-\u0C61\u0C66-\u0C6F\u0C7F\u0C82-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CBE\u0CBF\u0CC0-\u0CC4\u0CC6\u0CC7-\u0CC8\u0CCA-\u0CCB\u0CD5-\u0CD6\u0CDE\u0CE0-\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF2\u0D02-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D57\u0D60-\u0D61\u0D66-\u0D6F\u0D70-\u0D75\u0D79\u0D7A-\u0D7F\u0D82-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF3\u0DF4\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E46\u0E4F\u0E50-\u0E59\u0E5A-\u0E5B\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F01-\u0F03\u0F04-\u0F12\u0F13\u0F14\u0F15-\u0F17\u0F1A-\u0F1F\u0F20-\u0F29\u0F2A-\u0F33\u0F34\u0F36\u0F38\u0F3E-\u0F3F\u0F40-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FCF\u0FD0-\u0FD4\u0FD5-\u0FD8\u0FD9-\u0FDA\u1000-\u102A\u102B-\u102C\u1031\u1038\u103B-\u103C\u103F\u1040-\u1049\u104A-\u104F\u1050-\u1055\u1056-\u1057\u105A-\u105D\u1061\u1062-\u1064\u1065-\u1066\u1067-\u106D\u106E-\u1070\u1075-\u1081\u1083-\u1084\u1087-\u108C\u108E\u108F\u1090-\u1099\u109A-\u109C\u109E-\u109F\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FB\u10FC\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u1368\u1369-\u137C\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166D-\u166E\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EB-\u16ED\u16EE-\u16F0\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1735-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7-\u17C8\u17D4-\u17D6\u17D7\u17D8-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1842\u1843\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930-\u1931\u1933-\u1938\u1946-\u194F\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C0\u19C1-\u19C7\u19C8-\u19C9\u19D0-\u19D9\u19DA\u1A00-\u1A16\u1A19-\u1A1A\u1A1E-\u1A1F\u1A20-\u1A54\u1A55\u1A57\u1A61\u1A63-\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AA6\u1AA7\u1AA8-\u1AAD\u1B04\u1B05-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B44\u1B45-\u1B4B\u1B50-\u1B59\u1B5A-\u1B60\u1B61-\u1B6A\u1B74-\u1B7C\u1B82\u1B83-\u1BA0\u1BA1\u1BA6-\u1BA7\u1BAA\u1BAE-\u1BAF\u1BB0-\u1BB9\u1BBA-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2-\u1BF3\u1BFC-\u1BFF\u1C00-\u1C23\u1C24-\u1C2B\u1C34-\u1C35\u1C3B-\u1C3F\u1C40-\u1C49\u1C4D-\u1C4F\u1C50-\u1C59\u1C5A-\u1C77\u1C78-\u1C7D\u1C7E-\u1C7F\u1CC0-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF2-\u1CF3\u1CF5-\u1CF6\u1D00-\u1D2B\u1D2C-\u1D6A\u1D6B-\u1D77\u1D78\u1D79-\u1D9A\u1D9B-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2134\u2135-\u2138\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2182\u2183-\u2184\u2185-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2C7B\u2C7C-\u2C7D\u2C7E-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005\u3006\u3007\u3021-\u3029\u302E-\u302F\u3031-\u3035\u3038-\u303A\u303B\u303C\u3041-\u3096\u309D-\u309E\u309F\u30A1-\u30FA\u30FC-\u30FE\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u3191\u3192-\u3195\u3196-\u319F\u31A0-\u31BA\u31F0-\u31FF\u3200-\u321C\u3220-\u3229\u322A-\u3247\u3248-\u324F\u3260-\u327B\u327F\u3280-\u3289\u328A-\u32B0\u32C0-\u32CB\u32D0-\u32FE\u3300-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA014\uA015\uA016-\uA48C\uA4D0-\uA4F7\uA4F8-\uA4FD\uA4FE-\uA4FF\uA500-\uA60B\uA60C\uA610-\uA61F\uA620-\uA629\uA62A-\uA62B\uA640-\uA66D\uA66E\uA680-\uA69B\uA69C-\uA69D\uA6A0-\uA6E5\uA6E6-\uA6EF\uA6F2-\uA6F7\uA722-\uA76F\uA770\uA771-\uA787\uA789-\uA78A\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B1\uA7F7\uA7F8-\uA7F9\uA7FA\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA823-\uA824\uA827\uA830-\uA835\uA836-\uA837\uA840-\uA873\uA880-\uA881\uA882-\uA8B3\uA8B4-\uA8C3\uA8CE-\uA8CF\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8F8-\uA8FA\uA8FB\uA900-\uA909\uA90A-\uA925\uA92E-\uA92F\uA930-\uA946\uA952-\uA953\uA95F\uA960-\uA97C\uA983\uA984-\uA9B2\uA9B4-\uA9B5\uA9BA-\uA9BB\uA9BD-\uA9C0\uA9C1-\uA9CD\uA9CF\uA9D0-\uA9D9\uA9DE-\uA9DF\uA9E0-\uA9E4\uA9E6\uA9E7-\uA9EF\uA9F0-\uA9F9\uA9FA-\uA9FE\uAA00-\uAA28\uAA2F-\uAA30\uAA33-\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA5F\uAA60-\uAA6F\uAA70\uAA71-\uAA76\uAA77-\uAA79\uAA7A\uAA7B\uAA7D\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAADD\uAADE-\uAADF\uAAE0-\uAAEA\uAAEB\uAAEE-\uAAEF\uAAF0-\uAAF1\uAAF2\uAAF3-\uAAF4\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5B\uAB5C-\uAB5F\uAB64-\uAB65\uABC0-\uABE2\uABE3-\uABE4\uABE6-\uABE7\uABE9-\uABEA\uABEB\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uE000-\uF8FF\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFF6F\uFF70\uFF71-\uFF9D\uFF9E-\uFF9F\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",R:"\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05D0-\u05EA\u05EB-\u05EF\u05F0-\u05F2\u05F3-\u05F4\u05F5-\u05FF\u07C0-\u07C9\u07CA-\u07EA\u07F4-\u07F5\u07FA\u07FB-\u07FF\u0800-\u0815\u081A\u0824\u0828\u082E-\u082F\u0830-\u083E\u083F\u0840-\u0858\u085C-\u085D\u085E\u085F-\u089F\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB37\uFB38-\uFB3C\uFB3D\uFB3E\uFB3F\uFB40-\uFB41\uFB42\uFB43-\uFB44\uFB45\uFB46-\uFB4F",AL:"\u0608\u060B\u060D\u061B\u061C\u061D\u061E-\u061F\u0620-\u063F\u0640\u0641-\u064A\u066D\u066E-\u066F\u0671-\u06D3\u06D4\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FD-\u06FE\u06FF\u0700-\u070D\u070E\u070F\u0710\u0712-\u072F\u074B-\u074C\u074D-\u07A5\u07B1\u07B2-\u07BF\u08A0-\u08B2\u08B3-\u08E3\uFB50-\uFBB1\uFBB2-\uFBC1\uFBC2-\uFBD2\uFBD3-\uFD3D\uFD40-\uFD4F\uFD50-\uFD8F\uFD90-\uFD91\uFD92-\uFDC7\uFDC8-\uFDCF\uFDF0-\uFDFB\uFDFC\uFDFE-\uFDFF\uFE70-\uFE74\uFE75\uFE76-\uFEFC\uFEFD-\uFEFE"},g=new RegExp("["+C.L+C.R+C.AL+"]"),h=new RegExp("["+C.R+C.AL+"]");function b(d){var i=g.exec(d);return i==null?null:i[0]}function E(d){var i=b(d);return i==null?S.NEUTRAL:h.exec(i)?S.RTL:S.LTR}function c(d,i){if(i=i||S.NEUTRAL,!d.length)return i;var o=E(d);return o===S.NEUTRAL?i:o}function l(d,i){return i||(i=S.getGlobalDir()),S.isStrong(i)||A(!1),c(d,i)}function p(d,i){return l(d,i)===S.LTR}function s(d,i){return l(d,i)===S.RTL}var a={firstStrongChar:b,firstStrongCharDir:E,resolveBlockDir:c,getDirection:l,isDirectionLTR:p,isDirectionRTL:s};J.exports=a},83673:function(J,D,r){"use strict";var S=r(44083),A="NEUTRAL",C="LTR",g="RTL",h=null;function b(d){return d===C||d===g}function E(d){return b(d)||S(!1),d===C?"ltr":"rtl"}function c(d,i){return b(d)||S(!1),b(i)||S(!1),d===i?null:E(d)}function l(d){h=d}function p(){l(C)}function s(){return h||this.initGlobalDir(),h||S(!1),h}var a={NEUTRAL:A,LTR:C,RTL:g,isStrong:b,getHTMLDir:E,getHTMLDirIfDifferent:c,setGlobalDir:l,initGlobalDir:p,getGlobalDir:s};J.exports=a},84720:function(J,D,r){"use strict";function S(b,E){if(!(b instanceof E))throw new TypeError("Cannot call a class as a function")}var A=r(71873),C=r(83673),g=r(44083),h=function(){function b(E){S(this,b),E?C.isStrong(E)||g(!1):E=C.getGlobalDir(),this._defaultDir=E,this.reset()}return b.prototype.reset=function(){this._lastDir=this._defaultDir},b.prototype.getDirection=function(c){return this._lastDir=A.getDirection(c,this._lastDir),this._lastDir},b}();J.exports=h},11568:function(J,D,r){"use strict";var S=r(44083),A=55296,C=56319,g=56320,h=57343,b=/[\uD800-\uDFFF]/;function E(u){return A<=u&&u<=h}function c(u,x){if(0<=x&&x<u.length||S(!1),x+1===u.length)return!1;var F=u.charCodeAt(x),f=u.charCodeAt(x+1);return A<=F&&F<=C&&g<=f&&f<=h}function l(u){return b.test(u)}function p(u,x){return 1+E(u.charCodeAt(x))}function s(u){if(!l(u))return u.length;for(var x=0,F=0;F<u.length;F+=p(u,F))x++;return x}function a(u,x,F){if(x=x||0,F=F===void 0?1/0:F||0,!l(u))return u.substr(x,F);var f=u.length;if(f<=0||x>f||F<=0)return"";var B=0;if(x>0){for(;x>0&&B<f;x--)B+=p(u,B);if(B>=f)return""}else if(x<0){for(B=f;x<0&&0<B;x++)B-=p(u,B-1);B<0&&(B=0)}var U=f;if(F<f)for(U=B;F>0&&U<f;F--)U+=p(u,U);return u.substring(B,U)}function d(u,x,F){x=x||0,F=F===void 0?1/0:F||0,x<0&&(x=0),F<0&&(F=0);var f=Math.abs(F-x);return x=x<F?x:F,a(u,x,f)}function i(u){for(var x=[],F=0;F<u.length;F+=p(u,F))x.push(u.codePointAt(F));return x}var o={getCodePoints:i,getUTF16Length:p,hasSurrogateUnit:l,isCodeUnitInSurrogateRange:E,isSurrogatePair:c,strlen:s,substring:d,substr:a};J.exports=o},13567:function(J,D,r){"use strict";var S=r(92424),A=r(72357),C=r(20181),g=r(36353);function h(c,l,p,s){if(c===p)return!0;if(!p.startsWith(c))return!1;var a=p.slice(c.length);return l?(a=s?s(a):a,A.contains(a,l)):!1}function b(c){return S.platformName==="Windows"?c.replace(/^\s*NT/,""):c}var E={isBrowser:function(l){return h(S.browserName,S.browserFullVersion,l)},isBrowserArchitecture:function(l){return h(S.browserArchitecture,null,l)},isDevice:function(l){return h(S.deviceName,null,l)},isEngine:function(l){return h(S.engineName,S.engineVersion,l)},isPlatform:function(l){return h(S.platformName,S.platformFullVersion,l,b)},isPlatformArchitecture:function(l){return h(S.platformArchitecture,null,l)}};J.exports=C(E,g)},92424:function(J,D,r){"use strict";var S=r(9406),A="Unknown",C={"Mac OS":"Mac OS X"};function g(p){return C[p]||p}function h(p){if(!p)return{major:"",minor:""};var s=p.split(".");return{major:s[0],minor:s[1]}}var b=new S,E=b.getResult(),c=h(E.browser.version),l={browserArchitecture:E.cpu.architecture||A,browserFullVersion:E.browser.version||A,browserMinorVersion:c.minor||A,browserName:E.browser.name||A,browserVersion:E.browser.major||A,deviceName:E.device.model||A,engineName:E.engine.name||A,engineVersion:E.engine.version||A,platformArchitecture:E.cpu.architecture||A,platformName:g(E.os.name)||A,platformVersion:E.os.version||A,platformFullVersion:E.os.version||A};J.exports=l},72357:function(J,D,r){"use strict";var S=r(44083),A=/\./,C=/\|\|/,g=/\s+\-\s+/,h=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,b=/^(\d*)(.*)/;function E(z,M){var I=z.split(C);return I.length>1?I.some(function(X){return j.contains(X,M)}):(z=I[0].trim(),c(z,M))}function c(z,M){var I=z.split(g);if(I.length>0&&I.length<=2||S(!1),I.length===1)return l(I[0],M);var X=I[0],$=I[1];return F(X)&&F($)||S(!1),l(">="+X,M)&&l("<="+$,M)}function l(z,M){if(z=z.trim(),z==="")return!0;var I=M.split(A),X=u(z),$=X.modifier,Q=X.rangeComponents;switch($){case"<":return p(I,Q);case"<=":return s(I,Q);case">=":return d(I,Q);case">":return i(I,Q);case"~":case"~>":return o(I,Q);default:return a(I,Q)}}function p(z,M){return k(z,M)===-1}function s(z,M){var I=k(z,M);return I===-1||I===0}function a(z,M){return k(z,M)===0}function d(z,M){var I=k(z,M);return I===1||I===0}function i(z,M){return k(z,M)===1}function o(z,M){var I=M.slice(),X=M.slice();X.length>1&&X.pop();var $=X.length-1,Q=parseInt(X[$],10);return x(Q)&&(X[$]=Q+1+""),d(z,I)&&p(z,X)}function u(z){var M=z.split(A),I=M[0].match(h);return I||S(!1),{modifier:I[1],rangeComponents:[I[2]].concat(M.slice(1))}}function x(z){return!isNaN(z)&&isFinite(z)}function F(z){return!u(z).modifier}function f(z,M){for(var I=z.length;I<M;I++)z[I]="0"}function B(z,M){z=z.slice(),M=M.slice(),f(z,M.length);for(var I=0;I<M.length;I++){var X=M[I].match(/^[x*]$/i);if(X&&(M[I]=z[I]="0",X[0]==="*"&&I===M.length-1))for(var $=I;$<z.length;$++)z[$]="0"}return f(M,z.length),[z,M]}function U(z,M){var I=z.match(b)[1],X=M.match(b)[1],$=parseInt(I,10),Q=parseInt(X,10);return x($)&&x(Q)&&$!==Q?K($,Q):K(z,M)}function K(z,M){return typeof z!=typeof M&&S(!1),z>M?1:z<M?-1:0}function k(z,M){for(var I=B(z,M),X=I[0],$=I[1],Q=0;Q<$.length;Q++){var W=U(X[Q],$[Q]);if(W)return W}return 0}var j={contains:function(M,I){return E(M.trim(),I.trim())}};J.exports=j},98016:function(J){"use strict";var D=/-(.)/g;function r(S){return S.replace(D,function(A,C){return C.toUpperCase()})}J.exports=r},29558:function(J,D,r){"use strict";var S=r(46683);function A(C,g){return!C||!g?!1:C===g?!0:S(C)?!1:S(g)?A(C,g.parentNode):"contains"in C?C.contains(g):C.compareDocumentPosition?!!(C.compareDocumentPosition(g)&16):!1}J.exports=A},19543:function(J,D,r){"use strict";var S=r(44083);function A(h){var b=h.length;if(!Array.isArray(h)&&(typeof h=="object"||typeof h=="function")||S(!1),typeof b!="number"&&S(!1),b===0||b-1 in h||S(!1),typeof h.callee=="function"&&S(!1),h.hasOwnProperty)try{return Array.prototype.slice.call(h)}catch(l){}for(var E=Array(b),c=0;c<b;c++)E[c]=h[c];return E}function C(h){return!!h&&(typeof h=="object"||typeof h=="function")&&"length"in h&&!("setInterval"in h)&&typeof h.nodeType!="number"&&(Array.isArray(h)||"callee"in h||"item"in h)}function g(h){return C(h)?Array.isArray(h)?h.slice():A(h):[h]}J.exports=g},47471:function(J){"use strict";function D(S){return typeof S=="object"?Object.keys(S).filter(function(A){return S[A]}).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}function r(S){return S.replace(/\//g,"-")}J.exports=D},5047:function(J){"use strict";function D(S){return function(){return S}}var r=function(){};r.thatReturns=D,r.thatReturnsFalse=D(!1),r.thatReturnsTrue=D(!0),r.thatReturnsNull=D(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(S){return S},J.exports=r},21026:function(J){"use strict";function D(r){if(r=r||(typeof document!="undefined"?document:void 0),typeof r=="undefined")return null;try{return r.activeElement||r.body}catch(S){return r.body}}J.exports=D},43150:function(J){"use strict";var D=typeof navigator!="undefined"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function r(S){return S=S||document,S.scrollingElement?S.scrollingElement:!D&&S.compatMode==="CSS1Compat"?S.documentElement:S.body}J.exports=r},18850:function(J,D,r){"use strict";var S=r(44175);function A(C){var g=S(C);return{x:g.left,y:g.top,width:g.right-g.left,height:g.bottom-g.top}}J.exports=A},44175:function(J,D,r){"use strict";var S=r(29558);function A(C){var g=C.ownerDocument.documentElement;if(!("getBoundingClientRect"in C)||!S(g,C))return{left:0,right:0,top:0,bottom:0};var h=C.getBoundingClientRect();return{left:Math.round(h.left)-g.clientLeft,right:Math.round(h.right)-g.clientLeft,top:Math.round(h.top)-g.clientTop,bottom:Math.round(h.bottom)-g.clientTop}}J.exports=A},56182:function(J,D,r){"use strict";var S=r(43150),A=r(76488);function C(g){var h=S(g.ownerDocument||g.document);g.Window&&g instanceof g.Window&&(g=h);var b=A(g),E=g===h?g.ownerDocument.documentElement:g,c=g.scrollWidth-E.clientWidth,l=g.scrollHeight-E.clientHeight;return b.x=Math.max(0,Math.min(b.x,c)),b.y=Math.max(0,Math.min(b.y,l)),b}J.exports=C},39404:function(J,D,r){"use strict";var S=r(98016),A=r(78019);function C(h){return h==null?h:String(h)}function g(h,b){var E=void 0;if(window.getComputedStyle&&(E=window.getComputedStyle(h,null),E))return C(E.getPropertyValue(A(b)));if(document.defaultView&&document.defaultView.getComputedStyle){if(E=document.defaultView.getComputedStyle(h,null),E)return C(E.getPropertyValue(A(b)));if(b==="display")return"none"}return h.currentStyle?C(b==="float"?h.currentStyle.cssFloat||h.currentStyle.styleFloat:h.currentStyle[S(b)]):C(h.style&&h.style[S(b)])}J.exports=g},76488:function(J){"use strict";function D(r){return r.Window&&r instanceof r.Window?{x:r.pageXOffset||r.document.documentElement.scrollLeft,y:r.pageYOffset||r.document.documentElement.scrollTop}:{x:r.scrollLeft,y:r.scrollTop}}J.exports=D},92699:function(J){"use strict";function D(){var A=void 0;return document.documentElement&&(A=document.documentElement.clientWidth),!A&&document.body&&(A=document.body.clientWidth),A||0}function r(){var A=void 0;return document.documentElement&&(A=document.documentElement.clientHeight),!A&&document.body&&(A=document.body.clientHeight),A||0}function S(){return{width:window.innerWidth||D(),height:window.innerHeight||r()}}S.withoutScrollbars=function(){return{width:D(),height:r()}},J.exports=S},78019:function(J){"use strict";var D=/([A-Z])/g;function r(S){return S.replace(D,"-$1").toLowerCase()}J.exports=r},44083:function(J){"use strict";var D=function(A){};function r(S,A,C,g,h,b,E,c){if(D(A),!S){var l;if(A===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var p=[C,g,h,b,E,c],s=0;l=new Error(A.replace(/%s/g,function(){return p[s++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}J.exports=r},89139:function(J){"use strict";function D(r){var S=r?r.ownerDocument||r:document,A=S.defaultView||window;return!!(r&&(typeof A.Node=="function"?r instanceof A.Node:typeof r=="object"&&typeof r.nodeType=="number"&&typeof r.nodeName=="string"))}J.exports=D},46683:function(J,D,r){"use strict";var S=r(89139);function A(C){return S(C)&&C.nodeType==3}J.exports=A},72115:function(J){"use strict";function D(r){r||(r="");var S=void 0,A=arguments.length;if(A>1)for(var C=1;C<A;C++)S=arguments[C],S&&(r=(r?r+" ":"")+S);return r}J.exports=D},20181:function(J){"use strict";var D=Object.prototype.hasOwnProperty;function r(S,A,C){if(!S)return null;var g={};for(var h in S)D.call(S,h)&&(g[h]=A.call(C,S[h],h,S));return g}J.exports=r},36353:function(J){"use strict";function D(r){var S={};return function(A){return S.hasOwnProperty(A)||(S[A]=r.call(this,A)),S[A]}}J.exports=D},17e3:function(J){"use strict";var D=function(S){if(S!=null)return S;throw new Error("Got unexpected null or undefined")};J.exports=D},67241:function(J,D,r){"use strict";r(22353),J.exports=r.g.setImmediate},52724:function(J){(function(D,r){J.exports=r()})(this,function(){"use strict";var D=Array.prototype.slice;function r(e,n){n&&(e.prototype=Object.create(n.prototype)),e.prototype.constructor=e}function S(e){return h(e)?e:we(e)}r(A,S);function A(e){return b(e)?e:Me(e)}r(C,S);function C(e){return E(e)?e:Ne(e)}r(g,S);function g(e){return h(e)&&!c(e)?e:ze(e)}function h(e){return!!(e&&e[p])}function b(e){return!!(e&&e[s])}function E(e){return!!(e&&e[a])}function c(e){return b(e)||E(e)}function l(e){return!!(e&&e[d])}S.isIterable=h,S.isKeyed=b,S.isIndexed=E,S.isAssociative=c,S.isOrdered=l,S.Keyed=A,S.Indexed=C,S.Set=g;var p="@@__IMMUTABLE_ITERABLE__@@",s="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",i="delete",o=5,u=1<<o,x=u-1,F={},f={value:!1},B={value:!1};function U(e){return e.value=!1,e}function K(e){e&&(e.value=!0)}function k(){}function j(e,n){n=n||0;for(var T=Math.max(0,e.length-n),N=new Array(T),H=0;H<T;H++)N[H]=e[H+n];return N}function z(e){return e.size===void 0&&(e.size=e.__iterate(I)),e.size}function M(e,n){if(typeof n!="number"){var T=n>>>0;if(""+T!==n||T===4294967295)return NaN;n=T}return n<0?z(e)+n:n}function I(){return!0}function X(e,n,T){return(e===0||T!==void 0&&e<=-T)&&(n===void 0||T!==void 0&&n>=T)}function $(e,n){return W(e,n,0)}function Q(e,n){return W(e,n,n)}function W(e,n,T){return e===void 0?T:e<0?Math.max(0,n+e):n===void 0?e:Math.min(n,e)}var le=0,te=1,pe=2,Le=typeof Symbol=="function"&&Symbol.iterator,De="@@iterator",Z=Le||De;function Re(e){this.next=e}Re.prototype.toString=function(){return"[Iterator]"},Re.KEYS=le,Re.VALUES=te,Re.ENTRIES=pe,Re.prototype.inspect=Re.prototype.toSource=function(){return this.toString()},Re.prototype[Z]=function(){return this};function Ye(e,n,T,N){var H=e===0?n:e===1?T:[n,T];return N?N.value=H:N={value:H,done:!1},N}function _e(){return{value:void 0,done:!0}}function Ze(e){return!!ye(e)}function qe(e){return e&&typeof e.next=="function"}function me(e){var n=ye(e);return n&&n.call(e)}function ye(e){var n=e&&(Le&&e[Le]||e[De]);if(typeof n=="function")return n}function Te(e){return e&&typeof e.length=="number"}r(we,S);function we(e){return e==null?V():h(e)?e.toSeq():fe(e)}we.of=function(){return we(arguments)},we.prototype.toSeq=function(){return this},we.prototype.toString=function(){return this.__toString("Seq {","}")},we.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},we.prototype.__iterate=function(e,n){return be(this,e,n,!0)},we.prototype.__iterator=function(e,n){return ke(this,e,n,!0)},r(Me,we);function Me(e){return e==null?V().toKeyedSeq():h(e)?b(e)?e.toSeq():e.fromEntrySeq():Y(e)}Me.prototype.toKeyedSeq=function(){return this},r(Ne,we);function Ne(e){return e==null?V():h(e)?b(e)?e.entrySeq():e.toIndexedSeq():ne(e)}Ne.of=function(){return Ne(arguments)},Ne.prototype.toIndexedSeq=function(){return this},Ne.prototype.toString=function(){return this.__toString("Seq [","]")},Ne.prototype.__iterate=function(e,n){return be(this,e,n,!1)},Ne.prototype.__iterator=function(e,n){return ke(this,e,n,!1)},r(ze,we);function ze(e){return(e==null?V():h(e)?b(e)?e.entrySeq():e:ne(e)).toSetSeq()}ze.of=function(){return ze(arguments)},ze.prototype.toSetSeq=function(){return this},we.isSeq=Dt,we.Keyed=Me,we.Set=ze,we.Indexed=Ne;var We="@@__IMMUTABLE_SEQ__@@";we.prototype[We]=!0,r(rt,Ne);function rt(e){this._array=e,this.size=e.length}rt.prototype.get=function(e,n){return this.has(e)?this._array[M(this,e)]:n},rt.prototype.__iterate=function(e,n){for(var T=this._array,N=T.length-1,H=0;H<=N;H++)if(e(T[n?N-H:H],H,this)===!1)return H+1;return H},rt.prototype.__iterator=function(e,n){var T=this._array,N=T.length-1,H=0;return new Re(function(){return H>N?_e():Ye(e,H,T[n?N-H++:H++])})},r(Fe,Me);function Fe(e){var n=Object.keys(e);this._object=e,this._keys=n,this.size=n.length}Fe.prototype.get=function(e,n){return n!==void 0&&!this.has(e)?n:this._object[e]},Fe.prototype.has=function(e){return this._object.hasOwnProperty(e)},Fe.prototype.__iterate=function(e,n){for(var T=this._object,N=this._keys,H=N.length-1,ee=0;ee<=H;ee++){var oe=N[n?H-ee:ee];if(e(T[oe],oe,this)===!1)return ee+1}return ee},Fe.prototype.__iterator=function(e,n){var T=this._object,N=this._keys,H=N.length-1,ee=0;return new Re(function(){var oe=N[n?H-ee:ee];return ee++>H?_e():Ye(e,oe,T[oe])})},Fe.prototype[d]=!0,r(Je,Ne);function Je(e){this._iterable=e,this.size=e.length||e.size}Je.prototype.__iterateUncached=function(e,n){if(n)return this.cacheResult().__iterate(e,n);var T=this._iterable,N=me(T),H=0;if(qe(N))for(var ee;!(ee=N.next()).done&&e(ee.value,H++,this)!==!1;);return H},Je.prototype.__iteratorUncached=function(e,n){if(n)return this.cacheResult().__iterator(e,n);var T=this._iterable,N=me(T);if(!qe(N))return new Re(_e);var H=0;return new Re(function(){var ee=N.next();return ee.done?ee:Ye(e,H++,ee.value)})},r(pt,Ne);function pt(e){this._iterator=e,this._iteratorCache=[]}pt.prototype.__iterateUncached=function(e,n){if(n)return this.cacheResult().__iterate(e,n);for(var T=this._iterator,N=this._iteratorCache,H=0;H<N.length;)if(e(N[H],H++,this)===!1)return H;for(var ee;!(ee=T.next()).done;){var oe=ee.value;if(N[H]=oe,e(oe,H++,this)===!1)break}return H},pt.prototype.__iteratorUncached=function(e,n){if(n)return this.cacheResult().__iterator(e,n);var T=this._iterator,N=this._iteratorCache,H=0;return new Re(function(){if(H>=N.length){var ee=T.next();if(ee.done)return ee;N[H]=ee.value}return Ye(e,H,N[H++])})};function Dt(e){return!!(e&&e[We])}var Se;function V(){return Se||(Se=new rt([]))}function Y(e){var n=Array.isArray(e)?new rt(e).fromEntrySeq():qe(e)?new pt(e).fromEntrySeq():Ze(e)?new Je(e).fromEntrySeq():typeof e=="object"?new Fe(e):void 0;if(!n)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return n}function ne(e){var n=he(e);if(!n)throw new TypeError("Expected Array or iterable object of values: "+e);return n}function fe(e){var n=he(e)||typeof e=="object"&&new Fe(e);if(!n)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return n}function he(e){return Te(e)?new rt(e):qe(e)?new pt(e):Ze(e)?new Je(e):void 0}function be(e,n,T,N){var H=e._cache;if(H){for(var ee=H.length-1,oe=0;oe<=ee;oe++){var se=H[T?ee-oe:oe];if(n(se[1],N?se[0]:oe,e)===!1)return oe+1}return oe}return e.__iterateUncached(n,T)}function ke(e,n,T,N){var H=e._cache;if(H){var ee=H.length-1,oe=0;return new Re(function(){var se=H[T?ee-oe:oe];return oe++>ee?_e():Ye(n,N?se[0]:oe-1,se[1])})}return e.__iteratorUncached(n,T)}function Oe(e,n){return n?Ke(n,e,"",{"":e}):Ve(e)}function Ke(e,n,T,N){return Array.isArray(n)?e.call(N,T,Ne(n).map(function(H,ee){return Ke(e,H,ee,n)})):et(n)?e.call(N,T,Me(n).map(function(H,ee){return Ke(e,H,ee,n)})):n}function Ve(e){return Array.isArray(e)?Ne(e).map(Ve).toList():et(e)?Me(e).map(Ve).toMap():e}function et(e){return e&&(e.constructor===Object||e.constructor===void 0)}function Pe(e,n){if(e===n||e!==e&&n!==n)return!0;if(!e||!n)return!1;if(typeof e.valueOf=="function"&&typeof n.valueOf=="function"){if(e=e.valueOf(),n=n.valueOf(),e===n||e!==e&&n!==n)return!0;if(!e||!n)return!1}return!!(typeof e.equals=="function"&&typeof n.equals=="function"&&e.equals(n))}function at(e,n){if(e===n)return!0;if(!h(n)||e.size!==void 0&&n.size!==void 0&&e.size!==n.size||e.__hash!==void 0&&n.__hash!==void 0&&e.__hash!==n.__hash||b(e)!==b(n)||E(e)!==E(n)||l(e)!==l(n))return!1;if(e.size===0&&n.size===0)return!0;var T=!c(e);if(l(e)){var N=e.entries();return n.every(function(Ae,ue){var Ie=N.next().value;return Ie&&Pe(Ie[1],Ae)&&(T||Pe(Ie[0],ue))})&&N.next().done}var H=!1;if(e.size===void 0)if(n.size===void 0)typeof e.cacheResult=="function"&&e.cacheResult();else{H=!0;var ee=e;e=n,n=ee}var oe=!0,se=n.__iterate(function(Ae,ue){if(T?!e.has(Ae):H?!Pe(Ae,e.get(ue,F)):!Pe(e.get(ue,F),Ae))return oe=!1,!1});return oe&&e.size===se}r(mt,Ne);function mt(e,n){if(!(this instanceof mt))return new mt(e,n);if(this._value=e,this.size=n===void 0?1/0:Math.max(0,n),this.size===0){if(Tt)return Tt;Tt=this}}mt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},mt.prototype.get=function(e,n){return this.has(e)?this._value:n},mt.prototype.includes=function(e){return Pe(this._value,e)},mt.prototype.slice=function(e,n){var T=this.size;return X(e,n,T)?this:new mt(this._value,Q(n,T)-$(e,T))},mt.prototype.reverse=function(){return this},mt.prototype.indexOf=function(e){return Pe(this._value,e)?0:-1},mt.prototype.lastIndexOf=function(e){return Pe(this._value,e)?this.size:-1},mt.prototype.__iterate=function(e,n){for(var T=0;T<this.size;T++)if(e(this._value,T,this)===!1)return T+1;return T},mt.prototype.__iterator=function(e,n){var T=this,N=0;return new Re(function(){return N<T.size?Ye(e,N++,T._value):_e()})},mt.prototype.equals=function(e){return e instanceof mt?Pe(this._value,e._value):at(e)};var Tt;function St(e,n){if(!e)throw new Error(n)}r(At,Ne);function At(e,n,T){if(!(this instanceof At))return new At(e,n,T);if(St(T!==0,"Cannot step a Range by 0"),e=e||0,n===void 0&&(n=1/0),T=T===void 0?1:Math.abs(T),n<e&&(T=-T),this._start=e,this._end=n,this._step=T,this.size=Math.max(0,Math.ceil((n-e)/T-1)+1),this.size===0){if(Yt)return Yt;Yt=this}}At.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},At.prototype.get=function(e,n){return this.has(e)?this._start+M(this,e)*this._step:n},At.prototype.includes=function(e){var n=(e-this._start)/this._step;return n>=0&&n<this.size&&n===Math.floor(n)},At.prototype.slice=function(e,n){return X(e,n,this.size)?this:(e=$(e,this.size),n=Q(n,this.size),n<=e?new At(0,0):new At(this.get(e,this._end),this.get(n,this._end),this._step))},At.prototype.indexOf=function(e){var n=e-this._start;if(n%this._step===0){var T=n/this._step;if(T>=0&&T<this.size)return T}return-1},At.prototype.lastIndexOf=function(e){return this.indexOf(e)},At.prototype.__iterate=function(e,n){for(var T=this.size-1,N=this._step,H=n?this._start+T*N:this._start,ee=0;ee<=T;ee++){if(e(H,ee,this)===!1)return ee+1;H+=n?-N:N}return ee},At.prototype.__iterator=function(e,n){var T=this.size-1,N=this._step,H=n?this._start+T*N:this._start,ee=0;return new Re(function(){var oe=H;return H+=n?-N:N,ee>T?_e():Ye(e,ee++,oe)})},At.prototype.equals=function(e){return e instanceof At?this._start===e._start&&this._end===e._end&&this._step===e._step:at(this,e)};var Yt;r(Gt,S);function Gt(){throw TypeError("Abstract")}r(ae,Gt);function ae(){}r(ce,Gt);function ce(){}r(Ce,Gt);function Ce(){}Gt.Keyed=ae,Gt.Indexed=ce,Gt.Set=Ce;var xe=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(n,T){n=n|0,T=T|0;var N=n&65535,H=T&65535;return N*H+((n>>>16)*H+N*(T>>>16)<<16>>>0)|0};function He(e){return e>>>1&1073741824|e&3221225471}function je(e){if(e===!1||e===null||e===void 0||typeof e.valueOf=="function"&&(e=e.valueOf(),e===!1||e===null||e===void 0))return 0;if(e===!0)return 1;var n=typeof e;if(n==="number"){var T=e|0;for(T!==e&&(T^=e*4294967295);e>4294967295;)e/=4294967295,T^=e;return He(T)}if(n==="string")return e.length>ft?gt(e):it(e);if(typeof e.hashCode=="function")return e.hashCode();if(n==="object")return Et(e);if(typeof e.toString=="function")return it(e.toString());throw new Error("Value type "+n+" cannot be hashed.")}function gt(e){var n=Ot[e];return n===void 0&&(n=it(e),Ht===jt&&(Ht=0,Ot={}),Ht++,Ot[e]=n),n}function it(e){for(var n=0,T=0;T<e.length;T++)n=31*n+e.charCodeAt(T)|0;return He(n)}function Et(e){var n;if(Ct&&(n=nt.get(e),n!==void 0)||(n=e[ht],n!==void 0)||!wt&&(n=e.propertyIsEnumerable&&e.propertyIsEnumerable[ht],n!==void 0||(n=ut(e),n!==void 0)))return n;if(n=++ct,ct&1073741824&&(ct=0),Ct)nt.set(e,n);else{if(ot!==void 0&&ot(e)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(wt)Object.defineProperty(e,ht,{enumerable:!1,configurable:!1,writable:!1,value:n});else if(e.propertyIsEnumerable!==void 0&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[ht]=n;else if(e.nodeType!==void 0)e[ht]=n;else throw new Error("Unable to set a non-enumerable property on object.")}return n}var ot=Object.isExtensible,wt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function ut(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Ct=typeof WeakMap=="function",nt;Ct&&(nt=new WeakMap);var ct=0,ht="__immutablehash__";typeof Symbol=="function"&&(ht=Symbol(ht));var ft=16,jt=255,Ht=0,Ot={};function Ft(e){St(e!==1/0,"Cannot perform this action with an infinite size.")}r(st,ae);function st(e){return e==null?$t():Mt(e)&&!l(e)?e:$t().withMutations(function(n){var T=A(e);Ft(T.size),T.forEach(function(N,H){return n.set(H,N)})})}st.prototype.toString=function(){return this.__toString("Map {","}")},st.prototype.get=function(e,n){return this._root?this._root.get(0,void 0,e,n):n},st.prototype.set=function(e,n){return An(this,e,n)},st.prototype.setIn=function(e,n){return this.updateIn(e,F,function(){return n})},st.prototype.remove=function(e){return An(this,e,F)},st.prototype.deleteIn=function(e){return this.updateIn(e,function(){return F})},st.prototype.update=function(e,n,T){return arguments.length===1?e(this):this.updateIn([e],n,T)},st.prototype.updateIn=function(e,n,T){T||(T=n,n=void 0);var N=rr(this,er(e),n,T);return N===F?void 0:N},st.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):$t()},st.prototype.merge=function(){return Fn(this,void 0,arguments)},st.prototype.mergeWith=function(e){var n=D.call(arguments,1);return Fn(this,e,n)},st.prototype.mergeIn=function(e){var n=D.call(arguments,1);return this.updateIn(e,$t(),function(T){return typeof T.merge=="function"?T.merge.apply(T,n):n[n.length-1]})},st.prototype.mergeDeep=function(){return Fn(this,$n,arguments)},st.prototype.mergeDeepWith=function(e){var n=D.call(arguments,1);return Fn(this,nr(e),n)},st.prototype.mergeDeepIn=function(e){var n=D.call(arguments,1);return this.updateIn(e,$t(),function(T){return typeof T.mergeDeep=="function"?T.mergeDeep.apply(T,n):n[n.length-1]})},st.prototype.sort=function(e){return Wt(xn(this,e))},st.prototype.sortBy=function(e,n){return Wt(xn(this,n,e))},st.prototype.withMutations=function(e){var n=this.asMutable();return e(n),n.wasAltered()?n.__ensureOwner(this.__ownerID):this},st.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},st.prototype.asImmutable=function(){return this.__ensureOwner()},st.prototype.wasAltered=function(){return this.__altered},st.prototype.__iterator=function(e,n){return new Qt(this,e,n)},st.prototype.__iterate=function(e,n){var T=this,N=0;return this._root&&this._root.iterate(function(H){return N++,e(H[1],H[0],T)},n),N},st.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)};function Mt(e){return!!(e&&e[Bt])}st.isMap=Mt;var Bt="@@__IMMUTABLE_MAP__@@",lt=st.prototype;lt[Bt]=!0,lt[i]=lt.remove,lt.removeIn=lt.deleteIn;function Rt(e,n){this.ownerID=e,this.entries=n}Rt.prototype.get=function(e,n,T,N){for(var H=this.entries,ee=0,oe=H.length;ee<oe;ee++)if(Pe(T,H[ee][0]))return H[ee][1];return N},Rt.prototype.update=function(e,n,T,N,H,ee,oe){for(var se=H===F,Ae=this.entries,ue=0,Ie=Ae.length;ue<Ie&&!Pe(N,Ae[ue][0]);ue++);var Ge=ue<Ie;if(Ge?Ae[ue][1]===H:se)return this;if(K(oe),(se||!Ge)&&K(ee),!(se&&Ae.length===1)){if(!Ge&&!se&&Ae.length>=_)return mn(e,Ae,N,H);var $e=e&&e===this.ownerID,yt=$e?Ae:j(Ae);return Ge?se?ue===Ie-1?yt.pop():yt[ue]=yt.pop():yt[ue]=[N,H]:yt.push([N,H]),$e?(this.entries=yt,this):new Rt(e,yt)}};function Ut(e,n,T){this.ownerID=e,this.bitmap=n,this.nodes=T}Ut.prototype.get=function(e,n,T,N){n===void 0&&(n=je(T));var H=1<<((e===0?n:n>>>e)&x),ee=this.bitmap;return ee&H?this.nodes[jn(ee&H-1)].get(e+o,n,T,N):N},Ut.prototype.update=function(e,n,T,N,H,ee,oe){T===void 0&&(T=je(N));var se=(n===0?T:T>>>n)&x,Ae=1<<se,ue=this.bitmap,Ie=(ue&Ae)!==0;if(!Ie&&H===F)return this;var Ge=jn(ue&Ae-1),$e=this.nodes,yt=Ie?$e[Ge]:void 0,kt=gn(yt,e,n+o,T,N,H,ee,oe);if(kt===yt)return this;if(!Ie&&kt&&$e.length>=ie)return pn(e,$e,ue,se,kt);if(Ie&&!kt&&$e.length===2&&vn($e[Ge^1]))return $e[Ge^1];if(Ie&&kt&&$e.length===1&&vn(kt))return kt;var Kt=e&&e===this.ownerID,Dn=Ie?kt?ue:ue^Ae:ue|Ae,Ln=Ie?kt?Zn($e,Ge,kt,Kt):L($e,Ge,Kt):y($e,Ge,kt,Kt);return Kt?(this.bitmap=Dn,this.nodes=Ln,this):new Ut(e,Dn,Ln)};function _t(e,n,T){this.ownerID=e,this.count=n,this.nodes=T}_t.prototype.get=function(e,n,T,N){n===void 0&&(n=je(T));var H=(e===0?n:n>>>e)&x,ee=this.nodes[H];return ee?ee.get(e+o,n,T,N):N},_t.prototype.update=function(e,n,T,N,H,ee,oe){T===void 0&&(T=je(N));var se=(n===0?T:T>>>n)&x,Ae=H===F,ue=this.nodes,Ie=ue[se];if(Ae&&!Ie)return this;var Ge=gn(Ie,e,n+o,T,N,H,ee,oe);if(Ge===Ie)return this;var $e=this.count;if(!Ie)$e++;else if(!Ge&&($e--,$e<Ee))return yn(e,ue,$e,se);var yt=e&&e===this.ownerID,kt=Zn(ue,se,Ge,yt);return yt?(this.count=$e,this.nodes=kt,this):new _t(e,$e,kt)};function on(e,n,T){this.ownerID=e,this.keyHash=n,this.entries=T}on.prototype.get=function(e,n,T,N){for(var H=this.entries,ee=0,oe=H.length;ee<oe;ee++)if(Pe(T,H[ee][0]))return H[ee][1];return N},on.prototype.update=function(e,n,T,N,H,ee,oe){T===void 0&&(T=je(N));var se=H===F;if(T!==this.keyHash)return se?this:(K(oe),K(ee),sn(this,e,n,T,[N,H]));for(var Ae=this.entries,ue=0,Ie=Ae.length;ue<Ie&&!Pe(N,Ae[ue][0]);ue++);var Ge=ue<Ie;if(Ge?Ae[ue][1]===H:se)return this;if(K(oe),(se||!Ge)&&K(ee),se&&Ie===2)return new ln(e,this.keyHash,Ae[ue^1]);var $e=e&&e===this.ownerID,yt=$e?Ae:j(Ae);return Ge?se?ue===Ie-1?yt.pop():yt[ue]=yt.pop():yt[ue]=[N,H]:yt.push([N,H]),$e?(this.entries=yt,this):new on(e,this.keyHash,yt)};function ln(e,n,T){this.ownerID=e,this.keyHash=n,this.entry=T}ln.prototype.get=function(e,n,T,N){return Pe(T,this.entry[0])?this.entry[1]:N},ln.prototype.update=function(e,n,T,N,H,ee,oe){var se=H===F,Ae=Pe(N,this.entry[0]);if(Ae?H===this.entry[1]:se)return this;if(K(oe),se){K(ee);return}return Ae?e&&e===this.ownerID?(this.entry[1]=H,this):new ln(e,this.keyHash,[N,H]):(K(ee),sn(this,e,n,je(N),[N,H]))},Rt.prototype.iterate=on.prototype.iterate=function(e,n){for(var T=this.entries,N=0,H=T.length-1;N<=H;N++)if(e(T[n?H-N:N])===!1)return!1},Ut.prototype.iterate=_t.prototype.iterate=function(e,n){for(var T=this.nodes,N=0,H=T.length-1;N<=H;N++){var ee=T[n?H-N:N];if(ee&&ee.iterate(e,n)===!1)return!1}},ln.prototype.iterate=function(e,n){return e(this.entry)},r(Qt,Re);function Qt(e,n,T){this._type=n,this._reverse=T,this._stack=e._root&&un(e._root)}Qt.prototype.next=function(){for(var e=this._type,n=this._stack;n;){var T=n.node,N=n.index++,H;if(T.entry){if(N===0)return Bn(e,T.entry)}else if(T.entries){if(H=T.entries.length-1,N<=H)return Bn(e,T.entries[this._reverse?H-N:N])}else if(H=T.nodes.length-1,N<=H){var ee=T.nodes[this._reverse?H-N:N];if(ee){if(ee.entry)return Bn(e,ee.entry);n=this._stack=un(ee,n)}continue}n=this._stack=this._stack.__prev}return _e()};function Bn(e,n){return Ye(e,n[0],n[1])}function un(e,n){return{node:e,index:0,__prev:n}}function Pt(e,n,T,N){var H=Object.create(lt);return H.size=e,H._root=n,H.__ownerID=T,H.__hash=N,H.__altered=!1,H}var Tn;function $t(){return Tn||(Tn=Pt(0))}function An(e,n,T){var N,H;if(e._root){var ee=U(f),oe=U(B);if(N=gn(e._root,e.__ownerID,0,void 0,n,T,ee,oe),!oe.value)return e;H=e.size+(ee.value?T===F?-1:1:0)}else{if(T===F)return e;H=1,N=new Rt(e.__ownerID,[[n,T]])}return e.__ownerID?(e.size=H,e._root=N,e.__hash=void 0,e.__altered=!0,e):N?Pt(H,N):$t()}function gn(e,n,T,N,H,ee,oe,se){return e?e.update(n,T,N,H,ee,oe,se):ee===F?e:(K(se),K(oe),new ln(n,N,[H,ee]))}function vn(e){return e.constructor===ln||e.constructor===on}function sn(e,n,T,N,H){if(e.keyHash===N)return new on(n,N,[e.entry,H]);var ee=(T===0?e.keyHash:e.keyHash>>>T)&x,oe=(T===0?N:N>>>T)&x,se,Ae=ee===oe?[sn(e,n,T+o,N,H)]:(se=new ln(n,N,H),ee<oe?[e,se]:[se,e]);return new Ut(n,1<<ee|1<<oe,Ae)}function mn(e,n,T,N){e||(e=new k);for(var H=new ln(e,je(T),[T,N]),ee=0;ee<n.length;ee++){var oe=n[ee];H=H.update(e,0,void 0,oe[0],oe[1])}return H}function yn(e,n,T,N){for(var H=0,ee=0,oe=new Array(T),se=0,Ae=1,ue=n.length;se<ue;se++,Ae<<=1){var Ie=n[se];Ie!==void 0&&se!==N&&(H|=Ae,oe[ee++]=Ie)}return new Ut(e,H,oe)}function pn(e,n,T,N,H){for(var ee=0,oe=new Array(u),se=0;T!==0;se++,T>>>=1)oe[se]=T&1?n[ee++]:void 0;return oe[N]=H,new _t(e,ee+1,oe)}function Fn(e,n,T){for(var N=[],H=0;H<T.length;H++){var ee=T[H],oe=A(ee);h(ee)||(oe=oe.map(function(se){return Oe(se)})),N.push(oe)}return Hn(e,n,N)}function $n(e,n,T){return e&&e.mergeDeep&&h(n)?e.mergeDeep(n):Pe(e,n)?e:n}function nr(e){return function(n,T,N){if(n&&n.mergeDeepWith&&h(T))return n.mergeDeepWith(e,T);var H=e(n,T,N);return Pe(n,H)?n:H}}function Hn(e,n,T){return T=T.filter(function(N){return N.size!==0}),T.length===0?e:e.size===0&&!e.__ownerID&&T.length===1?e.constructor(T[0]):e.withMutations(function(N){for(var H=n?function(oe,se){N.update(se,F,function(Ae){return Ae===F?oe:n(Ae,oe,se)})}:function(oe,se){N.set(se,oe)},ee=0;ee<T.length;ee++)T[ee].forEach(H)})}function rr(e,n,T,N){var H=e===F,ee=n.next();if(ee.done){var oe=H?T:e,se=N(oe);return se===oe?e:se}St(H||e&&e.set,"invalid keyPath");var Ae=ee.value,ue=H?F:e.get(Ae,F),Ie=rr(ue,n,T,N);return Ie===ue?e:Ie===F?e.remove(Ae):(H?$t():e).set(Ae,Ie)}function jn(e){return e=e-(e>>1&1431655765),e=(e&858993459)+(e>>2&858993459),e=e+(e>>4)&252645135,e=e+(e>>8),e=e+(e>>16),e&127}function Zn(e,n,T,N){var H=N?e:j(e);return H[n]=T,H}function y(e,n,T,N){var H=e.length+1;if(N&&n+1===H)return e[n]=T,e;for(var ee=new Array(H),oe=0,se=0;se<H;se++)se===n?(ee[se]=T,oe=-1):ee[se]=e[se+oe];return ee}function L(e,n,T){var N=e.length-1;if(T&&n===N)return e.pop(),e;for(var H=new Array(N),ee=0,oe=0;oe<N;oe++)oe===n&&(ee=1),H[oe]=e[oe+ee];return H}var _=u/4,ie=u/2,Ee=u/4;r(ge,ce);function ge(e){var n=lr();if(e==null)return n;if(Be(e))return e;var T=C(e),N=T.size;return N===0?n:(Ft(N),N>0&&N<u?Zt(0,N,o,null,new vt(T.toArray())):n.withMutations(function(H){H.setSize(N),T.forEach(function(ee,oe){return H.set(oe,ee)})}))}ge.of=function(){return this(arguments)},ge.prototype.toString=function(){return this.__toString("List [","]")},ge.prototype.get=function(e,n){if(e=M(this,e),e>=0&&e<this.size){e+=this._origin;var T=Sn(this,e);return T&&T.array[e&x]}return n},ge.prototype.set=function(e,n){return Br(this,e,n)},ge.prototype.remove=function(e){return this.has(e)?e===0?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},ge.prototype.insert=function(e,n){return this.splice(e,0,n)},ge.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=o,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):lr()},ge.prototype.push=function(){var e=arguments,n=this.size;return this.withMutations(function(T){Cn(T,0,n+e.length);for(var N=0;N<e.length;N++)T.set(n+N,e[N])})},ge.prototype.pop=function(){return Cn(this,0,-1)},ge.prototype.unshift=function(){var e=arguments;return this.withMutations(function(n){Cn(n,-e.length);for(var T=0;T<e.length;T++)n.set(T,e[T])})},ge.prototype.shift=function(){return Cn(this,1)},ge.prototype.merge=function(){return Pn(this,void 0,arguments)},ge.prototype.mergeWith=function(e){var n=D.call(arguments,1);return Pn(this,e,n)},ge.prototype.mergeDeep=function(){return Pn(this,$n,arguments)},ge.prototype.mergeDeepWith=function(e){var n=D.call(arguments,1);return Pn(this,nr(e),n)},ge.prototype.setSize=function(e){return Cn(this,0,e)},ge.prototype.slice=function(e,n){var T=this.size;return X(e,n,T)?this:Cn(this,$(e,T),Q(n,T))},ge.prototype.__iterator=function(e,n){var T=0,N=en(this,n);return new Re(function(){var H=N();return H===bt?_e():Ye(e,T++,H)})},ge.prototype.__iterate=function(e,n){for(var T=0,N=en(this,n),H;(H=N())!==bt&&e(H,T++,this)!==!1;);return T},ge.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Zt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)};function Be(e){return!!(e&&e[Ue])}ge.isList=Be;var Ue="@@__IMMUTABLE_LIST__@@",Xe=ge.prototype;Xe[Ue]=!0,Xe[i]=Xe.remove,Xe.setIn=lt.setIn,Xe.deleteIn=Xe.removeIn=lt.removeIn,Xe.update=lt.update,Xe.updateIn=lt.updateIn,Xe.mergeIn=lt.mergeIn,Xe.mergeDeepIn=lt.mergeDeepIn,Xe.withMutations=lt.withMutations,Xe.asMutable=lt.asMutable,Xe.asImmutable=lt.asImmutable,Xe.wasAltered=lt.wasAltered;function vt(e,n){this.array=e,this.ownerID=n}vt.prototype.removeBefore=function(e,n,T){if(T===n?1<<n:this.array.length===0)return this;var N=T>>>n&x;if(N>=this.array.length)return new vt([],e);var H=N===0,ee;if(n>0){var oe=this.array[N];if(ee=oe&&oe.removeBefore(e,n-o,T),ee===oe&&H)return this}if(H&&!ee)return this;var se=Wn(this,e);if(!H)for(var Ae=0;Ae<N;Ae++)se.array[Ae]=void 0;return ee&&(se.array[N]=ee),se},vt.prototype.removeAfter=function(e,n,T){if(T===(n?1<<n:0)||this.array.length===0)return this;var N=T-1>>>n&x;if(N>=this.array.length)return this;var H;if(n>0){var ee=this.array[N];if(H=ee&&ee.removeAfter(e,n-o,T),H===ee&&N===this.array.length-1)return this}var oe=Wn(this,e);return oe.array.splice(N+1),H&&(oe.array[N]=H),oe};var bt={};function en(e,n){var T=e._origin,N=e._capacity,H=xt(N),ee=e._tail;return oe(e._root,e._level,0);function oe(ue,Ie,Ge){return Ie===0?se(ue,Ge):Ae(ue,Ie,Ge)}function se(ue,Ie){var Ge=Ie===H?ee&&ee.array:ue&&ue.array,$e=Ie>T?0:T-Ie,yt=N-Ie;return yt>u&&(yt=u),function(){if($e===yt)return bt;var kt=n?--yt:$e++;return Ge&&Ge[kt]}}function Ae(ue,Ie,Ge){var $e,yt=ue&&ue.array,kt=Ge>T?0:T-Ge>>Ie,Kt=(N-Ge>>Ie)+1;return Kt>u&&(Kt=u),function(){do{if($e){var Dn=$e();if(Dn!==bt)return Dn;$e=null}if(kt===Kt)return bt;var Ln=n?--Kt:kt++;$e=oe(yt&&yt[Ln],Ie-o,Ge+(Ln<<Ie))}while(!0)}}}function Zt(e,n,T,N,H,ee,oe){var se=Object.create(Xe);return se.size=n-e,se._origin=e,se._capacity=n,se._level=T,se._root=N,se._tail=H,se.__ownerID=ee,se.__hash=oe,se.__altered=!1,se}var nn;function lr(){return nn||(nn=Zt(0,0,o))}function Br(e,n,T){if(n=M(e,n),n!==n)return e;if(n>=e.size||n<0)return e.withMutations(function(oe){n<0?Cn(oe,n).set(0,T):Cn(oe,0,n+1).set(n,T)});n+=e._origin;var N=e._tail,H=e._root,ee=U(B);return n>=xt(e._capacity)?N=ur(N,e.__ownerID,0,n,T,ee):H=ur(H,e.__ownerID,e._level,n,T,ee),ee.value?e.__ownerID?(e._root=H,e._tail=N,e.__hash=void 0,e.__altered=!0,e):Zt(e._origin,e._capacity,e._level,H,N):e}function ur(e,n,T,N,H,ee){var oe=N>>>T&x,se=e&&oe<e.array.length;if(!se&&H===void 0)return e;var Ae;if(T>0){var ue=e&&e.array[oe],Ie=ur(ue,n,T-o,N,H,ee);return Ie===ue?e:(Ae=Wn(e,n),Ae.array[oe]=Ie,Ae)}return se&&e.array[oe]===H?e:(K(ee),Ae=Wn(e,n),H===void 0&&oe===Ae.array.length-1?Ae.array.pop():Ae.array[oe]=H,Ae)}function Wn(e,n){return n&&e&&n===e.ownerID?e:new vt(e?e.array.slice():[],n)}function Sn(e,n){if(n>=xt(e._capacity))return e._tail;if(n<1<<e._level+o){for(var T=e._root,N=e._level;T&&N>0;)T=T.array[n>>>N&x],N-=o;return T}}function Cn(e,n,T){n!==void 0&&(n=n|0),T!==void 0&&(T=T|0);var N=e.__ownerID||new k,H=e._origin,ee=e._capacity,oe=H+n,se=T===void 0?ee:T<0?ee+T:H+T;if(oe===H&&se===ee)return e;if(oe>=se)return e.clear();for(var Ae=e._level,ue=e._root,Ie=0;oe+Ie<0;)ue=new vt(ue&&ue.array.length?[void 0,ue]:[],N),Ae+=o,Ie+=1<<Ae;Ie&&(oe+=Ie,H+=Ie,se+=Ie,ee+=Ie);for(var Ge=xt(ee),$e=xt(se);$e>=1<<Ae+o;)ue=new vt(ue&&ue.array.length?[ue]:[],N),Ae+=o;var yt=e._tail,kt=$e<Ge?Sn(e,se-1):$e>Ge?new vt([],N):yt;if(yt&&$e>Ge&&oe<ee&&yt.array.length){ue=Wn(ue,N);for(var Kt=ue,Dn=Ae;Dn>o;Dn-=o){var Ln=Ge>>>Dn&x;Kt=Kt.array[Ln]=Wn(Kt.array[Ln],N)}Kt.array[Ge>>>o&x]=yt}if(se<ee&&(kt=kt&&kt.removeAfter(N,0,se)),oe>=$e)oe-=$e,se-=$e,Ae=o,ue=null,kt=kt&&kt.removeBefore(N,0,oe);else if(oe>H||$e<Ge){for(Ie=0;ue;){var kr=oe>>>Ae&x;if(kr!==$e>>>Ae&x)break;kr&&(Ie+=(1<<Ae)*kr),Ae-=o,ue=ue.array[kr]}ue&&oe>H&&(ue=ue.removeBefore(N,Ae,oe-Ie)),ue&&$e<Ge&&(ue=ue.removeAfter(N,Ae,$e-Ie)),Ie&&(oe-=Ie,se-=Ie)}return e.__ownerID?(e.size=se-oe,e._origin=oe,e._capacity=se,e._level=Ae,e._root=ue,e._tail=kt,e.__hash=void 0,e.__altered=!0,e):Zt(oe,se,Ae,ue,kt)}function Pn(e,n,T){for(var N=[],H=0,ee=0;ee<T.length;ee++){var oe=T[ee],se=C(oe);se.size>H&&(H=se.size),h(oe)||(se=se.map(function(Ae){return Oe(Ae)})),N.push(se)}return H>e.size&&(e=e.setSize(H)),Hn(e,n,N)}function xt(e){return e<u?0:e-1>>>o<<o}r(Wt,st);function Wt(e){return e==null?Mn():or(e)?e:Mn().withMutations(function(n){var T=A(e);Ft(T.size),T.forEach(function(N,H){return n.set(H,N)})})}Wt.of=function(){return this(arguments)},Wt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Wt.prototype.get=function(e,n){var T=this._map.get(e);return T!==void 0?this._list.get(T)[1]:n},Wt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Mn()},Wt.prototype.set=function(e,n){return bn(this,e,n)},Wt.prototype.remove=function(e){return bn(this,e,F)},Wt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Wt.prototype.__iterate=function(e,n){var T=this;return this._list.__iterate(function(N){return N&&e(N[1],N[0],T)},n)},Wt.prototype.__iterator=function(e,n){return this._list.fromEntrySeq().__iterator(e,n)},Wt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var n=this._map.__ensureOwner(e),T=this._list.__ensureOwner(e);return e?Vn(n,T,e,this.__hash):(this.__ownerID=e,this._map=n,this._list=T,this)};function or(e){return Mt(e)&&l(e)}Wt.isOrderedMap=or,Wt.prototype[d]=!0,Wt.prototype[i]=Wt.prototype.remove;function Vn(e,n,T,N){var H=Object.create(Wt.prototype);return H.size=e?e.size:0,H._map=e,H._list=n,H.__ownerID=T,H.__hash=N,H}var hn;function Mn(){return hn||(hn=Vn($t(),lr()))}function bn(e,n,T){var N=e._map,H=e._list,ee=N.get(n),oe=ee!==void 0,se,Ae;if(T===F){if(!oe)return e;H.size>=u&&H.size>=N.size*2?(Ae=H.filter(function(ue,Ie){return ue!==void 0&&ee!==Ie}),se=Ae.toKeyedSeq().map(function(ue){return ue[0]}).flip().toMap(),e.__ownerID&&(se.__ownerID=Ae.__ownerID=e.__ownerID)):(se=N.remove(n),Ae=ee===H.size-1?H.pop():H.set(ee,void 0))}else if(oe){if(T===H.get(ee)[1])return e;se=N,Ae=H.set(ee,[n,T])}else se=N.set(n,H.size),Ae=H.set(H.size,[n,T]);return e.__ownerID?(e.size=se.size,e._map=se,e._list=Ae,e.__hash=void 0,e):Vn(se,Ae)}r(cn,Me);function cn(e,n){this._iter=e,this._useKeys=n,this.size=e.size}cn.prototype.get=function(e,n){return this._iter.get(e,n)},cn.prototype.has=function(e){return this._iter.has(e)},cn.prototype.valueSeq=function(){return this._iter.valueSeq()},cn.prototype.reverse=function(){var e=this,n=Sr(this,!0);return this._useKeys||(n.valueSeq=function(){return e._iter.toSeq().reverse()}),n},cn.prototype.map=function(e,n){var T=this,N=sr(this,e,n);return this._useKeys||(N.valueSeq=function(){return T._iter.toSeq().map(e,n)}),N},cn.prototype.__iterate=function(e,n){var T=this,N;return this._iter.__iterate(this._useKeys?function(H,ee){return e(H,ee,T)}:(N=n?fn(this):0,function(H){return e(H,n?--N:N++,T)}),n)},cn.prototype.__iterator=function(e,n){if(this._useKeys)return this._iter.__iterator(e,n);var T=this._iter.__iterator(te,n),N=n?fn(this):0;return new Re(function(){var H=T.next();return H.done?H:Ye(e,n?--N:N++,H.value,H)})},cn.prototype[d]=!0,r(rn,Ne);function rn(e){this._iter=e,this.size=e.size}rn.prototype.includes=function(e){return this._iter.includes(e)},rn.prototype.__iterate=function(e,n){var T=this,N=0;return this._iter.__iterate(function(H){return e(H,N++,T)},n)},rn.prototype.__iterator=function(e,n){var T=this._iter.__iterator(te,n),N=0;return new Re(function(){var H=T.next();return H.done?H:Ye(e,N++,H.value,H)})},r(wn,ze);function wn(e){this._iter=e,this.size=e.size}wn.prototype.has=function(e){return this._iter.includes(e)},wn.prototype.__iterate=function(e,n){var T=this;return this._iter.__iterate(function(N){return e(N,N,T)},n)},wn.prototype.__iterator=function(e,n){var T=this._iter.__iterator(te,n);return new Re(function(){var N=T.next();return N.done?N:Ye(e,N.value,N.value,N)})},r(Nn,Me);function Nn(e){this._iter=e,this.size=e.size}Nn.prototype.entrySeq=function(){return this._iter.toSeq()},Nn.prototype.__iterate=function(e,n){var T=this;return this._iter.__iterate(function(N){if(N){pr(N);var H=h(N);return e(H?N.get(1):N[1],H?N.get(0):N[0],T)}},n)},Nn.prototype.__iterator=function(e,n){var T=this._iter.__iterator(te,n);return new Re(function(){for(;;){var N=T.next();if(N.done)return N;var H=N.value;if(H){pr(H);var ee=h(H);return Ye(e,ee?H.get(0):H[0],ee?H.get(1):H[1],N)}}})},rn.prototype.cacheResult=cn.prototype.cacheResult=wn.prototype.cacheResult=Nn.prototype.cacheResult=hr;function Ar(e){var n=En(e);return n._iter=e,n.size=e.size,n.flip=function(){return e},n.reverse=function(){var T=e.reverse.apply(this);return T.flip=function(){return e.reverse()},T},n.has=function(T){return e.includes(T)},n.includes=function(T){return e.has(T)},n.cacheResult=hr,n.__iterateUncached=function(T,N){var H=this;return e.__iterate(function(ee,oe){return T(oe,ee,H)!==!1},N)},n.__iteratorUncached=function(T,N){if(T===pe){var H=e.__iterator(T,N);return new Re(function(){var ee=H.next();if(!ee.done){var oe=ee.value[0];ee.value[0]=ee.value[1],ee.value[1]=oe}return ee})}return e.__iterator(T===te?le:te,N)},n}function sr(e,n,T){var N=En(e);return N.size=e.size,N.has=function(H){return e.has(H)},N.get=function(H,ee){var oe=e.get(H,F);return oe===F?ee:n.call(T,oe,H,e)},N.__iterateUncached=function(H,ee){var oe=this;return e.__iterate(function(se,Ae,ue){return H(n.call(T,se,Ae,ue),Ae,oe)!==!1},ee)},N.__iteratorUncached=function(H,ee){var oe=e.__iterator(pe,ee);return new Re(function(){var se=oe.next();if(se.done)return se;var Ae=se.value,ue=Ae[0];return Ye(H,ue,n.call(T,Ae[1],ue,e),se)})},N}function Sr(e,n){var T=En(e);return T._iter=e,T.size=e.size,T.reverse=function(){return e},e.flip&&(T.flip=function(){var N=Ar(e);return N.reverse=function(){return e.flip()},N}),T.get=function(N,H){return e.get(n?N:-1-N,H)},T.has=function(N){return e.has(n?N:-1-N)},T.includes=function(N){return e.includes(N)},T.cacheResult=hr,T.__iterate=function(N,H){var ee=this;return e.__iterate(function(oe,se){return N(oe,se,ee)},!H)},T.__iterator=function(N,H){return e.__iterator(N,!H)},T}function Cr(e,n,T,N){var H=En(e);return N&&(H.has=function(ee){var oe=e.get(ee,F);return oe!==F&&!!n.call(T,oe,ee,e)},H.get=function(ee,oe){var se=e.get(ee,F);return se!==F&&n.call(T,se,ee,e)?se:oe}),H.__iterateUncached=function(ee,oe){var se=this,Ae=0;return e.__iterate(function(ue,Ie,Ge){if(n.call(T,ue,Ie,Ge))return Ae++,ee(ue,N?Ie:Ae-1,se)},oe),Ae},H.__iteratorUncached=function(ee,oe){var se=e.__iterator(pe,oe),Ae=0;return new Re(function(){for(;;){var ue=se.next();if(ue.done)return ue;var Ie=ue.value,Ge=Ie[0],$e=Ie[1];if(n.call(T,$e,Ge,e))return Ye(ee,N?Ge:Ae++,$e,ue)}})},H}function cr(e,n,T){var N=st().asMutable();return e.__iterate(function(H,ee){N.update(n.call(T,H,ee,e),0,function(oe){return oe+1})}),N.asImmutable()}function Tr(e,n,T){var N=b(e),H=(l(e)?Wt():st()).asMutable();e.__iterate(function(oe,se){H.update(n.call(T,oe,se,e),function(Ae){return Ae=Ae||[],Ae.push(N?[se,oe]:oe),Ae})});var ee=gr(e);return H.map(function(oe){return Lt(e,ee(oe))})}function Gn(e,n,T,N){var H=e.size;if(n!==void 0&&(n=n|0),T!==void 0&&(T=T|0),X(n,T,H))return e;var ee=$(n,H),oe=Q(T,H);if(ee!==ee||oe!==oe)return Gn(e.toSeq().cacheResult(),n,T,N);var se=oe-ee,Ae;se===se&&(Ae=se<0?0:se);var ue=En(e);return ue.size=Ae===0?Ae:e.size&&Ae||void 0,!N&&Dt(e)&&Ae>=0&&(ue.get=function(Ie,Ge){return Ie=M(this,Ie),Ie>=0&&Ie<Ae?e.get(Ie+ee,Ge):Ge}),ue.__iterateUncached=function(Ie,Ge){var $e=this;if(Ae===0)return 0;if(Ge)return this.cacheResult().__iterate(Ie,Ge);var yt=0,kt=!0,Kt=0;return e.__iterate(function(Dn,Ln){if(!(kt&&(kt=yt++<ee)))return Kt++,Ie(Dn,N?Ln:Kt-1,$e)!==!1&&Kt!==Ae}),Kt},ue.__iteratorUncached=function(Ie,Ge){if(Ae!==0&&Ge)return this.cacheResult().__iterator(Ie,Ge);var $e=Ae!==0&&e.__iterator(Ie,Ge),yt=0,kt=0;return new Re(function(){for(;yt++<ee;)$e.next();if(++kt>Ae)return _e();var Kt=$e.next();return N||Ie===te?Kt:Ie===le?Ye(Ie,kt-1,void 0,Kt):Ye(Ie,kt-1,Kt.value[1],Kt)})},ue}function fr(e,n,T){var N=En(e);return N.__iterateUncached=function(H,ee){var oe=this;if(ee)return this.cacheResult().__iterate(H,ee);var se=0;return e.__iterate(function(Ae,ue,Ie){return n.call(T,Ae,ue,Ie)&&++se&&H(Ae,ue,oe)}),se},N.__iteratorUncached=function(H,ee){var oe=this;if(ee)return this.cacheResult().__iterator(H,ee);var se=e.__iterator(pe,ee),Ae=!0;return new Re(function(){if(!Ae)return _e();var ue=se.next();if(ue.done)return ue;var Ie=ue.value,Ge=Ie[0],$e=Ie[1];return n.call(T,$e,Ge,oe)?H===pe?ue:Ye(H,Ge,$e,ue):(Ae=!1,_e())})},N}function Fr(e,n,T,N){var H=En(e);return H.__iterateUncached=function(ee,oe){var se=this;if(oe)return this.cacheResult().__iterate(ee,oe);var Ae=!0,ue=0;return e.__iterate(function(Ie,Ge,$e){if(!(Ae&&(Ae=n.call(T,Ie,Ge,$e))))return ue++,ee(Ie,N?Ge:ue-1,se)}),ue},H.__iteratorUncached=function(ee,oe){var se=this;if(oe)return this.cacheResult().__iterator(ee,oe);var Ae=e.__iterator(pe,oe),ue=!0,Ie=0;return new Re(function(){var Ge,$e,yt;do{if(Ge=Ae.next(),Ge.done)return N||ee===te?Ge:ee===le?Ye(ee,Ie++,void 0,Ge):Ye(ee,Ie++,Ge.value[1],Ge);var kt=Ge.value;$e=kt[0],yt=kt[1],ue&&(ue=n.call(T,yt,$e,se))}while(ue);return ee===pe?Ge:Ye(ee,$e,yt,Ge)})},H}function qn(e,n){var T=b(e),N=[e].concat(n).map(function(oe){return h(oe)?T&&(oe=A(oe)):oe=T?Y(oe):ne(Array.isArray(oe)?oe:[oe]),oe}).filter(function(oe){return oe.size!==0});if(N.length===0)return e;if(N.length===1){var H=N[0];if(H===e||T&&b(H)||E(e)&&E(H))return H}var ee=new rt(N);return T?ee=ee.toKeyedSeq():E(e)||(ee=ee.toSetSeq()),ee=ee.flatten(!0),ee.size=N.reduce(function(oe,se){if(oe!==void 0){var Ae=se.size;if(Ae!==void 0)return oe+Ae}},0),ee}function br(e,n,T){var N=En(e);return N.__iterateUncached=function(H,ee){var oe=0,se=!1;function Ae(ue,Ie){var Ge=this;ue.__iterate(function($e,yt){return(!n||Ie<n)&&h($e)?Ae($e,Ie+1):H($e,T?yt:oe++,Ge)===!1&&(se=!0),!se},ee)}return Ae(e,0),oe},N.__iteratorUncached=function(H,ee){var oe=e.__iterator(H,ee),se=[],Ae=0;return new Re(function(){for(;oe;){var ue=oe.next();if(ue.done!==!1){oe=se.pop();continue}var Ie=ue.value;if(H===pe&&(Ie=Ie[1]),(!n||se.length<n)&&h(Ie))se.push(oe),oe=Ie.__iterator(H,ee);else return T?ue:Ye(H,Ae++,Ie,ue)}return _e()})},N}function wr(e,n,T){var N=gr(e);return e.toSeq().map(function(H,ee){return N(n.call(T,H,ee,e))}).flatten(!0)}function ir(e,n){var T=En(e);return T.size=e.size&&e.size*2-1,T.__iterateUncached=function(N,H){var ee=this,oe=0;return e.__iterate(function(se,Ae){return(!oe||N(n,oe++,ee)!==!1)&&N(se,oe++,ee)!==!1},H),oe},T.__iteratorUncached=function(N,H){var ee=e.__iterator(te,H),oe=0,se;return new Re(function(){return(!se||oe%2)&&(se=ee.next(),se.done)?se:oe%2?Ye(N,oe++,n):Ye(N,oe++,se.value,se)})},T}function xn(e,n,T){n||(n=vr);var N=b(e),H=0,ee=e.toSeq().map(function(oe,se){return[se,oe,H++,T?T(oe,se,e):oe]}).toArray();return ee.sort(function(oe,se){return n(oe[3],se[3])||oe[2]-se[2]}).forEach(N?function(oe,se){ee[se].length=2}:function(oe,se){ee[se]=oe[1]}),N?Me(ee):E(e)?Ne(ee):ze(ee)}function Qn(e,n,T){if(n||(n=vr),T){var N=e.toSeq().map(function(H,ee){return[H,T(H,ee,e)]}).reduce(function(H,ee){return dr(n,H[1],ee[1])?ee:H});return N&&N[0]}else return e.reduce(function(H,ee){return dr(n,H,ee)?ee:H})}function dr(e,n,T){var N=e(T,n);return N===0&&T!==n&&(T==null||T!==T)||N>0}function ar(e,n,T){var N=En(e);return N.size=new rt(T).map(function(H){return H.size}).min(),N.__iterate=function(H,ee){for(var oe=this.__iterator(te,ee),se,Ae=0;!(se=oe.next()).done&&H(se.value,Ae++,this)!==!1;);return Ae},N.__iteratorUncached=function(H,ee){var oe=T.map(function(ue){return ue=S(ue),me(ee?ue.reverse():ue)}),se=0,Ae=!1;return new Re(function(){var ue;return Ae||(ue=oe.map(function(Ie){return Ie.next()}),Ae=ue.some(function(Ie){return Ie.done})),Ae?_e():Ye(H,se++,n.apply(null,ue.map(function(Ie){return Ie.value})))})},N}function Lt(e,n){return Dt(e)?n:e.constructor(n)}function pr(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function fn(e){return Ft(e.size),z(e)}function gr(e){return b(e)?A:E(e)?C:g}function En(e){return Object.create((b(e)?Me:E(e)?Ne:ze).prototype)}function hr(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):we.prototype.cacheResult.call(this)}function vr(e,n){return e>n?1:e<n?-1:0}function er(e){var n=me(e);if(!n){if(!Te(e))throw new TypeError("Expected iterable or array-like: "+e);n=me(S(e))}return n}r(dn,ae);function dn(e,n){var T,N=function(oe){if(oe instanceof N)return oe;if(!(this instanceof N))return new N(oe);if(!T){T=!0;var se=Object.keys(e);xr(H,se),H.size=se.length,H._name=n,H._keys=se,H._defaultValues=e}this._map=st(oe)},H=N.prototype=Object.create(qt);return H.constructor=N,N}dn.prototype.toString=function(){return this.__toString(tr(this)+" {","}")},dn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},dn.prototype.get=function(e,n){if(!this.has(e))return n;var T=this._defaultValues[e];return this._map?this._map.get(e,T):T},dn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Kn(this,$t()))},dn.prototype.set=function(e,n){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+tr(this));var T=this._map&&this._map.set(e,n);return this.__ownerID||T===this._map?this:Kn(this,T)},dn.prototype.remove=function(e){if(!this.has(e))return this;var n=this._map&&this._map.remove(e);return this.__ownerID||n===this._map?this:Kn(this,n)},dn.prototype.wasAltered=function(){return this._map.wasAltered()},dn.prototype.__iterator=function(e,n){var T=this;return A(this._defaultValues).map(function(N,H){return T.get(H)}).__iterator(e,n)},dn.prototype.__iterate=function(e,n){var T=this;return A(this._defaultValues).map(function(N,H){return T.get(H)}).__iterate(e,n)},dn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var n=this._map&&this._map.__ensureOwner(e);return e?Kn(this,n,e):(this.__ownerID=e,this._map=n,this)};var qt=dn.prototype;qt[i]=qt.remove,qt.deleteIn=qt.removeIn=lt.removeIn,qt.merge=lt.merge,qt.mergeWith=lt.mergeWith,qt.mergeIn=lt.mergeIn,qt.mergeDeep=lt.mergeDeep,qt.mergeDeepWith=lt.mergeDeepWith,qt.mergeDeepIn=lt.mergeDeepIn,qt.setIn=lt.setIn,qt.update=lt.update,qt.updateIn=lt.updateIn,qt.withMutations=lt.withMutations,qt.asMutable=lt.asMutable,qt.asImmutable=lt.asImmutable;function Kn(e,n,T){var N=Object.create(Object.getPrototypeOf(e));return N._map=n,N.__ownerID=T,N}function tr(e){return e._name||e.constructor.name||"Record"}function xr(e,n){try{n.forEach(mr.bind(void 0,e))}catch(T){}}function mr(e,n){Object.defineProperty(e,n,{get:function(){return this.get(n)},set:function(T){St(this.__ownerID,"Cannot set on an immutable record."),this.set(n,T)}})}r(Nt,Ce);function Nt(e){return e==null?R():In(e)&&!l(e)?e:R().withMutations(function(n){var T=g(e);Ft(T.size),T.forEach(function(N){return n.add(N)})})}Nt.of=function(){return this(arguments)},Nt.fromKeys=function(e){return this(A(e).keySeq())},Nt.prototype.toString=function(){return this.__toString("Set {","}")},Nt.prototype.has=function(e){return this._map.has(e)},Nt.prototype.add=function(e){return P(this,this._map.set(e,!0))},Nt.prototype.remove=function(e){return P(this,this._map.remove(e))},Nt.prototype.clear=function(){return P(this,this._map.clear())},Nt.prototype.union=function(){var e=D.call(arguments,0);return e=e.filter(function(n){return n.size!==0}),e.length===0?this:this.size===0&&!this.__ownerID&&e.length===1?this.constructor(e[0]):this.withMutations(function(n){for(var T=0;T<e.length;T++)g(e[T]).forEach(function(N){return n.add(N)})})},Nt.prototype.intersect=function(){var e=D.call(arguments,0);if(e.length===0)return this;e=e.map(function(T){return g(T)});var n=this;return this.withMutations(function(T){n.forEach(function(N){e.every(function(H){return H.includes(N)})||T.remove(N)})})},Nt.prototype.subtract=function(){var e=D.call(arguments,0);if(e.length===0)return this;e=e.map(function(T){return g(T)});var n=this;return this.withMutations(function(T){n.forEach(function(N){e.some(function(H){return H.includes(N)})&&T.remove(N)})})},Nt.prototype.merge=function(){return this.union.apply(this,arguments)},Nt.prototype.mergeWith=function(e){var n=D.call(arguments,1);return this.union.apply(this,n)},Nt.prototype.sort=function(e){return t(xn(this,e))},Nt.prototype.sortBy=function(e,n){return t(xn(this,n,e))},Nt.prototype.wasAltered=function(){return this._map.wasAltered()},Nt.prototype.__iterate=function(e,n){var T=this;return this._map.__iterate(function(N,H){return e(H,H,T)},n)},Nt.prototype.__iterator=function(e,n){return this._map.map(function(T,N){return N}).__iterator(e,n)},Nt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var n=this._map.__ensureOwner(e);return e?this.__make(n,e):(this.__ownerID=e,this._map=n,this)};function In(e){return!!(e&&e[Yn])}Nt.isSet=In;var Yn="@@__IMMUTABLE_SET__@@",v=Nt.prototype;v[Yn]=!0,v[i]=v.remove,v.mergeDeep=v.merge,v.mergeDeepWith=v.mergeWith,v.withMutations=lt.withMutations,v.asMutable=lt.asMutable,v.asImmutable=lt.asImmutable,v.__empty=R,v.__make=w;function P(e,n){return e.__ownerID?(e.size=n.size,e._map=n,e):n===e._map?e:n.size===0?e.__empty():e.__make(n)}function w(e,n){var T=Object.create(v);return T.size=e?e.size:0,T._map=e,T.__ownerID=n,T}var m;function R(){return m||(m=w($t()))}r(t,Nt);function t(e){return e==null?de():O(e)?e:de().withMutations(function(n){var T=g(e);Ft(T.size),T.forEach(function(N){return n.add(N)})})}t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(A(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function O(e){return In(e)&&l(e)}t.isOrderedSet=O;var G=t.prototype;G[d]=!0,G.__empty=de,G.__make=re;function re(e,n){var T=Object.create(G);return T.size=e?e.size:0,T._map=e,T.__ownerID=n,T}var q;function de(){return q||(q=re(Mn()))}r(ve,ce);function ve(e){return e==null?an():Qe(e)?e:an().unshiftAll(e)}ve.of=function(){return this(arguments)},ve.prototype.toString=function(){return this.__toString("Stack [","]")},ve.prototype.get=function(e,n){var T=this._head;for(e=M(this,e);T&&e--;)T=T.next;return T?T.value:n},ve.prototype.peek=function(){return this._head&&this._head.value},ve.prototype.push=function(){if(arguments.length===0)return this;for(var e=this.size+arguments.length,n=this._head,T=arguments.length-1;T>=0;T--)n={value:arguments[T],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):It(e,n)},ve.prototype.pushAll=function(e){if(e=C(e),e.size===0)return this;Ft(e.size);var n=this.size,T=this._head;return e.reverse().forEach(function(N){n++,T={value:N,next:T}}),this.__ownerID?(this.size=n,this._head=T,this.__hash=void 0,this.__altered=!0,this):It(n,T)},ve.prototype.pop=function(){return this.slice(1)},ve.prototype.unshift=function(){return this.push.apply(this,arguments)},ve.prototype.unshiftAll=function(e){return this.pushAll(e)},ve.prototype.shift=function(){return this.pop.apply(this,arguments)},ve.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):an()},ve.prototype.slice=function(e,n){if(X(e,n,this.size))return this;var T=$(e,this.size),N=Q(n,this.size);if(N!==this.size)return ce.prototype.slice.call(this,e,n);for(var H=this.size-T,ee=this._head;T--;)ee=ee.next;return this.__ownerID?(this.size=H,this._head=ee,this.__hash=void 0,this.__altered=!0,this):It(H,ee)},ve.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},ve.prototype.__iterate=function(e,n){if(n)return this.reverse().__iterate(e);for(var T=0,N=this._head;N&&e(N.value,T++,this)!==!1;)N=N.next;return T},ve.prototype.__iterator=function(e,n){if(n)return this.reverse().__iterator(e);var T=0,N=this._head;return new Re(function(){if(N){var H=N.value;return N=N.next,Ye(e,T++,H)}return _e()})};function Qe(e){return!!(e&&e[tt])}ve.isStack=Qe;var tt="@@__IMMUTABLE_STACK__@@",dt=ve.prototype;dt[tt]=!0,dt.withMutations=lt.withMutations,dt.asMutable=lt.asMutable,dt.asImmutable=lt.asImmutable,dt.wasAltered=lt.wasAltered;function It(e,n,T,N){var H=Object.create(dt);return H.size=e,H._head=n,H.__ownerID=T,H.__hash=N,H.__altered=!1,H}var zt;function an(){return zt||(zt=It(0))}function tn(e,n){var T=function(N){e.prototype[N]=n[N]};return Object.keys(n).forEach(T),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(n).forEach(T),e}S.Iterator=Re,tn(S,{toArray:function(){Ft(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(n,T){e[T]=n}),e},toIndexedSeq:function(){return new rn(this)},toJS:function(){return this.toSeq().map(function(e){return e&&typeof e.toJS=="function"?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&typeof e.toJSON=="function"?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new cn(this,!0)},toMap:function(){return st(this.toKeyedSeq())},toObject:function(){Ft(this.size);var e={};return this.__iterate(function(n,T){e[T]=n}),e},toOrderedMap:function(){return Wt(this.toKeyedSeq())},toOrderedSet:function(){return t(b(this)?this.valueSeq():this)},toSet:function(){return Nt(b(this)?this.valueSeq():this)},toSetSeq:function(){return new wn(this)},toSeq:function(){return E(this)?this.toIndexedSeq():b(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ve(b(this)?this.valueSeq():this)},toList:function(){return ge(b(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,n){return this.size===0?e+n:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+n},concat:function(){var e=D.call(arguments,0);return Lt(this,qn(this,e))},includes:function(e){return this.some(function(n){return Pe(n,e)})},entries:function(){return this.__iterator(pe)},every:function(e,n){Ft(this.size);var T=!0;return this.__iterate(function(N,H,ee){if(!e.call(n,N,H,ee))return T=!1,!1}),T},filter:function(e,n){return Lt(this,Cr(this,e,n,!0))},find:function(e,n,T){var N=this.findEntry(e,n);return N?N[1]:T},findEntry:function(e,n){var T;return this.__iterate(function(N,H,ee){if(e.call(n,N,H,ee))return T=[H,N],!1}),T},findLastEntry:function(e,n){return this.toSeq().reverse().findEntry(e,n)},forEach:function(e,n){return Ft(this.size),this.__iterate(n?e.bind(n):e)},join:function(e){Ft(this.size),e=e!==void 0?""+e:",";var n="",T=!0;return this.__iterate(function(N){T?T=!1:n+=e,n+=N!=null?N.toString():""}),n},keys:function(){return this.__iterator(le)},map:function(e,n){return Lt(this,sr(this,e,n))},reduce:function(e,n,T){Ft(this.size);var N,H;return arguments.length<2?H=!0:N=n,this.__iterate(function(ee,oe,se){H?(H=!1,N=ee):N=e.call(T,N,ee,oe,se)}),N},reduceRight:function(e,n,T){var N=this.toKeyedSeq().reverse();return N.reduce.apply(N,arguments)},reverse:function(){return Lt(this,Sr(this,!0))},slice:function(e,n){return Lt(this,Gn(this,e,n,!0))},some:function(e,n){return!this.every(zn(e),n)},sort:function(e){return Lt(this,xn(this,e))},values:function(){return this.__iterator(te)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(e,n){return z(e?this.toSeq().filter(e,n):this)},countBy:function(e,n){return cr(this,e,n)},equals:function(e){return at(this,e)},entrySeq:function(){var e=this;if(e._cache)return new rt(e._cache);var n=e.toSeq().map(Un).toIndexedSeq();return n.fromEntrySeq=function(){return e.toSeq()},n},filterNot:function(e,n){return this.filter(zn(e),n)},findLast:function(e,n,T){return this.toKeyedSeq().reverse().find(e,n,T)},first:function(){return this.find(I)},flatMap:function(e,n){return Lt(this,wr(this,e,n))},flatten:function(e){return Lt(this,br(this,e,!0))},fromEntrySeq:function(){return new Nn(this)},get:function(e,n){return this.find(function(T,N){return Pe(N,e)},void 0,n)},getIn:function(e,n){for(var T=this,N=er(e),H;!(H=N.next()).done;){var ee=H.value;if(T=T&&T.get?T.get(ee,F):F,T===F)return n}return T},groupBy:function(e,n){return Tr(this,e,n)},has:function(e){return this.get(e,F)!==F},hasIn:function(e){return this.getIn(e,F)!==F},isSubset:function(e){return e=typeof e.includes=="function"?e:S(e),this.every(function(n){return e.includes(n)})},isSuperset:function(e){return e=typeof e.isSubset=="function"?e:S(e),e.isSubset(this)},keySeq:function(){return this.toSeq().map(_n).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return Qn(this,e)},maxBy:function(e,n){return Qn(this,n,e)},min:function(e){return Qn(this,e?On(e):Rn)},minBy:function(e,n){return Qn(this,n?On(n):Rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Lt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,n){return Lt(this,Fr(this,e,n,!0))},skipUntil:function(e,n){return this.skipWhile(zn(e),n)},sortBy:function(e,n){return Lt(this,xn(this,n,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Lt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,n){return Lt(this,fr(this,e,n))},takeUntil:function(e,n){return this.takeWhile(zn(e),n)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=Xn(this))}});var Vt=S.prototype;Vt[p]=!0,Vt[Z]=Vt.values,Vt.__toJS=Vt.toArray,Vt.__toStringMapper=Jn,Vt.inspect=Vt.toSource=function(){return this.toString()},Vt.chain=Vt.flatMap,Vt.contains=Vt.includes,function(){try{Object.defineProperty(Vt,"length",{get:function(){if(!S.noLengthWarning){var e;try{throw new Error}catch(n){e=n.stack}if(e.indexOf("_wrapObject")===-1)return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),tn(A,{flip:function(){return Lt(this,Ar(this))},findKey:function(e,n){var T=this.findEntry(e,n);return T&&T[0]},findLastKey:function(e,n){return this.toSeq().reverse().findKey(e,n)},keyOf:function(e){return this.findKey(function(n){return Pe(n,e)})},lastKeyOf:function(e){return this.findLastKey(function(n){return Pe(n,e)})},mapEntries:function(e,n){var T=this,N=0;return Lt(this,this.toSeq().map(function(H,ee){return e.call(n,[ee,H],N++,T)}).fromEntrySeq())},mapKeys:function(e,n){var T=this;return Lt(this,this.toSeq().flip().map(function(N,H){return e.call(n,N,H,T)}).flip())}});var Jt=A.prototype;Jt[s]=!0,Jt[Z]=Vt.entries,Jt.__toJS=Vt.toObject,Jt.__toStringMapper=function(e,n){return JSON.stringify(n)+": "+Jn(e)},tn(C,{toKeyedSeq:function(){return new cn(this,!1)},filter:function(e,n){return Lt(this,Cr(this,e,n,!1))},findIndex:function(e,n){var T=this.findEntry(e,n);return T?T[0]:-1},indexOf:function(e){var n=this.toKeyedSeq().keyOf(e);return n===void 0?-1:n},lastIndexOf:function(e){var n=this.toKeyedSeq().reverse().keyOf(e);return n===void 0?-1:n},reverse:function(){return Lt(this,Sr(this,!1))},slice:function(e,n){return Lt(this,Gn(this,e,n,!1))},splice:function(e,n){var T=arguments.length;if(n=Math.max(n|0,0),T===0||T===2&&!n)return this;e=$(e,e<0?this.count():this.size);var N=this.slice(0,e);return Lt(this,T===1?N:N.concat(j(arguments,2),this.slice(e+n)))},findLastIndex:function(e,n){var T=this.toKeyedSeq().findLastKey(e,n);return T===void 0?-1:T},first:function(){return this.get(0)},flatten:function(e){return Lt(this,br(this,e,!1))},get:function(e,n){return e=M(this,e),e<0||this.size===1/0||this.size!==void 0&&e>this.size?n:this.find(function(T,N){return N===e},void 0,n)},has:function(e){return e=M(this,e),e>=0&&(this.size!==void 0?this.size===1/0||e<this.size:this.indexOf(e)!==-1)},interpose:function(e){return Lt(this,ir(this,e))},interleave:function(){var e=[this].concat(j(arguments)),n=ar(this.toSeq(),Ne.of,e),T=n.flatten(!0);return n.size&&(T.size=n.size*e.length),Lt(this,T)},last:function(){return this.get(-1)},skipWhile:function(e,n){return Lt(this,Fr(this,e,n,!1))},zip:function(){var e=[this].concat(j(arguments));return Lt(this,ar(this,yr,e))},zipWith:function(e){var n=j(arguments);return n[0]=this,Lt(this,ar(this,e,n))}}),C.prototype[a]=!0,C.prototype[d]=!0,tn(g,{get:function(e,n){return this.has(e)?e:n},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),g.prototype.has=Vt.includes,tn(Me,A.prototype),tn(Ne,C.prototype),tn(ze,g.prototype),tn(ae,A.prototype),tn(ce,C.prototype),tn(Ce,g.prototype);function _n(e,n){return n}function Un(e,n){return[n,e]}function zn(e){return function(){return!e.apply(this,arguments)}}function On(e){return function(){return-e.apply(this,arguments)}}function Jn(e){return typeof e=="string"?JSON.stringify(e):e}function yr(){return j(arguments)}function Rn(e,n){return e<n?1:e>n?-1:0}function Xn(e){if(e.size===1/0)return 0;var n=l(e),T=b(e),N=n?1:0,H=e.__iterate(T?n?function(ee,oe){N=31*N+Xt(je(ee),je(oe))|0}:function(ee,oe){N=N+Xt(je(ee),je(oe))|0}:n?function(ee){N=31*N+je(ee)|0}:function(ee){N=N+je(ee)|0});return Er(H,N)}function Er(e,n){return n=xe(n,3432918353),n=xe(n<<15|n>>>-15,461845907),n=xe(n<<13|n>>>-13,5),n=(n+3864292196|0)^e,n=xe(n^n>>>16,2246822507),n=xe(n^n>>>13,3266489909),n=He(n^n>>>16),n}function Xt(e,n){return e^n+2654435769+(e<<6)+(e>>2)|0}var kn={Iterable:S,Seq:we,Collection:Gt,Map:st,OrderedMap:Wt,List:ge,Stack:ve,Set:Nt,OrderedSet:t,Record:dn,Range:At,Repeat:mt,is:Pe,fromJS:Oe};return kn})},22767:function(J){"use strict";var D=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;function A(g){if(g==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(g)}function C(){try{if(!Object.assign)return!1;var g=new String("abc");if(g[5]="de",Object.getOwnPropertyNames(g)[0]==="5")return!1;for(var h={},b=0;b<10;b++)h["_"+String.fromCharCode(b)]=b;var E=Object.getOwnPropertyNames(h).map(function(l){return h[l]});if(E.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(l){c[l]=l}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch(l){return!1}}J.exports=C()?Object.assign:function(g,h){for(var b,E=A(g),c,l=1;l<arguments.length;l++){b=Object(arguments[l]);for(var p in b)r.call(b,p)&&(E[p]=b[p]);if(D){c=D(b);for(var s=0;s<c.length;s++)S.call(b,c[s])&&(E[c[s]]=b[c[s]])}}return E}},31382:function(J,D,r){"use strict";var S=r(93236);function A(y){for(var L="https://reactjs.org/docs/error-decoder.html?invariant="+y,_=1;_<arguments.length;_++)L+="&args[]="+encodeURIComponent(arguments[_]);return"Minified React error #"+y+"; visit "+L+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var C=!1;function g(y,L){return C&&(C=!1,L[0]!=="<"&&y.push("<!-- -->")),L==="<!-- -->"?C=!0:y.push(L)}var h=Object.prototype.hasOwnProperty,b=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,E={},c={};function l(y){return h.call(c,y)?!0:h.call(E,y)?!1:b.test(y)?c[y]=!0:(E[y]=!0,!1)}function p(y,L,_,ie,Ee,ge,Be){this.acceptsBooleans=L===2||L===3||L===4,this.attributeName=ie,this.attributeNamespace=Ee,this.mustUseProperty=_,this.propertyName=y,this.type=L,this.sanitizeURL=ge,this.removeEmptyString=Be}var s={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(y){s[y]=new p(y,0,!1,y,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(y){var L=y[0];s[L]=new p(L,1,!1,y[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(y){s[y]=new p(y,2,!1,y.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(y){s[y]=new p(y,2,!1,y,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(y){s[y]=new p(y,3,!1,y.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(y){s[y]=new p(y,3,!0,y,null,!1,!1)}),["capture","download"].forEach(function(y){s[y]=new p(y,4,!1,y,null,!1,!1)}),["cols","rows","size","span"].forEach(function(y){s[y]=new p(y,6,!1,y,null,!1,!1)}),["rowSpan","start"].forEach(function(y){s[y]=new p(y,5,!1,y.toLowerCase(),null,!1,!1)});var a=/[\-:]([a-z])/g;function d(y){return y[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(y){var L=y.replace(a,d);s[L]=new p(L,1,!1,y,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(y){var L=y.replace(a,d);s[L]=new p(L,1,!1,y,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(y){var L=y.replace(a,d);s[L]=new p(L,1,!1,y,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(y){s[y]=new p(y,1,!1,y.toLowerCase(),null,!1,!1)}),s.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(y){s[y]=new p(y,1,!1,y.toLowerCase(),null,!0,!0)});var i={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(i).forEach(function(y){o.forEach(function(L){L=L+y.charAt(0).toUpperCase()+y.substring(1),i[L]=i[y]})});var u=/["'&<>]/;function x(y){if(typeof y=="boolean"||typeof y=="number")return""+y;y=""+y;var L=u.exec(y);if(L){var _="",ie,Ee=0;for(ie=L.index;ie<y.length;ie++){switch(y.charCodeAt(ie)){case 34:L="&quot;";break;case 38:L="&amp;";break;case 39:L="&#x27;";break;case 60:L="&lt;";break;case 62:L="&gt;";break;default:continue}Ee!==ie&&(_+=y.substring(Ee,ie)),Ee=ie+1,_+=L}y=Ee!==ie?_+y.substring(Ee,ie):_}return y}var F=/([A-Z])/g,f=/^ms-/,B=Array.isArray;function U(y,L){return{insertionMode:y,selectedValue:L}}function K(y,L,_){switch(L){case"select":return U(1,_.value!=null?_.value:_.defaultValue);case"svg":return U(2,null);case"math":return U(3,null);case"foreignObject":return U(1,null);case"table":return U(4,null);case"thead":case"tbody":case"tfoot":return U(5,null);case"colgroup":return U(7,null);case"tr":return U(6,null)}return 4<=y.insertionMode||y.insertionMode===0?U(1,null):y}function k(y,L){L!==""&&y.push(x(L),"<!-- -->")}var j=new Map;function z(y,L,_){if(typeof _!="object")throw Error(A(62));L=!0;for(var ie in _)if(h.call(_,ie)){var Ee=_[ie];if(Ee!=null&&typeof Ee!="boolean"&&Ee!==""){if(ie.indexOf("--")===0){var ge=x(ie);Ee=x((""+Ee).trim())}else{ge=ie;var Be=j.get(ge);Be!==void 0||(Be=x(ge.replace(F,"-$1").toLowerCase().replace(f,"-ms-")),j.set(ge,Be)),ge=Be,Ee=typeof Ee=="number"?Ee===0||h.call(i,ie)?""+Ee:Ee+"px":x((""+Ee).trim())}L?(L=!1,y.push(' style="',ge,":",Ee)):y.push(";",ge,":",Ee)}}L||y.push('"')}function M(y,L,_,ie){switch(_){case"style":z(y,L,ie);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N"){if(L=s.hasOwnProperty(_)?s[_]:null,L!==null){switch(typeof ie){case"function":case"symbol":return;case"boolean":if(!L.acceptsBooleans)return}switch(_=L.attributeName,L.type){case 3:ie&&y.push(" ",_,'=""');break;case 4:ie===!0?y.push(" ",_,'=""'):ie!==!1&&y.push(" ",_,'="',x(ie),'"');break;case 5:isNaN(ie)||y.push(" ",_,'="',x(ie),'"');break;case 6:!isNaN(ie)&&1<=ie&&y.push(" ",_,'="',x(ie),'"');break;default:L.sanitizeURL&&(ie=""+ie),y.push(" ",_,'="',x(ie),'"')}}else if(l(_)){switch(typeof ie){case"function":case"symbol":return;case"boolean":if(L=_.toLowerCase().slice(0,5),L!=="data-"&&L!=="aria-")return}y.push(" ",_,'="',x(ie),'"')}}}function I(y,L,_){if(L!=null){if(_!=null)throw Error(A(60));if(typeof L!="object"||!("__html"in L))throw Error(A(61));L=L.__html,L!=null&&y.push(""+L)}}function X(y){var L="";return S.Children.forEach(y,function(_){_!=null&&(L+=_)}),L}function $(y,L,_,ie){y.push(le(_));var Ee=_=null,ge;for(ge in L)if(h.call(L,ge)){var Be=L[ge];if(Be!=null)switch(ge){case"children":_=Be;break;case"dangerouslySetInnerHTML":Ee=Be;break;default:M(y,ie,ge,Be)}}return y.push(">"),I(y,Ee,_),typeof _=="string"?(y.push(x(_)),null):_}var Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,W=new Map;function le(y){var L=W.get(y);if(L===void 0){if(!Q.test(y))throw Error(A(65,y));L="<"+y,W.set(y,L)}return L}function te(y,L,_,ie,Ee){switch(L){case"select":y.push(le("select"));var ge=null,Be=null;for(bt in _)if(h.call(_,bt)){var Ue=_[bt];if(Ue!=null)switch(bt){case"children":ge=Ue;break;case"dangerouslySetInnerHTML":Be=Ue;break;case"defaultValue":case"value":break;default:M(y,ie,bt,Ue)}}return y.push(">"),I(y,Be,ge),ge;case"option":Be=Ee.selectedValue,y.push(le("option"));var Xe=Ue=null,vt=null,bt=null;for(ge in _)if(h.call(_,ge)&&(L=_[ge],L!=null))switch(ge){case"children":Ue=L;break;case"selected":vt=L;break;case"dangerouslySetInnerHTML":bt=L;break;case"value":Xe=L;default:M(y,ie,ge,L)}if(Be!=null)if(_=Xe!==null?""+Xe:X(Ue),B(Be)){for(ie=0;ie<Be.length;ie++)if(""+Be[ie]===_){y.push(' selected=""');break}}else""+Be===_&&y.push(' selected=""');else vt&&y.push(' selected=""');return y.push(">"),I(y,bt,Ue),Ue;case"textarea":y.push(le("textarea")),bt=Be=ge=null;for(Ue in _)if(h.call(_,Ue)&&(Xe=_[Ue],Xe!=null))switch(Ue){case"children":bt=Xe;break;case"value":ge=Xe;break;case"defaultValue":Be=Xe;break;case"dangerouslySetInnerHTML":throw Error(A(91));default:M(y,ie,Ue,Xe)}if(ge===null&&Be!==null&&(ge=Be),y.push(">"),bt!=null){if(ge!=null)throw Error(A(92));if(B(bt)&&1<bt.length)throw Error(A(93));ge=""+bt}return typeof ge=="string"&&ge[0]===`
`&&y.push(`
`),ge!==null&&y.push(x(""+ge)),null;case"input":y.push(le("input")),Xe=bt=Ue=ge=null;for(Be in _)if(h.call(_,Be)&&(vt=_[Be],vt!=null))switch(Be){case"children":case"dangerouslySetInnerHTML":throw Error(A(399,"input"));case"defaultChecked":Xe=vt;break;case"defaultValue":Ue=vt;break;case"checked":bt=vt;break;case"value":ge=vt;break;default:M(y,ie,Be,vt)}return bt!==null?M(y,ie,"checked",bt):Xe!==null&&M(y,ie,"checked",Xe),ge!==null?M(y,ie,"value",ge):Ue!==null&&M(y,ie,"value",Ue),y.push("/>"),null;case"menuitem":y.push(le("menuitem"));for(var en in _)if(h.call(_,en)&&(ge=_[en],ge!=null))switch(en){case"children":case"dangerouslySetInnerHTML":throw Error(A(400));default:M(y,ie,en,ge)}return y.push(">"),null;case"listing":case"pre":y.push(le(L)),Be=ge=null;for(Xe in _)if(h.call(_,Xe)&&(Ue=_[Xe],Ue!=null))switch(Xe){case"children":ge=Ue;break;case"dangerouslySetInnerHTML":Be=Ue;break;default:M(y,ie,Xe,Ue)}if(y.push(">"),Be!=null){if(ge!=null)throw Error(A(60));if(typeof Be!="object"||!("__html"in Be))throw Error(A(61));_=Be.__html,_!=null&&(typeof _=="string"&&0<_.length&&_[0]===`
`?y.push(`
`,_):y.push(""+_))}return typeof ge=="string"&&ge[0]===`
`&&y.push(`
`),ge;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":y.push(le(L));for(var Zt in _)if(h.call(_,Zt)&&(ge=_[Zt],ge!=null))switch(Zt){case"children":case"dangerouslySetInnerHTML":throw Error(A(399,L));default:M(y,ie,Zt,ge)}return y.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return $(y,_,L,ie);case"html":return Ee.insertionMode===0&&y.push("<!DOCTYPE html>"),$(y,_,L,ie);default:if(L.indexOf("-")===-1&&typeof _.is!="string")return $(y,_,L,ie);y.push(le(L)),Be=ge=null;for(vt in _)if(h.call(_,vt)&&(Ue=_[vt],Ue!=null))switch(vt){case"children":ge=Ue;break;case"dangerouslySetInnerHTML":Be=Ue;break;case"style":z(y,ie,Ue);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(vt)&&typeof Ue!="function"&&typeof Ue!="symbol"&&y.push(" ",vt,'="',x(Ue),'"')}return y.push(">"),I(y,Be,ge),ge}}function pe(y,L,_){if(g(y,'<!--$?--><template id="'),_===null)throw Error(A(395));return g(y,_),g(y,'"></template>')}function Le(y,L,_,ie){switch(_.insertionMode){case 0:case 1:return g(y,'<div hidden id="'),g(y,L.segmentPrefix),L=ie.toString(16),g(y,L),g(y,'">');case 2:return g(y,'<svg aria-hidden="true" style="display:none" id="'),g(y,L.segmentPrefix),L=ie.toString(16),g(y,L),g(y,'">');case 3:return g(y,'<math aria-hidden="true" style="display:none" id="'),g(y,L.segmentPrefix),L=ie.toString(16),g(y,L),g(y,'">');case 4:return g(y,'<table hidden id="'),g(y,L.segmentPrefix),L=ie.toString(16),g(y,L),g(y,'">');case 5:return g(y,'<table hidden><tbody id="'),g(y,L.segmentPrefix),L=ie.toString(16),g(y,L),g(y,'">');case 6:return g(y,'<table hidden><tr id="'),g(y,L.segmentPrefix),L=ie.toString(16),g(y,L),g(y,'">');case 7:return g(y,'<table hidden><colgroup id="'),g(y,L.segmentPrefix),L=ie.toString(16),g(y,L),g(y,'">');default:throw Error(A(397))}}function De(y,L){switch(L.insertionMode){case 0:case 1:return g(y,"</div>");case 2:return g(y,"</svg>");case 3:return g(y,"</math>");case 4:return g(y,"</table>");case 5:return g(y,"</tbody></table>");case 6:return g(y,"</tr></table>");case 7:return g(y,"</colgroup></table>");default:throw Error(A(397))}}function Z(y,L){return L=L===void 0?"":L,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:L+"P:",segmentPrefix:L+"S:",boundaryPrefix:L+"B:",idPrefix:L,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:y}}var Re=Object.assign,Ye=Symbol.for("react.element"),_e=Symbol.for("react.portal"),Ze=Symbol.for("react.fragment"),qe=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),ye=Symbol.for("react.provider"),Te=Symbol.for("react.context"),we=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),Ne=Symbol.for("react.suspense_list"),ze=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),rt=Symbol.for("react.scope"),Fe=Symbol.for("react.debug_trace_mode"),Je=Symbol.for("react.legacy_hidden"),pt=Symbol.for("react.default_value"),Dt=Symbol.iterator;function Se(y){if(y==null)return null;if(typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case Ze:return"Fragment";case _e:return"Portal";case me:return"Profiler";case qe:return"StrictMode";case Me:return"Suspense";case Ne:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case Te:return(y.displayName||"Context")+".Consumer";case ye:return(y._context.displayName||"Context")+".Provider";case we:var L=y.render;return y=y.displayName,y||(y=L.displayName||L.name||"",y=y!==""?"ForwardRef("+y+")":"ForwardRef"),y;case ze:return L=y.displayName||null,L!==null?L:Se(y.type)||"Memo";case We:L=y._payload,y=y._init;try{return Se(y(L))}catch(_){}}return null}var V={};function Y(y,L){if(y=y.contextTypes,!y)return V;var _={},ie;for(ie in y)_[ie]=L[ie];return _}var ne=null;function fe(y,L){if(y!==L){y.context._currentValue2=y.parentValue,y=y.parent;var _=L.parent;if(y===null){if(_!==null)throw Error(A(401))}else{if(_===null)throw Error(A(401));fe(y,_)}L.context._currentValue2=L.value}}function he(y){y.context._currentValue2=y.parentValue,y=y.parent,y!==null&&he(y)}function be(y){var L=y.parent;L!==null&&be(L),y.context._currentValue2=y.value}function ke(y,L){if(y.context._currentValue2=y.parentValue,y=y.parent,y===null)throw Error(A(402));y.depth===L.depth?fe(y,L):ke(y,L)}function Oe(y,L){var _=L.parent;if(_===null)throw Error(A(402));y.depth===_.depth?fe(y,_):Oe(y,_),L.context._currentValue2=L.value}function Ke(y){var L=ne;L!==y&&(L===null?be(y):y===null?he(L):L.depth===y.depth?fe(L,y):L.depth>y.depth?ke(L,y):Oe(L,y),ne=y)}var Ve={isMounted:function(){return!1},enqueueSetState:function(y,L){y=y._reactInternals,y.queue!==null&&y.queue.push(L)},enqueueReplaceState:function(y,L){y=y._reactInternals,y.replace=!0,y.queue=[L]},enqueueForceUpdate:function(){}};function et(y,L,_,ie){var Ee=y.state!==void 0?y.state:null;y.updater=Ve,y.props=_,y.state=Ee;var ge={queue:[],replace:!1};y._reactInternals=ge;var Be=L.contextType;if(y.context=typeof Be=="object"&&Be!==null?Be._currentValue2:ie,Be=L.getDerivedStateFromProps,typeof Be=="function"&&(Be=Be(_,Ee),Ee=Be==null?Ee:Re({},Ee,Be),y.state=Ee),typeof L.getDerivedStateFromProps!="function"&&typeof y.getSnapshotBeforeUpdate!="function"&&(typeof y.UNSAFE_componentWillMount=="function"||typeof y.componentWillMount=="function"))if(L=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),L!==y.state&&Ve.enqueueReplaceState(y,y.state,null),ge.queue!==null&&0<ge.queue.length)if(L=ge.queue,Be=ge.replace,ge.queue=null,ge.replace=!1,Be&&L.length===1)y.state=L[0];else{for(ge=Be?L[0]:y.state,Ee=!0,Be=Be?1:0;Be<L.length;Be++){var Ue=L[Be];Ue=typeof Ue=="function"?Ue.call(y,ge,_,ie):Ue,Ue!=null&&(Ee?(Ee=!1,ge=Re({},ge,Ue)):Re(ge,Ue))}y.state=ge}else ge.queue=null}var Pe={id:1,overflow:""};function at(y,L,_){var ie=y.id;y=y.overflow;var Ee=32-mt(ie)-1;ie&=~(1<<Ee),_+=1;var ge=32-mt(L)+Ee;if(30<ge){var Be=Ee-Ee%5;return ge=(ie&(1<<Be)-1).toString(32),ie>>=Be,Ee-=Be,{id:1<<32-mt(L)+Ee|_<<Ee|ie,overflow:ge+y}}return{id:1<<ge|_<<Ee|ie,overflow:y}}var mt=Math.clz32?Math.clz32:At,Tt=Math.log,St=Math.LN2;function At(y){return y>>>=0,y===0?32:31-(Tt(y)/St|0)|0}function Yt(y,L){return y===L&&(y!==0||1/y===1/L)||y!==y&&L!==L}var Gt=typeof Object.is=="function"?Object.is:Yt,ae=null,ce=null,Ce=null,xe=null,He=!1,je=!1,gt=0,it=null,Et=0;function ot(){if(ae===null)throw Error(A(321));return ae}function wt(){if(0<Et)throw Error(A(312));return{memoizedState:null,queue:null,next:null}}function ut(){return xe===null?Ce===null?(He=!1,Ce=xe=wt()):(He=!0,xe=Ce):xe.next===null?(He=!1,xe=xe.next=wt()):(He=!0,xe=xe.next),xe}function Ct(){ce=ae=null,je=!1,Ce=null,Et=0,xe=it=null}function nt(y,L){return typeof L=="function"?L(y):L}function ct(y,L,_){if(ae=ot(),xe=ut(),He){var ie=xe.queue;if(L=ie.dispatch,it!==null&&(_=it.get(ie),_!==void 0)){it.delete(ie),ie=xe.memoizedState;do ie=y(ie,_.action),_=_.next;while(_!==null);return xe.memoizedState=ie,[ie,L]}return[xe.memoizedState,L]}return y=y===nt?typeof L=="function"?L():L:_!==void 0?_(L):L,xe.memoizedState=y,y=xe.queue={last:null,dispatch:null},y=y.dispatch=ft.bind(null,ae,y),[xe.memoizedState,y]}function ht(y,L){if(ae=ot(),xe=ut(),L=L===void 0?null:L,xe!==null){var _=xe.memoizedState;if(_!==null&&L!==null){var ie=_[1];e:if(ie===null)ie=!1;else{for(var Ee=0;Ee<ie.length&&Ee<L.length;Ee++)if(!Gt(L[Ee],ie[Ee])){ie=!1;break e}ie=!0}if(ie)return _[0]}}return y=y(),xe.memoizedState=[y,L],y}function ft(y,L,_){if(25<=Et)throw Error(A(301));if(y===ae)if(je=!0,y={action:_,next:null},it===null&&(it=new Map),_=it.get(L),_===void 0)it.set(L,y);else{for(L=_;L.next!==null;)L=L.next;L.next=y}}function jt(){throw Error(A(394))}function Ht(){}var Ot={readContext:function(y){return y._currentValue2},useContext:function(y){return ot(),y._currentValue2},useMemo:ht,useReducer:ct,useRef:function(y){ae=ot(),xe=ut();var L=xe.memoizedState;return L===null?(y={current:y},xe.memoizedState=y):L},useState:function(y){return ct(nt,y)},useInsertionEffect:Ht,useLayoutEffect:function(){},useCallback:function(y,L){return ht(function(){return y},L)},useImperativeHandle:Ht,useEffect:Ht,useDebugValue:Ht,useDeferredValue:function(y){return ot(),y},useTransition:function(){return ot(),[!1,jt]},useId:function(){var y=ce.treeContext,L=y.overflow;y=y.id,y=(y&~(1<<32-mt(y)-1)).toString(32)+L;var _=Ft;if(_===null)throw Error(A(404));return L=gt++,y=":"+_.idPrefix+"R"+y,0<L&&(y+="H"+L.toString(32)),y+":"},useMutableSource:function(y,L){return ot(),L(y._source)},useSyncExternalStore:function(y,L,_){if(_===void 0)throw Error(A(407));return _()}},Ft=null,st=S.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Mt(y){console.error(y)}function Bt(){}function lt(y,L,_,ie,Ee,ge,Be,Ue,Xe){var vt=[],bt=new Set;return L={destination:null,responseState:L,progressiveChunkSize:ie===void 0?12800:ie,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:bt,pingedTasks:vt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ee===void 0?Mt:Ee,onAllReady:ge===void 0?Bt:ge,onShellReady:Be===void 0?Bt:Be,onShellError:Ue===void 0?Bt:Ue,onFatalError:Xe===void 0?Bt:Xe},_=Ut(L,0,null,_),_.parentFlushed=!0,y=Rt(L,y,null,_,bt,V,null,Pe),vt.push(y),L}function Rt(y,L,_,ie,Ee,ge,Be,Ue){y.allPendingTasks++,_===null?y.pendingRootTasks++:_.pendingTasks++;var Xe={node:L,ping:function(){var vt=y.pingedTasks;vt.push(Xe),vt.length===1&&mn(y)},blockedBoundary:_,blockedSegment:ie,abortSet:Ee,legacyContext:ge,context:Be,treeContext:Ue};return Ee.add(Xe),Xe}function Ut(y,L,_,ie){return{status:0,id:-1,index:L,parentFlushed:!1,chunks:[],children:[],formatContext:ie,boundary:_}}function _t(y,L){y=y.onError,y(L)}function on(y,L){var _=y.onShellError;_(L),_=y.onFatalError,_(L),y.destination!==null?(y.status=2,y.destination.destroy(L)):(y.status=1,y.fatalError=L)}function ln(y,L,_,ie,Ee){for(ae={},ce=L,gt=0,y=_(ie,Ee);je;)je=!1,gt=0,Et+=1,xe=null,y=_(ie,Ee);return Ct(),y}function Qt(y,L,_,ie){var Ee=_.render(),ge=ie.childContextTypes;if(ge!=null){var Be=L.legacyContext;if(typeof _.getChildContext!="function")ie=Be;else{_=_.getChildContext();for(var Ue in _)if(!(Ue in ge))throw Error(A(108,Se(ie)||"Unknown",Ue));ie=Re({},Be,_)}L.legacyContext=ie,Pt(y,L,Ee),L.legacyContext=Be}else Pt(y,L,Ee)}function Bn(y,L){if(y&&y.defaultProps){L=Re({},L),y=y.defaultProps;for(var _ in y)L[_]===void 0&&(L[_]=y[_]);return L}return L}function un(y,L,_,ie,Ee){if(typeof _=="function")if(_.prototype&&_.prototype.isReactComponent){Ee=Y(_,L.legacyContext);var ge=_.contextType;ge=new _(ie,typeof ge=="object"&&ge!==null?ge._currentValue2:Ee),et(ge,_,ie,Ee),Qt(y,L,ge,_)}else{ge=Y(_,L.legacyContext),Ee=ln(y,L,_,ie,ge);var Be=gt!==0;if(typeof Ee=="object"&&Ee!==null&&typeof Ee.render=="function"&&Ee.$$typeof===void 0)et(Ee,_,ie,ge),Qt(y,L,Ee,_);else if(Be){ie=L.treeContext,L.treeContext=at(ie,1,0);try{Pt(y,L,Ee)}finally{L.treeContext=ie}}else Pt(y,L,Ee)}else if(typeof _=="string")switch(Ee=L.blockedSegment,ge=te(Ee.chunks,_,ie,y.responseState,Ee.formatContext),Be=Ee.formatContext,Ee.formatContext=K(Be,_,ie),$t(y,L,ge),Ee.formatContext=Be,_){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Ee.chunks.push("</",_,">")}else{switch(_){case Je:case Fe:case qe:case me:case Ze:Pt(y,L,ie.children);return;case Ne:Pt(y,L,ie.children);return;case rt:throw Error(A(343));case Me:e:{_=L.blockedBoundary,Ee=L.blockedSegment,ge=ie.fallback,ie=ie.children,Be=new Set;var Ue={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Be},Xe=Ut(y,Ee.chunks.length,Ue,Ee.formatContext);Ee.children.push(Xe);var vt=Ut(y,0,null,Ee.formatContext);vt.parentFlushed=!0,L.blockedBoundary=Ue,L.blockedSegment=vt;try{if($t(y,L,ie),vt.status=1,vn(Ue,vt),Ue.pendingTasks===0)break e}catch(bt){vt.status=4,_t(y,bt),Ue.forceClientRender=!0}finally{L.blockedBoundary=_,L.blockedSegment=Ee}L=Rt(y,ge,_,Xe,Be,L.legacyContext,L.context,L.treeContext),y.pingedTasks.push(L)}return}if(typeof _=="object"&&_!==null)switch(_.$$typeof){case we:if(ie=ln(y,L,_.render,ie,Ee),gt!==0){_=L.treeContext,L.treeContext=at(_,1,0);try{Pt(y,L,ie)}finally{L.treeContext=_}}else Pt(y,L,ie);return;case ze:_=_.type,ie=Bn(_,ie),un(y,L,_,ie,Ee);return;case ye:if(Ee=ie.children,_=_._context,ie=ie.value,ge=_._currentValue2,_._currentValue2=ie,Be=ne,ne=ie={parent:Be,depth:Be===null?0:Be.depth+1,context:_,parentValue:ge,value:ie},L.context=ie,Pt(y,L,Ee),y=ne,y===null)throw Error(A(403));ie=y.parentValue,y.context._currentValue2=ie===pt?y.context._defaultValue:ie,y=ne=y.parent,L.context=y;return;case Te:ie=ie.children,ie=ie(_._currentValue2),Pt(y,L,ie);return;case We:Ee=_._init,_=Ee(_._payload),ie=Bn(_,ie),un(y,L,_,ie,void 0);return}throw Error(A(130,_==null?_:typeof _,""))}}function Pt(y,L,_){if(L.node=_,typeof _=="object"&&_!==null){switch(_.$$typeof){case Ye:un(y,L,_.type,_.props,_.ref);return;case _e:throw Error(A(257));case We:var ie=_._init;_=ie(_._payload),Pt(y,L,_);return}if(B(_)){Tn(y,L,_);return}if(_===null||typeof _!="object"?ie=null:(ie=Dt&&_[Dt]||_["@@iterator"],ie=typeof ie=="function"?ie:null),ie&&(ie=ie.call(_))){if(_=ie.next(),!_.done){var Ee=[];do Ee.push(_.value),_=ie.next();while(!_.done);Tn(y,L,Ee)}return}throw y=Object.prototype.toString.call(_),Error(A(31,y==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":y))}typeof _=="string"?(L=L.blockedSegment.chunks,y.responseState.generateStaticMarkup?L.push(x(_)):k(L,_)):typeof _=="number"&&(L=L.blockedSegment.chunks,_=""+_,y.responseState.generateStaticMarkup?L.push(x(_)):k(L,_))}function Tn(y,L,_){for(var ie=_.length,Ee=0;Ee<ie;Ee++){var ge=L.treeContext;L.treeContext=at(ge,ie,Ee);try{$t(y,L,_[Ee])}finally{L.treeContext=ge}}}function $t(y,L,_){var ie=L.blockedSegment.formatContext,Ee=L.legacyContext,ge=L.context;try{return Pt(y,L,_)}catch(Xe){if(Ct(),typeof Xe=="object"&&Xe!==null&&typeof Xe.then=="function"){_=Xe;var Be=L.blockedSegment,Ue=Ut(y,Be.chunks.length,null,Be.formatContext);Be.children.push(Ue),y=Rt(y,L.node,L.blockedBoundary,Ue,L.abortSet,L.legacyContext,L.context,L.treeContext).ping,_.then(y,y),L.blockedSegment.formatContext=ie,L.legacyContext=Ee,L.context=ge,Ke(ge)}else throw L.blockedSegment.formatContext=ie,L.legacyContext=Ee,L.context=ge,Ke(ge),Xe}}function An(y){var L=y.blockedBoundary;y=y.blockedSegment,y.status=3,sn(this,L,y)}function gn(y){var L=y.blockedBoundary;y.blockedSegment.status=3,L===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.push(null))):(L.pendingTasks--,L.forceClientRender||(L.forceClientRender=!0,L.parentFlushed&&this.clientRenderedBoundaries.push(L)),L.fallbackAbortableTasks.forEach(gn,this),L.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(y=this.onAllReady,y()))}function vn(y,L){if(L.chunks.length===0&&L.children.length===1&&L.children[0].boundary===null){var _=L.children[0];_.id=L.id,_.parentFlushed=!0,_.status===1&&vn(y,_)}else y.completedSegments.push(L)}function sn(y,L,_){if(L===null){if(_.parentFlushed){if(y.completedRootSegment!==null)throw Error(A(389));y.completedRootSegment=_}y.pendingRootTasks--,y.pendingRootTasks===0&&(y.onShellError=Bt,L=y.onShellReady,L())}else L.pendingTasks--,L.forceClientRender||(L.pendingTasks===0?(_.parentFlushed&&_.status===1&&vn(L,_),L.parentFlushed&&y.completedBoundaries.push(L),L.fallbackAbortableTasks.forEach(An,y),L.fallbackAbortableTasks.clear()):_.parentFlushed&&_.status===1&&(vn(L,_),L.completedSegments.length===1&&L.parentFlushed&&y.partialBoundaries.push(L)));y.allPendingTasks--,y.allPendingTasks===0&&(y=y.onAllReady,y())}function mn(y){if(y.status!==2){var L=ne,_=st.current;st.current=Ot;var ie=Ft;Ft=y.responseState;try{var Ee=y.pingedTasks,ge;for(ge=0;ge<Ee.length;ge++){var Be=Ee[ge],Ue=y,Xe=Be.blockedSegment;if(Xe.status===0){Ke(Be.context);try{Pt(Ue,Be,Be.node),Be.abortSet.delete(Be),Xe.status=1,sn(Ue,Be.blockedBoundary,Xe)}catch(nn){if(Ct(),typeof nn=="object"&&nn!==null&&typeof nn.then=="function"){var vt=Be.ping;nn.then(vt,vt)}else{Be.abortSet.delete(Be),Xe.status=4;var bt=Be.blockedBoundary,en=nn;if(_t(Ue,en),bt===null?on(Ue,en):(bt.pendingTasks--,bt.forceClientRender||(bt.forceClientRender=!0,bt.parentFlushed&&Ue.clientRenderedBoundaries.push(bt))),Ue.allPendingTasks--,Ue.allPendingTasks===0){var Zt=Ue.onAllReady;Zt()}}}finally{}}}Ee.splice(0,ge),y.destination!==null&&Hn(y,y.destination)}catch(nn){_t(y,nn),on(y,nn)}finally{Ft=ie,st.current=_,_===Ot&&Ke(L)}}}function yn(y,L,_){switch(_.parentFlushed=!0,_.status){case 0:var ie=_.id=y.nextSegmentId++;return y=y.responseState,g(L,'<template id="'),g(L,y.placeholderPrefix),y=ie.toString(16),g(L,y),g(L,'"></template>');case 1:_.status=2;var Ee=!0;ie=_.chunks;var ge=0;_=_.children;for(var Be=0;Be<_.length;Be++){for(Ee=_[Be];ge<Ee.index;ge++)g(L,ie[ge]);Ee=pn(y,L,Ee)}for(;ge<ie.length-1;ge++)g(L,ie[ge]);return ge<ie.length&&(Ee=g(L,ie[ge])),Ee;default:throw Error(A(390))}}function pn(y,L,_){var ie=_.boundary;if(ie===null)return yn(y,L,_);if(ie.parentFlushed=!0,ie.forceClientRender)return y.responseState.generateStaticMarkup||g(L,"<!--$!-->"),yn(y,L,_),y=y.responseState.generateStaticMarkup?!0:g(L,"<!--/$-->"),y;if(0<ie.pendingTasks){ie.rootSegmentID=y.nextSegmentId++,0<ie.completedSegments.length&&y.partialBoundaries.push(ie);var Ee=y.responseState,ge=Ee.nextSuspenseID++;return Ee=Ee.boundaryPrefix+ge.toString(16),ie=ie.id=Ee,pe(L,y.responseState,ie),yn(y,L,_),g(L,"<!--/$-->")}if(ie.byteSize>y.progressiveChunkSize)return ie.rootSegmentID=y.nextSegmentId++,y.completedBoundaries.push(ie),pe(L,y.responseState,ie.id),yn(y,L,_),g(L,"<!--/$-->");if(y.responseState.generateStaticMarkup||g(L,"<!--$-->"),_=ie.completedSegments,_.length!==1)throw Error(A(391));return pn(y,L,_[0]),y=y.responseState.generateStaticMarkup?!0:g(L,"<!--/$-->"),y}function Fn(y,L,_){return Le(L,y.responseState,_.formatContext,_.id),pn(y,L,_),De(L,_.formatContext)}function $n(y,L,_){for(var ie=_.completedSegments,Ee=0;Ee<ie.length;Ee++)nr(y,L,_,ie[Ee]);if(ie.length=0,y=y.responseState,ie=_.id,_=_.rootSegmentID,g(L,y.startInlineScript),y.sentCompleteBoundaryFunction?g(L,'$RC("'):(y.sentCompleteBoundaryFunction=!0,g(L,'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),ie===null)throw Error(A(395));return _=_.toString(16),g(L,ie),g(L,'","'),g(L,y.segmentPrefix),g(L,_),g(L,'")<\/script>')}function nr(y,L,_,ie){if(ie.status===2)return!0;var Ee=ie.id;if(Ee===-1){if((ie.id=_.rootSegmentID)===-1)throw Error(A(392));return Fn(y,L,ie)}return Fn(y,L,ie),y=y.responseState,g(L,y.startInlineScript),y.sentCompleteSegmentFunction?g(L,'$RS("'):(y.sentCompleteSegmentFunction=!0,g(L,'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),g(L,y.segmentPrefix),Ee=Ee.toString(16),g(L,Ee),g(L,'","'),g(L,y.placeholderPrefix),g(L,Ee),g(L,'")<\/script>')}function Hn(y,L){try{var _=y.completedRootSegment;if(_!==null&&y.pendingRootTasks===0){pn(y,L,_),y.completedRootSegment=null;var ie=y.responseState.bootstrapChunks;for(_=0;_<ie.length-1;_++)g(L,ie[_]);_<ie.length&&g(L,ie[_])}var Ee=y.clientRenderedBoundaries,ge;for(ge=0;ge<Ee.length;ge++){ie=L;var Be=y.responseState,Ue=Ee[ge].id;if(g(ie,Be.startInlineScript),Be.sentClientRenderFunction?g(ie,'$RX("'):(Be.sentClientRenderFunction=!0,g(ie,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),Ue===null)throw Error(A(395));if(g(ie,Ue),!g(ie,'")<\/script>')){y.destination=null,ge++,Ee.splice(0,ge);return}}Ee.splice(0,ge);var Xe=y.completedBoundaries;for(ge=0;ge<Xe.length;ge++)if(!$n(y,L,Xe[ge])){y.destination=null,ge++,Xe.splice(0,ge);return}Xe.splice(0,ge);var vt=y.partialBoundaries;for(ge=0;ge<vt.length;ge++){var bt=vt[ge];e:{Ee=y,Be=L;var en=bt.completedSegments;for(Ue=0;Ue<en.length;Ue++)if(!nr(Ee,Be,bt,en[Ue])){Ue++,en.splice(0,Ue);var Zt=!1;break e}en.splice(0,Ue),Zt=!0}if(!Zt){y.destination=null,ge++,vt.splice(0,ge);return}}vt.splice(0,ge);var nn=y.completedBoundaries;for(ge=0;ge<nn.length;ge++)if(!$n(y,L,nn[ge])){y.destination=null,ge++,nn.splice(0,ge);return}nn.splice(0,ge)}finally{y.allPendingTasks===0&&y.pingedTasks.length===0&&y.clientRenderedBoundaries.length===0&&y.completedBoundaries.length===0&&L.push(null)}}function rr(y){try{var L=y.abortableTasks;L.forEach(gn,y),L.clear(),y.destination!==null&&Hn(y,y.destination)}catch(_){_t(y,_),on(y,_)}}function jn(){}function Zn(y,L,_){var ie=!1,Ee=null,ge="",Be={push:function(Xe){return Xe!==null&&(ge+=Xe),!0},destroy:function(Xe){ie=!0,Ee=Xe}},Ue=!1;if(y=lt(y,Z(_,L?L.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,jn,void 0,function(){Ue=!0},void 0,void 0),mn(y),rr(y),y.status===1)y.status=2,Be.destroy(y.fatalError);else if(y.status!==2&&y.destination===null){y.destination=Be;try{Hn(y,Be)}catch(Xe){_t(y,Xe),on(y,Xe)}}if(ie)throw Ee;if(!Ue)throw Error(A(426));return ge}D.renderToNodeStream=function(){throw Error(A(207))},D.renderToStaticMarkup=function(y,L){return Zn(y,L,!0)},D.renderToStaticNodeStream=function(){throw Error(A(208))},D.renderToString=function(y,L){return Zn(y,L,!1)},D.version="18.1.0"},36144:function(J,D,r){"use strict";var S=r(93236);function A(v){for(var P="https://reactjs.org/docs/error-decoder.html?invariant="+v,w=1;w<arguments.length;w++)P+="&args[]="+encodeURIComponent(arguments[w]);return"Minified React error #"+v+"; visit "+P+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var C=null,g=0;function h(v,P){if(P.length!==0)if(512<P.length)0<g&&(v.enqueue(new Uint8Array(C.buffer,0,g)),C=new Uint8Array(512),g=0),v.enqueue(P);else{var w=C.length-g;w<P.length&&(w===0?v.enqueue(C):(C.set(P.subarray(0,w),g),v.enqueue(C),P=P.subarray(w)),C=new Uint8Array(512),g=0),C.set(P,g),g+=P.length}}function b(v,P){return h(v,P),!0}function E(v){C&&0<g&&(v.enqueue(new Uint8Array(C.buffer,0,g)),C=null,g=0)}var c=new TextEncoder;function l(v){return c.encode(v)}function p(v){return c.encode(v)}function s(v,P){typeof v.error=="function"?v.error(P):v.close()}var a=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,i={},o={};function u(v){return a.call(o,v)?!0:a.call(i,v)?!1:d.test(v)?o[v]=!0:(i[v]=!0,!1)}function x(v,P,w,m,R,t,O){this.acceptsBooleans=P===2||P===3||P===4,this.attributeName=m,this.attributeNamespace=R,this.mustUseProperty=w,this.propertyName=v,this.type=P,this.sanitizeURL=t,this.removeEmptyString=O}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(v){F[v]=new x(v,0,!1,v,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(v){var P=v[0];F[P]=new x(P,1,!1,v[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(v){F[v]=new x(v,2,!1,v.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(v){F[v]=new x(v,2,!1,v,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(v){F[v]=new x(v,3,!1,v.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(v){F[v]=new x(v,3,!0,v,null,!1,!1)}),["capture","download"].forEach(function(v){F[v]=new x(v,4,!1,v,null,!1,!1)}),["cols","rows","size","span"].forEach(function(v){F[v]=new x(v,6,!1,v,null,!1,!1)}),["rowSpan","start"].forEach(function(v){F[v]=new x(v,5,!1,v.toLowerCase(),null,!1,!1)});var f=/[\-:]([a-z])/g;function B(v){return v[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(v){var P=v.replace(f,B);F[P]=new x(P,1,!1,v,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(v){var P=v.replace(f,B);F[P]=new x(P,1,!1,v,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(v){var P=v.replace(f,B);F[P]=new x(P,1,!1,v,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(v){F[v]=new x(v,1,!1,v.toLowerCase(),null,!1,!1)}),F.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(v){F[v]=new x(v,1,!1,v.toLowerCase(),null,!0,!0)});var U={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},K=["Webkit","ms","Moz","O"];Object.keys(U).forEach(function(v){K.forEach(function(P){P=P+v.charAt(0).toUpperCase()+v.substring(1),U[P]=U[v]})});var k=/["'&<>]/;function j(v){if(typeof v=="boolean"||typeof v=="number")return""+v;v=""+v;var P=k.exec(v);if(P){var w="",m,R=0;for(m=P.index;m<v.length;m++){switch(v.charCodeAt(m)){case 34:P="&quot;";break;case 38:P="&amp;";break;case 39:P="&#x27;";break;case 60:P="&lt;";break;case 62:P="&gt;";break;default:continue}R!==m&&(w+=v.substring(R,m)),R=m+1,w+=P}v=R!==m?w+v.substring(R,m):w}return v}var z=/([A-Z])/g,M=/^ms-/,I=Array.isArray,X=p("<script>"),$=p("<\/script>"),Q=p('<script src="'),W=p('<script type="module" src="'),le=p('" async=""><\/script>'),te=/(<\/|<)(s)(cript)/gi;function pe(v,P,w,m){return""+P+(w==="s"?"\\u0073":"\\u0053")+m}function Le(v,P,w,m,R){v=v===void 0?"":v,P=P===void 0?X:p('<script nonce="'+j(P)+'">');var t=[];if(w!==void 0&&t.push(P,l((""+w).replace(te,pe)),$),m!==void 0)for(w=0;w<m.length;w++)t.push(Q,l(j(m[w])),le);if(R!==void 0)for(m=0;m<R.length;m++)t.push(W,l(j(R[m])),le);return{bootstrapChunks:t,startInlineScript:P,placeholderPrefix:p(v+"P:"),segmentPrefix:p(v+"S:"),boundaryPrefix:v+"B:",idPrefix:v,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function De(v,P){return{insertionMode:v,selectedValue:P}}function Z(v){return De(v==="http://www.w3.org/2000/svg"?2:v==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Re(v,P,w){switch(P){case"select":return De(1,w.value!=null?w.value:w.defaultValue);case"svg":return De(2,null);case"math":return De(3,null);case"foreignObject":return De(1,null);case"table":return De(4,null);case"thead":case"tbody":case"tfoot":return De(5,null);case"colgroup":return De(7,null);case"tr":return De(6,null)}return 4<=v.insertionMode||v.insertionMode===0?De(1,null):v}var Ye=p("<!-- -->"),_e=new Map,Ze=p(' style="'),qe=p(":"),me=p(";");function ye(v,P,w){if(typeof w!="object")throw Error(A(62));P=!0;for(var m in w)if(a.call(w,m)){var R=w[m];if(R!=null&&typeof R!="boolean"&&R!==""){if(m.indexOf("--")===0){var t=l(j(m));R=l(j((""+R).trim()))}else{t=m;var O=_e.get(t);O!==void 0||(O=p(j(t.replace(z,"-$1").toLowerCase().replace(M,"-ms-"))),_e.set(t,O)),t=O,R=typeof R=="number"?R===0||a.call(U,m)?l(""+R):l(R+"px"):l(j((""+R).trim()))}P?(P=!1,v.push(Ze,t,qe,R)):v.push(me,t,qe,R)}}P||v.push(Me)}var Te=p(" "),we=p('="'),Me=p('"'),Ne=p('=""');function ze(v,P,w,m){switch(w){case"style":ye(v,P,m);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<w.length)||w[0]!=="o"&&w[0]!=="O"||w[1]!=="n"&&w[1]!=="N"){if(P=F.hasOwnProperty(w)?F[w]:null,P!==null){switch(typeof m){case"function":case"symbol":return;case"boolean":if(!P.acceptsBooleans)return}switch(w=l(P.attributeName),P.type){case 3:m&&v.push(Te,w,Ne);break;case 4:m===!0?v.push(Te,w,Ne):m!==!1&&v.push(Te,w,we,l(j(m)),Me);break;case 5:isNaN(m)||v.push(Te,w,we,l(j(m)),Me);break;case 6:!isNaN(m)&&1<=m&&v.push(Te,w,we,l(j(m)),Me);break;default:P.sanitizeURL&&(m=""+m),v.push(Te,w,we,l(j(m)),Me)}}else if(u(w)){switch(typeof m){case"function":case"symbol":return;case"boolean":if(P=w.toLowerCase().slice(0,5),P!=="data-"&&P!=="aria-")return}v.push(Te,l(w),we,l(j(m)),Me)}}}var We=p(">"),rt=p("/>");function Fe(v,P,w){if(P!=null){if(w!=null)throw Error(A(60));if(typeof P!="object"||!("__html"in P))throw Error(A(61));P=P.__html,P!=null&&v.push(l(""+P))}}function Je(v){var P="";return S.Children.forEach(v,function(w){w!=null&&(P+=w)}),P}var pt=p(' selected=""');function Dt(v,P,w,m){v.push(ne(w));var R=w=null,t;for(t in P)if(a.call(P,t)){var O=P[t];if(O!=null)switch(t){case"children":w=O;break;case"dangerouslySetInnerHTML":R=O;break;default:ze(v,m,t,O)}}return v.push(We),Fe(v,R,w),typeof w=="string"?(v.push(l(j(w))),null):w}var Se=p(`
`),V=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Y=new Map;function ne(v){var P=Y.get(v);if(P===void 0){if(!V.test(v))throw Error(A(65,v));P=p("<"+v),Y.set(v,P)}return P}var fe=p("<!DOCTYPE html>");function he(v,P,w,m,R){switch(P){case"select":v.push(ne("select"));var t=null,O=null;for(de in w)if(a.call(w,de)){var G=w[de];if(G!=null)switch(de){case"children":t=G;break;case"dangerouslySetInnerHTML":O=G;break;case"defaultValue":case"value":break;default:ze(v,m,de,G)}}return v.push(We),Fe(v,O,t),t;case"option":O=R.selectedValue,v.push(ne("option"));var re=G=null,q=null,de=null;for(t in w)if(a.call(w,t)&&(P=w[t],P!=null))switch(t){case"children":G=P;break;case"selected":q=P;break;case"dangerouslySetInnerHTML":de=P;break;case"value":re=P;default:ze(v,m,t,P)}if(O!=null)if(w=re!==null?""+re:Je(G),I(O)){for(m=0;m<O.length;m++)if(""+O[m]===w){v.push(pt);break}}else""+O===w&&v.push(pt);else q&&v.push(pt);return v.push(We),Fe(v,de,G),G;case"textarea":v.push(ne("textarea")),de=O=t=null;for(G in w)if(a.call(w,G)&&(re=w[G],re!=null))switch(G){case"children":de=re;break;case"value":t=re;break;case"defaultValue":O=re;break;case"dangerouslySetInnerHTML":throw Error(A(91));default:ze(v,m,G,re)}if(t===null&&O!==null&&(t=O),v.push(We),de!=null){if(t!=null)throw Error(A(92));if(I(de)&&1<de.length)throw Error(A(93));t=""+de}return typeof t=="string"&&t[0]===`
`&&v.push(Se),t!==null&&v.push(l(j(""+t))),null;case"input":v.push(ne("input")),re=de=G=t=null;for(O in w)if(a.call(w,O)&&(q=w[O],q!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(A(399,"input"));case"defaultChecked":re=q;break;case"defaultValue":G=q;break;case"checked":de=q;break;case"value":t=q;break;default:ze(v,m,O,q)}return de!==null?ze(v,m,"checked",de):re!==null&&ze(v,m,"checked",re),t!==null?ze(v,m,"value",t):G!==null&&ze(v,m,"value",G),v.push(rt),null;case"menuitem":v.push(ne("menuitem"));for(var ve in w)if(a.call(w,ve)&&(t=w[ve],t!=null))switch(ve){case"children":case"dangerouslySetInnerHTML":throw Error(A(400));default:ze(v,m,ve,t)}return v.push(We),null;case"listing":case"pre":v.push(ne(P)),O=t=null;for(re in w)if(a.call(w,re)&&(G=w[re],G!=null))switch(re){case"children":t=G;break;case"dangerouslySetInnerHTML":O=G;break;default:ze(v,m,re,G)}if(v.push(We),O!=null){if(t!=null)throw Error(A(60));if(typeof O!="object"||!("__html"in O))throw Error(A(61));w=O.__html,w!=null&&(typeof w=="string"&&0<w.length&&w[0]===`
`?v.push(Se,l(w)):v.push(l(""+w)))}return typeof t=="string"&&t[0]===`
`&&v.push(Se),t;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":v.push(ne(P));for(var Qe in w)if(a.call(w,Qe)&&(t=w[Qe],t!=null))switch(Qe){case"children":case"dangerouslySetInnerHTML":throw Error(A(399,P));default:ze(v,m,Qe,t)}return v.push(rt),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Dt(v,w,P,m);case"html":return R.insertionMode===0&&v.push(fe),Dt(v,w,P,m);default:if(P.indexOf("-")===-1&&typeof w.is!="string")return Dt(v,w,P,m);v.push(ne(P)),O=t=null;for(q in w)if(a.call(w,q)&&(G=w[q],G!=null))switch(q){case"children":t=G;break;case"dangerouslySetInnerHTML":O=G;break;case"style":ye(v,m,G);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:u(q)&&typeof G!="function"&&typeof G!="symbol"&&v.push(Te,l(q),we,l(j(G)),Me)}return v.push(We),Fe(v,O,t),t}}var be=p("</"),ke=p(">"),Oe=p('<template id="'),Ke=p('"></template>'),Ve=p("<!--$-->"),et=p('<!--$?--><template id="'),Pe=p('"></template>'),at=p("<!--$!-->"),mt=p("<!--/$-->");function Tt(v,P,w){if(h(v,et),w===null)throw Error(A(395));return h(v,w),b(v,Pe)}var St=p('<div hidden id="'),At=p('">'),Yt=p("</div>"),Gt=p('<svg aria-hidden="true" style="display:none" id="'),ae=p('">'),ce=p("</svg>"),Ce=p('<math aria-hidden="true" style="display:none" id="'),xe=p('">'),He=p("</math>"),je=p('<table hidden id="'),gt=p('">'),it=p("</table>"),Et=p('<table hidden><tbody id="'),ot=p('">'),wt=p("</tbody></table>"),ut=p('<table hidden><tr id="'),Ct=p('">'),nt=p("</tr></table>"),ct=p('<table hidden><colgroup id="'),ht=p('">'),ft=p("</colgroup></table>");function jt(v,P,w,m){switch(w.insertionMode){case 0:case 1:return h(v,St),h(v,P.segmentPrefix),h(v,l(m.toString(16))),b(v,At);case 2:return h(v,Gt),h(v,P.segmentPrefix),h(v,l(m.toString(16))),b(v,ae);case 3:return h(v,Ce),h(v,P.segmentPrefix),h(v,l(m.toString(16))),b(v,xe);case 4:return h(v,je),h(v,P.segmentPrefix),h(v,l(m.toString(16))),b(v,gt);case 5:return h(v,Et),h(v,P.segmentPrefix),h(v,l(m.toString(16))),b(v,ot);case 6:return h(v,ut),h(v,P.segmentPrefix),h(v,l(m.toString(16))),b(v,Ct);case 7:return h(v,ct),h(v,P.segmentPrefix),h(v,l(m.toString(16))),b(v,ht);default:throw Error(A(397))}}function Ht(v,P){switch(P.insertionMode){case 0:case 1:return b(v,Yt);case 2:return b(v,ce);case 3:return b(v,He);case 4:return b(v,it);case 5:return b(v,wt);case 6:return b(v,nt);case 7:return b(v,ft);default:throw Error(A(397))}}var Ot=p('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ft=p('$RS("'),st=p('","'),Mt=p('")<\/script>'),Bt=p('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),lt=p('$RC("'),Rt=p('","'),Ut=p('")<\/script>'),_t=p('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),on=p('$RX("'),ln=p('")<\/script>'),Qt=Object.assign,Bn=Symbol.for("react.element"),un=Symbol.for("react.portal"),Pt=Symbol.for("react.fragment"),Tn=Symbol.for("react.strict_mode"),$t=Symbol.for("react.profiler"),An=Symbol.for("react.provider"),gn=Symbol.for("react.context"),vn=Symbol.for("react.forward_ref"),sn=Symbol.for("react.suspense"),mn=Symbol.for("react.suspense_list"),yn=Symbol.for("react.memo"),pn=Symbol.for("react.lazy"),Fn=Symbol.for("react.scope"),$n=Symbol.for("react.debug_trace_mode"),nr=Symbol.for("react.legacy_hidden"),Hn=Symbol.for("react.default_value"),rr=Symbol.iterator;function jn(v){if(v==null)return null;if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case Pt:return"Fragment";case un:return"Portal";case $t:return"Profiler";case Tn:return"StrictMode";case sn:return"Suspense";case mn:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case gn:return(v.displayName||"Context")+".Consumer";case An:return(v._context.displayName||"Context")+".Provider";case vn:var P=v.render;return v=v.displayName,v||(v=P.displayName||P.name||"",v=v!==""?"ForwardRef("+v+")":"ForwardRef"),v;case yn:return P=v.displayName||null,P!==null?P:jn(v.type)||"Memo";case pn:P=v._payload,v=v._init;try{return jn(v(P))}catch(w){}}return null}var Zn={};function y(v,P){if(v=v.contextTypes,!v)return Zn;var w={},m;for(m in v)w[m]=P[m];return w}var L=null;function _(v,P){if(v!==P){v.context._currentValue=v.parentValue,v=v.parent;var w=P.parent;if(v===null){if(w!==null)throw Error(A(401))}else{if(w===null)throw Error(A(401));_(v,w)}P.context._currentValue=P.value}}function ie(v){v.context._currentValue=v.parentValue,v=v.parent,v!==null&&ie(v)}function Ee(v){var P=v.parent;P!==null&&Ee(P),v.context._currentValue=v.value}function ge(v,P){if(v.context._currentValue=v.parentValue,v=v.parent,v===null)throw Error(A(402));v.depth===P.depth?_(v,P):ge(v,P)}function Be(v,P){var w=P.parent;if(w===null)throw Error(A(402));v.depth===w.depth?_(v,w):Be(v,w),P.context._currentValue=P.value}function Ue(v){var P=L;P!==v&&(P===null?Ee(v):v===null?ie(P):P.depth===v.depth?_(P,v):P.depth>v.depth?ge(P,v):Be(P,v),L=v)}var Xe={isMounted:function(){return!1},enqueueSetState:function(v,P){v=v._reactInternals,v.queue!==null&&v.queue.push(P)},enqueueReplaceState:function(v,P){v=v._reactInternals,v.replace=!0,v.queue=[P]},enqueueForceUpdate:function(){}};function vt(v,P,w,m){var R=v.state!==void 0?v.state:null;v.updater=Xe,v.props=w,v.state=R;var t={queue:[],replace:!1};v._reactInternals=t;var O=P.contextType;if(v.context=typeof O=="object"&&O!==null?O._currentValue:m,O=P.getDerivedStateFromProps,typeof O=="function"&&(O=O(w,R),R=O==null?R:Qt({},R,O),v.state=R),typeof P.getDerivedStateFromProps!="function"&&typeof v.getSnapshotBeforeUpdate!="function"&&(typeof v.UNSAFE_componentWillMount=="function"||typeof v.componentWillMount=="function"))if(P=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),P!==v.state&&Xe.enqueueReplaceState(v,v.state,null),t.queue!==null&&0<t.queue.length)if(P=t.queue,O=t.replace,t.queue=null,t.replace=!1,O&&P.length===1)v.state=P[0];else{for(t=O?P[0]:v.state,R=!0,O=O?1:0;O<P.length;O++){var G=P[O];G=typeof G=="function"?G.call(v,t,w,m):G,G!=null&&(R?(R=!1,t=Qt({},t,G)):Qt(t,G))}v.state=t}else t.queue=null}var bt={id:1,overflow:""};function en(v,P,w){var m=v.id;v=v.overflow;var R=32-Zt(m)-1;m&=~(1<<R),w+=1;var t=32-Zt(P)+R;if(30<t){var O=R-R%5;return t=(m&(1<<O)-1).toString(32),m>>=O,R-=O,{id:1<<32-Zt(P)+R|w<<R|m,overflow:t+v}}return{id:1<<t|w<<R|m,overflow:v}}var Zt=Math.clz32?Math.clz32:Br,nn=Math.log,lr=Math.LN2;function Br(v){return v>>>=0,v===0?32:31-(nn(v)/lr|0)|0}function ur(v,P){return v===P&&(v!==0||1/v===1/P)||v!==v&&P!==P}var Wn=typeof Object.is=="function"?Object.is:ur,Sn=null,Cn=null,Pn=null,xt=null,Wt=!1,or=!1,Vn=0,hn=null,Mn=0;function bn(){if(Sn===null)throw Error(A(321));return Sn}function cn(){if(0<Mn)throw Error(A(312));return{memoizedState:null,queue:null,next:null}}function rn(){return xt===null?Pn===null?(Wt=!1,Pn=xt=cn()):(Wt=!0,xt=Pn):xt.next===null?(Wt=!1,xt=xt.next=cn()):(Wt=!0,xt=xt.next),xt}function wn(){Cn=Sn=null,or=!1,Pn=null,Mn=0,xt=hn=null}function Nn(v,P){return typeof P=="function"?P(v):P}function Ar(v,P,w){if(Sn=bn(),xt=rn(),Wt){var m=xt.queue;if(P=m.dispatch,hn!==null&&(w=hn.get(m),w!==void 0)){hn.delete(m),m=xt.memoizedState;do m=v(m,w.action),w=w.next;while(w!==null);return xt.memoizedState=m,[m,P]}return[xt.memoizedState,P]}return v=v===Nn?typeof P=="function"?P():P:w!==void 0?w(P):P,xt.memoizedState=v,v=xt.queue={last:null,dispatch:null},v=v.dispatch=Sr.bind(null,Sn,v),[xt.memoizedState,v]}function sr(v,P){if(Sn=bn(),xt=rn(),P=P===void 0?null:P,xt!==null){var w=xt.memoizedState;if(w!==null&&P!==null){var m=w[1];e:if(m===null)m=!1;else{for(var R=0;R<m.length&&R<P.length;R++)if(!Wn(P[R],m[R])){m=!1;break e}m=!0}if(m)return w[0]}}return v=v(),xt.memoizedState=[v,P],v}function Sr(v,P,w){if(25<=Mn)throw Error(A(301));if(v===Sn)if(or=!0,v={action:w,next:null},hn===null&&(hn=new Map),w=hn.get(P),w===void 0)hn.set(P,v);else{for(P=w;P.next!==null;)P=P.next;P.next=v}}function Cr(){throw Error(A(394))}function cr(){}var Tr={readContext:function(v){return v._currentValue},useContext:function(v){return bn(),v._currentValue},useMemo:sr,useReducer:Ar,useRef:function(v){Sn=bn(),xt=rn();var P=xt.memoizedState;return P===null?(v={current:v},xt.memoizedState=v):P},useState:function(v){return Ar(Nn,v)},useInsertionEffect:cr,useLayoutEffect:function(){},useCallback:function(v,P){return sr(function(){return v},P)},useImperativeHandle:cr,useEffect:cr,useDebugValue:cr,useDeferredValue:function(v){return bn(),v},useTransition:function(){return bn(),[!1,Cr]},useId:function(){var v=Cn.treeContext,P=v.overflow;v=v.id,v=(v&~(1<<32-Zt(v)-1)).toString(32)+P;var w=Gn;if(w===null)throw Error(A(404));return P=Vn++,v=":"+w.idPrefix+"R"+v,0<P&&(v+="H"+P.toString(32)),v+":"},useMutableSource:function(v,P){return bn(),P(v._source)},useSyncExternalStore:function(v,P,w){if(w===void 0)throw Error(A(407));return w()}},Gn=null,fr=S.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Fr(v){console.error(v)}function qn(){}function br(v,P,w,m,R,t,O,G,re){var q=[],de=new Set;return P={destination:null,responseState:P,progressiveChunkSize:m===void 0?12800:m,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:de,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:R===void 0?Fr:R,onAllReady:t===void 0?qn:t,onShellReady:O===void 0?qn:O,onShellError:G===void 0?qn:G,onFatalError:re===void 0?qn:re},w=ir(P,0,null,w),w.parentFlushed=!0,v=wr(P,v,null,w,de,Zn,null,bt),q.push(v),P}function wr(v,P,w,m,R,t,O,G){v.allPendingTasks++,w===null?v.pendingRootTasks++:w.pendingTasks++;var re={node:P,ping:function(){var q=v.pingedTasks;q.push(re),q.length===1&&qt(v)},blockedBoundary:w,blockedSegment:m,abortSet:R,legacyContext:t,context:O,treeContext:G};return R.add(re),re}function ir(v,P,w,m){return{status:0,id:-1,index:P,parentFlushed:!1,chunks:[],children:[],formatContext:m,boundary:w}}function xn(v,P){v=v.onError,v(P)}function Qn(v,P){var w=v.onShellError;w(P),w=v.onFatalError,w(P),v.destination!==null?(v.status=2,s(v.destination,P)):(v.status=1,v.fatalError=P)}function dr(v,P,w,m,R){for(Sn={},Cn=P,Vn=0,v=w(m,R);or;)or=!1,Vn=0,Mn+=1,xt=null,v=w(m,R);return wn(),v}function ar(v,P,w,m){var R=w.render(),t=m.childContextTypes;if(t!=null){var O=P.legacyContext;if(typeof w.getChildContext!="function")m=O;else{w=w.getChildContext();for(var G in w)if(!(G in t))throw Error(A(108,jn(m)||"Unknown",G));m=Qt({},O,w)}P.legacyContext=m,fn(v,P,R),P.legacyContext=O}else fn(v,P,R)}function Lt(v,P){if(v&&v.defaultProps){P=Qt({},P),v=v.defaultProps;for(var w in v)P[w]===void 0&&(P[w]=v[w]);return P}return P}function pr(v,P,w,m,R){if(typeof w=="function")if(w.prototype&&w.prototype.isReactComponent){R=y(w,P.legacyContext);var t=w.contextType;t=new w(m,typeof t=="object"&&t!==null?t._currentValue:R),vt(t,w,m,R),ar(v,P,t,w)}else{t=y(w,P.legacyContext),R=dr(v,P,w,m,t);var O=Vn!==0;if(typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0)vt(R,w,m,t),ar(v,P,R,w);else if(O){m=P.treeContext,P.treeContext=en(m,1,0);try{fn(v,P,R)}finally{P.treeContext=m}}else fn(v,P,R)}else if(typeof w=="string")switch(R=P.blockedSegment,t=he(R.chunks,w,m,v.responseState,R.formatContext),O=R.formatContext,R.formatContext=Re(O,w,m),En(v,P,t),R.formatContext=O,w){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:R.chunks.push(be,l(w),ke)}else{switch(w){case nr:case $n:case Tn:case $t:case Pt:fn(v,P,m.children);return;case mn:fn(v,P,m.children);return;case Fn:throw Error(A(343));case sn:e:{w=P.blockedBoundary,R=P.blockedSegment,t=m.fallback,m=m.children,O=new Set;var G={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:O},re=ir(v,R.chunks.length,G,R.formatContext);R.children.push(re);var q=ir(v,0,null,R.formatContext);q.parentFlushed=!0,P.blockedBoundary=G,P.blockedSegment=q;try{if(En(v,P,m),q.status=1,er(G,q),G.pendingTasks===0)break e}catch(de){q.status=4,xn(v,de),G.forceClientRender=!0}finally{P.blockedBoundary=w,P.blockedSegment=R}P=wr(v,t,w,re,O,P.legacyContext,P.context,P.treeContext),v.pingedTasks.push(P)}return}if(typeof w=="object"&&w!==null)switch(w.$$typeof){case vn:if(m=dr(v,P,w.render,m,R),Vn!==0){w=P.treeContext,P.treeContext=en(w,1,0);try{fn(v,P,m)}finally{P.treeContext=w}}else fn(v,P,m);return;case yn:w=w.type,m=Lt(w,m),pr(v,P,w,m,R);return;case An:if(R=m.children,w=w._context,m=m.value,t=w._currentValue,w._currentValue=m,O=L,L=m={parent:O,depth:O===null?0:O.depth+1,context:w,parentValue:t,value:m},P.context=m,fn(v,P,R),v=L,v===null)throw Error(A(403));m=v.parentValue,v.context._currentValue=m===Hn?v.context._defaultValue:m,v=L=v.parent,P.context=v;return;case gn:m=m.children,m=m(w._currentValue),fn(v,P,m);return;case pn:R=w._init,w=R(w._payload),m=Lt(w,m),pr(v,P,w,m,void 0);return}throw Error(A(130,w==null?w:typeof w,""))}}function fn(v,P,w){if(P.node=w,typeof w=="object"&&w!==null){switch(w.$$typeof){case Bn:pr(v,P,w.type,w.props,w.ref);return;case un:throw Error(A(257));case pn:var m=w._init;w=m(w._payload),fn(v,P,w);return}if(I(w)){gr(v,P,w);return}if(w===null||typeof w!="object"?m=null:(m=rr&&w[rr]||w["@@iterator"],m=typeof m=="function"?m:null),m&&(m=m.call(w))){if(w=m.next(),!w.done){var R=[];do R.push(w.value),w=m.next();while(!w.done);gr(v,P,R)}return}throw P=Object.prototype.toString.call(w),Error(A(31,P==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":P))}typeof w=="string"?w!==""&&P.blockedSegment.chunks.push(l(j(w)),Ye):typeof w=="number"&&(v=""+w,v!==""&&P.blockedSegment.chunks.push(l(j(v)),Ye))}function gr(v,P,w){for(var m=w.length,R=0;R<m;R++){var t=P.treeContext;P.treeContext=en(t,m,R);try{En(v,P,w[R])}finally{P.treeContext=t}}}function En(v,P,w){var m=P.blockedSegment.formatContext,R=P.legacyContext,t=P.context;try{return fn(v,P,w)}catch(re){if(wn(),typeof re=="object"&&re!==null&&typeof re.then=="function"){w=re;var O=P.blockedSegment,G=ir(v,O.chunks.length,null,O.formatContext);O.children.push(G),v=wr(v,P.node,P.blockedBoundary,G,P.abortSet,P.legacyContext,P.context,P.treeContext).ping,w.then(v,v),P.blockedSegment.formatContext=m,P.legacyContext=R,P.context=t,Ue(t)}else throw P.blockedSegment.formatContext=m,P.legacyContext=R,P.context=t,Ue(t),re}}function hr(v){var P=v.blockedBoundary;v=v.blockedSegment,v.status=3,dn(this,P,v)}function vr(v){var P=v.blockedBoundary;v.blockedSegment.status=3,P===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.close())):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,P.parentFlushed&&this.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(vr,this),P.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(v=this.onAllReady,v()))}function er(v,P){if(P.chunks.length===0&&P.children.length===1&&P.children[0].boundary===null){var w=P.children[0];w.id=P.id,w.parentFlushed=!0,w.status===1&&er(v,w)}else v.completedSegments.push(P)}function dn(v,P,w){if(P===null){if(w.parentFlushed){if(v.completedRootSegment!==null)throw Error(A(389));v.completedRootSegment=w}v.pendingRootTasks--,v.pendingRootTasks===0&&(v.onShellError=qn,P=v.onShellReady,P())}else P.pendingTasks--,P.forceClientRender||(P.pendingTasks===0?(w.parentFlushed&&w.status===1&&er(P,w),P.parentFlushed&&v.completedBoundaries.push(P),P.fallbackAbortableTasks.forEach(hr,v),P.fallbackAbortableTasks.clear()):w.parentFlushed&&w.status===1&&(er(P,w),P.completedSegments.length===1&&P.parentFlushed&&v.partialBoundaries.push(P)));v.allPendingTasks--,v.allPendingTasks===0&&(v=v.onAllReady,v())}function qt(v){if(v.status!==2){var P=L,w=fr.current;fr.current=Tr;var m=Gn;Gn=v.responseState;try{var R=v.pingedTasks,t;for(t=0;t<R.length;t++){var O=R[t],G=v,re=O.blockedSegment;if(re.status===0){Ue(O.context);try{fn(G,O,O.node),O.abortSet.delete(O),re.status=1,dn(G,O.blockedBoundary,re)}catch(tt){if(wn(),typeof tt=="object"&&tt!==null&&typeof tt.then=="function"){var q=O.ping;tt.then(q,q)}else{O.abortSet.delete(O),re.status=4;var de=O.blockedBoundary,ve=tt;if(xn(G,ve),de===null?Qn(G,ve):(de.pendingTasks--,de.forceClientRender||(de.forceClientRender=!0,de.parentFlushed&&G.clientRenderedBoundaries.push(de))),G.allPendingTasks--,G.allPendingTasks===0){var Qe=G.onAllReady;Qe()}}}finally{}}}R.splice(0,t),v.destination!==null&&In(v,v.destination)}catch(tt){xn(v,tt),Qn(v,tt)}finally{Gn=m,fr.current=w,w===Tr&&Ue(P)}}}function Kn(v,P,w){switch(w.parentFlushed=!0,w.status){case 0:var m=w.id=v.nextSegmentId++;return v=v.responseState,h(P,Oe),h(P,v.placeholderPrefix),v=l(m.toString(16)),h(P,v),b(P,Ke);case 1:w.status=2;var R=!0;m=w.chunks;var t=0;w=w.children;for(var O=0;O<w.length;O++){for(R=w[O];t<R.index;t++)h(P,m[t]);R=tr(v,P,R)}for(;t<m.length-1;t++)h(P,m[t]);return t<m.length&&(R=b(P,m[t])),R;default:throw Error(A(390))}}function tr(v,P,w){var m=w.boundary;if(m===null)return Kn(v,P,w);if(m.parentFlushed=!0,m.forceClientRender)b(P,at),Kn(v,P,w);else if(0<m.pendingTasks){m.rootSegmentID=v.nextSegmentId++,0<m.completedSegments.length&&v.partialBoundaries.push(m);var R=v.responseState,t=R.nextSuspenseID++;R=p(R.boundaryPrefix+t.toString(16)),m=m.id=R,Tt(P,v.responseState,m),Kn(v,P,w)}else if(m.byteSize>v.progressiveChunkSize)m.rootSegmentID=v.nextSegmentId++,v.completedBoundaries.push(m),Tt(P,v.responseState,m.id),Kn(v,P,w);else{if(b(P,Ve),w=m.completedSegments,w.length!==1)throw Error(A(391));tr(v,P,w[0])}return b(P,mt)}function xr(v,P,w){return jt(P,v.responseState,w.formatContext,w.id),tr(v,P,w),Ht(P,w.formatContext)}function mr(v,P,w){for(var m=w.completedSegments,R=0;R<m.length;R++)Nt(v,P,w,m[R]);if(m.length=0,v=v.responseState,m=w.id,w=w.rootSegmentID,h(P,v.startInlineScript),v.sentCompleteBoundaryFunction?h(P,lt):(v.sentCompleteBoundaryFunction=!0,h(P,Bt)),m===null)throw Error(A(395));return w=l(w.toString(16)),h(P,m),h(P,Rt),h(P,v.segmentPrefix),h(P,w),b(P,Ut)}function Nt(v,P,w,m){if(m.status===2)return!0;var R=m.id;if(R===-1){if((m.id=w.rootSegmentID)===-1)throw Error(A(392));return xr(v,P,m)}return xr(v,P,m),v=v.responseState,h(P,v.startInlineScript),v.sentCompleteSegmentFunction?h(P,Ft):(v.sentCompleteSegmentFunction=!0,h(P,Ot)),h(P,v.segmentPrefix),R=l(R.toString(16)),h(P,R),h(P,st),h(P,v.placeholderPrefix),h(P,R),b(P,Mt)}function In(v,P){C=new Uint8Array(512),g=0;try{var w=v.completedRootSegment;if(w!==null&&v.pendingRootTasks===0){tr(v,P,w),v.completedRootSegment=null;var m=v.responseState.bootstrapChunks;for(w=0;w<m.length-1;w++)h(P,m[w]);w<m.length&&b(P,m[w])}var R=v.clientRenderedBoundaries,t;for(t=0;t<R.length;t++){m=P;var O=v.responseState,G=R[t].id;if(h(m,O.startInlineScript),O.sentClientRenderFunction?h(m,on):(O.sentClientRenderFunction=!0,h(m,_t)),G===null)throw Error(A(395));if(h(m,G),!b(m,ln)){v.destination=null,t++,R.splice(0,t);return}}R.splice(0,t);var re=v.completedBoundaries;for(t=0;t<re.length;t++)if(!mr(v,P,re[t])){v.destination=null,t++,re.splice(0,t);return}re.splice(0,t),E(P),C=new Uint8Array(512),g=0;var q=v.partialBoundaries;for(t=0;t<q.length;t++){var de=q[t];e:{R=v,O=P;var ve=de.completedSegments;for(G=0;G<ve.length;G++)if(!Nt(R,O,de,ve[G])){G++,ve.splice(0,G);var Qe=!1;break e}ve.splice(0,G),Qe=!0}if(!Qe){v.destination=null,t++,q.splice(0,t);return}}q.splice(0,t);var tt=v.completedBoundaries;for(t=0;t<tt.length;t++)if(!mr(v,P,tt[t])){v.destination=null,t++,tt.splice(0,t);return}tt.splice(0,t)}finally{E(P),v.allPendingTasks===0&&v.pingedTasks.length===0&&v.clientRenderedBoundaries.length===0&&v.completedBoundaries.length===0&&P.close()}}function Yn(v){try{var P=v.abortableTasks;P.forEach(vr,v),P.clear(),v.destination!==null&&In(v,v.destination)}catch(w){xn(v,w),Qn(v,w)}}D.renderToReadableStream=function(v,P){return new Promise(function(w,m){var R,t,O=new Promise(function(de,ve){t=de,R=ve}),G=br(v,Le(P?P.identifierPrefix:void 0,P?P.nonce:void 0,P?P.bootstrapScriptContent:void 0,P?P.bootstrapScripts:void 0,P?P.bootstrapModules:void 0),Z(P?P.namespaceURI:void 0),P?P.progressiveChunkSize:void 0,P?P.onError:void 0,t,function(){var de=new ReadableStream({type:"bytes",pull:function(ve){if(G.status===1)G.status=2,s(ve,G.fatalError);else if(G.status!==2&&G.destination===null){G.destination=ve;try{In(G,ve)}catch(Qe){xn(G,Qe),Qn(G,Qe)}}},cancel:function(){Yn(G)}});de.allReady=O,w(de)},function(de){O.catch(function(){}),m(de)},R);if(P&&P.signal){var re=P.signal,q=function(){Yn(G),re.removeEventListener("abort",q)};re.addEventListener("abort",q)}qt(G)})},D.version="18.1.0"},24155:function(J,D,r){"use strict";var S,A;S=r(31382),A=r(36144),D.version=S.version,D.renderToString=S.renderToString,D.renderToStaticMarkup=S.renderToStaticMarkup,D.renderToNodeStream=S.renderToNodeStream,D.renderToStaticNodeStream=S.renderToStaticNodeStream,D.renderToReadableStream=A.renderToReadableStream},22353:function(J,D,r){var S=r(14224);(function(A,C){"use strict";if(A.setImmediate)return;var g=1,h={},b=!1,E=A.document,c;function l(B){typeof B!="function"&&(B=new Function(""+B));for(var U=new Array(arguments.length-1),K=0;K<U.length;K++)U[K]=arguments[K+1];var k={callback:B,args:U};return h[g]=k,c(g),g++}function p(B){delete h[B]}function s(B){var U=B.callback,K=B.args;switch(K.length){case 0:U();break;case 1:U(K[0]);break;case 2:U(K[0],K[1]);break;case 3:U(K[0],K[1],K[2]);break;default:U.apply(C,K);break}}function a(B){if(b)setTimeout(a,0,B);else{var U=h[B];if(U){b=!0;try{s(U)}finally{p(B),b=!1}}}}function d(){c=function(B){S.nextTick(function(){a(B)})}}function i(){if(A.postMessage&&!A.importScripts){var B=!0,U=A.onmessage;return A.onmessage=function(){B=!1},A.postMessage("","*"),A.onmessage=U,B}}function o(){var B="setImmediate$"+Math.random()+"$",U=function(K){K.source===A&&typeof K.data=="string"&&K.data.indexOf(B)===0&&a(+K.data.slice(B.length))};A.addEventListener?A.addEventListener("message",U,!1):A.attachEvent("onmessage",U),c=function(K){A.postMessage(B+K,"*")}}function u(){var B=new MessageChannel;B.port1.onmessage=function(U){var K=U.data;a(K)},c=function(U){B.port2.postMessage(U)}}function x(){var B=E.documentElement;c=function(U){var K=E.createElement("script");K.onreadystatechange=function(){a(U),K.onreadystatechange=null,B.removeChild(K),K=null},B.appendChild(K)}}function F(){c=function(B){setTimeout(a,0,B)}}var f=Object.getPrototypeOf&&Object.getPrototypeOf(A);f=f&&f.setTimeout?f:A,{}.toString.call(A.process)==="[object process]"?d():i()?o():A.MessageChannel?u():E&&"onreadystatechange"in E.createElement("script")?x():F(),f.setImmediate=l,f.clearImmediate=p})(typeof self=="undefined"?typeof r.g=="undefined"?this:r.g:self)},9406:function(J,D,r){var S;(function(A,C){"use strict";var g="0.7.37",h="",b="?",E="function",c="undefined",l="object",p="string",s="major",a="model",d="name",i="type",o="vendor",u="version",x="architecture",F="console",f="mobile",B="tablet",U="smarttv",K="wearable",k="embedded",j=500,z="Amazon",M="Apple",I="ASUS",X="BlackBerry",$="Browser",Q="Chrome",W="Edge",le="Firefox",te="Google",pe="Huawei",Le="LG",De="Microsoft",Z="Motorola",Re="Opera",Ye="Samsung",_e="Sharp",Ze="Sony",qe="Xiaomi",me="Zebra",ye="Facebook",Te="Chromium OS",we="Mac OS",Me=function(he,be){var ke={};for(var Oe in he)be[Oe]&&be[Oe].length%2===0?ke[Oe]=be[Oe].concat(he[Oe]):ke[Oe]=he[Oe];return ke},Ne=function(he){for(var be={},ke=0;ke<he.length;ke++)be[he[ke].toUpperCase()]=he[ke];return be},ze=function(he,be){return typeof he===p?We(be).indexOf(We(he))!==-1:!1},We=function(he){return he.toLowerCase()},rt=function(he){return typeof he===p?he.replace(/[^\d\.]/g,h).split(".")[0]:C},Fe=function(he,be){if(typeof he===p)return he=he.replace(/^\s\s*/,h),typeof be===c?he:he.substring(0,j)},Je=function(he,be){for(var ke=0,Oe,Ke,Ve,et,Pe,at;ke<be.length&&!Pe;){var mt=be[ke],Tt=be[ke+1];for(Oe=Ke=0;Oe<mt.length&&!Pe&&mt[Oe];)if(Pe=mt[Oe++].exec(he),Pe)for(Ve=0;Ve<Tt.length;Ve++)at=Pe[++Ke],et=Tt[Ve],typeof et===l&&et.length>0?et.length===2?typeof et[1]==E?this[et[0]]=et[1].call(this,at):this[et[0]]=et[1]:et.length===3?typeof et[1]===E&&!(et[1].exec&&et[1].test)?this[et[0]]=at?et[1].call(this,at,et[2]):C:this[et[0]]=at?at.replace(et[1],et[2]):C:et.length===4&&(this[et[0]]=at?et[3].call(this,at.replace(et[1],et[2])):C):this[et]=at||C;ke+=2}},pt=function(he,be){for(var ke in be)if(typeof be[ke]===l&&be[ke].length>0){for(var Oe=0;Oe<be[ke].length;Oe++)if(ze(be[ke][Oe],he))return ke===b?C:ke}else if(ze(be[ke],he))return ke===b?C:ke;return he},Dt={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Se={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[u,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[u,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,u],[/opios[\/ ]+([\w\.]+)/i],[u,[d,Re+" Mini"]],[/\bopr\/([\w\.]+)/i],[u,[d,Re]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[u,[d,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[d,u],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[u,[d,"UC"+$]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[u,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[u,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[u,[d,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[u,[d,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[u,[d,"Smart Lenovo "+$]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+$],u],[/\bfocus\/([\w\.]+)/i],[u,[d,le+" Focus"]],[/\bopt\/([\w\.]+)/i],[u,[d,Re+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[u,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[u,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[u,[d,Re+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[u,[d,"MIUI "+$]],[/fxios\/([-\w\.]+)/i],[u,[d,le]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 "+$]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 "+$],u],[/samsungbrowser\/([\w\.]+)/i],[u,[d,Ye+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],u],[/metasr[\/ ]?([\d\.]+)/i],[u,[d,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[d,"Sogou Mobile"],u],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[d,u],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,ye],u],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[d,u],[/\bgsa\/([\w\.]+) .*safari\//i],[u,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[u,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[u,[d,Q+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,Q+" WebView"],u],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[u,[d,"Android "+$]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,u],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[u,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[u,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[u,pt,Dt]],[/(webkit|khtml)\/([\w\.]+)/i],[d,u],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],u],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[u,[d,le+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[d,u],[/(cobalt)\/([\w\.]+)/i],[d,[u,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[x,"amd64"]],[/(ia32(?=;))/i],[[x,We]],[/((?:i[346]|x)86)[;\)]/i],[[x,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[x,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[x,"armhf"]],[/windows (ce|mobile); ppc;/i],[[x,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[x,/ower/,h,We]],[/(sun4\w)[;\)]/i],[[x,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[x,We]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[a,[o,Ye],[i,B]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[a,[o,Ye],[i,f]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[a,[o,M],[i,f]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[a,[o,M],[i,B]],[/(macintosh);/i],[a,[o,M]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[a,[o,_e],[i,f]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a,[o,pe],[i,B]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a,[o,pe],[i,f]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[a,/_/g," "],[o,qe],[i,f]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a,/_/g," "],[o,qe],[i,B]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[a,[o,"OPPO"],[i,f]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[a,[o,"Vivo"],[i,f]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[a,[o,"Realme"],[i,f]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a,[o,Z],[i,f]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a,[o,Z],[i,B]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a,[o,Le],[i,B]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a,[o,Le],[i,f]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a,[o,"Lenovo"],[i,B]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a,/_/g," "],[o,"Nokia"],[i,f]],[/(pixel c)\b/i],[a,[o,te],[i,B]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[a,[o,te],[i,f]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[o,Ze],[i,f]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a,"Xperia Tablet"],[o,Ze],[i,B]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a,[o,"OnePlus"],[i,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[a,[o,z],[i,B]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[a,/(.+)/g,"Fire Phone $1"],[o,z],[i,f]],[/(playbook);[-\w\),; ]+(rim)/i],[a,o,[i,B]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[a,[o,X],[i,f]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[a,[o,I],[i,B]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[a,[o,I],[i,f]],[/(nexus 9)/i],[a,[o,"HTC"],[i,B]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[a,/_/g," "],[i,f]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[a,[o,"Acer"],[i,B]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[a,[o,"Meizu"],[i,f]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[a,[o,"Ulefone"],[i,f]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[o,a,[i,f]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[o,a,[i,B]],[/(surface duo)/i],[a,[o,De],[i,B]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[a,[o,"Fairphone"],[i,f]],[/(u304aa)/i],[a,[o,"AT&T"],[i,f]],[/\bsie-(\w*)/i],[a,[o,"Siemens"],[i,f]],[/\b(rct\w+) b/i],[a,[o,"RCA"],[i,B]],[/\b(venue[\d ]{2,7}) b/i],[a,[o,"Dell"],[i,B]],[/\b(q(?:mv|ta)\w+) b/i],[a,[o,"Verizon"],[i,B]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[a,[o,"Barnes & Noble"],[i,B]],[/\b(tm\d{3}\w+) b/i],[a,[o,"NuVision"],[i,B]],[/\b(k88) b/i],[a,[o,"ZTE"],[i,B]],[/\b(nx\d{3}j) b/i],[a,[o,"ZTE"],[i,f]],[/\b(gen\d{3}) b.+49h/i],[a,[o,"Swiss"],[i,f]],[/\b(zur\d{3}) b/i],[a,[o,"Swiss"],[i,B]],[/\b((zeki)?tb.*\b) b/i],[a,[o,"Zeki"],[i,B]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],a,[i,B]],[/\b(ns-?\w{0,9}) b/i],[a,[o,"Insignia"],[i,B]],[/\b((nxa|next)-?\w{0,9}) b/i],[a,[o,"NextBook"],[i,B]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],a,[i,f]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],a,[i,f]],[/\b(ph-1) /i],[a,[o,"Essential"],[i,f]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[a,[o,"Envizen"],[i,B]],[/\b(trio[-\w\. ]+) b/i],[a,[o,"MachSpeed"],[i,B]],[/\btu_(1491) b/i],[a,[o,"Rotor"],[i,B]],[/(shield[\w ]+) b/i],[a,[o,"Nvidia"],[i,B]],[/(sprint) (\w+)/i],[o,a,[i,f]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[o,De],[i,f]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a,[o,me],[i,B]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a,[o,me],[i,f]],[/smart-tv.+(samsung)/i],[o,[i,U]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[o,Ye],[i,U]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,Le],[i,U]],[/(apple) ?tv/i],[o,[a,M+" TV"],[i,U]],[/crkey/i],[[a,Q+"cast"],[o,te],[i,U]],[/droid.+aft(\w+)( bui|\))/i],[a,[o,z],[i,U]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a,[o,_e],[i,U]],[/(bravia[\w ]+)( bui|\))/i],[a,[o,Ze],[i,U]],[/(mitv-\w{5}) bui/i],[a,[o,qe],[i,U]],[/Hbbtv.*(technisat) (.*);/i],[o,a,[i,U]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,Fe],[a,Fe],[i,U]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[i,U]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,a,[i,F]],[/droid.+; (shield) bui/i],[a,[o,"Nvidia"],[i,F]],[/(playstation [345portablevi]+)/i],[a,[o,Ze],[i,F]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a,[o,De],[i,F]],[/((pebble))app/i],[o,a,[i,K]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a,[o,M],[i,K]],[/droid.+; (glass) \d/i],[a,[o,te],[i,K]],[/droid.+; (wt63?0{2,3})\)/i],[a,[o,me],[i,K]],[/(quest( 2| pro)?)/i],[a,[o,ye],[i,K]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[i,k]],[/(aeobc)\b/i],[a,[o,z],[i,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[a,[i,f]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[a,[i,B]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[i,B]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[i,f]],[/(android[-\w\. ]{0,9});.+buil/i],[a,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[u,[d,W+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[u,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[d,u],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[u,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,u],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[d,[u,pt,Se]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,pt,Se],[d,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[u,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,we],[u,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[u,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,u],[/\(bb(10);/i],[u,[d,X]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[u,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[u,[d,le+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[u,[d,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[u,[d,"watchOS"]],[/crkey\/([\d\.]+)/i],[u,[d,Q+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[d,Te],u],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,u],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],u],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[d,u]]},Y=function(he,be){if(typeof he===l&&(be=he,he=C),!(this instanceof Y))return new Y(he,be).getResult();var ke=typeof A!==c&&A.navigator?A.navigator:C,Oe=he||(ke&&ke.userAgent?ke.userAgent:h),Ke=ke&&ke.userAgentData?ke.userAgentData:C,Ve=be?Me(V,be):V,et=ke&&ke.userAgent==Oe;return this.getBrowser=function(){var Pe={};return Pe[d]=C,Pe[u]=C,Je.call(Pe,Oe,Ve.browser),Pe[s]=rt(Pe[u]),et&&ke&&ke.brave&&typeof ke.brave.isBrave==E&&(Pe[d]="Brave"),Pe},this.getCPU=function(){var Pe={};return Pe[x]=C,Je.call(Pe,Oe,Ve.cpu),Pe},this.getDevice=function(){var Pe={};return Pe[o]=C,Pe[a]=C,Pe[i]=C,Je.call(Pe,Oe,Ve.device),et&&!Pe[i]&&Ke&&Ke.mobile&&(Pe[i]=f),et&&Pe[a]=="Macintosh"&&ke&&typeof ke.standalone!==c&&ke.maxTouchPoints&&ke.maxTouchPoints>2&&(Pe[a]="iPad",Pe[i]=B),Pe},this.getEngine=function(){var Pe={};return Pe[d]=C,Pe[u]=C,Je.call(Pe,Oe,Ve.engine),Pe},this.getOS=function(){var Pe={};return Pe[d]=C,Pe[u]=C,Je.call(Pe,Oe,Ve.os),et&&!Pe[d]&&Ke&&Ke.platform!="Unknown"&&(Pe[d]=Ke.platform.replace(/chrome os/i,Te).replace(/macos/i,we)),Pe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Oe},this.setUA=function(Pe){return Oe=typeof Pe===p&&Pe.length>j?Fe(Pe,j):Pe,this},this.setUA(Oe),this};Y.VERSION=g,Y.BROWSER=Ne([d,u,s]),Y.CPU=Ne([x]),Y.DEVICE=Ne([a,o,i,F,f,U,B,K,k]),Y.ENGINE=Y.OS=Ne([d,u]),typeof D!==c?(c!=="object"&&J.exports&&(D=J.exports=Y),D.UAParser=Y):E==="function"&&r.amdO?(S=function(){return Y}.call(D,r,D,J),S!==C&&(J.exports=S)):typeof A!==c&&(A.UAParser=Y);var ne=typeof A!==c&&(A.jQuery||A.Zepto);if(ne&&!ne.ua){var fe=new Y;ne.ua=fe.getResult(),ne.ua.get=function(){return fe.getUA()},ne.ua.set=function(he){fe.setUA(he);var be=fe.getResult();for(var ke in be)ne.ua[ke]=be[ke]}}})(typeof window=="object"?window:this)}}]);