582 lines
501 KiB
JavaScript
582 lines
501 KiB
JavaScript
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[1757],{35748:function(Y,H,i){"use strict";var F=i(35361),y=i(56929),E=i(50959),A=i(50474),v=i(11527),T=["fieldProps","min","proFieldProps","max"],w=function(h,f){var u=h.fieldProps,d=h.min,a=h.proFieldProps,o=h.max,l=(0,y.Z)(h,T);return(0,v.jsx)(A.Z,(0,F.Z)({valueType:"digit",fieldProps:(0,F.Z)({min:d,max:o},u),ref:f,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:a},l))},p=E.forwardRef(w);H.Z=p},8776:function(){"use strict"},93328:function(Y,H,i){"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.getFromHTMLConfig=H.getToHTMLConfig=H.blocks=H.getHexColor=H.defaultFontFamilies=H.namedColors=void 0;var F=Object.assign||function(B){for(var J=1;J<arguments.length;J++){var Q=arguments[J];for(var G in Q)Object.prototype.hasOwnProperty.call(Q,G)&&(B[G]=Q[G])}return B},y=i(50959),E=A(y);function A(B){return B&&B.__esModule?B:{default:B}}function v(B,J){var Q={};for(var G in B)J.indexOf(G)>=0||Object.prototype.hasOwnProperty.call(B,G)&&(Q[G]=B[G]);return Q}var T=H.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"},w=function(J){return J.split("-")[1]},p=function(J){return J+"px"},s=function(J){return J.replace("px","")},h=["style"],f=["style","href","target","alt","title","id","controls","autoplay","loop","poster"],u=function(J){return Object.keys(J).reduce(function(Q,G){return Q+" "+G+'="'+J[G]+'"'},"").replace(/^\s$/,"")},d=H.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"}],a=H.getHexColor=function(J){if(J=J.replace("color:","").replace(";","").replace(" ",""),/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(J))return J;if(T[J])return T[J];if(J.indexOf("rgb")===0){var Q=J.split(","),G=Q.length<3?null:"#"+[Q[0],Q[1],Q[2]].map(function(U){var se=parseInt(U.replace(/\D/g,""),10).toString(16);return se.length===1?"0"+se:se}).join("");return/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(G)?G:null}else return null},o=H.blocks={"header-one":"h1","header-two":"h2","header-three":"h3","header-four":"h4","header-five":"h5","header-six":"h6",unstyled:"p",blockquote:"blockquote"},l=Object.keys(o),x=l.map(function(B){return o[B]}),k=function(J,Q,G){if(!J||!J.key)return E.default.createElement("p",null);var U=Q.getBlockForKey(J.key),se=G.class,q=v(G,["class"]);if(q.className=se,!U)return E.default.createElement("p",null);var he=U.getEntityAt(0);if(!he)return E.default.createElement("p",null);var De=Q.getEntity(he),ke=De.getType().toLowerCase(),$=J.data,Ie=$.float,Ue=$.alignment,He=De.getData(),We=He.url,Xe=He.link,vt=He.link_target,Et=He.width,ht=He.height,je=He.meta;if(ke==="image"){var gt={},Ze="";return Ie?(gt.float=Ie,Ze+=" float-"+Ie):Ue&&(gt.textAlign=Ue,Ze+=" align-"+Ue),Xe?E.default.createElement("div",{className:"media-wrap image-wrap"+Ze,style:gt},E.default.createElement("a",{style:{display:"inline-block"},href:Xe,target:vt},E.default.createElement("img",F({},q,je,{src:We,width:Et,height:ht,style:{width:Et,height:ht}})))):E.default.createElement("div",{className:"media-wrap image-wrap"+Ze,style:gt},E.default.createElement("img",F({},q,je,{src:We,width:Et,height:ht,style:{width:Et,height:ht}})))}else return ke==="audio"?E.default.createElement("div",{className:"media-wrap audio-wrap"},E.default.createElement("audio",F({controls:!0},q,je,{src:We}))):ke==="video"?E.default.createElement("div",{className:"media-wrap video-wrap"},E.default.createElement("video",F({controls:!0},q,je,{src:We,width:Et,height:ht}))):ke==="embed"?E.default.createElement("div",{className:"media-wrap embed-wrap"},E.default.createElement("div",{dangerouslySetInnerHTML:{__html:We}})):ke==="hr"?E.default.createElement("hr",null):E.default.createElement("p",null)},c=function(J){return function(Q,G){var U=J.entityExportFn,se=Q.type.toLowerCase();if(U){var q=U(Q,G);if(q)return q}if(se==="link"){var he=Q.data.nodeAttributes||{},De=he.class,ke=v(he,["class"]);return ke.className=De,E.default.createElement("a",F({href:Q.data.href,target:Q.data.target},ke))}}},b=function(J){return function(Q){var G=J.unitExportFn||p;if(J.styleExportFn){var U=J.styleExportFn(Q,J);if(U)return U}if(Q=Q.toLowerCase(),Q==="strikethrough")return E.default.createElement("span",{style:{textDecoration:"line-through"}});if(Q==="superscript")return E.default.createElement("sup",null);if(Q==="subscript")return E.default.createElement("sub",null);if(Q.indexOf("color-")===0)return E.default.createElement("span",{style:{color:"#"+w(Q)}});if(Q.indexOf("bgcolor-")===0)return E.default.createElement("span",{style:{backgroundColor:"#"+w(Q)}});if(Q.indexOf("fontsize-")===0)return E.default.createElement("span",{style:{fontSize:G(w(Q),"font-size","html")}});if(Q.indexOf("lineheight-")===0)return E.default.createElement("span",{style:{lineHeight:G(w(Q),"line-height","html")}});if(Q.indexOf("letterspacing-")===0)return E.default.createElement("span",{style:{letterSpacing:G(w(Q),"letter-spacing","html")}});if(Q.indexOf("fontfamily-")===0){var se=J.fontFamilies.find(function(q){return q.name.toLowerCase()===w(Q)});return se?E.default.createElement("span",{style:{fontFamily:se.family}}):void 0}}},N=function(J){return function(Q){var G=J.blockExportFn,U=J.contentState;if(G){var se=G(U,Q);if(se)return se}var q="",he=Q.type.toLowerCase(),De=Q.data,ke=De.textAlign,$=De.textIndent,Ie=De.nodeAttributes,Ue=Ie===void 0?{}:Ie,He=u(Ue);if((ke||$)&&(q=' style="',ke&&(q+="text-align:"+ke+";"),$&&!isNaN($)&&$>0&&(q+="text-indent:"+$*2+"em;"),q+='"'),he==="atomic")return k(Q,U,Ue);if(he==="code-block"){var We=U.getBlockBefore(Q.key),Xe=U.getBlockAfter(Q.key),vt=We&&We.getType(),Et=Xe&&Xe.getType(),ht="",je="";return vt!=="code-block"?ht="<pre"+He+"><code>":ht="",Et!=="code-block"?je="</code></pre>":je="<br/>",{start:ht,end:je}}else{if(o[he])return{start:"<"+o[he]+q+He+">",end:"</"+o[he]+">"};if(he==="unordered-list-item")return{start:"<li"+q+He+">",end:"</li>",nest:E.default.createElement("ul",null)};if(he==="ordered-list-item")return{start:"<li"+q+He+">",end:"</li>",nest:E.default.createElement("ol",null)}}}},O=function(J,Q){return function(G,U,se){if(!U||!U.style)return se;var q=J.unitImportFn||s,he=se;return[].forEach.call(U.style,function(De){if(G==="span"&&De==="color"){var ke=a(U.style.color);he=ke?he.add("COLOR-"+ke.replace("#","").toUpperCase()):he}else if(G==="span"&&De==="background-color"){var $=a(U.style.backgroundColor);he=$?he.add("BGCOLOR-"+$.replace("#","").toUpperCase()):he}else if(G==="span"&&De==="font-size")he=he.add("FONTSIZE-"+q(U.style.fontSize,"font-size",Q));else if(G==="span"&&De==="line-height"&&!isNaN(parseFloat(U.style.lineHeight,10)))he=he.add("LINEHEIGHT-"+q(U.style.lineHeight,"line-height",Q));else if(G==="span"&&De==="letter-spacing"&&!isNaN(parseFloat(U.style.letterSpacing,10)))he=he.add("LETTERSPACING-"+q(U.style.letterSpacing,"letter-spacing",Q));else if(G==="span"&&De==="text-decoration")U.style.textDecoration==="line-through"?he=he.add("STRIKETHROUGH"):U.style.textDecoration==="underline"&&(he=he.add("UNDERLINE"));else if(G==="span"&&De==="font-family"){var Ie=J.fontFamilies.find(function(Ue){return Ue.family.toLowerCase()===U.style.fontFamily.toLowerCase()});if(!Ie)return;he=he.add("FONTFAMILY-"+Ie.name.toUpperCase())}}),G==="sup"?he=he.add("SUPERSCRIPT"):G==="sub"&&(he=he.add("SUBSCRIPT")),J.styleImportFn&&(he=J.styleImportFn(G,U,he,Q)||he),he}},S=function(J,Q){return function(G,U,se){if(J&&J.entityImportFn){var q=J.entityImportFn(G,U,se,Q);if(q)return q}G=G.toLowerCase();var he=U.alt,De=U.title,ke=U.id,$=U.controls,Ie=U.autoplay,Ue=U.loop,He=U.poster,We={},Xe={};if(ke&&(We.id=ke),he&&(We.alt=he),De&&(We.title=De),$&&(We.controls=$),Ie&&(We.autoPlay=Ie),Ue&&(We.loop=Ue),He&&(We.poster=He),U.attributes&&Object.keys(U.attributes).forEach(function(bt){var Be=U.attributes[bt];f.indexOf(Be.name)===-1&&(Xe[Be.name]=Be.value)}),G==="a"&&!U.querySelectorAll("img").length){var vt=U.getAttribute("href"),Et=U.getAttribute("target");return se("LINK","MUTABLE",{href:vt,target:Et,nodeAttributes:Xe})}else{if(G==="audio")return se("AUDIO","IMMUTABLE",{url:U.getAttribute("src"),meta:We,nodeAttributes:Xe});if(G==="video")return se("VIDEO","IMMUTABLE",{url:U.getAttribute("src"),meta:We,nodeAttributes:Xe});if(G==="img"){var ht=U.parentNode,je={meta:We},gt=U.style,Ze=gt.width,Tt=gt.height;return je.url=U.getAttribute("src"),Ze&&(je.width=Ze),Tt&&(je.height=Tt),ht.nodeName.toLowerCase()==="a"&&(je.link=ht.getAttribute("href"),je.link_target=ht.getAttribute("target")),se("IMAGE","IMMUTABLE",je)}else{if(G==="hr")return se("HR","IMMUTABLE",{});if(U.parentNode&&U.parentNode.classList.contains("embed-wrap")){var At=U.innerHTML||U.outerHTML;if(At)return se("EMBED","IMMUTABLE",{url:At})}}}}},K=function(J,Q){return function(G,U){if(J&&J.blockImportFn){var se=J.blockImportFn(G,U,Q);if(se)return se}var q={},he=U.style||{};if(U.attributes&&Object.keys(U.attributes).forEach(function(ke){var $=U.attributes[ke];h.indexOf($.name)===-1&&(q[$.name]=$.value)}),U.classList&&U.classList.contains("media-wrap"))return{type:"atomic",data:{nodeAttributes:q,float:he.float,alignment:he.textAlign}};if(G==="img")return{type:"atomic",data:{nodeAttributes:q,float:he.float,alignment:he.textAlign}};if(G==="hr")return{type:"atomic",data:{nodeAttributes:q}};if(G==="pre")return U.innerHTML=U.innerHTML.replace(/<code(.*?)>/g,"").replace(/<\/code>/g,""),{type:"code-block",data:{nodeAttributes:q}};if(x.indexOf(G)!==-1){var De={nodeAttributes:q};return he.textAlign&&(De.textAlign=he.textAlign),he.textIndent&&(De.textIndent=/^\d+em$/.test(he.textIndent)?Math.ceil(parseInt(he.textIndent,10)/2):1),{type:l[x.indexOf(G)],data:De}}}},L=H.getToHTMLConfig=function(J){return{styleToHTML:b(J),entityToHTML:c(J),blockToHTML:N(J)}},D=H.getFromHTMLConfig=function(J){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"unknow";return{htmlToStyle:O(J,Q),htmlToEntity:S(J,Q),htmlToBlock:K(J,Q)}}},69297:function(Y,H,i){"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.convertRawToEditorState=H.convertEditorStateToRaw=H.convertHTMLToEditorState=H.convertEditorStateToHTML=H.convertHTMLToRaw=H.convertRawToHTML=void 0;var F=Object.assign||function(u){for(var d=1;d<arguments.length;d++){var a=arguments[d];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(u[o]=a[o])}return u},y=i(33281),E=i(93328),A=i(80099),v={fontFamilies:E.defaultFontFamilies},T=H.convertRawToHTML=function(d,a){a=F({},v,a);try{var o=(0,A.convertFromRaw)(d);return a.contentState=o,(0,y.convertToHTML)((0,E.getToHTMLConfig)(a))(o)}catch(l){return console.warn(l),""}},w=H.convertHTMLToRaw=function(d,a,o){a=F({},v,a);try{var l=(0,y.convertFromHTML)((0,E.getFromHTMLConfig)(a,o))(d);return(0,A.convertToRaw)(l)}catch(x){return console.warn(x),{}}},p=H.convertEditorStateToHTML=function(d,a){a=F({},v,a);try{var o=d.getCurrentContent();return a.contentState=o,(0,y.convertToHTML)((0,E.getToHTMLConfig)(a))(o)}catch(l){return console.warn(l),""}},s=H.convertHTMLToEditorState=function(d,a,o,l){o=F({},v,o);try{return A.EditorState.createWithContent((0,y.convertFromHTML)((0,E.getFromHTMLConfig)(o,l))(d),a)}catch(x){return console.warn(x),A.EditorState.createEmpty(a)}},h=H.convertEditorStateToRaw=function(d){return(0,A.convertToRaw)(d.getCurrentContent())},f=H.convertRawToEditorState=function(d,a){try{return A.EditorState.createWithContent((0,A.convertFromRaw)(d),a)}catch(o){return console.warn(o),A.EditorState.createEmpty(a)}}},66001:function(Y,H,i){(function(y,E){if(!0)Y.exports=E(i(50959),i(17885),i(80099),i(52724),i(69297),i(10422),i(82531),i(93840));else var A,v})(window,function(F,y,E,A,v,T,w,p){return function(s){var h={};function f(u){if(h[u])return h[u].exports;var d=h[u]={i:u,l:!1,exports:{}};return s[u].call(d.exports,d,d.exports,f),d.l=!0,d.exports}return f.m=s,f.c=h,f.d=function(u,d,a){f.o(u,d)||Object.defineProperty(u,d,{enumerable:!0,get:a})},f.r=function(u){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},f.t=function(u,d){if(d&1&&(u=f(u)),d&8||d&4&&typeof u=="object"&&u&&u.__esModule)return u;var a=Object.create(null);if(f.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:u}),d&2&&typeof u!="string")for(var o in u)f.d(a,o,function(l){return u[l]}.bind(null,o));return a},f.n=function(u){var d=u&&u.__esModule?function(){return u.default}:function(){return u};return f.d(d,"a",d),d},f.o=function(u,d){return Object.prototype.hasOwnProperty.call(u,d)},f.p="/",f(f.s=39)}([function(s,h){s.exports=F},function(s,h){function f(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}s.exports=f},function(s,h){function f(u,d,a){return d in u?Object.defineProperty(u,d,{value:a,enumerable:!0,configurable:!0,writable:!0}):u[d]=a,u}s.exports=f},function(s,h){s.exports=y},function(s,h){function f(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}s.exports=f},function(s,h,f){var u=f(2);function d(a){for(var o=1;o<arguments.length;o++){var l=arguments[o]!=null?arguments[o]:{},x=Object.keys(l);typeof Object.getOwnPropertySymbols=="function"&&(x=x.concat(Object.getOwnPropertySymbols(l).filter(function(k){return Object.getOwnPropertyDescriptor(l,k).enumerable}))),x.forEach(function(k){u(a,k,l[k])})}return a}s.exports=d},function(s,h){s.exports=E},function(s,h){function f(d,a){for(var o=0;o<a.length;o++){var l=a[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(d,l.key,l)}}function u(d,a,o){return a&&f(d.prototype,a),o&&f(d,o),d}s.exports=u},function(s,h,f){var u=f(15),d=f(1);function a(o,l){return l&&(u(l)==="object"||typeof l=="function")?l:d(o)}s.exports=a},function(s,h){function f(u){return s.exports=f=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},f(u)}s.exports=f},function(s,h,f){var u=f(26);function d(a,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(o&&o.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),o&&u(a,o)}s.exports=d},function(s,h){function f(){return s.exports=f=Object.assign||function(u){for(var d=1;d<arguments.length;d++){var a=arguments[d];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(u[o]=a[o])}return u},f.apply(this,arguments)}s.exports=f},function(s,h,f){var u=f(27),d=f(28),a=f(29);function o(l){return u(l)||d(l)||a()}s.exports=o},function(s,h){s.exports=A},function(s,h){s.exports=v},function(s,h){function f(d){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(o){return typeof o}:f=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},f(d)}function u(d){return typeof Symbol=="function"&&f(Symbol.iterator)==="symbol"?s.exports=u=function(o){return f(o)}:s.exports=u=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":f(o)},u(d)}s.exports=u},function(s,h){s.exports=T},function(s,h){s.exports=w},function(s,h,f){var u=f(13),d="-";function a(o){this.decorators=u.List(o)}a.prototype.getDecorations=function(o){var l=Array(o.getText().length).fill(null);return this.decorators.forEach(function(x,k){var c=x.getDecorations(o);c.forEach(function(b,N){b&&(b=k+d+b,l[N]=b)})}),u.List(l)},a.prototype.getComponentForKey=function(o){var l=this.getDecoratorForKey(o);return l.getComponentForKey(this.getInnerKey(o))},a.prototype.getPropsForKey=function(o){var l=this.getDecoratorForKey(o);return l.getPropsForKey(this.getInnerKey(o))},a.prototype.getDecoratorForKey=function(o){var l=o.split(d),x=Number(l[0]);return this.decorators.get(x)},a.prototype.getInnerKey=function(o){var l=o.split(d);return l.slice(1).join(d)},s.exports=a},function(s,h,f){"use strict";function u(L,D){if(!(L instanceof D))throw new TypeError("Cannot call a class as a function")}function d(L,D){if(!L)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:L}function a(L,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);L.prototype=Object.create(D&&D.prototype,{constructor:{value:L,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(L,D):L.__proto__=D)}var o=f(13),l=o.Map,x=o.OrderedSet,k=o.Record,c=x(),b={style:c,entity:null},N=k(b),O=function(L){a(D,L);function D(){return u(this,D),d(this,L.apply(this,arguments))}return D.prototype.getStyle=function(){return this.get("style")},D.prototype.getEntity=function(){return this.get("entity")},D.prototype.hasStyle=function(J){return this.getStyle().includes(J)},D.applyStyle=function(J,Q){var G=J.set("style",J.getStyle().add(Q));return D.create(G)},D.removeStyle=function(J,Q){var G=J.set("style",J.getStyle().remove(Q));return D.create(G)},D.applyEntity=function(J,Q){var G=J.getEntity()===Q?J:J.set("entity",Q);return D.create(G)},D.create=function(J){if(!J)return S;var Q={style:c,entity:null},G=l(Q).merge(J),U=K.get(G);if(U)return U;var se=new D(G);return K=K.set(G,se),se},D}(N),S=new O,K=l([[l(b),S]]);O.EMPTY=S,s.exports=O},function(s,h,f){"use strict";function u(d,a,o,l){if(d.size){var x=0;d.reduce(function(k,c,b){return a(k,c)||(o(k)&&l(x,b),x=b),c}),o(d.last())&&l(x,d.count())}}s.exports=u},function(s,h,f){var u=f(25);function d(a,o){if(a==null)return{};var l=u(a,o),x,k;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);for(k=0;k<c.length;k++)x=c[k],!(o.indexOf(x)>=0)&&Object.prototype.propertyIsEnumerable.call(a,x)&&(l[x]=a[x])}return l}s.exports=d},function(s,h,f){"use strict";var u=f(30);function d(a){var o=a.getSelection();return o.isCollapsed()?null:u(a.getCurrentContent(),o)}s.exports=d},function(s,h){s.exports=p},function(s,h,f){var u=f(36),d=f(37),a=f(38);function o(l,x){return u(l)||d(l,x)||a()}s.exports=o},function(s,h){function f(u,d){if(u==null)return{};var a={},o=Object.keys(u),l,x;for(x=0;x<o.length;x++)l=o[x],!(d.indexOf(l)>=0)&&(a[l]=u[l]);return a}s.exports=f},function(s,h){function f(u,d){return s.exports=f=Object.setPrototypeOf||function(o,l){return o.__proto__=l,o},f(u,d)}s.exports=f},function(s,h){function f(u){if(Array.isArray(u)){for(var d=0,a=new Array(u.length);d<u.length;d++)a[d]=u[d];return a}}s.exports=f},function(s,h){function f(u){if(Symbol.iterator in Object(u)||Object.prototype.toString.call(u)==="[object Arguments]")return Array.from(u)}s.exports=f},function(s,h){function f(){throw new TypeError("Invalid attempt to spread non-iterable instance")}s.exports=f},function(s,h,f){"use strict";var u=f(31),d=f(34),a=function(l,x){var k=x.getStartKey(),c=x.getStartOffset(),b=x.getEndKey(),N=x.getEndOffset(),O=d(l,x),S=O.getBlockMap(),K=S.keySeq(),L=K.indexOf(k),D=K.indexOf(b)+1;return u(S.slice(L,D).map(function(B,J){var Q=B.getText(),G=B.getCharacterList();return k===b?B.merge({text:Q.slice(c,N),characterList:G.slice(c,N)}):J===k?B.merge({text:Q.slice(c),characterList:G.slice(c)}):J===b?B.merge({text:Q.slice(0,N),characterList:G.slice(0,N)}):B}))};s.exports=a},function(s,h,f){"use strict";var u=f(32),d=f(13),a=f(33),o=d.OrderedMap,l=function(b){var N={},O=void 0;return o(b.withMutations(function(S){S.forEach(function(K,L){var D=K.getKey(),B=K.getNextSiblingKey(),J=K.getPrevSiblingKey(),Q=K.getChildKeys(),G=K.getParentKey(),U=a();if(N[D]=U,B){var se=S.get(B);se?S.setIn([B,"prevSibling"],U):S.setIn([D,"nextSibling"],null)}if(J){var q=S.get(J);q?S.setIn([J,"nextSibling"],U):S.setIn([D,"prevSibling"],null)}if(G&&S.get(G)){var he=S.get(G),De=he.getChildKeys();S.setIn([G,"children"],De.set(De.indexOf(K.getKey()),U))}else S.setIn([D,"parent"],null),O&&(S.setIn([O.getKey(),"nextSibling"],U),S.setIn([D,"prevSibling"],N[O.getKey()])),O=S.get(D);Q.forEach(function(ke){var $=S.get(ke);$?S.setIn([ke,"parent"],U):S.setIn([D,"children"],K.getChildKeys().filter(function(Ie){return Ie!==ke}))})})}).toArray().map(function(S){return[N[S.getKey()],S.set("key",N[S.getKey()])]}))},x=function(b){return o(b.toArray().map(function(N){var O=a();return[O,N.set("key",O)]}))},k=function(b){var N=b.first()instanceof u;return N?l(b):x(b)};s.exports=k},function(s,h,f){"use strict";function u(Q,G){if(!(Q instanceof G))throw new TypeError("Cannot call a class as a function")}function d(Q,G){if(!Q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G&&(typeof G=="object"||typeof G=="function")?G:Q}function a(Q,G){if(typeof G!="function"&&G!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof G);Q.prototype=Object.create(G&&G.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),G&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,G):Q.__proto__=G)}var o=f(19),l=f(13),x=f(20),k=l.List,c=l.Map,b=l.OrderedSet,N=l.Record,O=l.Repeat,S=b(),K={parent:null,characterList:k(),data:c(),depth:0,key:"",text:"",type:"unstyled",children:k(),prevSibling:null,nextSibling:null},L=function(G,U){return G.getStyle()===U.getStyle()},D=function(G,U){return G.getEntity()===U.getEntity()},B=function(G){if(!G)return G;var U=G.characterList,se=G.text;return se&&!U&&(G.characterList=k(O(o.EMPTY,se.length))),G},J=function(Q){a(G,Q);function G(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:K;return u(this,G),d(this,Q.call(this,B(U)))}return G.prototype.getKey=function(){return this.get("key")},G.prototype.getType=function(){return this.get("type")},G.prototype.getText=function(){return this.get("text")},G.prototype.getCharacterList=function(){return this.get("characterList")},G.prototype.getLength=function(){return this.getText().length},G.prototype.getDepth=function(){return this.get("depth")},G.prototype.getData=function(){return this.get("data")},G.prototype.getInlineStyleAt=function(se){var q=this.getCharacterList().get(se);return q?q.getStyle():S},G.prototype.getEntityAt=function(se){var q=this.getCharacterList().get(se);return q?q.getEntity():null},G.prototype.getChildKeys=function(){return this.get("children")},G.prototype.getParentKey=function(){return this.get("parent")},G.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},G.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},G.prototype.findStyleRanges=function(se,q){x(this.getCharacterList(),L,se,q)},G.prototype.findEntityRanges=function(se,q){x(this.getCharacterList(),D,se,q)},G}(N(K));s.exports=J},function(s,h,f){"use strict";var u={},d=Math.pow(2,24);function a(){for(var o=void 0;o===void 0||u.hasOwnProperty(o)||!isNaN(+o);)o=Math.floor(Math.random()*d).toString(32);return u[o]=!0,o}s.exports=a},function(s,h,f){"use strict";var u=f(19),d=f(20),a=f(35);function o(k,c){var b=k.getBlockMap(),N=k.getEntityMap(),O={},S=c.getStartKey(),K=c.getStartOffset(),L=b.get(S),D=x(N,L,K);D!==L&&(O[S]=D);var B=c.getEndKey(),J=c.getEndOffset(),Q=b.get(B);S===B&&(Q=D);var G=x(N,Q,J);return G!==Q&&(O[B]=G),Object.keys(O).length?k.merge({blockMap:b.merge(O),selectionAfter:c}):k.set("selectionAfter",c)}function l(k,c,b){var N;return d(k,function(O,S){return O.getEntity()===S.getEntity()},function(O){return O.getEntity()===c},function(O,S){O<=b&&S>=b&&(N={start:O,end:S})}),typeof N!="object"&&a(!1),N}function x(k,c,b){var N=c.getCharacterList(),O=b>0?N.get(b-1):void 0,S=b<N.count()?N.get(b):void 0,K=O?O.getEntity():void 0,L=S?S.getEntity():void 0;if(L&&L===K){var D=k.__get(L);if(D.getMutability()!=="MUTABLE"){for(var B=l(N,L,b),J=B.start,Q=B.end,G;J<Q;)G=N.get(J),N=N.set(J,u.applyEntity(G,null)),J++;return c.set("characterList",N)}}return c}s.exports=o},function(s,h,f){"use strict";var u=function(o){};function d(a,o,l,x,k,c,b,N){if(u(o),!a){var O;if(o===void 0)O=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var S=[l,x,k,c,b,N],K=0;O=new Error(o.replace(/%s/g,function(){return S[K++]})),O.name="Invariant Violation"}throw O.framesToPop=1,O}}s.exports=d},function(s,h){function f(u){if(Array.isArray(u))return u}s.exports=f},function(s,h){function f(u,d){var a=[],o=!0,l=!1,x=void 0;try{for(var k=u[Symbol.iterator](),c;!(o=(c=k.next()).done)&&(a.push(c.value),!(d&&a.length===d));o=!0);}catch(b){l=!0,x=b}finally{try{!o&&k.return!=null&&k.return()}finally{if(l)throw x}}return a}s.exports=f},function(s,h){function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}s.exports=f},function(s,h,f){"use strict";f.r(h);var u=f(15),d=f.n(u),a=f(5),o=f.n(a),l=f(21),x=f.n(l),k=f(4),c=f.n(k),b=f(7),N=f.n(b),O=f(8),S=f.n(O),K=f(9),L=f.n(K),D=f(1),B=f.n(D),J=f(10),Q=f.n(J),G=f(2),U=f.n(G),se=f(12),q=f.n(se),he=f(40),De=f(42),ke=f(0),$=f.n(ke),Ie={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"}},Ue={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"}},He={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"}},We={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"}},Xe={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"}},vt={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"}},Et={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"}},ht={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"}},je={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"}},gt={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"}},Ze={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"}},Tt={en:Ie,zh:Ue,"zh-hant":He,pl:We,kr:Xe,tr:vt,jpn:Et,ru:ht,fr:je,"pt-br":gt,"vi-vn":Ze},At=f(17),bt=f.n(At),Be=f(3),rt=f(6),Pt=f(13),nn=f.n(Pt),Ke=function(re){return function(z){return z.keyCode===83&&(rt.KeyBindingUtil.hasCommandModifier(z)||rt.KeyBindingUtil.isCtrlKeyCommand(z))?"braft-save":re&&re(z)||Object(rt.getDefaultKeyBinding)(z)}},ue={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(z,X){return X==="line-height"?z:"".concat(z,"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},ie=f(22),ge=f.n(ie),Ae=f(23),Se=function(z,X,r){if(r.editorProps.handleKeyCommand&&r.editorProps.handleKeyCommand(z,X,r)==="handled")return"handled";if(z==="braft-save")return r.editorProps.onSave&&r.editorProps.onSave(X),"handled";var j=r.editorProps,ee=j.controls,fe=j.excludeControls,t=(ee.indexOf("text-indent")!==0||ee.find(function(Je){return Je.key==="text-indent"}))&&fe.indexOf("text-indent")===-1,m=X.getSelection().getStartOffset(),I=X.getSelection().getEndOffset(),W=m===0&&I===0;if(z==="backspace"){if(r.editorProps.onDelete&&r.editorProps.onDelete(X)===!1)return"handled";var le=Be.ContentUtils.getSelectionBlockType(X);t&&W&&le!=="code-block"&&r.setValue(Be.ContentUtils.decreaseSelectionIndent(X))}if(z==="tab"){var oe=Be.ContentUtils.getSelectionBlockType(X);if(oe==="code-block")return r.setValue(Be.ContentUtils.insertText(X," ".repeat(r.editorProps.codeTabIndents))),"handled";if(oe==="ordered-list-item"||oe==="unordered-list-item"){var me=rt.RichUtils.onTab(event,X,4);return me!==X&&r.setValue(me),"handled"}else if(oe!=="atomic"&&t&&W)return r.setValue(Be.ContentUtils.increaseSelectionIndent(X)),"handled"}var xe=Be.ContentUtils.handleKeyCommand(X,z);return xe?(r.setValue(xe),"handled"):"not-handled"},Te=function(z,X,r){if(r.editorProps.handleReturn&&r.editorProps.handleReturn(z,X,r)==="handled")return"handled";var j=Be.ContentUtils.getSelectionBlock(X),ee=j.getType();if(ee==="unordered-list-item"||ee==="ordered-list-item")return j.getLength()===0?(r.setValue(Be.ContentUtils.toggleSelectionBlockType(X,"unstyled")),"handled"):"not-handled";if(ee==="code-block")return z.which===13&&(z.getModifierState("Shift")||z.getModifierState("Alt")||z.getModifierState("Control"))?(r.setValue(Be.ContentUtils.toggleSelectionBlockType(X,"unstyled")),"handled"):"not-handled";if(ee==="blockquote"&&z.which===13)if(z.getModifierState("Shift")||z.getModifierState("Alt")||z.getModifierState("Control"))z.which=0;else return r.setValue(rt.RichUtils.insertSoftNewline(X)),"handled";var fe=Object(Ae.handleNewLine)(X,z);return fe?(r.setValue(fe),"handled"):"not-handled"},Fe=function(z,X,r){return r.editorProps.handleBeforeInput&&r.editorProps.handleBeforeInput(z,X,r)==="handled"?"handled":"not-handled"},Oe=function(z,X){var r=X.state.editorState,j=Be.ContentUtils.getSelectedBlocks(r);if(j&&j.length>1){var ee=rt.EditorState.push(r,rt.Modifier.removeRange(r.getCurrentContent(),r.getSelection(),"backward"),"remove-range");X.setValue(ee)}},Ge=function(z,X,r){if(r.editorProps.readOnly||r.editorProps.disabled)return"handled";if(window&&window.__BRAFT_DRAGING__IMAGE__){var j=rt.EditorState.forceSelection(r.state.editorState,z);return j=Be.ContentUtils.insertMedias(j,[window.__BRAFT_DRAGING__IMAGE__.mediaData]),j=Be.ContentUtils.removeBlock(j,window.__BRAFT_DRAGING__IMAGE__.block,j.getSelection()),window.__BRAFT_DRAGING__IMAGE__=null,r.lockOrUnlockEditor(!0),r.setValue(j),"handled"}else if(!X||!X.getText())return"handled";return"not-handled"},Qe=function(z,X){var r=o()({},X.constructor.defaultProps.media,X.editorProps.media),j=r.pasteImage,ee=r.validateFn,fe=r.imagePasteLimit;return j&&z.slice(0,fe).forEach(function(t){if(t&&t.type.indexOf("image")>-1&&X.braftFinder){var m=ee?ee(t):!0;m instanceof Promise?m.then(function(){X.braftFinder.uploadImage(t,function(I){X.isLiving&&X.setValue(Be.ContentUtils.insertMedias(X.state.editorState,[I]))})}):m&&X.braftFinder.uploadImage(t,function(I){X.isLiving&&X.setValue(Be.ContentUtils.insertMedias(X.state.editorState,[I]))})}}),z[0]&&z[0].type.indexOf("image")>-1&&j?"handled":"not-handled"},_e=function(z,X,r){return r.editorProps.handleDroppedFiles&&r.editorProps.handleDroppedFiles(z,X,r)==="handled"?"handled":Qe(X,r)},Re=function(z,X){return X.editorProps.handlePastedFiles&&X.editorProps.handlePastedFiles(z,X)==="handled"?"handled":Qe(z,X)},lt=function(z,X){var r=ge()(X.state.editorState);if(r&&r.toArray)try{var j=rt.ContentState.createFromBlockArray(r.toArray()),ee=rt.EditorState.createWithContent(j),fe=z.clipboardData||window.clipboardData||z.originalEvent.clipboardData;ee.setConvertOptions(X.state.editorState.convertOptions),fe.setData("text/html",ee.toHTML()),fe.setData("text/plain",ee.toText()),z.preventDefault()}catch(t){console.warn(t)}},St=function(z,X,r,j){if(j.editorProps.handlePastedText&&j.editorProps.handlePastedText(z,X,r,j)==="handled")return"handled";if(!X||j.editorProps.stripPastedStyles)return!1;var ee=Be.ColorUtils.detectColorsFromHTMLString(X);return j.setState({tempColors:[].concat(q()(j.state.tempColors),q()(ee)).filter(function(fe){return j.editorProps.colors.indexOf(fe)===-1}).filter(function(fe,t,m){return m.indexOf(fe)===t})},function(){j.setValue(Be.ContentUtils.insertHTML(r,X,"paste"))}),"handled"},Kt=[],Ot=[],It=[],Qt=[],Gt=[],ne=[],de=[],Ee=[],Ce=[],Le=[],Ne=[],ft=[],tt=function(z,X){return X?z.map(function(r){return!r.includeEditors&&!r.excludeEditors?r.data:r.includeEditors?r.includeEditors.indexOf(X)!==-1?r.data:!1:r.excludeEditors?r.excludeEditors.indexOf(X)!==-1?!1:r.data:!1}).filter(function(r){return r}):z.filter(function(r){return!r.includeEditors}).map(function(r){return r.data})},yt=function(z){return tt(It,z)},qe=function(z){return tt(Kt,z)},xt=function(z){return tt(Ot,z,"decorators")},it=function(z){return tt(Qt,z)},Ct=function(z){return tt(Gt,z)},$e=function(z){var X={};return tt(ne,z).forEach(function(r){X[r.inlineStyleName]=r.styleMap}),X},ut=function(z){return tt(de,z)},dt=function(z,X){return function(r,j,ee){return tt(Ce,X).forEach(function(fe){fe.importer&&fe.importer(r,j)&&(ee=ee.add(fe.inlineStyleName))}),z?z(r,j,ee):ee}},st=function(z,X){return function(r){r=r.toUpperCase();var j=z?z(r):void 0;return j||(tt(Le,X).find(function(ee){if(ee.inlineStyleName===r)return j=ee.exporter,!0}),j)}},Wt=function(z,X){return function(r,j,ee,fe){var t=z?z(r,j,ee,fe):null;return t||(tt(Ee,X).find(function(m){var I=m.importer?m.importer(r,j,fe):null;return I&&(t=ee(m.entityType,I.mutability||"MUTABLE",I.data||{})),!!I}),t)}},jt=function(z,X){return function(r,j){var ee=z?z(r,j):void 0;if(ee)return ee;var fe=r.type.toUpperCase();return tt(Ee,X).find(function(t){if(t.entityType===fe)return ee=t.exporter?t.exporter(r,j):void 0,!0}),ee}},Mt=function(z,X){return function(r,j,ee){var fe=z?z(r,j,ee):null;return fe||(tt(Ne,X).find(function(t){var m=t.importer?t.importer(r,j,ee):void 0;return m&&(fe=m),!!m}),fe)}},Ft=function(z,X){return function(r,j){var ee=z?z(r,j):null;return ee||(tt(ft,X).find(function(fe){var t=fe.exporter?fe.exporter(r,j):void 0;return t&&(ee=t),!!t}),ee)}},at=function re(z){if(z instanceof Array)return z.forEach(re),!1;if(!z||!z.type||typeof z.type!="string")return!1;var X=z.includeEditors,r=z.excludeEditors;if(z.type==="control")Kt.push({includeEditors:X,excludeEditors:r,data:z.control});else if(z.type==="inline-style"){var j=z.name.toUpperCase();z.control&&Kt.push({includeEditors:X,excludeEditors:r,data:o()({key:j,type:"inline-style",command:j},z.control)}),z.style&&ne.push({includeEditors:X,excludeEditors:r,data:{inlineStyleName:j,styleMap:z.style}}),z.styleFn&&de.push({includeEditors:X,excludeEditors:r,data:{inlineStyleName:j,styleFn:z.styleFn}}),z.importer&&Ce.push({includeEditors:X,excludeEditors:r,data:{inlineStyleName:j,importer:z.importer}}),Le.push({includeEditors:X,excludeEditors:r,data:{inlineStyleName:j,exporter:z.exporter?z.exporter(z):$.a.createElement("span",{style:z.style})}})}else if(z.type!=="block-style"){if(z.type==="entity"){var ee=z.name.toUpperCase();z.control&&Kt.push({includeEditors:X,excludeEditors:r,data:typeof z.control=="function"?z.control:o()({key:ee,type:"entity",command:ee,data:{mutability:z.mutability||"MUTABLE",data:z.data||{}}},z.control)}),Ee.push({includeEditors:X,excludeEditors:r,data:{entityType:ee,importer:z.importer,exporter:z.exporter}}),Ot.push({includeEditors:X,excludeEditors:r,data:{type:"entity",decorator:{key:ee,component:z.component}}})}else if(z.type==="block"){var fe=z.name;z.renderMap&&Qt.push({includeEditors:X,excludeEditors:r,data:{blockType:fe,renderMap:z.renderMap}}),z.rendererFn&&Gt.push({includeEditors:X,excludeEditors:r,data:{blockType:fe,rendererFn:z.rendererFn}}),z.importer&&Ne.push({includeEditors:X,excludeEditors:r,data:{blockType:fe,importer:z.importer}}),z.exporter&&ft.push({includeEditors:X,excludeEditors:r,data:{blockType:fe,exporter:z.exporter}})}else if(z.type!=="atomic")if(z.type==="decorator"){var t=z.decorator;t&&t.strategy&&t.component?Ot.push({includeEditors:X,excludeEditors:r,data:{type:"strategy",decorator:t}}):t&&t.getDecorations&&Ot.push({includeEditors:X,excludeEditors:r,data:{type:"class",decorator:t}})}else z.type==="prop-interception"&&It.push({includeEditors:X,excludeEditors:r,data:z.interceptor})}},Dt=function(z){return z.use=at,z},kt=function(re,z){var X=Object(Pt.Map)({atomic:{element:""},"code-block":{element:"code",wrapper:$.a.createElement("pre",{className:"braft-code-block"})}});try{var r=it(re.editorId);X=r.reduce(function(j,ee){return j.merge(typeof ee.renderMap=="function"?ee.renderMap(re):ee.renderMap)},X),z&&(typeof z=="function"?X=X.merge(z(re)):X=X.merge(z)),X=rt.DefaultDraftBlockRenderMap.merge(X)}catch(j){console.warn(j)}return X},ot=f(11),Rt=f.n(ot),Ut=f(24),Yt=f.n(Ut),un=f(45),fn=f(46),en=function(re){var z=re.active,X=re.onClick,r=re.className;return $.a.createElement("div",{onClick:function(){return X()},className:"bf-switch "+r+(z?" active":"")})},Rn=function(re,z){return[{key:"undo",title:re.controls.undo,text:$.a.createElement("i",{className:"bfi-undo"}),type:"editor-method",command:"undo"},{key:"redo",title:re.controls.redo,text:$.a.createElement("i",{className:"bfi-redo"}),type:"editor-method",command:"redo"},{key:"remove-styles",title:re.controls.removeStyles,text:$.a.createElement("i",{className:"bfi-format_clear"}),type:"editor-method",command:"removeSelectionInlineStyles"},{key:"hr",title:re.controls.hr,text:$.a.createElement("i",{className:"bfi-hr"}),type:"editor-method",command:"insertHorizontalLine"},{key:"bold",title:re.controls.bold,text:$.a.createElement("i",{className:"bfi-bold"}),type:"inline-style",command:"bold"},{key:"italic",title:re.controls.italic,text:$.a.createElement("i",{className:"bfi-italic"}),type:"inline-style",command:"italic"},{key:"underline",title:re.controls.underline,text:$.a.createElement("i",{className:"bfi-underlined"}),type:"inline-style",command:"underline"},{key:"strike-through",title:re.controls.strikeThrough,text:$.a.createElement("i",{className:"bfi-strikethrough"}),type:"inline-style",command:"strikethrough"},{key:"superscript",title:re.controls.superScript,text:$.a.createElement("i",{className:"bfi-superscript"}),type:"inline-style",command:"superscript"},{key:"subscript",title:re.controls.subScript,text:$.a.createElement("i",{className:"bfi-subscript"}),type:"inline-style",command:"subscript"},{key:"headings",title:re.controls.headings,type:"headings"},{key:"blockquote",title:re.controls.blockQuote,text:$.a.createElement("i",{className:"bfi-quote"}),type:"block-type",command:"blockquote"},{key:"code",title:re.controls.code,text:$.a.createElement("i",{className:"bfi-code"}),type:"block-type",command:"code-block"},{key:"list-ul",title:re.controls.unorderedList,text:$.a.createElement("i",{className:"bfi-list"}),type:"block-type",command:"unordered-list-item"},{key:"list-ol",title:re.controls.orderedList,text:$.a.createElement("i",{className:"bfi-list-numbered"}),type:"block-type",command:"ordered-list-item"},{key:"link",title:re.controls.link,type:"link"},{key:"text-color",title:re.controls.color,type:"text-color"},{key:"line-height",title:re.controls.lineHeight,type:"line-height"},{key:"letter-spacing",title:re.controls.letterSpacing,type:"letter-spacing"},{key:"text-indent",title:re.controls.textIndent,type:"text-indent"},{key:"font-size",title:re.controls.fontSize,type:"font-size"},{key:"font-family",title:re.controls.fontFamily,type:"font-family"},{key:"text-align",title:re.controls.textAlign,type:"text-align"},{key:"media",title:re.controls.media,text:$.a.createElement("i",{className:"bfi-media"}),type:"media"},{key:"emoji",title:re.controls.emoji,text:$.a.createElement("i",{className:"bfi-emoji"}),type:"emoji"},{key:"clear",title:re.controls.clear,text:$.a.createElement("i",{className:"bfi-clear_all"}),type:"editor-method",command:"clearEditorContent"},{key:"fullscreen",title:z.state.isFullscreen?re.controls.exitFullscreen:re.controls.fullscreen,text:$.a.createElement("i",{className:z.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"}]},gn={"float-left":{text:$.a.createElement("span",{"data-float":"left"},"\uE91E"),command:"setImageFloat|left"},"float-right":{text:$.a.createElement("span",{"data-float":"right"},"\uE914"),command:"setImageFloat|right"},"align-left":{text:$.a.createElement("span",{"data-align":"left"},"\uE027"),command:"setImageAlignment|left"},"align-center":{text:$.a.createElement("span",{"data-align":"center"},"\uE028"),command:"setImageAlignment|center"},"align-right":{text:$.a.createElement("span",{"data-align":"right"},"\uE029"),command:"setImageAlignment|right"},size:{text:$.a.createElement("span",null,"\uE3C2"),command:"toggleSizeEditor"},link:{text:$.a.createElement("span",null,"\uE91A"),command:"toggleLinkEditor"},remove:{text:$.a.createElement("span",null,"\uE9AC"),command:"removeImage"}},zt=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"state",{toolbarVisible:!1,toolbarOffset:0,linkEditorVisible:!1,sizeEditorVisible:!1,tempLink:null,tempWidth:null,tempHeight:null}),U()(B()(r),"initialLeft",void 0),U()(B()(r),"initialTop",void 0),U()(B()(r),"initialWidth",void 0),U()(B()(r),"initialHeight",void 0),U()(B()(r),"reSizeType",void 0),U()(B()(r),"zoom",void 0),U()(B()(r),"changeSize",function(t){var m=r.reSizeType;r.initialLeft||(r.initialLeft=t.screenX,r.initialTop=t.screenY),m==="rightbottom"&&(r.initialHeight+=t.screenY-r.initialTop,r.initialWidth+=t.screenX-r.initialLeft),m==="leftbottom"&&(r.initialHeight+=t.screenY-r.initialTop,r.initialWidth+=-t.screenX+r.initialLeft),r.initialLeft=t.screenX,r.initialTop=t.screenY}),U()(B()(r),"moveImage",function(t){r.changeSize(t),r.setState({tempWidth:Math.abs(r.initialWidth),tempHeight:Math.abs(r.initialHeight)})}),U()(B()(r),"upImage",function(){var t=r.props.imageEqualRatio;t?r.confirmImageSizeEqualRatio():r.confirmImageSize(),document.removeEventListener("mousemove",r.moveImage),document.removeEventListener("mouseup",r.upImage)}),U()(B()(r),"repareChangeSize",function(t){return function(m){r.reSizeType=t;var I=r.imageElement.getBoundingClientRect();r.initialLeft=r.initialTop=0,r.initialWidth=I.width,r.initialHeight=I.height,r.zoom=I.width/I.height,m.preventDefault(),document.addEventListener("mousemove",r.moveImage),document.addEventListener("mouseup",r.upImage)}}),U()(B()(r),"preventDragEvent",function(t){t.stopPropagation(),t.preventDefault()}),U()(B()(r),"handleDragStart",function(){return r.props.editor.editorProps.readOnly||r.props.editor.editorProps.disabled?!1:(window.__BRAFT_DRAGING__IMAGE__={block:r.props.block,mediaData:o()({type:"IMAGE"},r.props.mediaData)},r.setState({toolbarVisible:!1},function(){r.unlockEditor()}),!0)}),U()(B()(r),"handleDragEnd",function(){return window.__BRAFT_DRAGING__IMAGE__=null,!1}),U()(B()(r),"executeCommand",function(t){if(typeof t=="string"){var m=t.split("|"),I=Yt()(m,2),W=I[0],le=I[1];r[W]&&r[W](le)}else typeof t=="function"&&t(r.props.block,r.props.mediaData,r.props.editor.getValue())}),U()(B()(r),"removeImage",function(){r.props.editor.setValue(Be.ContentUtils.removeBlock(r.props.editor.getValue(),r.props.block)),r.unlockEditor()}),U()(B()(r),"toggleLinkEditor",function(){r.setState({linkEditorVisible:!r.state.linkEditorVisible,sizeEditorVisible:!1})}),U()(B()(r),"toggleSizeEditor",function(){r.setState({linkEditorVisible:!1,sizeEditorVisible:!r.state.sizeEditorVisible})}),U()(B()(r),"handleLinkInputKeyDown",function(t){if(t.keyCode===13)r.confirmImageLink();else return}),U()(B()(r),"setImageLink",function(t){r.setState({tempLink:t.currentTarget.value})}),U()(B()(r),"confirmImageLink",function(){var t=r.state.tempLink,m=r.props.hooks("set-image-link",t)(t);if(m===!1)return!1;typeof m=="string"&&(t=m),t!==null&&(r.props.editor.setValue(Be.ContentUtils.setMediaData(r.props.editor.getValue(),r.props.entityKey,{link:t})),window.setImmediate(r.props.editor.forceRender))}),U()(B()(r),"handleSizeInputKeyDown",function(t){if(t.keyCode===13)r.confirmImageSize();else return}),U()(B()(r),"setImageWidth",function(t){var m=t.currentTarget,I=m.value;I&&!isNaN(I)&&(I=I+"px"),r.setState({tempWidth:I})}),U()(B()(r),"setImageHeight",function(t){var m=t.currentTarget,I=m.value;I&&!isNaN(I)&&(I=I+"px"),r.setState({tempHeight:I})}),U()(B()(r),"confirmImageSize",function(){var t=r.state,m=t.tempWidth,I=t.tempHeight,W={};m!==null&&(W.width=m),I!==null&&(W.height=I);var le=r.props.hooks("set-image-size",W)(W);if(le===!1)return!1;le&&(le.width||le.height)&&(W=le),r.props.editor.setValue(Be.ContentUtils.setMediaData(r.props.editor.getValue(),r.props.entityKey,W)),window.setImmediate(r.props.editor.forceRender)}),U()(B()(r),"confirmImageSizeEqualRatio",function(){var t=r.state,m=t.tempWidth,I=t.tempHeight,W,le,oe={};m/I>r.zoom?(W=Math.floor(I*r.zoom),r.setState({tempWidth:W}),le=I):m/I<r.zoom&&(le=Math.floor(m/r.zoom),r.setState({tempHeight:le}),W=m),W!==null&&(oe.width=W),le!==null&&(oe.height=le);var me=r.props.hooks("set-image-size",oe)(oe);if(me===!1)return!1;me&&(me.width||me.height)&&(oe=me),r.props.editor.setValue(Be.ContentUtils.setMediaData(r.props.editor.getValue(),r.props.entityKey,oe)),window.setImmediate(r.props.editor.forceRender)}),U()(B()(r),"setImageFloat",function(t){var m=r.props.hooks("set-image-float",t)(t);if(m===!1)return!1;typeof m=="string"&&(t=m),r.props.editor.setValue(Be.ContentUtils.setMediaPosition(r.props.editor.getValue(),r.props.block,{float:t})),r.unlockEditor()}),U()(B()(r),"setImageAlignment",function(t){var m=r.props.hooks("set-image-alignment",t)(t);if(m===!1)return!1;typeof m=="string"&&(t=m),r.props.editor.setValue(Be.ContentUtils.setMediaPosition(r.props.editor.getValue(),r.props.block,{alignment:t})),r.unlockEditor()}),U()(B()(r),"showToolbar",function(t){if(r.props.editor.editorProps.readOnly||r.props.editor.editorProps.disabled)return!1;t.preventDefault(),r.state.toolbarVisible||r.setState({toolbarVisible:!0},function(){r.lockEditor(),r.setState({toolbarOffset:r.calcToolbarOffset()})})}),U()(B()(r),"hideToolbar",function(t){t.preventDefault(),r.setState({toolbarVisible:!1},function(){r.unlockEditor()})}),r}return N()(z,[{key:"render",value:function(){var r=this,j=this.props,ee=j.mediaData,fe=j.language,t=j.imageControls,m=j.imageResizable,I=this.state,W=I.toolbarVisible,le=I.toolbarOffset,oe=I.linkEditorVisible,me=I.sizeEditorVisible,xe=I.tempWidth,Je=I.tempHeight,et=this.props.block.getData(),Ve=et.get("float"),ct=et.get("alignment"),Jt=ee.url,Zt=ee.link,qt=ee.link_target,vn=ee.width,Nn=ee.height,jn=ee.meta,Vn={},Zn=!1;Ve?ct=null:ct==="left"?(Vn.float="left",Zn=!0):ct==="right"?(Vn.float="right",Zn=!0):ct==="center"?Vn.textAlign="center":(Vn.float="left",Zn=!0);var Er=t.map(function(_t,Mn){return typeof _t=="string"&&gn[_t]?$.a.createElement("a",{className:_t==="link"&&Zt?"active":"",key:Mn,onClick:function(){return r.executeCommand(gn[_t].command)}},gn[_t].text):_t&&(_t.render||_t.text)?_t.render?_t.render(ee,r.props.block):$.a.createElement("a",{key:Mn,onClick:function(){return _t.onClick&&r.executeCommand(_t.onClick)}},_t.text):null});return $.a.createElement("div",{className:"bf-media"},$.a.createElement("div",{style:Vn,draggable:!0,onMouseEnter:this.showToolbar,onMouseMove:this.showToolbar,onMouseLeave:this.hideToolbar,onDragStart:this.handleDragStart,onDragEnd:this.handleDragEnd,ref:function(Mn){return r.mediaEmbederInstance=Mn},className:"bf-image"},W?$.a.createElement("div",{style:{marginLeft:le},ref:function(Mn){return r.toolbarElement=Mn},"data-float":Ve,"data-align":ct,className:"bf-media-toolbar"},oe?$.a.createElement("div",{className:"bf-image-link-editor"},$.a.createElement("div",{className:"editor-input-group"},$.a.createElement("input",{type:"text",placeholder:fe.linkEditor.inputWithEnterPlaceHolder,onKeyDown:this.handleLinkInputKeyDown,onChange:this.setImageLink,defaultValue:Zt}),$.a.createElement("button",{type:"button",onClick:this.confirmImageLink},fe.base.confirm)),$.a.createElement("div",{className:"switch-group"},$.a.createElement(en,{active:qt==="_blank",onClick:function(){return r.setImageLinkTarget(qt)}}),$.a.createElement("label",null,fe.linkEditor.openInNewWindow))):null,me?$.a.createElement("div",{className:"bf-image-size-editor"},$.a.createElement("div",{className:"editor-input-group"},$.a.createElement("input",{type:"text",placeholder:fe.base.width,onKeyDown:this.handleSizeInputKeyDown,onChange:this.setImageWidth,defaultValue:vn}),$.a.createElement("input",{type:"text",placeholder:fe.base.height,onKeyDown:this.handleSizeInputKeyDown,onChange:this.setImageHeight,defaultValue:Nn}),$.a.createElement("button",{type:"button",onClick:this.confirmImageSize},fe.base.confirm))):null,Er,$.a.createElement("i",{style:{marginLeft:le*-1},className:"bf-media-toolbar-arrow"})):null,$.a.createElement("div",{style:{position:"relative",width:"".concat(vn,"px"),height:"".concat(Nn,"px"),display:"inline-block"}},$.a.createElement("img",Rt()({ref:function(Mn){return r.imageElement=Mn},src:Jt,width:vn,height:Nn},jn)),W&&m?$.a.createElement("div",{className:"bf-csize-icon right-bottom",onMouseDown:this.repareChangeSize("rightbottom")}):null,W&&m?$.a.createElement("div",{className:"bf-csize-icon left-bottom",onMouseDown:this.repareChangeSize("leftbottom")}):null,$.a.createElement("div",{className:"bf-pre-csize ".concat(this.reSizeType),style:{width:"".concat(xe,"px"),height:"".concat(Je,"px")}}))),Zn&&$.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 r=this.props,j=r.getContainerNode,ee=r.containerNode,fe=j?j():ee;if(!fe)return 0;var t=fe.querySelector(".bf-content").getBoundingClientRect(),m=this.toolbarElement.getBoundingClientRect(),I=this.imageElement.getBoundingClientRect(),W=t.right-(I.right-I.width/2+m.width/2),le=I.left+I.width/2-m.width/2-t.left;return W<10?W-10:le<10?le*-1+10:0}},{key:"setImageLinkTarget",value:function(r){var j=this.props.hooks("set-image-link-target",r)(r);if(j===!1)return!1;typeof j=="string"&&(r=j),r=r==="_blank"?"":"_blank",this.props.editor.setValue(Be.ContentUtils.setMediaData(this.props.editor.getValue(),this.props.entityKey,{link_target:r})),window.setImmediate(this.props.editor.forceRender)}}]),z}($.a.Component),Kn=f(47),rn=f(48),Cn=f(16),bn=f.n(Cn),mn=function(re){Q()(z,re);function z(X){var r;return c()(this,z),r=S()(this,L()(z).call(this,X)),U()(B()(r),"handleTransitionEnd",function(){if(!r.rootElement||!r.rootElement.classList)return!1;r.rootElement.classList.contains("active")||bn.a.unmountComponentAtNode(r.rootElement)&&r.rootElement.parentNode.removeChild(r.rootElement)}),U()(B()(r),"handleMouseDown",function(j){var ee=j.target.tagName.toLowerCase();if(ee==="input"||ee==="textarea")return!1;j.preventDefault()}),U()(B()(r),"handleCancel",function(){r.props.closeOnCancel&&r.close(),r.props.onCancel&&r.props.onCancel()}),U()(B()(r),"handleConfirm",function(){r.props.closeOnConfirm&&r.close(),r.props.onConfirm&&r.props.onConfirm()}),U()(B()(r),"handleMaskClick",function(){r.props.closeOnBlur&&r.close(),r.props.onBlue&&r.props.onBlue()}),U()(B()(r),"close",function(){r.unrenderComponent(),r.props.onClose&&r.props.onClose()}),r.active=!1,r.componentId="BRAFT-MODAL-"+Be.BaseUtils.UniqueIndex(),r}return N()(z,[{key:"componentDidMount",value:function(){this.props.visible&&(this.active=!0,this.renderComponent(this.props))}},{key:"componentWillReceiveProps",value:function(r){this.props.visible&&!r.visible?this.unrenderComponent():(this.props.visible||r.visible)&&(this.active=!0,this.renderComponent(r))}},{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(r){var j=this;if(!this.active)return!1;var ee=r.title,fe=r.className,t=r.width,m=r.height,I=r.children,W=r.component,le=r.confirmable,oe=r.showFooter,me=r.showCancel,xe=r.showConfirm,Je=r.showClose,et=r.cancelText,Ve=r.confirmText,ct=r.bottomText,Jt=r.language;typeof me=="undefined"&&(me=!0),typeof Je=="undefined"&&(Je=!0),typeof xe=="undefined"&&(xe=!0),typeof oe=="undefined"&&(oe=!0);var Zt=$.a.createElement("div",{onMouseDown:this.handleMouseDown,className:"bf-modal "+(fe||"")},$.a.createElement("div",{className:"bf-modal-mask",onClick:this.handleMaskClick}),$.a.createElement("div",{onTransitionEnd:this.handleTransitionEnd,style:{width:t,height:m},className:"bf-modal-content"},$.a.createElement("div",{className:"bf-modal-header"},$.a.createElement("h3",{className:"bf-modal-caption"},ee),Je&&$.a.createElement("button",{type:"button",onClick:this.close,className:"bf-modal-close-button"},$.a.createElement("i",{className:"bfi-close"}))),$.a.createElement("div",{className:"bf-modal-body"},I||W),oe?$.a.createElement("div",{className:"bf-modal-footer"},$.a.createElement("div",{className:"bf-modal-addon-text"},ct),$.a.createElement("div",{className:"bf-modal-buttons"},me&&$.a.createElement("button",{type:"button",onClick:this.handleCancel,className:"bf-modal-cancel"},et||Jt.base.cancel),xe&&$.a.createElement("button",{type:"button",onClick:this.handleConfirm,className:"bf-modal-confirm "+(le?"":"disabled")},Ve||Jt.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)),bn.a.render(Zt,this.rootElement),this.activeId=window.setImmediate(function(){j.rootElement.classList.add("active")})}}]),z}($.a.Component);U()(mn,"defaultProps",{showFooter:!0,closeOnBlur:!0});var on=function(z){var X=document.createElement("div");X.style.display="none",document.body.appendChild(X),z=o()({visible:!0,closeOnConfirm:!0,closeOnCancel:!0},z);var r=function(){bn.a.unmountComponentAtNode(X)&&X.parentNode.removeChild(X)},j=function(){z.onConfirm&&z.onConfirm()},ee=function(){z.onCancel&&z.onCancel()},fe=function(){r(),z.onClose&&z.onClose()},t=bn.a.render($.a.createElement(mn,Rt()({},z,{onConfirm:j,onCancel:ee,onClose:fe})),X);return t.destroy=r,t.update=t.renderComponent,t},Fn=f(49),xn=function(z,X,r){return on({title:z,component:X,language:r,showFooter:!1})},yn={video:"bfi-film",audio:"bfi-music",embed:"bfi-code"},Bn=function(re){var z=re.title,X=re.type,r=re.language,j=re.name,ee=re.url,fe=re.poster,t=re.children,m=re.onRemove;return $.a.createElement("div",{className:"bf-player-holder ".concat(X)},$.a.createElement("div",{className:"icon-badge"},$.a.createElement("i",{className:yn[X]}),$.a.createElement("span",{className:"text"},r.media[X])),$.a.createElement("button",{onMouseDown:m,className:"button-remove"},$.a.createElement("i",{className:"bfi-close"})),$.a.createElement("button",{onMouseDown:function(){return xn(j?"".concat(z,":").concat(j):z,t,r)},className:"button-play"},$.a.createElement("i",{className:"bfi-play_arrow"})),j?$.a.createElement("h5",{className:"bf-name"},j):null,$.a.createElement("h6",{className:"bf-url"},ee),fe?$.a.createElement("div",{className:"bf-poster",style:{backgroundImage:"url(".concat(fe,")")}}):null)},Jn=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"removeVideo",function(){r.props.editor.setValue(Be.ContentUtils.removeBlock(r.props.editorState,r.props.block))}),r}return N()(z,[{key:"render",value:function(){var r=this.props,j=r.mediaData,ee=r.language,fe=j.url,t=j.name,m=j.meta;return $.a.createElement("div",{className:"bf-video-wrap"},$.a.createElement(Bn,{type:"video",onRemove:this.removeVideo,poster:m&&m.poster||"",language:ee,url:fe,name:t,title:ee.videoPlayer.title},$.a.createElement("div",{className:"bf-video-player"},$.a.createElement("video",{controls:!0,poster:m&&m.poster||""},$.a.createElement("source",{src:fe})))))}}]),z}($.a.Component),qn=f(50),Gn=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"removeAudio",function(){r.props.editor.setValue(Be.ContentUtils.removeBlock(r.props.editorState,r.props.block))}),r}return N()(z,[{key:"render",value:function(){var r=this.props,j=r.mediaData,ee=r.language,fe=j.url,t=j.name,m=j.meta;return $.a.createElement("div",{className:"bf-audio-wrap"},$.a.createElement(Bn,{type:"audio",onRemove:this.removeAudio,poster:m&&m.poster||"",language:ee,url:fe,name:t,title:ee.audioPlayer.title},$.a.createElement("div",{className:"bf-audio-player"},$.a.createElement("audio",{controls:!0,src:fe}))))}}]),z}($.a.Component),cr=f(51),er=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"removeEmbed",function(){r.props.editor.setValue(Be.ContentUtils.removeBlock(r.props.editorState,r.props.block))}),r}return N()(z,[{key:"render",value:function(){var r=this.props,j=r.mediaData,ee=r.language,fe=j.name,t=j.url,m=j.meta;return $.a.createElement("div",{className:"bf-embed-wrap"},$.a.createElement(Bn,{type:"embed",onRemove:this.removeEmbed,poster:m&&m.poster||"",language:ee,url:t,name:fe,title:ee.videoPlayer.embedTitle},$.a.createElement("div",{className:"bf-embed-player",dangerouslySetInnerHTML:{__html:t}})))}}]),z}($.a.Component),tr=f(52),g=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"removeHorizontalLine",function(){r.props.editor.setValue(Be.ContentUtils.removeBlock(r.props.editorState,r.props.block))}),r}return N()(z,[{key:"render",value:function(){return $.a.createElement("div",{className:"bf-hr"},$.a.createElement("div",{className:"bf-media-toolbar"},$.a.createElement("a",{onClick:this.removeHorizontalLine},"\uE9AC")))}}]),z}($.a.Component),M=function re(){var z=this;c()(this,re),U()(this,"superProps",void 0),U()(this,"customBlockRendererFn",void 0),U()(this,"getRenderFn",function(X,r){return z.superProps=X,z.customBlockRendererFn=r,z.blockRendererFn}),U()(this,"renderAtomicBlock",function(X){var r=z.superProps,j=X.block.getEntityAt(0);if(!j)return null;var ee=X.contentState.getEntity(j),fe=ee.getData(),t=ee.getType(),m=o()({},r,{block:X.block,mediaData:fe,entityKey:j});if(t==="IMAGE")return $.a.createElement(zt,m);if(t==="AUDIO")return $.a.createElement(Gn,m);if(t==="VIDEO")return $.a.createElement(Jn,m);if(t==="EMBED")return $.a.createElement(er,m);if(t==="HR")return $.a.createElement(g,m);if(r.extendAtomics){for(var I=r.extendAtomics,W=0;W<I.length;W++)if(t===I[W].type){var le=I[W].component;return $.a.createElement(le,m)}}return null}),U()(this,"blockRendererFn",function(X){var r=z.customBlockRendererFn,j=z.superProps,ee=X.getType(),fe=null;if(r&&(fe=r(X,j)||null),fe)return fe;var t=Ct(j.editorId);return t.find(function(m){if(m.blockType===ee||m.blockType instanceof RegExp&&m.blockType.test(ee))return fe=m.rendererFn?m.rendererFn(j):null,!0}),fe||(ee==="atomic"&&(fe={component:z.renderAtomicBlock,editable:!1}),fe)})},V=new M,Z=V.getRenderFn,ve=function(re){return function(z){var X=z.getData()&&z.getData().get("textAlign"),r=z.getData()&&z.getData().get("textIndent"),j=z.getData()&&z.getData().get("float"),ee="";return X&&(ee="bfa-".concat(X)),r&&r!==0&&(ee+=" bftd-".concat(r)),j&&(ee+=" bff-".concat(j)),re&&(ee+=re(z)||""),ee}},pe=function(re){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},X=$e(re.editorId);return o()({SUPERSCRIPT:{position:"relative",top:"-8px",fontSize:"11px"},SUBSCRIPT:{position:"relative",bottom:"-8px",fontSize:"11px"}},X,z)},be=function(z){return z.split("-")[1]},Me=function(re,z){return function(X,r){var j={},ee=z.fontFamilies,fe=z.unitExportFn,t=z.customStyleFn,m=ut(re.editorId);return m.forEach(function(I){j=I.styleFn?I.styleFn(X,r,j):j}),j=t?t(X,r,j):{},X.forEach(function(I){I.indexOf("COLOR-")===0?j.color="#"+be(I):I.indexOf("BGCOLOR-")===0?j.backgroundColor="#"+be(I):I.indexOf("FONTSIZE-")===0?j.fontSize=fe(be(I),"font-size","editor"):I.indexOf("LINEHEIGHT-")===0?j.lineHeight=fe(be(I),"line-height","editor"):I.indexOf("LETTERSPACING-")===0?j.letterSpacing=fe(be(I),"letter-spacing","editor"):I.indexOf("TEXTINDENT-")===0?j.textIndent=fe(be(I),"text-indent","editor"):I.indexOf("FONTFAMILY-")===0&&(j.fontFamily=(ee.find(function(W){return W.name.toUpperCase()===be(I)})||{}).family||"")}),j}},Ye=f(18),nt=f.n(Ye),pt=function(re){var z=re.children,X=re.entityKey,r=re.contentState,j=r.getEntity(X).getData(),ee=j.href,fe=j.target;return $.a.createElement("span",{className:"bf-link-wrap"},$.a.createElement("a",{onClick:function(m){return Vt(m,ee)},className:"bf-link",href:ee,target:fe},z))},Vt=function(z,X){if(z.getModifierState("Control")||z.getModifierState("Meta")){var r=document.createElement("a");r.href=X,r.target=z.currentTarget.target,r.click()}},ln="-";nt.a.prototype.getDecorations=function(re,z){var X=Array(re.getText().length).fill(null);return this.decorators.forEach(function(r,j){r.getDecorations(re,z).forEach(function(ee,fe){ee&&(ee=j+ln+ee,X[fe]=ee)})}),nn.a.List(X)};var En=[{type:"entity",decorator:{key:"LINK",component:pt}}],sn=function(z){return function(X,r,j){X.findEntityRanges(function(ee){var fe=ee.getEntity();return fe!==null&&j.getEntity(fe).getType()===z},r)}},Qn=function(re){var z=xt(re),X=[].concat(En,q()(z.filter(function(ee){return ee.type==="entity"}))),r=z.filter(function(ee){return ee.type==="strategy"}),j=z.filter(function(ee){return ee.type==="class"});return new nt.a([].concat(q()(j.map(function(ee){return ee.decorator})),[new rt.CompositeDecorator(r.map(function(ee){return ee.decorator})),new rt.CompositeDecorator(X.map(function(ee){return{strategy:sn(ee.decorator.key),component:ee.decorator.component}}))]))},wn=kt,In=Z,Un=ve,kn=pe,Tn=Me,dn=Qn,Xt=f(53),kr=f(54),Ar=f(55),nr=[],rr=!1,An=!1,cn={resolve:function(z){var X=Be.BaseUtils.UniqueIndex();return nr.push({id:X,eventHandler:z}),X},unresolve:function(z){nr=nr.filter(function(X){return X.id!==z})}};!rr&&(typeof window=="undefined"?"undefined":d()(window))==="object"&&(window.addEventListener("resize",function(re){clearTimeout(An),An=setTimeout(function(){nr.map(function(z){typeof z.eventHandler=="function"&&z.eventHandler(re)}),An=!1},100)}),rr=!0);var an=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"responsiveResolveId",null),U()(B()(r),"dropDownHandlerElement",null),U()(B()(r),"dropDownContentElement",null),U()(B()(r),"state",{active:!1,offset:0}),U()(B()(r),"fixDropDownPosition",function(){var t=r.props.getContainerNode().getBoundingClientRect(),m=r.dropDownHandlerElement.getBoundingClientRect(),I=r.dropDownContentElement.getBoundingClientRect(),W=0,le=m.right-m.width/2+I.width/2,oe=m.left+m.width/2-I.width/2;le=t.right-le,oe=oe-t.left,le<10?W=le-10:oe<10&&(W=oe*-1+10),W!==r.state.offset&&r.setState({offset:W})}),U()(B()(r),"registerClickEvent",function(t){var m=r.props.autoHide,I=r.state.active;if(r.dropDownContentElement.contains(t.target)||r.dropDownHandlerElement.contains(t.target))return!1;m&&I&&r.hide()}),U()(B()(r),"toggle",function(){r.setState({active:!r.state.active})}),U()(B()(r),"show",function(){r.setState({active:!0})}),U()(B()(r),"hide",function(){r.setState({active:!1})}),r}return N()(z,[{key:"componentDidMount",value:function(){document&&(document.body.addEventListener("click",this.registerClickEvent),this.responsiveResolveId=cn.resolve(this.fixDropDownPosition))}},{key:"componentWillReceiveProps",value:function(r){!this.props.disabled&&r.disabled&&this.hide()}},{key:"componentDidUpdate",value:function(r){!r.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 r=this,j=this.state,ee=j.active,fe=j.offset,t=this.props,m=t.caption,I=t.htmlCaption,W=t.title,le=t.disabled,oe=t.showArrow,me=t.arrowActive,xe=t.className,Je=t.children,et=t.theme;return le&&(ee=!1),et==="light"&&(xe=" light-theme "+xe),$.a.createElement("div",{className:"bf-dropdown "+(ee?"active ":"")+(le?"disabled ":"")+xe},I?$.a.createElement("button",{type:"button",className:"dropdown-handler","data-title":W,onClick:this.toggle,dangerouslySetInnerHTML:I?{__html:I}:null,ref:function(ct){return r.dropDownHandlerElement=ct}}):$.a.createElement("button",{type:"button",className:"dropdown-handler","data-title":W,onClick:this.toggle,ref:function(ct){return r.dropDownHandlerElement=ct}},$.a.createElement("span",null,m),oe!==!1?$.a.createElement("i",{className:"bfi-drop-down"}):null),$.a.createElement("div",{className:"dropdown-content",style:{marginLeft:fe},ref:function(ct){return r.dropDownContentElement=ct}},$.a.createElement("i",{style:{marginLeft:fe*-1},className:"dropdown-arrow"+(me?" active":"")}),$.a.createElement("div",{className:"dropdown-content-inner"},Je)))}}]),z}($.a.Component),Bt=function(re){return $.a.Fragment?$.a.createElement($.a.Fragment,null,re.children):$.a.createElement("div",{className:"control-item-group"},re.children)},Dn=function(re){Q()(z,re);function z(X){var r;return c()(this,z),r=S()(this,L()(z).call(this,X)),U()(B()(r),"dropDownInstance",null),U()(B()(r),"handeKeyDown",function(j){if(j.keyCode===13)return r.handleConfirm(),j.preventDefault(),!1}),U()(B()(r),"handleTnputText",function(j){r.setState({text:j.currentTarget.value})}),U()(B()(r),"handleInputLink",function(j){r.setState({href:j.currentTarget.value})}),U()(B()(r),"setTarget",function(){r.setState({target:r.state.target==="_blank"?"":"_blank"})}),U()(B()(r),"handleCancel",function(){r.dropDownInstance.hide()}),U()(B()(r),"handleUnlink",function(){r.dropDownInstance.hide(),r.props.editor.setValue(Be.ContentUtils.toggleSelectionLink(r.props.editorState,!1))}),U()(B()(r),"handleConfirm",function(){var j=r.state,ee=j.text,fe=j.href,t=j.target,m=j.textSelected,I=r.props.hooks("toggle-link",{href:fe,target:t})({href:fe,target:t});if(r.dropDownInstance.hide(),r.props.editor.requestFocus(),I===!1)return!1;I&&(typeof I.href=="string"&&(fe=I.href),typeof I.target=="string"&&(t=I.target)),m?fe?r.props.editor.setValue(Be.ContentUtils.toggleSelectionLink(r.props.editorState,fe,t)):r.props.editor.setValue(Be.ContentUtils.toggleSelectionLink(r.props.editorState,!1)):r.props.editor.setValue(Be.ContentUtils.insertText(r.props.editorState,ee||fe,null,{type:"LINK",data:{href:fe,target:t}}))}),r.state={text:"",href:"",target:X.defaultLinkTarget||"",textSelected:!1},r}return N()(z,[{key:"componentWillReceiveProps",value:function(r){var j=Be.ContentUtils.getSelectionEntityData(r.editorState,"LINK"),ee=j.href,fe=j.target,t=!Be.ContentUtils.isSelectionCollapsed(this.props.editorState)&&Be.ContentUtils.getSelectionBlockType(this.props.editorState)!=="atomic",m="";t&&(m=Be.ContentUtils.getSelectionText(this.props.editorState)),this.setState({textSelected:t,text:m,href:ee||"",target:typeof fe=="undefined"?r.defaultLinkTarget||"":fe||""})}},{key:"render",value:function(){var r=this,j=this.props.allowInsertLinkText,ee=this.state,fe=ee.text,t=ee.href,m=ee.target,I=ee.textSelected,W=$.a.createElement("i",{className:"bfi-link"});return $.a.createElement(Bt,null,$.a.createElement(an,{key:0,caption:W,title:this.props.language.controls.link,autoHide:!0,getContainerNode:this.props.getContainerNode,showArrow:!1,ref:function(oe){return r.dropDownInstance=oe},className:"control-item dropdown link-editor-dropdown"},$.a.createElement("div",{className:"bf-link-editor"},j?$.a.createElement("div",{className:"input-group"},$.a.createElement("input",{type:"text",value:fe,spellCheck:!1,disabled:I,placeholder:this.props.language.linkEditor.textInputPlaceHolder,onKeyDown:this.handeKeyDown,onChange:this.handleTnputText})):null,$.a.createElement("div",{className:"input-group"},$.a.createElement("input",{type:"text",value:t,spellCheck:!1,placeholder:this.props.language.linkEditor.linkInputPlaceHolder,onKeyDown:this.handeKeyDown,onChange:this.handleInputLink})),$.a.createElement("div",{className:"switch-group"},$.a.createElement(en,{active:m==="_blank",onClick:this.setTarget}),$.a.createElement("label",null,this.props.language.linkEditor.openInNewWindow)),$.a.createElement("div",{className:"buttons"},$.a.createElement("a",{onClick:this.handleUnlink,className:"primary button-remove-link pull-left"},$.a.createElement("i",{className:"bfi-close"}),$.a.createElement("span",null,this.props.language.linkEditor.removeLink)),$.a.createElement("button",{type:"button",onClick:this.handleConfirm,className:"primary pull-right"},this.props.language.base.confirm),$.a.createElement("button",{type:"button",onClick:this.handleCancel,className:"default pull-right"},this.props.language.base.cancel)))),$.a.createElement("button",{key:1,type:"button","data-title":this.props.language.controls.unlink,className:"control-item button",onClick:this.handleUnlink,disabled:!I||!t},$.a.createElement("i",{className:"bfi-link-off"})))}}]),z}($.a.Component),fr=f(56),Xn=function(z){return[{key:"header-one",title:z.controls.header+" 1",text:$.a.createElement("h1",null,z.controls.header," 1"),type:"block-type",command:"header-one"},{key:"header-two",title:z.controls.header+" 2",text:$.a.createElement("h2",null,z.controls.header," 2"),type:"block-type",command:"header-two"},{key:"header-three",title:z.controls.header+" 3",text:$.a.createElement("h3",null,z.controls.header," 3"),type:"block-type",command:"header-three"},{key:"header-four",title:z.controls.header+" 4",text:$.a.createElement("h4",null,z.controls.header," 4"),type:"block-type",command:"header-four"},{key:"header-five",title:z.controls.header+" 5",text:$.a.createElement("h5",null,z.controls.header," 5"),type:"block-type",command:"header-five"},{key:"header-six",title:z.controls.header+" 6",text:$.a.createElement("h6",null,z.controls.header," 6"),type:"block-type",command:"header-six"},{key:"unstyled",title:z.controls.normal,text:z.controls.normal,type:"block-type",command:"unstyled"}]},On={"header-one":"h1","header-two":"h2","header-three":"h3","header-four":"h4","header-fiv":"h5","header-six":"h6",unstyled:"p",blockquote:"blockquote"},or=function(re){var z=null,X=Xn(re.language).filter(function(ee){return re.headings.indexOf(ee.key)!==-1}),r=X.findIndex(function(ee){return ee.command===re.current}),j=X[r]?X[r].title:re.language.controls.normal;return $.a.createElement(an,{caption:j,autoHide:!0,getContainerNode:re.getContainerNode,title:re.language.controls.headings,arrowActive:r===0,ref:function(fe){return z=fe},className:"control-item dropdown headings-dropdown"},$.a.createElement("ul",{className:"menu"},X.map(function(ee,fe){var t=re.current===ee.command;return $.a.createElement("li",{key:fe,className:"menu-item"+(t?" active":""),onClick:function(){re.onChange(ee.command,ee.type),z.hide()}},ee.text)})))},$n=f(57),Tr=f(58),ir=function(re){return $.a.createElement("div",{className:"bf-colors-wrap"},$.a.createElement("ul",{className:"bf-colors"},re.presetColors.map(function(z,X){var r=re.color&&z.toLowerCase()===re.color.toLowerCase()?"color-item active":"color-item";return $.a.createElement("li",{key:X,title:z,className:r,style:{color:z},"data-color":z.replace("#",""),onClick:function(ee){re.onChange(ee.currentTarget.dataset.color,!0)}})})))},gr=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"state",{colorType:"color"}),U()(B()(r),"switchColorType",function(t){var m=t.currentTarget;r.setState({colorType:m.dataset.type})}),U()(B()(r),"toggleColor",function(t,m){if(t){var I=r.props.hooks("toggle-text-".concat(r.state.colorType),t)(t);if(I===!1)return!1;typeof I=="string"&&(t=I),r.state.colorType==="color"?r.props.editor.setValue(Be.ContentUtils.toggleSelectionColor(r.props.editorState,t)):r.props.editor.setValue(Be.ContentUtils.toggleSelectionBackgroundColor(r.props.editorState,t))}m&&(r.dropDownInstance.hide(),r.props.editor.requestFocus())}),r}return N()(z,[{key:"render",value:function(){var r=this,j={},ee=null,fe=this.state.colorType,t=this.props.editorState.getCurrentInlineStyle().toJS();t.forEach(function(W){W.indexOf("COLOR-")===0&&(j.color="#"+W.split("-")[1],fe==="color"&&(ee=j.color)),W.indexOf("BGCOLOR-")===0&&(j.backgroundColor="#"+W.split("-")[1],fe==="background-color"&&(ee=j.backgroundColor))});var m=$.a.createElement("i",{style:j,className:"bfi-text-color"},$.a.createElement("span",{className:"path1"}),$.a.createElement("span",{className:"path2"})),I=this.props.colorPicker||ir;return $.a.createElement(an,{caption:m,title:this.props.language.controls.color,showArrow:!1,autoHide:this.props.autoHide,theme:this.props.theme,getContainerNode:this.props.getContainerNode,ref:function(le){return r.dropDownInstance=le},className:"control-item dropdown text-color-dropdown"},$.a.createElement("div",{className:"bf-text-color-picker-wrap"},$.a.createElement("div",{className:"bf-color-switch-buttons",style:this.props.enableBackgroundColor?{}:{display:"none"}},$.a.createElement("button",{type:"button","data-type":"color",className:fe==="color"?"active":"",onClick:this.switchColorType},this.props.language.controls.textColor),$.a.createElement("button",{type:"button","data-type":"background-color",className:fe==="background-color"?"active":"",onClick:this.switchColorType},this.props.language.controls.backgroundColor)),$.a.createElement(I,{width:200,color:ee,disableAlpha:!0,presetColors:this.props.colors,onChange:this.toggleColor})))}}]),z}($.a.Component),Sr=f(59),Cr=function(z,X){var r=z.currentTarget.dataset.size,j=X.hooks("toggle-font-size",r)(r);if(j===!1)return!1;isNaN(r)||(r=j),X.editor.setValue(Be.ContentUtils.toggleSelectionFontSize(X.editorState,r)),X.editor.requestFocus()},vr=function(re){var z=null,X=null,r=null;return re.fontSizes.find(function(j){return Be.ContentUtils.selectionHasInlineStyle(re.editorState,"FONTSIZE-"+j)?(z=j,X=j,!0):!1}),$.a.createElement(an,{autoHide:!0,caption:z||re.defaultCaption,getContainerNode:re.getContainerNode,title:re.language.controls.fontSize,ref:function(ee){return r=ee},className:"control-item dropdown bf-font-size-dropdown"},$.a.createElement("ul",{className:"bf-font-sizes"},re.fontSizes.map(function(j,ee){return $.a.createElement("li",{key:ee,className:j===X?"active":null,"data-size":j,onClick:function(t){Cr(t,re),r.hide()}},j)})))},Br=f(60),Fr=function(z,X){var r=z.currentTarget.dataset.size,j=X.hooks("toggle-line-height",r)(r);if(j===!1)return!1;isNaN(j)||(r=j),X.editor.setValue(Be.ContentUtils.toggleSelectionLineHeight(X.editorState,r)),X.editor.requestFocus()},Ln=function(re){var z=null,X=null,r=null;return re.lineHeights.find(function(j){return Be.ContentUtils.selectionHasInlineStyle(re.editorState,"LINEHEIGHT-"+j)?(z=j,X=j,!0):!1}),$.a.createElement(an,{autoHide:!0,caption:z||re.defaultCaption,getContainerNode:re.getContainerNode,title:re.language.controls.lineHeight,ref:function(ee){return r=ee},className:"control-item dropdown bf-line-height-dropdown"},$.a.createElement("ul",{className:"bf-line-heights"},re.lineHeights.map(function(j,ee){return $.a.createElement("li",{key:ee,className:j===X?"active":null,"data-size":j,onClick:function(t){Fr(t,re),r.hide()}},j)})))},dr=f(61),ar=function(z,X){var r=z.currentTarget.dataset.name,j=X.hooks("toggle-font-family",r)(r,X.fontFamilies);if(j===!1)return!1;typeof j=="string"&&(r=j),X.editor.setValue(Be.ContentUtils.toggleSelectionFontFamily(X.editorState,r)),X.editor.requestFocus()},ur=function(re){var z=null,X=null,r=null;return re.fontFamilies.find(function(j,ee){return Be.ContentUtils.selectionHasInlineStyle(re.editorState,"FONTFAMILY-"+j.name)?(z=j.name,X=ee,!0):!1}),$.a.createElement(an,{caption:z||re.defaultCaption,getContainerNode:re.getContainerNode,title:re.language.controls.fontFamily,autoHide:!0,arrowActive:X===0,ref:function(ee){return r=ee},className:"control-item dropdown font-family-dropdown"},$.a.createElement("ul",{className:"menu"},re.fontFamilies.map(function(j,ee){return $.a.createElement("li",{key:ee,className:"menu-item "+(ee===X?"active":""),"data-name":j.name,onClick:function(t){ar(t,re),r.hide()}},$.a.createElement("span",{style:{fontFamily:j.family}},j.name))})))},Lt=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"state",{currentAlignment:void 0}),U()(B()(r),"setAlignment",function(t){var m=t.currentTarget.dataset.alignment,I=r.props.hooks("toggle-text-alignment",m)(m);r.props.textAligns.indexOf(I)>-1&&(m=I),r.props.editor.setValue(Be.ContentUtils.toggleSelectionAlignment(r.props.editorState,m)),r.props.editor.requestFocus()}),r}return N()(z,[{key:"componentWillReceiveProps",value:function(r){this.setState({currentAlignment:Be.ContentUtils.getSelectionBlockData(r.editorState,"textAlign")})}},{key:"render",value:function(){var r=this,j=[this.props.language.controls.alignLeft,this.props.language.controls.alignCenter,this.props.language.controls.alignRight,this.props.language.controls.alignJustify];return $.a.createElement(Bt,null,this.props.textAligns.map(function(ee,fe){return $.a.createElement("button",{type:"button",key:fe,"data-title":j[fe],"data-alignment":ee,className:"control-item button "+(ee===r.state.currentAlignment?"active":null),onClick:r.setAlignment},$.a.createElement("i",{className:"bfi-align-"+ee}))}))}}]),z}($.a.Component),lr=f(62),br=function(z,X){var r=z.currentTarget.dataset.emoji,j=X.hooks("insert-emoji",r)(r);if(j===!1)return!1;typeof j=="string"&&(r=j),X.editor.setValue(Be.ContentUtils.insertText(X.editorState,r)),X.editor.requestFocus()},pr=function(re){return $.a.createElement(an,{caption:re.defaultCaption,autoHide:!0,showArrow:!1,getContainerNode:re.getContainerNode,title:re.language.controls.emoji,className:"control-item dropdown bf-emoji-dropdown"},$.a.createElement("div",{className:"bf-emojis-wrap"},$.a.createElement("ul",{className:"bf-emojis"},re.emojis.map(function(z,X){return $.a.createElement("li",{key:X,"data-emoji":z,onClick:function(j){return br(j,re)}},z)}))))},Sn=f(63),Yn=function(z,X){var r=z.currentTarget.dataset.size,j=X.hooks("toggle-letter-spacing",r)(r);if(j===!1)return!1;isNaN(j)||(r=j),X.editor.setValue(Be.ContentUtils.toggleSelectionLetterSpacing(X.editorState,r)),X.editor.requestFocus()},sr=function(re){var z=null,X=null,r=null;return re.letterSpacings.find(function(j){return Be.ContentUtils.selectionHasInlineStyle(re.editorState,"LETTERSPACING-"+j)?(z=j,X=j,!0):!1}),$.a.createElement(an,{autoHide:!0,caption:z||re.defaultCaption,getContainerNode:re.getContainerNode,title:re.language.controls.letterSpacing,ref:function(ee){return r=ee},className:"control-item dropdown bf-letter-spacing-dropdown"},$.a.createElement("ul",{className:"bf-letter-spacings"},re.letterSpacings.map(function(j,ee){return $.a.createElement("li",{key:ee,className:j===X?"active":null,"data-size":j,onClick:function(t){Yn(t,re),r.hide()}},j)})))},mr=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"state",{currentIndent:0}),U()(B()(r),"increaseIndent",function(){r.props.editor.setValue(Be.ContentUtils.increaseSelectionIndent(r.props.editorState)),r.props.editor.requestFocus()}),U()(B()(r),"decreaseIndent",function(){r.props.editor.setValue(Be.ContentUtils.decreaseSelectionIndent(r.props.editorState)),r.props.editor.requestFocus()}),r}return N()(z,[{key:"componentWillReceiveProps",value:function(r){this.setState({currentIndent:Be.ContentUtils.getSelectionBlockData(r.editorState,"textIndent")||0})}},{key:"render",value:function(){var r=this.state.currentIndent,j=this.props.language;return $.a.createElement(Bt,null,$.a.createElement("button",{key:0,type:"button","data-title":j.controls.increaseIndent,disabled:r>=6,className:"control-item button button-indent-increase".concat(r>0&&r<6?" active":""),onClick:this.increaseIndent},$.a.createElement("i",{className:"bfi-indent-increase"})),$.a.createElement("button",{key:1,type:"button","data-title":j.controls.decreaseIndent,disabled:r<=0,className:"control-item button button-indent-decrease",onClick:this.decreaseIndent},$.a.createElement("i",{className:"bfi-indent-decrease"})))}}]),z}($.a.Component),pn={"inline-style":"toggle-inline-style","block-type":"change-block-type","editor-method":"exec-editor-command"},tn={superscript:"subscript",subscript:"superscript"},_n=function(z,X,r,j){return r=r.map(function(ee){return typeof ee=="function"?ee(z):ee}),j=j.map(function(ee){return typeof ee=="function"?ee(z):ee}),r.length===0&&j.length===0?X:X.map(function(ee){return j.find(function(fe){return fe.replace===(ee.key||ee)})||r.find(function(fe){return fe.replace===(ee.key||ee)})||ee}).concat(r.length?"separator":"").concat(r.filter(function(ee){return!ee.replace})).concat(j.filter(function(ee){return typeof ee=="string"||!ee.replace}))},hn=function(re){Q()(z,re);function z(){var X,r;c()(this,z);for(var j=arguments.length,ee=new Array(j),fe=0;fe<j;fe++)ee[fe]=arguments[fe];return r=S()(this,(X=L()(z)).call.apply(X,[this].concat(ee))),U()(B()(r),"allControls",[]),U()(B()(r),"mediaLibiraryModal",null),U()(B()(r),"extendedModals",{}),U()(B()(r),"openBraftFinder",function(){if(!r.props.braftFinder||!r.props.braftFinder.ReactComponent||r.props.hooks("open-braft-finder")()===!1)return!1;var t=r.props.media,m=r.props.braftFinder.ReactComponent;r.mediaLibiraryModal=on({title:r.props.language.controls.mediaLibirary,language:r.props.language,width:640,showFooter:!1,className:t.modalClassName,component:$.a.createElement(m,{accepts:t.accepts,onCancel:r.closeBraftFinder,onInsert:r.insertMedias,onChange:t.onChange,externals:t.externals,onBeforeSelect:r.bindBraftFinderHook("select-medias"),onBeforeDeselect:r.bindBraftFinderHook("deselect-medias"),onBeforeRemove:r.bindBraftFinderHook("remove-medias"),onBeforeInsert:r.bindBraftFinderHook("insert-medias"),onFileSelect:r.bindBraftFinderHook("select-files")})})}),U()(B()(r),"bindBraftFinderHook",function(t){return function(){return r.props.hooks(t,arguments.length<=0?void 0:arguments[0]).apply(void 0,arguments)}}),U()(B()(r),"insertMedias",function(t){r.props.editor.setValue(Be.ContentUtils.insertMedias(r.props.editorState,t)),r.props.editor.requestFocus(),r.props.media.onInsert&&r.props.media.onInsert(t),r.closeBraftFinder()}),U()(B()(r),"closeBraftFinder",function(){r.props.media.onCancel&&r.props.media.onCancel(),r.mediaLibiraryModal&&r.mediaLibiraryModal.close()}),r}return N()(z,[{key:"componentDidUpdate",value:function(){var r=this,j=this.props.language;this.allControls.forEach(function(ee){ee.type==="modal"&&ee.modal&&ee.modal.id&&r.extendedModals[ee.modal.id]&&r.extendedModals[ee.modal.id].update(o()({},ee.modal,{language:j}))})}},{key:"getControlItemClassName",value:function(r){var j="control-item button",ee=r.type,fe=r.command;return(ee==="inline-style"&&Be.ContentUtils.selectionHasInlineStyle(this.props.editorState,fe)||ee==="block-type"&&Be.ContentUtils.getSelectionBlockType(this.props.editorState)===fe||ee==="entity"&&Be.ContentUtils.getSelectionEntityType(this.props.editorState)===fe)&&(j+=" active"),j}},{key:"applyControl",value:function(r,j){var ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},fe=this.props.hooks(pn[j]||j,r)(r),t=this.props.editorState;if(fe===!1)return!1;if(typeof fe=="string"&&(r=fe),j==="inline-style"){var m=tn[r];m&&Be.ContentUtils.selectionHasInlineStyle(t,m)&&(t=Be.ContentUtils.toggleSelectionInlineStyle(t,m)),this.props.editor.setValue(Be.ContentUtils.toggleSelectionInlineStyle(t,r))}else j==="block-type"?this.props.editor.setValue(Be.ContentUtils.toggleSelectionBlockType(t,r)):j==="entity"?this.props.editor.setValue(Be.ContentUtils.toggleSelectionEntity(t,{type:r,mutability:ee.mutability||"MUTABLE",data:ee.data||{}})):j==="editor-method"&&this.props.editor[r]&&this.props.editor[r]()}},{key:"render",value:function(){var r=this,j=this.props,ee=j.editor,fe=j.editorId,t=j.editorState,m=j.className,I=j.style,W=j.controls,le=j.media,oe=j.extendControls,me=j.language,xe=j.hooks,Je=j.colors,et=j.colorPicker,Ve=j.colorPickerTheme,ct=j.colorPickerAutoHide,Jt=j.headings,Zt=j.fontSizes,qt=j.fontFamilies,vn=j.emojis,Nn=j.getContainerNode,jn=j.lineHeights,Vn=j.letterSpacings,Zn=j.textAligns,Er=j.textBackgroundColor,_t=j.allowInsertLinkText,Mn=j.defaultLinkTarget,e=Be.ContentUtils.getSelectionBlockType(t),n={editor:ee,editorId:fe,editorState:t,language:me,getContainerNode:Nn,hooks:xe},C=[],R=Rn(me,ee),P=qe(fe),_=_n(n,W,P,oe);return this.allControls=_,$.a.createElement("div",{className:"bf-controlbar ".concat(m||""),style:I,onMouseDown:this.preventDefault},_.map(function(te,ce){var ye=typeof te=="string"?te:te.key;if(typeof ye!="string"||C.indexOf(ye)>-1)return null;if(ye.toLowerCase()==="separator")return $.a.createElement("span",{key:ce,className:"separator-line"});var ae=R.find(function(Pe){return Pe.key.toLowerCase()===ye.toLowerCase()});if(typeof te!="string"&&(ae=o()({},ae,te)),!ae)return null;if(C.push(ye),ae.type==="headings")return $.a.createElement(or,Rt()({key:ce,headings:Jt,current:e,onChange:function(ze){return r.applyControl(ze,"block-type")}},n));if(ae.type==="text-color")return $.a.createElement(gr,Rt()({key:ce,colors:Je,colorPicker:et,theme:Ve,autoHide:ct,enableBackgroundColor:Er},n));if(ae.type==="font-size")return $.a.createElement(vr,Rt()({key:ce,fontSizes:Zt,defaultCaption:ae.title},n));if(ae.type==="line-height")return $.a.createElement(Ln,Rt()({key:ce,lineHeights:jn,defaultCaption:ae.title},n));if(ae.type==="letter-spacing")return $.a.createElement(sr,Rt()({key:ce,letterSpacings:Vn,defaultCaption:ae.title},n));if(ae.type==="text-indent")return $.a.createElement(mr,Rt()({key:ce,defaultCaption:ae.title},n));if(ae.type==="font-family")return $.a.createElement(ur,Rt()({key:ce,fontFamilies:qt,defaultCaption:ae.title},n));if(ae.type==="emoji")return $.a.createElement(pr,Rt()({key:ce,emojis:vn,defaultCaption:ae.text},n));if(ae.type==="link")return $.a.createElement(Dn,Rt()({key:ce,defaultLinkTarget:Mn,allowInsertLinkText:_t},n));if(ae.type==="text-align")return $.a.createElement(Lt,Rt()({key:ce,textAligns:Zn},n));if(ae.type==="media")return!le.image&&!le.video&&!le.audio?null:$.a.createElement("button",{type:"button",key:ce,"data-title":ae.title,disabled:ae.disabled,className:"control-item media button",onClick:r.openBraftFinder},ae.text);if(ae.type==="dropdown")return $.a.createElement(an,Rt()({key:ce,className:"control-item extend-control-item dropdown ".concat(ae.className||""),caption:ae.text,htmlCaption:ae.html,showArrow:ae.showArrow,title:ae.title,arrowActive:ae.arrowActive,theme:ae.theme,autoHide:ae.autoHide,disabled:ae.disabled,ref:ae.ref},n),ae.component);if(ae.type==="modal")return $.a.createElement("button",{type:"button",key:ce,"data-title":ae.title,disabled:ae.disabled,className:"control-item extend-control-item button ".concat(ae.className||""),dangerouslySetInnerHTML:ae.html?{__html:ae.html}:null,onClick:function(ze){ae.modal&&ae.modal.id&&(r.extendedModals[ae.modal.id]?(r.extendedModals[ae.modal.id].active=!0,r.extendedModals[ae.modal.id].update(o()({},ae.modal,{language:me}))):(r.extendedModals[ae.modal.id]=on(o()({},ae.modal,{language:me})),ae.modal.onCreate&&ae.modal.onCreate(r.extendedModals[ae.modal.id]))),ae.onClick&&ae.onClick(ze)}},ae.html?null:ae.text);if(ae.type==="component")return $.a.createElement("div",{key:ce,className:"component-wrapper ".concat(ae.className||"")},ae.component);if(ae.type==="button")return $.a.createElement("button",{type:"button",key:ce,"data-title":ae.title,disabled:ae.disabled,className:"control-item button ".concat(ae.className||""),dangerouslySetInnerHTML:ae.html?{__html:ae.html}:null,onClick:function(ze){return ae.onClick&&ae.onClick(ze)}},ae.html?null:ae.text);if(ae){var we=!1;return ae.command==="undo"?we=t.getUndoStack().size===0:ae.command==="redo"&&(we=t.getRedoStack().size===0),$.a.createElement("button",{type:"button",key:ce,disabled:we,"data-title":ae.title,className:r.getControlItemClassName({type:ae.type,command:ae.command}),onClick:function(){return r.applyControl(ae.command,ae.type,ae.data)}},ae.text)}}))}},{key:"preventDefault",value:function(r){var j=r.target.tagName.toLowerCase();j==="input"||j==="label"||r.preventDefault()}}]),z}($.a.Component),xr=function(z){return function(X){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return z[X]||function(){return r}}},hr=function(z,X){return z.filter(function(r){return!X.find(function(j){return j.toLowerCase()===r.toLowerCase()})}).filter(function(r,j,ee){return ee.indexOf(r)===j})},Ht=function(z,X){return[].concat(q()(z.controls),q()(z.extendControls)).find(function(r){return r===X||r.key===X})&&z.excludeControls.indexOf(X)===-1},zn=function(z){var X=z.editorId||z.id,r=o()({},ue.converts,z.converts,{fontFamilies:z.fontFamilies});return r.styleImportFn=dt(r.styleImportFn,X),r.styleExportFn=st(r.styleExportFn,X),r.entityImportFn=Wt(r.entityImportFn,X),r.entityExportFn=jt(r.entityExportFn,X),r.blockImportFn=Mt(r.blockImportFn,X),r.blockExportFn=Ft(r.blockExportFn,X),r},Hn=function(re){Q()(z,re);function z(X){var r;c()(this,z),r=S()(this,L()(z).call(this,X)),U()(B()(r),"onChange",function(t,m){t instanceof rt.EditorState||(t=rt.EditorState.set(t,{decorator:r.editorDecorators})),t.convertOptions||t.setConvertOptions(zn(r.editorProps)),r.setState({editorState:t},function(){r.props.onChange&&r.props.onChange(t),m&&m(t)})}),U()(B()(r),"getDraftInstance",function(){return r.draftInstance}),U()(B()(r),"getFinderInstance",function(){return r.braftFinder}),U()(B()(r),"getValue",function(){return r.state.editorState}),U()(B()(r),"setValue",function(t,m){return r.onChange(t,m)}),U()(B()(r),"forceRender",function(){var t=r.state.editorState.getSelection();r.setValue(rt.EditorState.set(r.state.editorState,{decorator:r.editorDecorators}),function(){r.setValue(rt.EditorState.forceSelection(r.state.editorState,t))})}),U()(B()(r),"onTab",function(t){Se("tab",r.state.editorState,B()(r))==="handled"&&t.preventDefault(),r.editorProps.onTab&&r.editorProps.onTab(t)}),U()(B()(r),"onFocus",function(){r.isFocused=!0,r.editorProps.onFocus&&r.editorProps.onFocus(r.state.editorState)}),U()(B()(r),"onBlur",function(){r.isFocused=!1,r.editorProps.onBlur&&r.editorProps.onBlur(r.state.editorState)}),U()(B()(r),"requestFocus",function(){setTimeout(function(){return r.draftInstance.focus()},0)}),U()(B()(r),"handleKeyCommand",function(t,m){return Se(t,m,B()(r))}),U()(B()(r),"handleReturn",function(t,m){return Te(t,m,B()(r))}),U()(B()(r),"handleBeforeInput",function(t,m){return Fe(t,m,B()(r))}),U()(B()(r),"handleDrop",function(t,m){return Ge(t,m,B()(r))}),U()(B()(r),"handleDroppedFiles",function(t,m){return _e(t,m,B()(r))}),U()(B()(r),"handlePastedFiles",function(t){return Re(t,B()(r))}),U()(B()(r),"handleCopyContent",function(t){return lt(t,B()(r))}),U()(B()(r),"handlePastedText",function(t,m,I){return St(t,m,I,B()(r))}),U()(B()(r),"handleCompositionStart",function(t){return Oe(t,B()(r))}),U()(B()(r),"undo",function(){r.setValue(Be.ContentUtils.undo(r.state.editorState))}),U()(B()(r),"redo",function(){r.setValue(Be.ContentUtils.redo(r.state.editorState))}),U()(B()(r),"removeSelectionInlineStyles",function(){r.setValue(Be.ContentUtils.removeSelectionInlineStyles(r.state.editorState))}),U()(B()(r),"insertHorizontalLine",function(){r.setValue(Be.ContentUtils.insertHorizontalLine(r.state.editorState))}),U()(B()(r),"clearEditorContent",function(){r.setValue(Be.ContentUtils.clear(r.state.editorState),function(t){r.setValue(Be.ContentUtils.toggleSelectionIndent(t,0))})}),U()(B()(r),"toggleFullscreen",function(t){r.setState({isFullscreen:typeof t!="undefined"?t:!r.state.isFullscreen},function(){r.editorProps.onFullscreen&&r.editorProps.onFullscreen(r.state.isFullscreen)})}),U()(B()(r),"setEditorContainerNode",function(t){r.containerNode=t}),r.editorProps=r.getEditorProps(X),r.editorDecorators=dn(r.editorProps.editorId||r.editorProps.id),r.isFocused=!1,r.isLiving=!1,r.braftFinder=null,r.valueInitialized=!!(r.props.defaultValue||r.props.value);var j=(r.props.defaultValue||r.props.value)instanceof rt.EditorState?r.props.defaultValue||r.props.value:rt.EditorState.createEmpty(r.editorDecorators);j.setConvertOptions(zn(r.editorProps));var ee=[];if(Be.ContentUtils.isEditorState(j)){var fe=Be.ColorUtils.detectColorsFromDraftState(j.toRAW(!0));j.setConvertOptions(zn(r.editorProps)),ee=hr(fe,r.editorProps.colors)}return r.state={tempColors:ee,editorState:j,isFullscreen:!1,draftProps:{}},r.containerNode=null,r}return N()(z,[{key:"getEditorProps",value:function(r){var j=this;r=r||this.props;var ee=r,fe=ee.value,t=ee.defaultValue,m=ee.onChange,I=x()(ee,["value","defaultValue","onChange"]),W=yt(I.editorId||I.id);if(W.length===0)return I;var le=Object(Pt.Map)(I);return W.forEach(function(oe){le=le.merge(Object(Pt.Map)(oe(le.toJS(),j)||{}))}),le.toJS()}},{key:"componentWillMount",value:function(){if(Ht(this.editorProps,"media")){var r=this.editorProps,j=r.language,ee=r.media,fe=o()({},ue.media,ee),t=fe.uploadFn,m=fe.validateFn,I=fe.items;this.braftFinder=new bt.a({items:I,language:j,uploader:t,validator:m}),this.forceUpdate()}}},{key:"componentDidMount",value:function(){this.isLiving=!0}},{key:"componentDidUpdate",value:function(r,j){j.editorState!==this.state.editorState&&this.state.editorState.setConvertOptions(zn(this.editorProps))}},{key:"componentWillReceiveProps",value:function(r){var j=this;this.editorProps=this.getEditorProps(r);var ee=r.value,fe=this.editorProps,t=fe.media,m=fe.language,I=this.getEditorProps();if(!Ht(I,"media")&&Ht(this.editorProps,"media")&&!this.braftFinder){var W=o()({},ue.media,t),le=W.uploadFn,oe=W.validateFn,me=W.items;this.braftFinder=new bt.a({items:me,language:m,uploader:le,validator:oe}),this.forceUpdate()}t&&t.items&&this.braftFinder&&this.braftFinder.setItems(t.items);var xe;if(!this.valueInitialized&&typeof this.props.defaultValue=="undefined"&&Be.ContentUtils.isEditorState(r.defaultValue)?xe=r.defaultValue:Be.ContentUtils.isEditorState(ee)&&(xe=ee),xe)if(xe&&xe!==this.state.editorState){var Je=Be.ColorUtils.detectColorsFromDraftState(xe.toRAW(!0));xe.setConvertOptions(zn(this.editorProps)),this.setState({tempColors:hr([].concat(q()(this.state.tempColors),q()(Je)),I.colors),editorState:xe},function(){j.props.onChange&&j.props.onChange(xe)})}else this.setState({editorState:xe})}},{key:"componentWillUnmount",value:function(){this.isLiving=!1,this.controlBarInstance&&this.controlBarInstance.closeBraftFinder()}},{key:"lockOrUnlockEditor",value:function(r){this.setState({editorLocked:r})}},{key:"render",value:function(){var r=this,j=this.editorProps,ee=j.id,fe=j.editorId,t=j.controls,m=j.excludeControls,I=j.extendControls,W=j.readOnly,le=j.disabled,oe=j.media,me=j.language,xe=j.colors,Je=j.colorPicker,et=j.colorPickerTheme,Ve=j.colorPickerAutoHide,ct=j.hooks,Jt=j.fontSizes,Zt=j.fontFamilies,qt=j.emojis,vn=j.placeholder,Nn=j.fixPlaceholder,jn=j.headings,Vn=j.imageControls,Zn=j.imageResizable,Er=j.imageEqualRatio,_t=j.lineHeights,Mn=j.letterSpacings,e=j.textAligns,n=j.textBackgroundColor,C=j.allowInsertLinkText,R=j.defaultLinkTarget,P=j.extendAtomics,_=j.className,te=j.style,ce=j.controlBarClassName,ye=j.controlBarStyle,ae=j.contentClassName,we=j.contentStyle,Pe=j.stripPastedStyles,ze=j.componentBelowControlBar,mt=this.state,wt=mt.isFullscreen,Nt=mt.editorState;fe=fe||ee,ct=xr(ct),t=t.filter(function(Dr){return m.indexOf(Dr)===-1}),me=(typeof me=="function"?me(Tt,"braft-editor"):Tt[me])||Tt[ue.language];var Pn=oe&&oe.externals?o()({},ue.media.externals,oe.externals):ue.media.externals,Wn=oe&&oe.accepts?o()({},ue.media.accepts,oe.accepts):ue.media.accepts;oe=o()({},ue.media,oe,{externalMedias:Pn,accepts:Wn}),oe.uploadFn||(oe.video=!1,oe.audio=!1);var wr={editor:this,editorState:Nt,braftFinder:this.braftFinder,ref:function(Mr){return r.controlBarInstance=Mr},getContainerNode:function(){return r.containerNode},className:ce,style:ye,colors:[].concat(q()(xe),q()(this.state.tempColors)),colorPicker:Je,colorPickerTheme:et,colorPickerAutoHide:Ve,hooks:ct,editorId:fe,media:oe,controls:t,language:me,extendControls:I,headings:jn,fontSizes:Jt,fontFamilies:Zt,emojis:qt,lineHeights:_t,letterSpacings:Mn,textAligns:e,textBackgroundColor:n,allowInsertLinkText:C,defaultLinkTarget:R},Or=Nt.convertOptions.unitExportFn,Ir={editor:this,editorId:fe,hooks:ct,editorState:Nt,containerNode:this.containerNode,imageControls:Vn,imageResizable:Zn,language:me,extendAtomics:P,imageEqualRatio:Er},Lr=In(Ir,this.editorProps.blockRendererFn),Nr=wn(Ir,this.editorProps.blockRenderMap),Pr=Un(this.editorProps.blockStyleFn),Kr=kn(Ir,this.editorProps.customStyleMap),Ur=Tn(Ir,{fontFamilies:Zt,unitExportFn:Or,customStyleFn:this.editorProps.customStyleFn}),zr=Ke(this.editorProps.keyBindingFn),Rr={};(this.state.editorLocked||this.editorProps.disabled||this.editorProps.readOnly||this.editorProps.draftProps.readOnly)&&(Rr.readOnly=!0),vn&&Nn&&Nt.isEmpty()&&Nt.getCurrentContent().getFirstBlock().getType()!=="unstyled"&&(vn="");var Hr=o()({ref:function(Mr){r.draftInstance=Mr},editorState:Nt,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:Nr,blockRendererFn:Lr,blockStyleFn:Pr,customStyleMap:Kr,customStyleFn:Ur,keyBindingFn:zr,placeholder:vn,stripPastedStyles:Pe},this.editorProps.draftProps,Rr);return $.a.createElement("div",{style:te,ref:this.setEditorContainerNode,className:"bf-container ".concat(_).concat(le?" disabled":"").concat(W?" read-only":"").concat(wt?" fullscreen":"")},$.a.createElement(hn,wr),ze,$.a.createElement("div",{onCompositionStart:this.handleCompositionStart,className:"bf-content ".concat(ae),onCopy:this.handleCopyContent,style:we},$.a.createElement(rt.Editor,Hr)))}}]),z}($.a.Component);U()(Hn,"defaultProps",ue);var $t=f(14);f.d(h,"EditorState",function(){return rt.EditorState}),f.d(h,"getDecorators",function(){return dn}),rt.EditorState.prototype.setConvertOptions=function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.convertOptions=re},rt.EditorState.prototype.toHTML=function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z=this.convertOptions||{};return Object($t.convertEditorStateToHTML)(this,o()({},z,re))},rt.EditorState.prototype.toRAW=function(re){return re?Object($t.convertEditorStateToRaw)(this):JSON.stringify(Object($t.convertEditorStateToRaw)(this))},rt.EditorState.prototype.toText=function(){return this.getCurrentContent().getPlainText()},rt.EditorState.prototype.isEmpty=function(){return!this.getCurrentContent().hasText()},Hn.createEditorState=rt.EditorState.createFrom=function(re){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};z.unitExportFn=z.unitExportFn||Hn.defaultProps.converts.unitExportFn,z.styleImportFn=dt(z.styleImportFn,z.editorId),z.entityImportFn=Wt(z.entityImportFn,z.editorId),z.blockImportFn=Mt(z.blockImportFn,z.editorId);var X=null;if(re instanceof rt.EditorState)X=re;else if(d()(re)==="object"&&re&&re.blocks&&re.entityMap)X=Object($t.convertRawToEditorState)(re,dn(z.editorId));else if(typeof re=="string")try{/^(-)?\d+$/.test(re)?X=Object($t.convertHTMLToEditorState)(re,dn(z.editorId),z,"create"):X=rt.EditorState.createFrom(JSON.parse(re),z)}catch(r){X=Object($t.convertHTMLToEditorState)(re,dn(z.editorId),z,"create")}else typeof re=="number"?X=Object($t.convertHTMLToEditorState)(re.toLocaleString().replace(/,/g,""),dn(z.editorId),z,"create"):X=rt.EditorState.createEmpty(dn(z.editorId));return z.styleExportFn=st(z.styleExportFn,z.editorId),z.entityExportFn=jt(z.entityExportFn,z.editorId),z.blockExportFn=Ft(z.blockExportFn,z.editorId),X.setConvertOptions(z),X};var yr=h.default=Dt(Hn)},function(s,h){},,function(s,h){},,,function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){},function(s,h){}])})},82531:function(Y,H,i){(function(y,E){if(!0)Y.exports=E(i(50959));else var A,v})(window,function(F){return function(y){var E={};function A(v){if(E[v])return E[v].exports;var T=E[v]={i:v,l:!1,exports:{}};return y[v].call(T.exports,T,T.exports,A),T.l=!0,T.exports}return A.m=y,A.c=E,A.d=function(v,T,w){A.o(v,T)||Object.defineProperty(v,T,{enumerable:!0,get:w})},A.r=function(v){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},A.t=function(v,T){if(T&1&&(v=A(v)),T&8||T&4&&typeof v=="object"&&v&&v.__esModule)return v;var w=Object.create(null);if(A.r(w),Object.defineProperty(w,"default",{enumerable:!0,value:v}),T&2&&typeof v!="string")for(var p in v)A.d(w,p,function(s){return v[s]}.bind(null,p));return w},A.n=function(v){var T=v&&v.__esModule?function(){return v.default}:function(){return v};return A.d(T,"a",T),T},A.o=function(v,T){return Object.prototype.hasOwnProperty.call(v,T)},A.p="/",A(A.s=20)}([function(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var v=E.compressImage=function(w){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1280,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:800;return new Promise(function(h,f){var u=new Image;u.src=w,u.onerror=function(d){f(d)},u.onload=function(){try{var d=document.createElement("canvas"),a=this.width>p||this.height>s?this.width>this.height?p/this.width:s/this.height:1;d.width=this.width*a,d.height=this.height*a;var o=d.getContext("2d");o.drawImage(this,0,0,d.width,d.height),h({url:d.toDataURL("image/png",1),width:d.width,height:d.height})}catch(l){f(l)}}})}},function(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var v=E.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(y,E){y.exports=F},function(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.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(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.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(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.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(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.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(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.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(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.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(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.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(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var v=A(9),T=c(v),w=A(8),p=c(w),s=A(7),h=c(s),f=A(6),u=c(f),d=A(5),a=c(d),o=A(4),l=c(o),x=A(3),k=c(x);function c(b){return b&&b.__esModule?b:{default:b}}E.default={en:T.default,zh:p.default,"zh-hant":h.default,pl:u.default,kr:a.default,jpn:l.default,tr:k.default}},function(y,E){y.exports=function(A){var v=typeof window!="undefined"&&window.location;if(!v)throw new Error("fixUrls requires window.location");if(!A||typeof A!="string")return A;var T=v.protocol+"//"+v.host,w=T+v.pathname.replace(/\/[^\/]*$/,"/"),p=A.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(s,h){var f=h.trim().replace(/^"(.*)"$/,function(d,a){return a}).replace(/^'(.*)'$/,function(d,a){return a});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(f))return s;var u;return f.indexOf("//")===0?u=f:f.indexOf("/")===0?u=T+f:u=w+f.replace(/^\.\//,""),"url("+JSON.stringify(u)+")"});return p}},function(y,E,A){var v={},T=function(D){var B;return function(){return typeof B=="undefined"&&(B=D.apply(this,arguments)),B}},w=T(function(){return window&&document&&document.all&&!window.atob}),p=function(D){return document.querySelector(D)},s=function(D){var B={};return function(J){if(typeof J=="function")return J();if(typeof B[J]=="undefined"){var Q=p.call(this,J);if(window.HTMLIFrameElement&&Q instanceof window.HTMLIFrameElement)try{Q=Q.contentDocument.head}catch(G){Q=null}B[J]=Q}return B[J]}}(),h=null,f=0,u=[],d=A(11);y.exports=function(D,B){if(typeof DEBUG!="undefined"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");B=B||{},B.attrs=typeof B.attrs=="object"?B.attrs:{},!B.singleton&&typeof B.singleton!="boolean"&&(B.singleton=w()),B.insertInto||(B.insertInto="head"),B.insertAt||(B.insertAt="bottom");var J=o(D,B);return a(J,B),function(G){for(var U=[],se=0;se<J.length;se++){var q=J[se],he=v[q.id];he.refs--,U.push(he)}if(G){var De=o(G,B);a(De,B)}for(var se=0;se<U.length;se++){var he=U[se];if(he.refs===0){for(var ke=0;ke<he.parts.length;ke++)he.parts[ke]();delete v[he.id]}}}};function a(D,B){for(var J=0;J<D.length;J++){var Q=D[J],G=v[Q.id];if(G){G.refs++;for(var U=0;U<G.parts.length;U++)G.parts[U](Q.parts[U]);for(;U<Q.parts.length;U++)G.parts.push(N(Q.parts[U],B))}else{for(var se=[],U=0;U<Q.parts.length;U++)se.push(N(Q.parts[U],B));v[Q.id]={id:Q.id,refs:1,parts:se}}}}function o(D,B){for(var J=[],Q={},G=0;G<D.length;G++){var U=D[G],se=B.base?U[0]+B.base:U[0],q=U[1],he=U[2],De=U[3],ke={css:q,media:he,sourceMap:De};Q[se]?Q[se].parts.push(ke):J.push(Q[se]={id:se,parts:[ke]})}return J}function l(D,B){var J=s(D.insertInto);if(!J)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var Q=u[u.length-1];if(D.insertAt==="top")Q?Q.nextSibling?J.insertBefore(B,Q.nextSibling):J.appendChild(B):J.insertBefore(B,J.firstChild),u.push(B);else if(D.insertAt==="bottom")J.appendChild(B);else if(typeof D.insertAt=="object"&&D.insertAt.before){var G=s(D.insertInto+" "+D.insertAt.before);J.insertBefore(B,G)}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(D){if(D.parentNode===null)return!1;D.parentNode.removeChild(D);var B=u.indexOf(D);B>=0&&u.splice(B,1)}function k(D){var B=document.createElement("style");return D.attrs.type===void 0&&(D.attrs.type="text/css"),b(B,D.attrs),l(D,B),B}function c(D){var B=document.createElement("link");return D.attrs.type===void 0&&(D.attrs.type="text/css"),D.attrs.rel="stylesheet",b(B,D.attrs),l(D,B),B}function b(D,B){Object.keys(B).forEach(function(J){D.setAttribute(J,B[J])})}function N(D,B){var J,Q,G,U;if(B.transform&&D.css)if(U=B.transform(D.css),U)D.css=U;else return function(){};if(B.singleton){var se=f++;J=h||(h=k(B)),Q=S.bind(null,J,se,!1),G=S.bind(null,J,se,!0)}else D.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(J=c(B),Q=L.bind(null,J,B),G=function(){x(J),J.href&&URL.revokeObjectURL(J.href)}):(J=k(B),Q=K.bind(null,J),G=function(){x(J)});return Q(D),function(he){if(he){if(he.css===D.css&&he.media===D.media&&he.sourceMap===D.sourceMap)return;Q(D=he)}else G()}}var O=function(){var D=[];return function(B,J){return D[B]=J,D.filter(Boolean).join(`
|
|
`)}}();function S(D,B,J,Q){var G=J?"":Q.css;if(D.styleSheet)D.styleSheet.cssText=O(B,G);else{var U=document.createTextNode(G),se=D.childNodes;se[B]&&D.removeChild(se[B]),se.length?D.insertBefore(U,se[B]):D.appendChild(U)}}function K(D,B){var J=B.css,Q=B.media;if(Q&&D.setAttribute("media",Q),D.styleSheet)D.styleSheet.cssText=J;else{for(;D.firstChild;)D.removeChild(D.firstChild);D.appendChild(document.createTextNode(J))}}function L(D,B,J){var Q=J.css,G=J.sourceMap,U=B.convertToAbsoluteUrls===void 0&&G;(B.convertToAbsoluteUrls||U)&&(Q=d(Q)),G&&(Q+=`
|
|
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(G))))+" */");var se=new Blob([Q],{type:"text/css"}),q=D.href;D.href=URL.createObjectURL(se),q&&URL.revokeObjectURL(q)}},function(y,E){y.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(y,E){y.exports=function(T){var w=[];return w.toString=function(){return this.map(function(s){var h=A(s,T);return s[2]?"@media "+s[2]+"{"+h+"}":h}).join("")},w.i=function(p,s){typeof p=="string"&&(p=[[null,p,""]]);for(var h={},f=0;f<this.length;f++){var u=this[f][0];typeof u=="number"&&(h[u]=!0)}for(f=0;f<p.length;f++){var d=p[f];(typeof d[0]!="number"||!h[d[0]])&&(s&&!d[2]?d[2]=s:s&&(d[2]="("+d[2]+") and ("+s+")"),w.push(d))}},w};function A(T,w){var p=T[1]||"",s=T[3];if(!s)return p;if(w&&typeof btoa=="function"){var h=v(s),f=s.sources.map(function(u){return"/*# sourceURL="+s.sourceRoot+u+" */"});return[p].concat(f).concat([h]).join(`
|
|
`)}return[p].join(`
|
|
`)}function v(T){var w=btoa(unescape(encodeURIComponent(JSON.stringify(T)))),p="sourceMappingURL=data:application/json;charset=utf-8;base64,"+w;return"/*# "+p+" */"}},function(y,E){y.exports=function(v){return typeof v!="string"?v:(/^['"].*['"]$/.test(v)&&(v=v.slice(1,-1)),/["'() \t\n]/.test(v)?'"'+v.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':v)}},function(y,E,A){var v=A(15);E=y.exports=A(14)(!1),E.push([y.i,`@font-face {
|
|
font-family: 'bf-icons';
|
|
src: url(`+v(A(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(y,E,A){var v=A(16);typeof v=="string"&&(v=[[y.i,v,""]]);var T,w,p={hmr:!0};p.transform=T,p.insertInto=void 0;var s=A(12)(v,p);v.locals&&(y.exports=v.locals)},function(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var v=Object.assign||function(l){for(var x=1;x<arguments.length;x++){var k=arguments[x];for(var c in k)Object.prototype.hasOwnProperty.call(k,c)&&(l[c]=k[c])}return l},T=function(){function l(x,k){for(var c=0;c<k.length;c++){var b=k[c];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(x,b.key,b)}}return function(x,k,c){return k&&l(x.prototype,k),c&&l(x,c),x}}();A(17);var w=A(2),p=h(w),s=A(1);function h(l){return l&&l.__esModule?l:{default:l}}function f(l,x){if(!(l instanceof x))throw new TypeError("Cannot call a class as a function")}function u(l,x){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:l}function d(l,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);l.prototype=Object.create(x&&x.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(l,x):l.__proto__=x)}var a={image:"image/png,image/jpeg,image/gif,image/webp,image/apng,image/svg",video:"video/mp4",audio:"audio/mp3"},o=function(l){d(x,l);function x(k){f(this,x);var c=u(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,k));c.toggleSelectItem=function(N){var O=N.currentTarget.dataset.id,S=c.controller.getMediaItem(O);if(!S)return!1;S.selected?(!c.props.onBeforeDeselect||c.props.onBeforeDeselect([S],c.controller.getItems())!==!1)&&(c.controller.deselectMediaItem(O),c.props.onDeselect&&c.props.onDeselect([S],c.controller.getItems())):(!c.props.onBeforeSelect||c.props.onBeforeSelect([S],c.controller.getItems())!==!1)&&(c.controller.selectMediaItem(O),c.props.onSelect&&c.props.onSelect([S],c.controller.getItems()))},c.removeItem=function(N){var O=N.currentTarget.dataset.id,S=c.controller.getMediaItem(O);if(!S)return!1;(!c.props.onBeforeRemove||c.props.onBeforeRemove([S],c.controller.getItems())!==!1)&&(c.controller.removeMediaItem(O),c.props.onRemove&&c.props.onRemove([S],c.controller.getItems())),N.stopPropagation()},c.selectAllItems=function(){var N=c.controller.getItems();(!c.props.onBeforeSelect||c.props.onBeforeSelect(N,N)!==!1)&&(c.controller.selectAllItems(),c.props.onSelect&&c.props.onSelect(N,N))},c.deselectAllItems=function(){var N=c.controller.getItems();(!c.props.onBeforeDeselect||c.props.onBeforeDeselect(N,N)!==!1)&&(c.controller.deselectAllItems(),c.props.onDeselect&&c.props.onDeselect(N,N))},c.removeSelectedItems=function(){var N=c.controller.getSelectedItems();(!c.props.onBeforeRemove||c.props.onBeforeRemove(N,c.controller.getItems())!==!1)&&(c.controller.removeSelectedItems(),c.props.onRemove&&c.props.onRemove(N,c.controller.getItems()))},c.handleDragLeave=function(N){N.preventDefault(),c.dragCounter--,c.dragCounter===0&&c.setState({draging:!1})},c.handleDragDrop=function(N){N.preventDefault(),c.dragCounter=0,c.setState({draging:!1}),c.reslovePickedFiles(N)},c.handleDragEnter=function(N){N.preventDefault(),c.dragCounter++,c.setState({draging:!0})},c.reslovePickedFiles=function(N){N.persist();var O=N.type==="drop"?N.dataTransfer:N.target,S=O.files;if(c.props.onFileSelect){var K=c.props.onFileSelect(S);if(K===!1)return!1;(K instanceof FileList||K instanceof Array)&&(S=K)}var L=v({},a,c.props.accepts);c.controller.resolveFiles({files:S,onItemReady:function(B){var J=B.id;return c.controller.selectMediaItem(J)},onAllReady:function(){return N.target.value=null}},0,L)},c.inputExternal=function(N){c.setState({external:v({},c.state.external,{url:N.target.value})})},c.switchExternalType=function(N){c.setState({external:v({},c.state.external,{type:N.target.dataset.type})})},c.confirmAddExternal=function(N){if(N.target.nodeName.toLowerCase()==="button"||N.keyCode===13){var O=c.state.external,S=O.url,K=O.type;S=S.split("|");var L=S.length>1?S[0]:c.props.language.unnamedItem;S=S.length>1?S[1]:S[0];var D=K==="IMAGE"?S:null;c.controller.addItems([{thumbnail:D,url:S,name:L,type:K,id:new Date().getTime()+"_"+(0,s.UniqueIndex)(),uploading:!1,uploadProgress:1,selected:!0}]),c.setState({showExternalForm:!1,external:{url:"",type:"IMAGE"}})}},c.toggleExternalForm=function(){c.setState({showExternalForm:!c.state.showExternalForm})},c.cancelInsert=function(){c.props.onCancel&&c.props.onCancel()},c.confirmInsert=function(){var N=c.controller.getSelectedItems();if(c.props.onBeforeInsert){var O=c.props.onBeforeInsert(N);O&&O instanceof Array?(c.controller.deselectAllItems(),c.props.onInsert&&c.props.onInsert(O)):O!==!1&&(c.controller.deselectAllItems(),c.props.onInsert&&c.props.onInsert(N))}else c.controller.deselectAllItems(),c.props.onInsert&&c.props.onInsert(N)},c.dragCounter=0,c.controller=c.props.controller;var b=c.controller.getItems();return c.state={draging:!1,error:!1,confirmable:b.find(function(N){var O=N.selected;return O}),external:{url:"",type:"IMAGE"},fileAccept:"",showExternalForm:!1,allowExternal:!1,items:b},c.changeListenerId=c.controller.onChange(function(N){c.setState({items:N,confirmable:N.find(function(O){var S=O.selected;return S})}),c.props.onChange&&c.props.onChange(N)}),c}return T(x,[{key:"mapPropsToState",value:function(c){var b=c.accepts,N=c.externals;b=v({},a,b);var O=b?[b.image,b.video,b.audio].filter(function(K){return K}).join(","):[a.image,a.video,a.audio].join(","),S={url:"",type:N.image?"IMAGE":N.audio?"AUDIO":N.video?"VIDEO":N.embed?"EMBED":""};return{fileAccept:O,external:S,allowExternal:N&&(N.image||N.audio||N.video||N.embed)}}},{key:"componentDidMount",value:function(){this.setState(this.mapPropsToState(this.props))}},{key:"componentWillReceiveProps",value:function(c){this.setState(this.mapPropsToState(c))}},{key:"componentWillUnmount",value:function(){this.controller.offChange(this.changeListenerId)}},{key:"render",value:function(){var c=this.props,b=c.language,N=c.externals,O=this.state,S=O.items,K=O.draging,L=O.confirmable,D=O.fileAccept,B=O.external,J=O.showExternalForm,Q=O.allowExternal;return p.default.createElement("div",{className:"braft-finder"},p.default.createElement("div",{onDragEnter:this.handleDragEnter,onDragOver:this.handleDragEnter,onDragLeave:this.handleDragLeave,onDrop:this.handleDragDrop,className:"bf-uploader"},p.default.createElement("div",{className:"bf-drag-uploader "+(K||!S.length?"active ":" ")+(K?"draging":"")},p.default.createElement("span",{className:"bf-drag-tip"},p.default.createElement("input",{accept:D,onChange:this.reslovePickedFiles,multiple:!0,type:"file"}),K?b.dropTip:b.dragTip)),S.length?p.default.createElement("div",{className:"bf-list-wrap"},p.default.createElement("div",{className:"bf-list-tools"},p.default.createElement("span",{onClick:this.selectAllItems,className:"bf-select-all"},p.default.createElement("i",{className:"braft-icon-done"})," ",b.selectAll),p.default.createElement("span",{onClick:this.deselectAllItems,disabled:!L,className:"bf-deselect-all"},p.default.createElement("i",{className:"braft-icon-close"})," ",b.deselect),p.default.createElement("span",{onClick:this.removeSelectedItems,disabled:!L,className:"bf-remove-selected"},p.default.createElement("i",{className:"braft-icon-bin"})," ",b.removeSelected)),this.buildItemList()):null,J&&Q?p.default.createElement("div",{className:"bf-add-external"},p.default.createElement("div",{className:"bf-external-form"},p.default.createElement("div",{className:"bf-external-input"},p.default.createElement("div",null,p.default.createElement("input",{onKeyDown:this.confirmAddExternal,value:B.url,onChange:this.inputExternal,placeholder:b.externalInputPlaceHolder})),p.default.createElement("button",{type:"button",onClick:this.confirmAddExternal,disabled:!B.url.trim().length},b.confirm)),p.default.createElement("div",{"data-type":B.type,className:"bf-switch-external-type"},N.image?p.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"IMAGE"},b.image):null,N.audio?p.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"AUDIO"},b.audio):null,N.video?p.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"VIDEO"},b.video):null,N.embed?p.default.createElement("button",{type:"button",onClick:this.switchExternalType,"data-type":"EMBED"},b.embed):null),p.default.createElement("span",{className:"bf-external-tip"},b.externalInputTip))):null),p.default.createElement("footer",{className:"bf-manager-footer"},p.default.createElement("div",{className:"pull-left"},Q?p.default.createElement("span",{onClick:this.toggleExternalForm,className:"bf-toggle-external-form"},J?p.default.createElement("span",{className:"bf-bottom-text"},p.default.createElement("i",{className:"braft-icon-add"})," ",b.addLocalFile):p.default.createElement("span",{className:"bf-bottom-text"},p.default.createElement("i",{className:"braft-icon-add"})," ",b.addExternalSource)):null),p.default.createElement("div",{className:"pull-right"},p.default.createElement("button",{onClick:this.confirmInsert,className:"button button-insert",disabled:!L},b.insert),p.default.createElement("button",{onClick:this.cancelInsert,className:"button button-cancel"},b.cancel))))}},{key:"buildItemList",value:function(){var c=this;return p.default.createElement("ul",{className:"bf-list"},p.default.createElement("li",{className:"bf-add-item"},p.default.createElement("i",{className:"braft-icon-add"}),p.default.createElement("input",{accept:this.state.fileAccept,onChange:this.reslovePickedFiles,multiple:!0,type:"file"})),this.state.items.map(function(b,N){var O=null,S=b.uploading&&!c.props.hideProgress?p.default.createElement("div",{className:"bf-item-uploading"},p.default.createElement("div",{className:"bf-item-uploading-bar",style:{width:b.uploadProgress/1+"%"}})):"";switch(b.type){case"IMAGE":O=p.default.createElement("div",{className:"bf-image"},S,p.default.createElement("img",{src:b.thumbnail||b.url}));break;case"VIDEO":O=p.default.createElement("div",{className:"bf-icon bf-video",title:b.url},S,p.default.createElement("i",{className:"braft-icon-film"}),p.default.createElement("span",null,b.name||b.url));break;case"AUDIO":O=p.default.createElement("div",{className:"bf-icon bf-audio",title:b.url},S,p.default.createElement("i",{className:"braft-icon-music"}),p.default.createElement("span",null,b.name||b.url));break;case"EMBED":O=p.default.createElement("div",{className:"bf-icon bf-embed",title:b.url},S,p.default.createElement("i",{className:"braft-icon-code"}),p.default.createElement("span",null,b.name||c.props.language.embed));break;default:O=p.default.createElement("a",{className:"bf-icon bf-file",title:b.url,href:b.url},S,p.default.createElement("i",{className:"braft-icon-file-text"}),p.default.createElement("span",null,b.name||b.url));break}var K=["bf-item"];return b.selected&&K.push("active"),b.uploading&&K.push("uploading"),b.error&&K.push("error"),p.default.createElement("li",{key:N,title:b.name,"data-id":b.id,className:K.join(" "),onClick:c.toggleSelectItem},O,p.default.createElement("span",{"data-id":b.id,onClick:c.removeItem,className:"bf-item-remove braft-icon-close"}),p.default.createElement("span",{className:"bf-item-title"},b.name))}))}}]),x}(p.default.Component);o.defaultProps={accepts:a,externals:{image:!0,video:!0,audio:!0,embed:!0}},E.default=o},function(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var v=Object.assign||function(d){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(d[l]=o[l])}return d},T=A(1),w=A(0);function p(d){if(Array.isArray(d)){for(var a=0,o=Array(d.length);a<d.length;a++)o[a]=d[a];return o}else return Array.from(d)}function s(d,a){if(!(d instanceof a))throw new TypeError("Cannot call a class as a function")}var h=function(){return!0},f=function d(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};s(this,d),u.call(this),this.items=a.items||[],this.uploadFn=a.uploader,this.validateFn=a.validator||h,this.changeListeners=[]},u=function(){var a=this;this.setProps=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};a.items=o.items||a.items||[],a.uploadFn=o.uploader,a.validateFn=o.validator||h},this.getMediaItem=function(o){return a.items.find(function(l){return l.id===o})},this.getSelectedItems=function(){return a.items.filter(function(o){return o.selected})},this.getItems=function(){return a.items},this.setItems=function(o){a.items=o.map(function(l){return v({},l,{id:l.id.toString()})})||[],a.applyChange(),a.uploadItems()},this.addMediaItem=function(o){a.addItems([o])},this.addItems=function(o){a.items=[].concat(p(a.items),p(o.map(function(l){return v({},l,{id:l.id.toString()})}))),a.applyChange(),a.uploadItems()},this.selectMediaItem=function(o){var l=a.getMediaItem(o);if(l&&(l.uploading||l.error))return!1;a.setMediaItemState(o,{selected:!0})},this.selectAllItems=function(){a.items=a.items.filter(function(o){return!o.error&&!o.uploading}).map(function(o){return v({},o,{selected:!0})}),a.applyChange()},this.deselectMediaItem=function(o){a.setMediaItemState(o,{selected:!1})},this.deselectAllItems=function(){a.items=a.items.map(function(o){return v({},o,{selected:!1})}),a.applyChange()},this.removeMediaItem=function(o){a.items=a.items.filter(function(l){return l.id!==o}),a.applyChange()},this.removeItems=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];a.items=a.items.filter(function(l){return!o.includes(l.id)}),a.applyChange()},this.removeSelectedItems=function(){a.items=a.items.filter(function(o){return!o.selected}),a.applyChange()},this.removeErrorItems=function(){a.items=a.items.filter(function(o){return!o.error}),a.applyChange()},this.removeAllItems=function(){a.items=[],a.applyChange()},this.setMediaItemState=function(o,l){a.items=a.items.map(function(x){return x.id===o?v({},x,l):x}),a.applyChange()},this.reuploadErrorItems=function(){a.uploadItems(!0)},this.uploadItems=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;a.items.forEach(function(l,x){if(l.uploading||l.url||!o&&l.error)return!1;if(l.type==="IMAGE")a.createThumbnail(l),a.uploadFn=a.uploadFn||a.createInlineImage;else if(!a.uploadFn)return a.setMediaItemState(l.id,{error:1}),!1;a.setMediaItemState(l.id,{uploading:!0,uploadProgress:0,error:0}),a.uploadFn({id:l.id,file:l.file,success:function(c){a.handleUploadSuccess(l.id,c)},progress:function(c){a.setMediaItemState(l.id,{uploading:!0,uploadProgress:c})},error:function(c){a.setMediaItemState(l.id,{uploading:!1,error:2})}})})},this.createThumbnail=function(o){var l=o.id,x=o.file;(0,w.compressImage)(URL.createObjectURL(x),226,226).then(function(k){a.setMediaItemState(l,{thumbnail:k.url})})},this.createInlineImage=function(o){(0,w.compressImage)(URL.createObjectURL(o.file),1280,800).then(function(l){o.success({url:l.url})}).catch(function(l){o.error(l)})},this.handleUploadSuccess=function(o,l){a.setMediaItemState(o,v({},l,{file:null,uploadProgress:1,uploading:!1,selected:!1}));var x=a.getMediaItem(l.id||o);x.onReady&&x.onReady(x)},this.applyChange=function(){a.changeListeners.forEach(function(o){var l=o.callback;return l(a.items)})},this.uploadImage=function(o,l){var x=new Date().getTime()+"_"+(0,T.UniqueIndex)();a.addMediaItem({type:"IMAGE",id:x,file:o,name:x,size:o.size,uploadProgress:0,uploading:!1,selected:!1,error:0,onReady:l})},this.uploadImageRecursively=function(o,l){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;o[x]&&o[x].type.indexOf("image")>-1?a.uploadImage(o[x],function(k){l&&l(k),x<o.length-1&&a.uploadImageRecursively(o,l,x+1)}):x<o.length-1&&a.uploadImageRecursively(o,l,x+1)},this.addResolvedFiles=function(o,l,x){var k={id:new Date().getTime()+"_"+(0,T.UniqueIndex)(),file:o.files[l],name:o.files[l].name,size:o.files[l].size,uploadProgress:0,uploading:!1,selected:!1,error:0,onReady:function(b){o.onItemReady&&o.onItemReady(b)}};o.files[l].type.indexOf("image/")===0&&x.image?(k.type="IMAGE",a.addMediaItem(k)):o.files[l].type.indexOf("video/")===0&&x.video?(k.type="VIDEO",a.addMediaItem(k)):o.files[l].type.indexOf("audio/")===0&&x.audio&&(k.type="AUDIO",a.addMediaItem(k)),setTimeout(function(){a.resolveFiles(o,l+1,x)},60)},this.resolveFiles=function(o,l,x){if(l<o.files.length){var k=a.validateFn(o.files[l]);k instanceof Promise?k.then(function(){a.addResolvedFiles(o,l,x)}):k&&a.addResolvedFiles(o,l,x)}else o.onAllReady&&o.onAllReady()},this.onChange=function(o){var l=(0,T.UniqueIndex)();return a.changeListeners.push({id:l,callback:o}),l},this.offChange=function(o){a.changeListeners=a.changeListeners.filter(function(l){var x=l.id;return x!==o})}};E.default=f},function(y,E,A){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.ImageUtils=void 0;var v=Object.assign||function(S){for(var K=1;K<arguments.length;K++){var L=arguments[K];for(var D in L)Object.prototype.hasOwnProperty.call(L,D)&&(S[D]=L[D])}return S},T=A(2),w=x(T),p=A(19),s=x(p),h=A(18),f=x(h),u=A(10),d=x(u),a=A(0),o=l(a);function l(S){if(S&&S.__esModule)return S;var K={};if(S!=null)for(var L in S)Object.prototype.hasOwnProperty.call(S,L)&&(K[L]=S[L]);return K.default=S,K}function x(S){return S&&S.__esModule?S:{default:S}}function k(S,K){if(!(S instanceof K))throw new TypeError("Cannot call a class as a function")}function c(S,K){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return K&&(typeof K=="object"||typeof K=="function")?K:S}function b(S,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof K);S.prototype=Object.create(K&&K.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),K&&(Object.setPrototypeOf?Object.setPrototypeOf(S,K):S.__proto__=K)}var N=function(S){b(K,S);function K(L){k(this,K);var D=c(this,(K.__proto__||Object.getPrototypeOf(K)).call(this,L));return O.call(D),D.superProps=L,D}return K}(s.default),O=function(){var K=this;this.ReactComponent=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=v({},K.superProps,L),B=(typeof D.language=="function"?D.language(d.default,"braft-finder"):d.default[D.language])||d.default.zh;return w.default.createElement(f.default,v({},D,{language:B,controller:K}))}};E.default=N,E.ImageUtils=o}])})},31885:function(Y,H){"use strict";Object.defineProperty(H,"__esModule",{value:!0});var i=0,F=H.UniqueIndex=function(){return i+=1}},352:function(Y,H){"use strict";Object.defineProperty(H,"__esModule",{value:!0});var i={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"},F=function(w){if(w=w.replace("color:","").replace(";","").replace(" ",""),/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(w))return w;if(y[w])return y[w];if(w.indexOf("rgb")===0){var p=w.split(","),s=p.length<3?null:"#"+[p[0],p[1],p[2]].map(function(h){var f=parseInt(h.replace(/\D/g,""),10).toString(16);return f.length===1?"0"+f:f}).join("");return/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(s)?s:null}else return null},y=H.namedColors=i,E=H.getHexColor=F,A=H.detectColorsFromHTMLString=function(w){return typeof w!="string"?[]:(w.match(/color:[^;]{3,24};/g)||[]).map(E).filter(function(p){return p})},v=H.detectColorsFromDraftState=function(w){var p=[];return!w||!w.blocks||!w.blocks.length?p:(w.blocks.forEach(function(s){s&&s.inlineStyleRanges&&s.inlineStyleRanges.length&&s.inlineStyleRanges.forEach(function(h){h.style&&h.style.indexOf("COLOR-")>=0&&p.push("#"+h.style.split("COLOR-")[1])})}),p.filter(function(s){return s}))}},38870:function(Y,H,i){"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.redo=H.undo=H.handleKeyCommand=H.clear=H.setMediaPosition=H.removeMedia=H.setMediaData=H.insertMedias=H.insertHorizontalLine=H.insertAtomicBlock=H.insertHTML=H.insertText=H.toggleSelectionLetterSpacing=H.toggleSelectionFontFamily=H.toggleSelectionLineHeight=H.toggleSelectionFontSize=H.toggleSelectionBackgroundColor=H.toggleSelectionColor=H.decreaseSelectionIndent=H.increaseSelectionIndent=H.toggleSelectionIndent=H.toggleSelectionAlignment=H.removeSelectionInlineStyles=H.toggleSelectionInlineStyle=H.selectionHasInlineStyle=H.getSelectionInlineStyle=H.toggleSelectionLink=H.toggleSelectionEntity=H.getSelectionEntityData=H.getSelectionEntityType=H.toggleSelectionBlockType=H.getSelectionText=H.getSelectionBlockType=H.getSelectionBlockData=H.setSelectionBlockData=H.getSelectedBlocks=H.updateEachCharacterOfSelection=H.getSelectionBlock=H.removeBlock=H.selectNextBlock=H.selectBlock=H.selectionContainsStrictBlock=H.selectionContainsBlockType=H.isSelectionCollapsed=H.createEditorState=H.createEmptyEditorState=H.isEditorState=H.registerStrictBlockType=void 0;var F=i(80099),y=i(93840),E=i(69297),A=i(52724),v=T(A);function T(Ke){return Ke&&Ke.__esModule?Ke:{default:Ke}}var w=["atomic"],p=H.registerStrictBlockType=function(ue){w.indexOf(ue)===-1&&w.push(ue)},s=H.isEditorState=function(ue){return ue instanceof F.EditorState},h=H.createEmptyEditorState=function(ue){return F.EditorState.createEmpty(ue)},f=H.createEditorState=function(ue,ie){return F.EditorState.createWithContent(ue,ie)},u=H.isSelectionCollapsed=function(ue){return ue.getSelection().isCollapsed()},d=H.selectionContainsBlockType=function(ue,ie){return b(ue).find(function(ge){return ge.getType()===ie})},a=H.selectionContainsStrictBlock=function(ue){return b(ue).find(function(ie){return~w.indexOf(ie.getType())})},o=H.selectBlock=function(ue,ie){var ge=ie.getKey();return F.EditorState.forceSelection(ue,new F.SelectionState({anchorKey:ge,anchorOffset:0,focusKey:ge,focusOffset:ie.getLength()}))},l=H.selectNextBlock=function(ue,ie){var ge=ue.getCurrentContent().getBlockAfter(ie.getKey());return ge?o(ue,ge):ue},x=H.removeBlock=function(ue,ie){var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ae=void 0,Se=void 0,Te=ie.getKey();return Ae=F.Modifier.removeRange(ue.getCurrentContent(),new F.SelectionState({anchorKey:Te,anchorOffset:0,focusKey:Te,focusOffset:ie.getLength()}),"backward"),Ae=F.Modifier.setBlockType(Ae,Ae.getSelectionAfter(),"unstyled"),Se=F.EditorState.push(ue,Ae,"remove-range"),F.EditorState.forceSelection(Se,ge||Ae.getSelectionAfter())},k=H.getSelectionBlock=function(ue){return ue.getCurrentContent().getBlockForKey(ue.getSelection().getAnchorKey())},c=H.updateEachCharacterOfSelection=function(ue,ie){var ge=ue.getSelection(),Ae=ue.getCurrentContent(),Se=Ae.getBlockMap(),Te=b(ue);if(Te.length===0)return ue;var Fe=ge.getStartKey(),Oe=ge.getStartOffset(),Ge=ge.getEndKey(),Qe=ge.getEndOffset(),_e=Se.map(function(Re){if(Te.indexOf(Re)===-1)return Re;var lt=Re.getKey(),St=Re.getCharacterList(),Kt=null;return lt===Fe&<===Ge?Kt=St.map(function(Ot,It){return It>=Oe&&It<Qe?ie(Ot):Ot}):lt===Fe?Kt=St.map(function(Ot,It){return It>=Oe?ie(Ot):Ot}):lt===Ge?Kt=St.map(function(Ot,It){return It<Qe?ie(Ot):Ot}):Kt=St.map(function(Ot){return ie(Ot)}),Re.merge({characterList:Kt})});return F.EditorState.push(ue,Ae.merge({blockMap:_e,selectionBefore:ge,selectionAfter:ge}),"update-selection-character-list")},b=H.getSelectedBlocks=function(ue){var ie=ue.getSelection(),ge=ue.getCurrentContent(),Ae=ie.getStartKey(),Se=ie.getEndKey(),Te=Ae===Se,Fe=ge.getBlockForKey(Ae),Oe=[Fe];if(!Te)for(var Ge=Ae;Ge!==Se;){var Qe=ge.getBlockAfter(Ge);Oe.push(Qe),Ge=Qe.getKey()}return Oe},N=H.setSelectionBlockData=function(ue,ie,ge){var Ae=ge?ie:Object.assign({},O(ue).toJS(),ie);return Object.keys(Ae).forEach(function(Se){Ae.hasOwnProperty(Se)&&Ae[Se]===void 0&&delete Ae[Se]}),(0,y.setBlockData)(ue,Ae)},O=H.getSelectionBlockData=function(ue,ie){var ge=k(ue).getData();return ie?ge.get(ie):ge},S=H.getSelectionBlockType=function(ue){return k(ue).getType()},K=H.getSelectionText=function(ue){var ie=ue.getSelection(),ge=ue.getCurrentContent();if(ie.isCollapsed()||S(ue)==="atomic")return"";var Ae=ie.getAnchorKey(),Se=ge.getBlockForKey(Ae),Te=ie.getStartOffset(),Fe=ie.getEndOffset();return Se.getText().slice(Te,Fe)},L=H.toggleSelectionBlockType=function(ue,ie){return a(ue)?ue:F.RichUtils.toggleBlockType(ue,ie)},D=H.getSelectionEntityType=function(ue){var ie=(0,y.getSelectionEntity)(ue);if(ie){var ge=ue.getCurrentContent().getEntity(ie);return ge?ge.get("type"):null}return null},B=H.getSelectionEntityData=function(ue,ie){var ge=(0,y.getSelectionEntity)(ue);if(ge){var Ae=ue.getCurrentContent().getEntity(ge);return Ae&&Ae.get("type")===ie?Ae.getData():{}}else return{}},J=H.toggleSelectionEntity=function(ue,ie){var ge=ue.getCurrentContent(),Ae=ue.getSelection();if(Ae.isCollapsed()||S(ue)==="atomic")return ue;if(!ie||!ie.type||D(ue)===ie.type)return F.EditorState.push(ue,F.Modifier.applyEntity(ge,Ae,null),"apply-entity");try{var Se=ge.createEntity(ie.type,ie.mutability,ie.data),Te=Se.getLastCreatedEntityKey(),Fe=F.EditorState.set(ue,{currentContent:Se});return F.EditorState.push(Fe,F.Modifier.applyEntity(Se,Ae,Te),"apply-entity")}catch(Oe){return console.warn(Oe),ue}},Q=H.toggleSelectionLink=function(ue,ie,ge){var Ae=ue.getCurrentContent(),Se=ue.getSelection(),Te={href:ie,target:ge};if(Se.isCollapsed()||S(ue)==="atomic")return ue;if(ie===!1)return F.RichUtils.toggleLink(ue,Se,null);ie===null&&delete Te.href;try{var Fe=Ae.createEntity("LINK","MUTABLE",Te),Oe=Fe.getLastCreatedEntityKey(),Ge=F.EditorState.set(ue,{currentContent:Fe});return Ge=F.RichUtils.toggleLink(Ge,Se,Oe),Ge=F.EditorState.forceSelection(Ge,Se.merge({anchorOffset:Se.getEndOffset(),focusOffset:Se.getEndOffset()})),Ge=F.EditorState.push(Ge,F.Modifier.insertText(Ge.getCurrentContent(),Ge.getSelection(),""),"insert-text"),Ge}catch(Qe){return console.warn(Qe),ue}},G=H.getSelectionInlineStyle=function(ue){return ue.getCurrentInlineStyle()},U=H.selectionHasInlineStyle=function(ue,ie){return G(ue).has(ie.toUpperCase())},se=H.toggleSelectionInlineStyle=function(ue,ie){var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Ae=ue;return ie=ge+ie.toUpperCase(),ge&&(Ae=c(Ae,function(Se){return Se.toJS().style.reduce(function(Te,Fe){return Fe.indexOf(ge)===0&&ie!==Fe?F.CharacterMetadata.removeStyle(Te,Fe):Te},Se)})),F.RichUtils.toggleInlineStyle(Ae,ie)},q=H.removeSelectionInlineStyles=function(ue){return c(ue,function(ie){return ie.merge({style:v.default.OrderedSet([])})})},he=H.toggleSelectionAlignment=function(ue,ie){return N(ue,{textAlign:O(ue,"textAlign")!==ie?ie:void 0})},De=H.toggleSelectionIndent=function(ue,ie){var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6;return ie<0||ie>ge||isNaN(ie)?ue:N(ue,{textIndent:ie||void 0})},ke=H.increaseSelectionIndent=function(ue){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,ge=O(ue,"textIndent")||0;return De(ue,ge+1,ie)},$=H.decreaseSelectionIndent=function(ue,ie){var ge=O(ue,"textIndent")||0;return De(ue,ge-1,ie)},Ie=H.toggleSelectionColor=function(ue,ie){return se(ue,ie.replace("#",""),"COLOR-")},Ue=H.toggleSelectionBackgroundColor=function(ue,ie){return se(ue,ie.replace("#",""),"BGCOLOR-")},He=H.toggleSelectionFontSize=function(ue,ie){return se(ue,ie,"FONTSIZE-")},We=H.toggleSelectionLineHeight=function(ue,ie){return se(ue,ie,"LINEHEIGHT-")},Xe=H.toggleSelectionFontFamily=function(ue,ie){return se(ue,ie,"FONTFAMILY-")},vt=H.toggleSelectionLetterSpacing=function(ue,ie){return se(ue,ie,"LETTERSPACING-")},Et=H.insertText=function(ue,ie,ge,Ae){var Se=ue.getSelection(),Te=S(ue);if(Te==="atomic")return ue;var Fe=void 0,Oe=ue.getCurrentContent();return Ae&&Ae.type&&(Oe=Oe.createEntity(Ae.type,Ae.mutability||"MUTABLE",Ae.data||entityData),Fe=Oe.getLastCreatedEntityKey()),Se.isCollapsed()?F.EditorState.push(ue,F.Modifier.insertText(Oe,Se,ie,ge,Fe),"insert-text"):F.EditorState.push(ue,F.Modifier.replaceText(Oe,Se,ie,ge,Fe),"replace-text")},ht=H.insertHTML=function(ue,ie,ge){if(!ie)return ue;var Ae=ue.getSelection(),Se=ue.getCurrentContent(),Te=ue.convertOptions||{};try{var Fe=(0,F.convertFromRaw)((0,E.convertHTMLToRaw)(ie,Te,ge)),Oe=Fe.blockMap;return F.EditorState.push(ue,F.Modifier.replaceWithFragment(Se,Ae,Oe),"insert-fragment")}catch(Ge){return console.warn(Ge),ue}},je=H.insertAtomicBlock=function Ke(ue,ie){var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(a(ue))return Ke(l(ue,k(ue)),ie,ge,Ae);var Se=ue.getSelection(),Te=ue.getCurrentContent();if(!Se.isCollapsed()||S(ue)==="atomic")return ue;var Fe=Te.createEntity(ie,ge?"IMMUTABLE":"MUTABLE",Ae),Oe=Fe.getLastCreatedEntityKey(),Ge=F.AtomicBlockUtils.insertAtomicBlock(ue,Oe," ");return Ge},gt=H.insertHorizontalLine=function(ue){return je(ue,"HR")},Ze=H.insertMedias=function(ue){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ie.length?ie.reduce(function(ge,Ae){var Se=Ae.url,Te=Ae.link,Fe=Ae.link_target,Oe=Ae.name,Ge=Ae.type,Qe=Ae.width,_e=Ae.height,Re=Ae.meta;return je(ge,Ge,!0,{url:Se,link:Te,link_target:Fe,name:Oe,type:Ge,width:Qe,height:_e,meta:Re})},ue):ue},Tt=H.setMediaData=function(ue,ie,ge){return F.EditorState.push(ue,ue.getCurrentContent().mergeEntityData(ie,ge),"change-block-data")},At=H.removeMedia=function(ue,ie){return x(ue,ie)},bt=H.setMediaPosition=function(ue,ie,ge){var Ae={},Se=ge.float,Te=ge.alignment;return typeof Se!="undefined"&&(Ae.float=ie.getData().get("float")===Se?null:Se),typeof Te!="undefined"&&(Ae.alignment=ie.getData().get("alignment")===Te?null:Te),N(o(ue,ie),Ae)},Be=H.clear=function(ue){var ie=ue.getCurrentContent(),ge=ie.getFirstBlock(),Ae=ie.getLastBlock(),Se=new F.SelectionState({anchorKey:ge.getKey(),anchorOffset:0,focusKey:Ae.getKey(),focusOffset:Ae.getLength(),hasFocus:!0});return F.RichUtils.toggleBlockType(F.EditorState.push(ue,F.Modifier.removeRange(ie,Se,"backward"),"remove-range"),"unstyled")},rt=H.handleKeyCommand=function(ue,ie){return F.RichUtils.handleKeyCommand(ue,ie)},Pt=H.undo=function(ue){return F.EditorState.undo(ue)},nn=H.redo=function(ue){return F.EditorState.redo(ue)}},17885:function(Y,H,i){"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.ColorUtils=H.BaseUtils=H.ContentUtils=void 0;var F=i(38870),y=w(F),E=i(31885),A=w(E),v=i(352),T=w(v);function w(f){if(f&&f.__esModule)return f;var u={};if(f!=null)for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&(u[d]=f[d]);return u.default=f,u}var p=H.ContentUtils=y,s=H.BaseUtils=A,h=H.ColorUtils=T},33281:function(Y,H,i){"use strict";i.r(H),i.d(H,{convertFromHTML:function(){return Gt},convertToHTML:function(){return We},parseHTML:function(){return Et}});var F=i(53670),y=i.n(F),E=i(50959),A=i(9995),v=i(80099),T=i(30360);function w(ne,de,Ee,Ce,Le,Ne){var ft=Ce-Ee,tt=de+Ee<=ne.offset;if(tt)return Object.assign({},ne,{offset:ne.offset+ft});var yt=de>=ne.offset&&de+Ee<=ne.offset+ne.length;if(yt)return Object.assign({},ne,{length:ne.length+ft});var qe=ne.offset>=de&&ne.offset+ne.length<=de+Ee&&Le>0;if(qe)return Object.assign({},ne,{offset:ne.offset+Le});var xt=ne.offset<de&&ne.offset+ne.length<=de+Ee&&ne.offset+ne.length>de&&Le>0;if(xt)return[Object.assign({},ne,{length:de-ne.offset}),Object.assign({},ne,{offset:de+Le,length:ne.offset-de+ne.length})];var it=ne.offset>=de&&ne.offset+ne.length>de+Ee&&de+Ee>ne.offset&&Ne>0;return it?[Object.assign({},ne,{offset:ne.offset+Le,length:de+Ee-ne.offset}),Object.assign({},ne,{offset:de+Ee+Le+Ne,length:ne.offset+ne.length-(de+Ee)})]:ne}var p=function(ne,de){return ne.offset===de.offset?de.length-ne.length:ne.offset-de.offset},s={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},h=function(ne){for(var de=(0,T.Z)(ne.text),Ee=ne.entityRanges.sort(p),Ce=ne.inlineStyleRanges.sort(p),Le="",Ne=function(yt){var qe=de[yt];if(s[qe]!==void 0){var xt=s[qe],it=(0,T.Z)(Le).length;Le+=xt;var Ct=function(ut){return w(ut,it,qe.length,xt.length,0,0)};Ee=Ee.map(Ct),Ce=Ce.map(Ct)}else Le+=qe},ft=0;ft<de.length;ft++)Ne(ft);return Object.assign({},ne,{text:Le,inlineStyleRanges:Ce,entityRanges:Ee})},f=i(97382),u=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function d(ne){if(u.indexOf(ne.type)!==-1)return A.renderToStaticMarkup(ne);var de=A.renderToStaticMarkup(E.cloneElement(ne,{},"\r")).split("\r");return y()(de.length>1,"convertToHTML: Element of type ".concat(ne.type," must render children")),y()(de.length<3,"convertToHTML: Element of type ".concat(ne.type," cannot use carriage return character")),{start:de[0],end:de[1]}}function a(ne){return E.isValidElement(ne)&&E.Children.count(ne.props.children)>0}function o(ne){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(ne==null||typeof ne=="string")return ne;if(E.isValidElement(ne)){if(a(ne))return A.renderToStaticMarkup(ne);var Ee=d(ne);if(de!==null&&(0,f.Z)(Ee)==="object"){var Ce=Ee.start,Le=Ee.end;return Ce+de+Le}return Ee}if(y()(Object.prototype.hasOwnProperty.call(ne,"start")&&Object.prototype.hasOwnProperty.call(ne,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),de!==null){var Ne=ne.start,ft=ne.end;return Ne+de+ft}return ne}var l=function ne(de){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"start";if(E.isValidElement(de)){var Ce=d(de);if(typeof Ce=="string")return 0;var Le=Ce[Ee].length,Ne=E.Children.toArray(de.props.children)[0];return Le+(Ne&&E.isValidElement(Ne)?ne(Ne,Ee):0)}return(0,f.Z)(de)==="object"&&de[Ee]?de[Ee].length:0},x=l,k=function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ee=arguments.length>1?arguments[1]:void 0;return Ee},c=function(ne,de){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:k,Ce=(0,T.Z)(ne.text),Le=Ee;if(Ee.__isMiddleware&&(Le=Ee(k)),Object.prototype.hasOwnProperty.call(ne,"entityRanges")&&ne.entityRanges.length>0){for(var Ne=ne.entityRanges.sort(p),ft=ne.inlineStyleRanges,tt=function(xt){var it=Ne[xt],Ct=de[it.key],$e=Ce.slice(it.offset,it.offset+it.length).join(""),ut=Le(Ct,$e),dt=o(ut,$e),st=void 0;dt||dt===""?st=(0,T.Z)(dt):st=$e;var Wt=x(ut,"start"),jt=x(ut,"end"),Mt=function(Dt,kt){return kt>xt||Object.prototype.hasOwnProperty.call(Dt,"style")?w(Dt,it.offset,it.length,st.length,Wt,jt):Dt},Ft=function(Dt){return Dt.reduce(function(kt,ot,Rt){var Ut=Mt(ot,Rt);return Array.isArray(Ut)?kt.concat(Ut):kt.concat([Ut])},[])};Ne=Ft(Ne),ft=Ft(ft),Ce=[].concat((0,T.Z)(Ce.slice(0,it.offset)),(0,T.Z)(st),(0,T.Z)(Ce.slice(it.offset+it.length)))},yt=0;yt<Ne.length;yt++)tt(yt);return Object.assign({},ne,{text:Ce.join(""),inlineStyleRanges:ft,entityRanges:Ne})}return ne},b=function(ne){return function(de){return typeof ne=="function"?ne(de):ne[de]}},N=function(ne,de){return function(){var Ee=ne.apply(void 0,arguments);return Ee!=null?Ee:de.apply(void 0,arguments)}};function O(ne){switch(ne){case"BOLD":return E.createElement("strong",null);case"ITALIC":return E.createElement("em",null);case"UNDERLINE":return E.createElement("u",null);case"CODE":return E.createElement("code",null);default:return{start:"",end:""}}}var S=function(de,Ee){return de.filter(function(Ce){return!Ee.some(function(Le){return Le.style===Ce.style})})},K=function(de,Ee){return Ee.reduceRight(function(Ce,Le){var Ne=Ce[Ce.length-1];return y()(Ne.style===Le.style,"Style ".concat(Ne.style," to be removed doesn't match expected ").concat(Le.style)),Ce.slice(0,-1)},de)},L=function(de,Ee){return Ee.filter(function(Ce){return de>=Ce.offset&&de<Ce.offset+Ce.length})},D=function(de,Ee){var Ce=de.offset<=Ee.offset,Le=de.offset+de.length>=Ee.offset+Ee.length;return Ce&&Le},B=function(de,Ee){var Ce=Ee.offset+Ee.length,Le=de.offset+de.length;return Ce-Le},J=function(de,Ee){for(var Ce=0;Ce<de.length;)if(Ee.every(D.bind(null,de[Ce])))Ce++;else return de.slice(Ce);return[]},Q=function(de,Ee,Ce){return Ee+o(de(Ce.style)).start},G=function(de,Ee,Ce){return o(de(Ce.style)).end+Ee},U=function(de){return function(Ee){return de(Ee)}};U.__isMiddleware=!0;var se=function(ne){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U;y()(ne!=null,"Expected raw block to be non-null");var Ee;de.__isMiddleware===!0?Ee=de(O):Ee=N(b(de),b(O));for(var Ce="",Le=[],Ne=ne.inlineStyleRanges.sort(p),ft=(0,T.Z)(ne.text),tt=0;tt<ft.length;tt++){var yt=L(tt,Ne),qe=S(Le,yt),xt=S(yt,Le),it=S(Le,qe),Ct=J(it,xt),$e=Ct.concat(xt).sort(B),ut=$e.reduce(Q.bind(null,Ee),""),dt=qe.concat(Ct).reduce(G.bind(null,Ee),"");Ce+=dt+ut+ft[tt],Le=K(Le,Ct.concat(qe)),Le=Le.concat($e),y()(Le.length===yt.length,"Character ".concat(tt,": ").concat(Le.length-yt.length," styles left on stack that should no longer be there"))}return Ce=Le.reduceRight(function(st,Wt){return st+o(Ee(Wt.style)).end},Ce),Ce},q=function(ne){return function(de){return typeof ne=="function"?ne(de):ne[de.type]}};function he(ne){return E.isValidElement(ne)&&E.Children.count(ne.props.children)>0}function De(ne){return y()(ne!=null,"Expected block HTML value to be non-null"),typeof ne=="string"?ne:E.isValidElement(ne)?he(ne)?A.renderToStaticMarkup(ne):d(ne):Object.prototype.hasOwnProperty.call(ne,"element")&&E.isValidElement(ne.element)?Object.assign({},ne,d(ne.element)):(y()(Object.prototype.hasOwnProperty.call(ne,"start")&&Object.prototype.hasOwnProperty.call(ne,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),ne)}function ke(ne,de){if(y()(ne!=null,"Expected block HTML value to be non-null"),typeof ne.nest=="function"){var Ee=d(ne.nest(de)),Ce=Ee.start,Le=Ee.end;return Object.assign({},ne,{nestStart:Ce,nestEnd:Le})}if(E.isValidElement(ne.nest)){var Ne=d(ne.nest),ft=Ne.start,tt=Ne.end;return Object.assign({},ne,{nestStart:ft,nestEnd:tt})}return y()(Object.prototype.hasOwnProperty.call(ne,"nestStart")&&Object.prototype.hasOwnProperty.call(ne,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),ne}var $=["1","a","i"],Ie={unstyled:E.createElement("p",null),paragraph:E.createElement("p",null),"header-one":E.createElement("h1",null),"header-two":E.createElement("h2",null),"header-three":E.createElement("h3",null),"header-four":E.createElement("h4",null),"header-five":E.createElement("h5",null),"header-six":E.createElement("h6",null),"code-block":E.createElement("pre",null),blockquote:E.createElement("blockquote",null),"unordered-list-item":{element:E.createElement("li",null),nest:E.createElement("ul",null)},"ordered-list-item":{element:E.createElement("li",null),nest:function(de){var Ee=$[de%3];return E.createElement("ol",{type:Ee})}},media:E.createElement("figure",null),atomic:E.createElement("figure",null)},Ue=function(de,Ee){return Ee},He=function(de){var Ee=de.styleToHTML,Ce=Ee===void 0?{}:Ee,Le=de.blockToHTML,Ne=Le===void 0?{}:Le,ft=de.entityToHTML,tt=ft===void 0?Ue:ft;return function(yt){y()(yt!=null,"Expected contentState to be non-null");var qe;Ne.__isMiddleware===!0?qe=Ne(q(Ie)):qe=N(q(Ne),q(Ie));var xt=(0,v.convertToRaw)(yt),it=[],Ct=xt.blocks.map(function($e){var ut=$e.type,dt=$e.depth,st="",Wt="",jt=qe($e);if(!jt)throw new Error("convertToHTML: missing HTML definition for block with type ".concat($e.type));if(!jt.nest)st=it.reduceRight(function(ot,Rt){return ot+ke(qe(Rt),dt).nestEnd},""),it=[];else for(;dt+1!==it.length||ut!==it[dt].type;)if(dt+1===it.length){var Mt=it[dt];st+=ke(qe(Mt),dt).nestEnd,Wt+=ke(qe($e),dt).nestStart,it[dt]=$e}else if(dt+1<it.length){var Ft=it[it.length-1];st+=ke(qe(Ft),dt).nestEnd,it=it.slice(0,-1)}else Wt+=ke(qe($e),dt).nestStart,it.push($e);var at=se(c(h($e),xt.entityMap,tt),Ce),Dt=De(qe($e)),kt;return typeof Dt=="string"?kt=Dt:kt=Dt.start+at+Dt.end,at.length===0&&Object.prototype.hasOwnProperty.call(Dt,"empty")&&(E.isValidElement(Dt.empty)?kt=A.renderToStaticMarkup(Dt.empty):kt=Dt.empty),st+Wt+kt}).join("");return Ct=it.reduce(function($e,ut){return $e+ke(qe(ut),ut.depth).nestEnd},Ct),Ct}},We=function(){for(var ne=arguments.length,de=new Array(ne),Ee=0;Ee<ne;Ee++)de[Ee]=arguments[Ee];return de.length===1&&Object.prototype.hasOwnProperty.call(de[0],"_map")&&de[0].getBlockMap!=null?He({}).apply(void 0,de):He.apply(void 0,de)},Xe=i(52724),vt=function(de){var Ee=document.implementation.createHTMLDocument("");return Ee.documentElement.innerHTML=de,Ee};function Et(ne){var de;if(typeof DOMParser!="undefined"){var Ee=new DOMParser;de=Ee.parseFromString(ne,"text/html"),(de===null||de.body===null)&&(de=vt(ne))}else de=vt(ne);return de.body}var ht=" ",je=" ",gt=4,Ze=new RegExp("\r","g"),Tt=new RegExp(`
|
|
`,"g"),At=new RegExp(ht,"g"),bt=new RegExp("\r","g"),Be=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],rt={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},Pt=function(de,Ee){return de&&de.__isMiddleware===!0?de(Ee):de},nn=function(de,Ee,Ce){},Ke=function(de,Ee,Ce){return Ce},ue=function(de,Ee){},ie=function(de){return[]},ge=function(de){if(de!=null)return de;throw new Error("Got unexpected null or undefined")},Ae=function(de){return de.replace(bt,"")};function Se(){return{text:"",inlines:[],entities:[],blocks:[]}}function Te(ne){var de=new Array(1);return ne&&(de[0]=ne),{text:je,inlines:[(0,Xe.OrderedSet)()],entities:de,blocks:[]}}function Fe(ne,de){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:(0,Xe.Map)();return Ee===!0?{text:"\r",inlines:[(0,Xe.OrderedSet)()],entities:new Array(1),blocks:[{type:ne,data:Ce,depth:Math.max(0,Math.min(gt,de))}],isNewline:!0}:{text:`
|
|
`,inlines:[(0,Xe.OrderedSet)()],entities:new Array(1),blocks:[]}}function Oe(ne,de){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,Xe.Map)();return{text:"\r",inlines:[(0,Xe.OrderedSet)()],entities:new Array(1),blocks:[{type:ne,data:Ee,depth:Math.max(0,Math.min(gt,de))}]}}function Ge(ne,de){switch(ne){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 de==="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 Qe(ne,de,Ee){return Ge(ne,Ee)}function _e(ne,de,Ee){var Ce=rt[ne];if(Ce)Ee=Ee.add(Ce).toOrderedSet();else if(de instanceof HTMLElement){var Le=de;Ee=Ee.withMutations(function(Ne){Le.style.fontWeight==="bold"&&Ne.add("BOLD"),Le.style.fontStyle==="italic"&&Ne.add("ITALIC"),Le.style.textDecoration==="underline"&&Ne.add("UNDERLINE"),Le.style.textDecoration==="line-through"&&Ne.add("STRIKETHROUGH")}).toOrderedSet()}return Ee}function Re(ne,de){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,Xe.OrderedSet)();return _e(ne,de,Ee)}function lt(ne,de){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ce=de.text.slice(0,1),Le=ne.text.slice(-1),Ne=Le==="\r"&&Ce==="\r",ft=ne.text!=="\r"&&de.text!=="\r",tt=ne.text==="\r"&&!ne.isNewline&&de.isNewline;if(Ne&&(ft||tt)&&(ne.text=ne.text.slice(0,-1),ne.inlines.pop(),ne.entities.pop(),ne.blocks.pop()),ne.text.slice(-1)==="\r"&&Ee===!0){if(de.text===je||de.text===`
|
|
`)return ne;(Ce===je||Ce===`
|
|
`)&&(de.text=de.text.slice(1),de.inlines.shift(),de.entities.shift())}var yt=ne.text.length===0&&de.isNewline;return{text:ne.text+de.text,inlines:ne.inlines.concat(de.inlines),entities:ne.entities.concat(de.entities),blocks:ne.blocks.concat(de.blocks),isNewline:yt}}function St(ne){return Be.some(function(de){return ne.indexOf("<".concat(de))!==-1})}function Kt(ne,de,Ee,Ce,Le,Ne,ft,tt,yt,qe,xt,it,Ct,$e,ut,dt){var st=ne.nodeName.toLowerCase(),Wt=!1,jt="unstyled";if(st==="#text"){var Mt=ne.textContent;if(Mt.trim()===""&&Ce===null)return Se();if(Mt.trim()===""&&Ce!=="code-block")return Te(dt);Ce!=="code-block"&&(Mt=Mt.replace(Tt,je));var Ft=Array(Mt.length).fill(dt),at=0,Dt=yt(Mt,xt,it,Ct,$e).sort(p);return Dt.forEach(function(Cn){var bn=Cn.entity,mn=Cn.offset,on=Cn.length,Fn=Cn.result,xn=mn+at;Fn==null&&(Fn=Mt.substr(xn,on));var yn=Mt.split("");yn.splice.bind(yn,xn,on).apply(yn,Fn.split("")),Mt=yn.join(""),Ft.splice.bind(Ft,xn,on).apply(Ft,Array(Fn.length).fill(bn)),at+=Fn.length-on}),{text:Mt,inlines:Array(Mt.length).fill(de),entities:Ft,blocks:[]}}if(st==="br"){var kt=Ce;return kt===null?Fe("unstyled",Ne,!0):Fe(kt||"unstyled",Ne,ut.flat)}var ot=Se(),Rt=null;de=_e(st,ne,de),de=ft(st,ne,de),(st==="ul"||st==="ol")&&(Ee&&(Ne+=1),Ee=st,Ce=null);var Ut=qe(st,ne,Ee,Ce),Yt,un;if(Ut===!1)return Se();if(Ut=Ut||{},typeof Ut=="string"?(Yt=Ut,un=(0,Xe.Map)()):(Yt=typeof Ut=="string"?Ut:Ut.type,un=Ut.data?(0,Xe.Map)(Ut.data):(0,Xe.Map)()),!Ce&&(Le.indexOf(st)!==-1||Yt))ot=Oe(Yt||Ge(st,Ee),Ne,un),Ce=Yt||Ge(st,Ee),Wt=!0;else if(Ee&&(Ce==="ordered-list-item"||Ce==="unordered-list-item")&&st==="li"){var fn=Ge(st,Ee);ot=Oe(fn,Ne),Ce=fn,Wt=!0,jt=Ee==="ul"?"unordered-list-item":"ordered-list-item"}else Ce&&Ce!=="atomic"&&Yt==="atomic"&&(Ce=Yt,Wt=!0,ot=Fe(Yt,Ne,!0,un));var en=ne.firstChild;en==null&&dt&&(Yt==="atomic"||Ce==="atomic")&&(en=document.createTextNode("a")),en!=null&&(st=en.nodeName.toLowerCase());for(var Rn=null;en;){Rn=tt(st,en,xt,it,Ct,$e),Rt=Kt(en,de,Ee,Ce,Le,Ne,ft,tt,yt,qe,xt,it,Ct,$e,ut,Rn||dt),ot=lt(ot,Rt,ut.flat);var gn=en.nextSibling;if(gn&&Le.indexOf(st)>=0&&Ce){var zt=qe(st,en,Ee,Ce),Kn=void 0,rn=void 0;zt!==!1&&(zt=zt||{},typeof zt=="string"?(Kn=zt,rn=(0,Xe.Map)()):(Kn=zt.type||Ge(st,Ee),rn=zt.data?(0,Xe.Map)(zt.data):(0,Xe.Map)()),ot=lt(ot,Fe(Kn,Ne,ut.flat,rn),ut.flat))}gn&&(st=gn.nodeName.toLowerCase()),en=gn}return Wt&&(ot=lt(ot,Oe(jt,Ne,(0,Xe.Map)()),ut.flat)),ot}function Ot(ne,de,Ee,Ce,Le,Ne,ft,tt,yt,qe,xt){ne=ne.trim().replace(Ze,"").replace(At,je);var it=xt(ne);if(!it)return null;var Ct=St(ne)?Be.concat(["div"]):["div"],$e=Kt(it,(0,Xe.OrderedSet)(),"ul",null,Ct,-1,de,Ee,Ce,Le,Ne,ft,tt,yt,qe);return $e.text.indexOf("\r")===0&&($e={text:$e.text.slice(1),inlines:$e.inlines.slice(1),entities:$e.entities.slice(1),blocks:$e.blocks}),$e.text.slice(-1)==="\r"&&($e.text=$e.text.slice(0,-1),$e.inlines=$e.inlines.slice(0,-1),$e.entities=$e.entities.slice(0,-1),$e.blocks.pop()),$e.blocks.length===0&&$e.blocks.push({type:"unstyled",data:(0,Xe.Map)(),depth:0}),$e.text.split("\r").length===$e.blocks.length+1&&$e.blocks.unshift({type:"unstyled",data:(0,Xe.Map)(),depth:0}),$e}function It(ne,de,Ee,Ce,Le,Ne,ft,tt,yt,qe,xt,it){var Ct=Ot(ne,de,Ee,Ce,Le,Ne,ft,tt,yt,qe,xt,it);if(Ct==null)return[];var $e=0;return Ct.text.split("\r").map(function(ut,dt){ut=Ae(ut);var st=$e+ut.length,Wt=ge(Ct).inlines.slice($e,st),jt=ge(Ct).entities.slice($e,st),Mt=(0,Xe.List)(Wt.map(function(Ft,at){var Dt={style:Ft,entity:null};return jt[at]&&(Dt.entity=jt[at]),v.CharacterMetadata.create(Dt)}));return $e=st+1,new v.ContentBlock({key:it(),type:ge(Ct).blocks[dt].type,data:ge(Ct).blocks[dt].data,depth:ge(Ct).blocks[dt].depth,text:ut,characterList:Mt})})}var Qt=function(de){var Ee=de.htmlToStyle,Ce=Ee===void 0?Ke:Ee,Le=de.htmlToEntity,Ne=Le===void 0?ue:Le,ft=de.textToEntity,tt=ft===void 0?ie:ft,yt=de.htmlToBlock,qe=yt===void 0?nn:yt;return function(xt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{flat:!1},Ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Et,$e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:v.genKey,ut=v.ContentState.createFromText(""),dt=function(){if(ut.createEntity){var kt;return ut=(kt=ut).createEntity.apply(kt,arguments),ut.getLastCreatedEntityKey()}return v.Entity.create.apply(v.Entity,arguments)},st=function(){if(ut.getEntity){var kt;return(kt=ut).getEntity.apply(kt,arguments)}return v.Entity.get.apply(v.Entity,arguments)},Wt=function(){if(ut.mergeEntityData){var kt;ut=(kt=ut).mergeEntityData.apply(kt,arguments);return}v.Entity.mergeData.apply(v.Entity,arguments)},jt=function(){if(ut.replaceEntityData){var kt;ut=(kt=ut).replaceEntityData.apply(kt,arguments);return}v.Entity.replaceData.apply(v.Entity,arguments)},Mt=It(xt,Pt(Ce,Re),Pt(Ne,ue),Pt(tt,ie),Pt(qe,Qe),dt,st,Wt,jt,it,Ct,$e),Ft=v.BlockMapBuilder.createFromArray(Mt),at=Mt[0].getKey();return ut.merge({blockMap:Ft,selectionBefore:v.SelectionState.createEmpty(at),selectionAfter:v.SelectionState.createEmpty(at)})}},Gt=function(){return arguments.length>=1&&typeof(arguments.length<=0?void 0:arguments[0])=="string"?Qt({}).apply(void 0,arguments):Qt.apply(void 0,arguments)}},68884:function(Y,H,i){"use strict";var F=i(22767),y=F||function(c){for(var b=1;b<arguments.length;b++){var N=arguments[b];for(var O in N)Object.prototype.hasOwnProperty.call(N,O)&&(c[O]=N[O])}return c},E=i(94849),A=i(11841),v=i(51653),T=i(42267),w=i(84740),p=i(65979),s=i(91257),h=i(52724),f=i(29840),u=i(8767),d=i(56479),a=w.draft_tree_data_support,o=a?T:v,l=h.List,x=h.Repeat,k={insertAtomicBlock:function(b,N,O){var S=b.getCurrentContent(),K=b.getSelection(),L=p.removeRange(S,K,"backward"),D=L.getSelectionAfter(),B=p.splitBlock(L,D),J=B.getSelectionAfter(),Q=p.setBlockType(B,J,"atomic"),G=A.create({entity:N}),U={key:u(),type:"atomic",text:O,characterList:l(x(G,O.length))},se={key:u(),type:"unstyled"};a&&(U=y({},U,{nextSibling:se.key}),se=y({},se,{prevSibling:U.key}));var q=[new o(U),new o(se)],he=E.createFromArray(q),De=p.replaceWithFragment(Q,J,he),ke=De.merge({selectionBefore:K,selectionAfter:De.getSelectionAfter().set("hasFocus",!0)});return s.push(b,ke,"insert-fragment")},moveAtomicBlock:function(b,N,O,S){var K=b.getCurrentContent(),L=b.getSelection(),D=void 0;if(S==="before"||S==="after"){var B=K.getBlockForKey(S==="before"?O.getStartKey():O.getEndKey());D=d(K,N,B,S)}else{var J=p.removeRange(K,O,"backward"),Q=J.getSelectionAfter(),G=J.getBlockForKey(Q.getFocusKey());if(Q.getStartOffset()===0)D=d(J,N,G,"before");else if(Q.getEndOffset()===G.getLength())D=d(J,N,G,"after");else{var U=p.splitBlock(J,Q),se=U.getSelectionAfter(),q=U.getBlockForKey(se.getFocusKey());D=d(U,N,q,"before")}}var he=D.merge({selectionBefore:L,selectionAfter:D.getSelectionAfter().set("hasFocus",!0)});return s.push(b,he,"move-block")}};Y.exports=k},94849:function(Y,H,i){"use strict";var F=i(52724),y=F.OrderedMap,E={createFromArray:function(v){return y(v.map(function(T){return[T.getKey(),T]}))}};Y.exports=E},64265:function(Y,H,i){"use strict";var F=i(52724),y=i(5047),E=i(50125),A=F.List,v=F.Repeat,T=F.Record,w=y.thatReturnsTrue,p="-",s={start:null,end:null},h=T(s),f={start:null,end:null,decoratorKey:null,leaves:null},u=T(f),d={generate:function(x,k,c){var b=k.getLength();if(!b)return A.of(new u({start:0,end:0,decoratorKey:null,leaves:A.of(new h({start:0,end:0}))}));var N=[],O=c?c.getDecorations(k,x):A(v(null,b)),S=k.getCharacterList();return E(O,o,w,function(K,L){N.push(new u({start:K,end:L,decoratorKey:O.get(K),leaves:a(S.slice(K,L).toList(),K)}))}),A(N)},getFingerprint:function(x){return x.map(function(k){var c=k.get("decoratorKey"),b=c!==null?c+"."+(k.get("end")-k.get("start")):"";return""+b+"."+k.get("leaves").size}).join(p)}};function a(l,x){var k=[],c=l.map(function(b){return b.getStyle()}).toList();return E(c,o,w,function(b,N){k.push(new h({start:b+x,end:N+x}))}),A(k)}function o(l,x){return l===x}Y.exports=d},11841:function(Y,H,i){"use strict";function F(a,o){if(!(a instanceof o))throw new TypeError("Cannot call a class as a function")}function y(a,o){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:a}function E(a,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);a.prototype=Object.create(o&&o.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(a,o):a.__proto__=o)}var A=i(52724),v=A.Map,T=A.OrderedSet,w=A.Record,p=T(),s={style:p,entity:null},h=w(s),f=function(a){E(o,a);function o(){return F(this,o),y(this,a.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,k){var c=x.set("style",x.getStyle().add(k));return o.create(c)},o.removeStyle=function(x,k){var c=x.set("style",x.getStyle().remove(k));return o.create(c)},o.applyEntity=function(x,k){var c=x.getEntity()===k?x:x.set("entity",k);return o.create(c)},o.create=function(x){if(!x)return u;var k={style:p,entity:null},c=v(k).merge(x),b=d.get(c);if(b)return b;var N=new o(c);return d=d.set(c,N),N},o}(h),u=new f,d=v([[v(s),u]]);f.EMPTY=u,Y.exports=f},19631:function(Y,H,i){"use strict";function F(p,s){if(!(p instanceof s))throw new TypeError("Cannot call a class as a function")}var y=i(52724),E=y.List,A=".",v=function(){function p(s){F(this,p),this._decorators=s.slice()}return p.prototype.getDecorations=function(h,f){var u=Array(h.getText().length).fill(null);return this._decorators.forEach(function(d,a){var o=0,l=d.strategy,x=function(c,b){T(u,c,b)&&(w(u,c,b,a+A+o),o++)};l(h,x,f)}),E(u)},p.prototype.getComponentForKey=function(h){var f=parseInt(h.split(A)[0],10);return this._decorators[f].component},p.prototype.getPropsForKey=function(h){var f=parseInt(h.split(A)[0],10);return this._decorators[f].props},p}();function T(p,s,h){for(var f=s;f<h;f++)if(p[f]!=null)return!1;return!0}function w(p,s,h,f){for(var u=s;u<h;u++)p[u]=f}Y.exports=v},51653:function(Y,H,i){"use strict";function F(c,b){if(!(c instanceof b))throw new TypeError("Cannot call a class as a function")}function y(c,b){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:c}function E(c,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);c.prototype=Object.create(b&&b.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(c,b):c.__proto__=b)}var A=i(11841),v=i(52724),T=i(50125),w=v.List,p=v.Map,s=v.OrderedSet,h=v.Record,f=v.Repeat,u=s(),d={key:"",type:"unstyled",text:"",characterList:w(),depth:0,data:p()},a=h(d),o=function(b){if(!b)return b;var N=b.characterList,O=b.text;return O&&!N&&(b.characterList=w(f(A.EMPTY,O.length))),b},l=function(c){E(b,c);function b(N){return F(this,b),y(this,c.call(this,o(N)))}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(O){var S=this.getCharacterList().get(O);return S?S.getStyle():u},b.prototype.getEntityAt=function(O){var S=this.getCharacterList().get(O);return S?S.getEntity():null},b.prototype.findStyleRanges=function(O,S){T(this.getCharacterList(),x,O,S)},b.prototype.findEntityRanges=function(O,S){T(this.getCharacterList(),k,O,S)},b}(a);function x(c,b){return c.getStyle()===b.getStyle()}function k(c,b){return c.getEntity()===b.getEntity()}Y.exports=l},42267:function(Y,H,i){"use strict";function F(k,c){if(!(k instanceof c))throw new TypeError("Cannot call a class as a function")}function y(k,c){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:k}function E(k,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);k.prototype=Object.create(c&&c.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(k,c):k.__proto__=c)}var A=i(11841),v=i(52724),T=i(50125),w=v.List,p=v.Map,s=v.OrderedSet,h=v.Record,f=v.Repeat,u=s(),d={parent:null,characterList:w(),data:p(),depth:0,key:"",text:"",type:"unstyled",children:w(),prevSibling:null,nextSibling:null},a=function(c,b){return c.getStyle()===b.getStyle()},o=function(c,b){return c.getEntity()===b.getEntity()},l=function(c){if(!c)return c;var b=c.characterList,N=c.text;return N&&!b&&(c.characterList=w(f(A.EMPTY,N.length))),c},x=function(k){E(c,k);function c(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return F(this,c),y(this,k.call(this,l(b)))}return c.prototype.getKey=function(){return this.get("key")},c.prototype.getType=function(){return this.get("type")},c.prototype.getText=function(){return this.get("text")},c.prototype.getCharacterList=function(){return this.get("characterList")},c.prototype.getLength=function(){return this.getText().length},c.prototype.getDepth=function(){return this.get("depth")},c.prototype.getData=function(){return this.get("data")},c.prototype.getInlineStyleAt=function(N){var O=this.getCharacterList().get(N);return O?O.getStyle():u},c.prototype.getEntityAt=function(N){var O=this.getCharacterList().get(N);return O?O.getEntity():null},c.prototype.getChildKeys=function(){return this.get("children")},c.prototype.getParentKey=function(){return this.get("parent")},c.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},c.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},c.prototype.findStyleRanges=function(N,O){T(this.getCharacterList(),a,N,O)},c.prototype.findEntityRanges=function(N,O){T(this.getCharacterList(),o,N,O)},c}(h(d));Y.exports=x},40709:function(Y,H,i){"use strict";function F(O,S){if(!(O instanceof S))throw new TypeError("Cannot call a class as a function")}function y(O,S){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:O}function E(O,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);O.prototype=Object.create(S&&S.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(O,S):O.__proto__=S)}var A=i(94849),v=i(11841),T=i(51653),w=i(42267),p=i(71094),s=i(84740),h=i(52724),f=i(29840),u=i(8767),d=i(27748),a=h.List,o=h.Record,l=h.Repeat,x=s.draft_tree_data_support,k={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},c=x?w:T,b=o(k),N=function(O){E(S,O);function S(){return F(this,S),y(this,O.apply(this,arguments))}return S.prototype.getEntityMap=function(){return p},S.prototype.getBlockMap=function(){return this.get("blockMap")},S.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},S.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},S.prototype.getBlockForKey=function(L){var D=this.getBlockMap().get(L);return D},S.prototype.getKeyBefore=function(L){return this.getBlockMap().reverse().keySeq().skipUntil(function(D){return D===L}).skip(1).first()},S.prototype.getKeyAfter=function(L){return this.getBlockMap().keySeq().skipUntil(function(D){return D===L}).skip(1).first()},S.prototype.getBlockAfter=function(L){return this.getBlockMap().skipUntil(function(D,B){return B===L}).skip(1).first()},S.prototype.getBlockBefore=function(L){return this.getBlockMap().reverse().skipUntil(function(D,B){return B===L}).skip(1).first()},S.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},S.prototype.getFirstBlock=function(){return this.getBlockMap().first()},S.prototype.getLastBlock=function(){return this.getBlockMap().last()},S.prototype.getPlainText=function(L){return this.getBlockMap().map(function(D){return D?D.getText():""}).join(L||`
|
|
`)},S.prototype.getLastCreatedEntityKey=function(){return p.__getLastCreatedEntityKey()},S.prototype.hasText=function(){var L=this.getBlockMap();return L.size>1||L.first().getLength()>0},S.prototype.createEntity=function(L,D,B){return p.__create(L,D,B),this},S.prototype.mergeEntityData=function(L,D){return p.__mergeData(L,D),this},S.prototype.replaceEntityData=function(L,D){return p.__replaceData(L,D),this},S.prototype.addEntity=function(L){return p.__add(L),this},S.prototype.getEntity=function(L){return p.__get(L)},S.createFromBlockArray=function(L,D){var B=Array.isArray(L)?L:L.contentBlocks,J=A.createFromArray(B),Q=J.isEmpty()?new f:f.createEmpty(J.first().getKey());return new S({blockMap:J,entityMap:D||p,selectionBefore:Q,selectionAfter:Q})},S.createFromText=function(L){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:/\r\n?|\n/g,B=L.split(D),J=B.map(function(Q){return Q=d(Q),new c({key:u(),text:Q,type:"unstyled",characterList:a(l(v.EMPTY,Q.length))})});return S.createFromBlockArray(J)},S}(b);Y.exports=N},90891:function(Y,H,i){"use strict";var F=i(11841),y=i(52724),E=y.Map,A={add:function(w,p,s){return v(w,p,s,!0)},remove:function(w,p,s){return v(w,p,s,!1)}};function v(T,w,p,s){var h=T.getBlockMap(),f=w.getStartKey(),u=w.getStartOffset(),d=w.getEndKey(),a=w.getEndOffset(),o=h.skipUntil(function(l,x){return x===f}).takeUntil(function(l,x){return x===d}).concat(E([[d,h.get(d)]])).map(function(l,x){var k,c;f===d?(k=u,c=a):(k=x===f?u:0,c=x===d?a:l.getLength());for(var b=l.getCharacterList(),N;k<c;)N=b.get(k),b=b.set(k,s?F.applyStyle(N,p):F.removeStyle(N,p)),k++;return l.set("characterList",b)});return T.merge({blockMap:h.merge(o),selectionBefore:w,selectionAfter:w})}Y.exports=A},50171:function(Y,H,i){"use strict";var F=i(52724),y=F.Map,E=i(50959),A=i(47471),v=E.createElement("ul",{className:A("public/DraftStyleDefault/ul")}),T=E.createElement("ol",{className:A("public/DraftStyleDefault/ol")}),w=E.createElement("pre",{className:A("public/DraftStyleDefault/pre")}),p=y({"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:v},"ordered-list-item":{element:"li",wrapper:T},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:w},unstyled:{element:"div",aliasedElements:["p"]}});Y.exports=p},10330:function(Y){"use strict";Y.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},80099:function(Y,H,i){"use strict";var F=i(68884),y=i(94849),E=i(11841),A=i(19631),v=i(51653),T=i(40709),w=i(50171),p=i(10330),s=i(65846),h=i(41114),f=i(71094),u=i(65979),d=i(48573),a=i(91257),o=i(33572),l=i(20377),x=i(29840),k=i(57788),c=i(2966),b=i(47711),N=i(8767),O=i(58742),S=i(57667),K={Editor:s,EditorBlock:h,EditorState:a,CompositeDecorator:A,Entity:f,EntityInstance:d,BlockMapBuilder:y,CharacterMetadata:E,ContentBlock:v,ContentState:T,SelectionState:x,AtomicBlockUtils:F,KeyBindingUtil:o,Modifier:u,RichUtils:l,DefaultDraftBlockRenderMap:w,DefaultDraftInlineStyle:p,convertFromHTML:c,convertFromRaw:b,convertToRaw:k,genKey:N,getDefaultKeyBinding:O,getVisibleSelectionRect:S};Y.exports=K},65846:function(Y,H,i){"use strict";var F=i(22767),y=F||function(G){for(var U=1;U<arguments.length;U++){var se=arguments[U];for(var q in se)Object.prototype.hasOwnProperty.call(se,q)&&(G[q]=se[q])}return G};function E(G,U){if(!(G instanceof U))throw new TypeError("Cannot call a class as a function")}function A(G,U){if(!G)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U&&(typeof U=="object"||typeof U=="function")?U:G}function v(G,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof U);G.prototype=Object.create(U&&U.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),U&&(Object.setPrototypeOf?Object.setPrototypeOf(G,U):G.__proto__=U)}var T=i(50171),w=i(10330),p=i(57626),s=i(75094),h=i(87797),f=i(80268),u=i(92013),d=i(91257),a=i(50959),o=i(10422),l=i(39937),x=i(68520),k=i(13567),c=i(47471),b=i(5047),N=i(8767),O=i(58742),S=i(56182),K=i(44083),L=i(17e3),D=k.isBrowser("IE"),B=!D,J={edit:f,composite:p,drag:h,cut:null,render:null},Q=function(G){v(U,G);function U(se){E(this,U);var q=A(this,G.call(this,se));return q.focus=function(he){var De=q.props.editorState,ke=De.getSelection().getHasFocus(),$=o.findDOMNode(q.editor);if($){var Ie=x.getScrollParent($),Ue=he||S(Ie),He=Ue.x,We=Ue.y;$ instanceof HTMLElement||K(!1),$.focus(),Ie===window?window.scrollTo(He,We):l.setTop(Ie,We),ke||q.update(d.forceSelection(De,De.getSelection()))}},q.blur=function(){var he=o.findDOMNode(q.editor);he instanceof HTMLElement||K(!1),he.blur()},q.setMode=function(he){q._handler=J[he]},q.exitCurrentMode=function(){q.setMode("edit")},q.restoreEditorDOM=function(he){q.setState({contentsKey:q.state.contentsKey+1},function(){q.focus(he)})},q.setClipboard=function(he){q._clipboard=he},q.getClipboard=function(){return q._clipboard},q.update=function(he){q._latestEditorState=he,q.props.onChange(he)},q.onDragEnter=function(){q._dragCount++},q.onDragLeave=function(){q._dragCount--,q._dragCount===0&&q.exitCurrentMode()},q._blockSelectEvents=!1,q._clipboard=null,q._handler=null,q._dragCount=0,q._editorKey=se.editorKey||N(),q._placeholderAccessibilityID="placeholder-"+q._editorKey,q._latestEditorState=se.editorState,q._latestCommittedEditorState=se.editorState,q._onBeforeInput=q._buildHandler("onBeforeInput"),q._onBlur=q._buildHandler("onBlur"),q._onCharacterData=q._buildHandler("onCharacterData"),q._onCompositionEnd=q._buildHandler("onCompositionEnd"),q._onCompositionStart=q._buildHandler("onCompositionStart"),q._onCopy=q._buildHandler("onCopy"),q._onCut=q._buildHandler("onCut"),q._onDragEnd=q._buildHandler("onDragEnd"),q._onDragOver=q._buildHandler("onDragOver"),q._onDragStart=q._buildHandler("onDragStart"),q._onDrop=q._buildHandler("onDrop"),q._onInput=q._buildHandler("onInput"),q._onFocus=q._buildHandler("onFocus"),q._onKeyDown=q._buildHandler("onKeyDown"),q._onKeyPress=q._buildHandler("onKeyPress"),q._onKeyUp=q._buildHandler("onKeyUp"),q._onMouseDown=q._buildHandler("onMouseDown"),q._onMouseUp=q._buildHandler("onMouseUp"),q._onPaste=q._buildHandler("onPaste"),q._onSelect=q._buildHandler("onSelect"),q.getEditorKey=function(){return q._editorKey},q.state={contentsKey:0},q}return U.prototype._buildHandler=function(q){var he=this;return function(De){if(!he.props.readOnly){var ke=he._handler&&he._handler[q];ke&&ke(he,De)}}},U.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},U.prototype._renderPlaceholder=function(){if(this._showPlaceholder()){var q={text:L(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return a.createElement(u,q)}return null},U.prototype.render=function(){var q=this,he=this.props,De=he.blockRenderMap,ke=he.blockRendererFn,$=he.blockStyleFn,Ie=he.customStyleFn,Ue=he.customStyleMap,He=he.editorState,We=he.readOnly,Xe=he.textAlignment,vt=he.textDirectionality,Et=c({"DraftEditor/root":!0,"DraftEditor/alignLeft":Xe==="left","DraftEditor/alignRight":Xe==="right","DraftEditor/alignCenter":Xe==="center"}),ht={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},je=this.props.role||"textbox",gt=je==="combobox"?!!this.props.ariaExpanded:null,Ze={blockRenderMap:De,blockRendererFn:ke,blockStyleFn:$,customStyleMap:y({},w,Ue),customStyleFn:Ie,editorKey:this._editorKey,editorState:He,key:"contents"+this.state.contentsKey,textDirectionality:vt};return a.createElement("div",{className:Et},this._renderPlaceholder(),a.createElement("div",{className:c("DraftEditor/editorContainer"),ref:function(At){return q.editorContainer=At}},a.createElement("div",{"aria-activedescendant":We?null:this.props.ariaActiveDescendantID,"aria-autocomplete":We?null:this.props.ariaAutoComplete,"aria-controls":We?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":We?null:gt,"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:c({notranslate:!We,"public/DraftEditor/content":!0}),contentEditable:!We,"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(At){return q.editor=At},role:We?null:je,spellCheck:B&&this.props.spellCheck,style:ht,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},a.createElement(s,Ze))))},U.prototype.componentDidMount=function(){this.setMode("edit"),D&&document.execCommand("AutoUrlDetect",!1,!1)},U.prototype.componentWillUpdate=function(q){this._blockSelectEvents=!0,this._latestEditorState=q.editorState},U.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},U}(a.Component);Q.defaultProps={blockRenderMap:T,blockRendererFn:b.thatReturnsNull,blockStyleFn:b.thatReturns(""),keyBindingFn:O,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},Y.exports=Q},41114:function(Y,H,i){"use strict";var F=i(22767),y=F||function(S){for(var K=1;K<arguments.length;K++){var L=arguments[K];for(var D in L)Object.prototype.hasOwnProperty.call(L,D)&&(S[D]=L[D])}return S};function E(S,K){if(!(S instanceof K))throw new TypeError("Cannot call a class as a function")}function A(S,K){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return K&&(typeof K=="object"||typeof K=="function")?K:S}function v(S,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof K);S.prototype=Object.create(K&&K.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),K&&(Object.setPrototypeOf?Object.setPrototypeOf(S,K):S.__proto__=K)}var T=i(27827),w=i(8130),p=i(50959),s=i(10422),h=i(39937),f=i(68520),u=i(71873),d=i(83673),a=i(47471),o=i(18850),l=i(56182),x=i(92699),k=i(44083),c=i(17e3),b=10,N=function(K,L){return K.getAnchorKey()===L||K.getFocusKey()===L},O=function(S){v(K,S);function K(){return E(this,K),A(this,S.apply(this,arguments))}return K.prototype.shouldComponentUpdate=function(D){return this.props.block!==D.block||this.props.tree!==D.tree||this.props.direction!==D.direction||N(D.selection,D.block.getKey())&&D.forceSelection},K.prototype.componentDidMount=function(){var D=this.props.selection,B=D.getEndKey();if(!(!D.getHasFocus()||B!==this.props.block.getKey())){var J=s.findDOMNode(this),Q=f.getScrollParent(J),G=l(Q),U=void 0;if(Q===window){var se=o(J),q=se.y+se.height,he=x().height;U=q-he,U>0&&window.scrollTo(G.x,G.y+U+b)}else{J instanceof HTMLElement||k(!1);var De=J.offsetHeight+J.offsetTop,ke=Q.offsetHeight+G.y;U=De-ke,U>0&&h.setTop(Q,h.getTop(Q)+U+b)}}},K.prototype._renderChildren=function(){var D=this,B=this.props.block,J=B.getKey(),Q=B.getText(),G=this.props.tree.size-1,U=N(this.props.selection,J);return this.props.tree.map(function(se,q){var he=se.get("leaves"),De=he.size-1,ke=he.map(function(Et,ht){var je=w.encode(J,q,ht),gt=Et.get("start"),Ze=Et.get("end");return p.createElement(T,{key:je,offsetKey:je,block:B,start:gt,selection:U?D.props.selection:null,forceSelection:D.props.forceSelection,text:Q.slice(gt,Ze),styleSet:B.getInlineStyleAt(gt),customStyleMap:D.props.customStyleMap,customStyleFn:D.props.customStyleFn,isLast:q===G&&ht===De})}).toArray(),$=se.get("decoratorKey");if($==null||!D.props.decorator)return ke;var Ie=c(D.props.decorator),Ue=Ie.getComponentForKey($);if(!Ue)return ke;var He=Ie.getPropsForKey($),We=w.encode(J,q,0),Xe=Q.slice(he.first().get("start"),he.last().get("end")),vt=d.getHTMLDirIfDifferent(u.getDirection(Xe),D.props.direction);return p.createElement(Ue,y({},He,{contentState:D.props.contentState,decoratedText:Xe,dir:vt,key:We,entityKey:B.getEntityAt(se.get("start")),offsetKey:We}),ke)}).toArray()},K.prototype.render=function(){var D=this.props,B=D.direction,J=D.offsetKey,Q=a({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":B==="LTR","public/DraftStyleDefault/rtl":B==="RTL"});return p.createElement("div",{"data-offset-key":J,className:Q},this._renderChildren())},K}(p.Component);Y.exports=O},57626:function(Y,H,i){"use strict";var F=i(84740),y=i(65979),E=i(91257),A=i(16803),v=i(32498),T=i(18050),w=i(2523),p=20,s=!1,h=!1,f="",u={onBeforeInput:function(a,o){f=(f||"")+o.data},onCompositionStart:function(a){h=!0},onCompositionEnd:function(a){s=!1,h=!1,setTimeout(function(){s||u.resolveComposition(a)},p)},onKeyDown:function(a,o){if(!h){u.resolveComposition(a),a._onKeyDown(o);return}(o.which===A.RIGHT||o.which===A.LEFT)&&o.preventDefault()},onKeyPress:function(a,o){o.which===A.RETURN&&o.preventDefault()},resolveComposition:function(a){if(!h){s=!0;var o=f;f="";var l=E.set(a._latestEditorState,{inCompositionMode:!1}),x=l.getCurrentInlineStyle(),k=v(l.getCurrentContent(),l.getSelection()),c=!o||w(l)||x.size>0||k!==null;if(c&&a.restoreEditorDOM(),a.exitCurrentMode(),o){if(F.draft_handlebeforeinput_composed_text&&a.props.handleBeforeInput&&T(a.props.handleBeforeInput(o,l)))return;var b=y.replaceText(l.getCurrentContent(),l.getSelection(),o,x,k);a.update(E.push(l,b,"insert-characters"));return}c&&a.update(E.set(l,{nativelyRenderedContent:null,forceSelection:!0}))}}};Y.exports=u},99083:function(Y,H,i){"use strict";var F=i(22767),y=F||function(o){for(var l=1;l<arguments.length;l++){var x=arguments[l];for(var k in x)Object.prototype.hasOwnProperty.call(x,k)&&(o[k]=x[k])}return o};function E(o,l){if(!(o instanceof l))throw new TypeError("Cannot call a class as a function")}function A(o,l){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:o}function v(o,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);o.prototype=Object.create(l&&l.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(o,l):o.__proto__=l)}var T=i(41114),w=i(8130),p=i(91257),s=i(50959),h=i(47471),f=i(72115),u=i(17e3),d=function(l,x,k,c){return h({"public/DraftStyleDefault/unorderedListItem":l==="unordered-list-item","public/DraftStyleDefault/orderedListItem":l==="ordered-list-item","public/DraftStyleDefault/reset":k,"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":c==="LTR","public/DraftStyleDefault/listRTL":c==="RTL"})},a=function(o){v(l,o);function l(){return E(this,l),A(this,o.apply(this,arguments))}return l.prototype.shouldComponentUpdate=function(k){var c=this.props.editorState,b=k.editorState,N=c.getDirectionMap(),O=b.getDirectionMap();if(N!==O)return!0;var S=c.getSelection().getHasFocus(),K=b.getSelection().getHasFocus();if(S!==K)return!0;var L=b.getNativelyRenderedContent(),D=c.isInCompositionMode(),B=b.isInCompositionMode();if(c===b||L!==null&&b.getCurrentContent()===L||D&&B)return!1;var J=c.getCurrentContent(),Q=b.getCurrentContent(),G=c.getDecorator(),U=b.getDecorator();return D!==B||J!==Q||G!==U||b.mustForceSelection()},l.prototype.render=function(){for(var k=this.props,c=k.blockRenderMap,b=k.blockRendererFn,N=k.blockStyleFn,O=k.customStyleMap,S=k.customStyleFn,K=k.editorState,L=k.editorKey,D=k.textDirectionality,B=K.getCurrentContent(),J=K.getSelection(),Q=K.mustForceSelection(),G=K.getDecorator(),U=u(K.getDirectionMap()),se=B.getBlocksAsArray(),q=[],he=null,De=null,ke=0;ke<se.length;ke++){var $=se[ke],Ie=$.getKey(),Ue=$.getType(),He=b($),We=void 0,Xe=void 0,vt=void 0;He&&(We=He.component,Xe=He.props,vt=He.editable);var Et=D||U.get(Ie),ht=w.encode(Ie,0,0),je={contentState:B,block:$,blockProps:Xe,blockStyleFn:N,customStyleMap:O,customStyleFn:S,decorator:G,direction:Et,forceSelection:Q,key:Ie,offsetKey:ht,selection:J,tree:K.getBlockTree(Ie)},gt=c.get(Ue)||c.get("unstyled"),Ze=gt.wrapper,Tt=gt.element||c.get("unstyled").element,At=$.getDepth(),bt="";if(N&&(bt=N($)),Tt==="li"){var Be=De!==Ze||he===null||At>he;bt=f(bt,d(Ue,At,Be,Et))}var rt=We||T,Pt={className:bt,"data-block":!0,"data-editor":L,"data-offset-key":ht,key:Ie};vt!==void 0&&(Pt=y({},Pt,{contentEditable:vt,suppressContentEditableWarning:!0}));var nn=s.createElement(Tt,Pt,s.createElement(rt,je));q.push({block:nn,wrapperTemplate:Ze,key:Ie,offsetKey:ht}),Ze?he=$.getDepth():he=null,De=Ze}for(var Ke=[],ue=0;ue<q.length;){var ie=q[ue];if(ie.wrapperTemplate){var ge=[];do ge.push(q[ue].block),ue++;while(ue<q.length&&q[ue].wrapperTemplate===ie.wrapperTemplate);var Ae=s.cloneElement(ie.wrapperTemplate,{key:ie.key+"-wrap","data-offset-key":ie.offsetKey},ge);Ke.push(Ae)}else Ke.push(ie.block),ue++}return s.createElement("div",{"data-contents":"true"},Ke)},l}(s.Component);Y.exports=a},75094:function(Y,H,i){"use strict";var F=i(99083);Y.exports=F},87797:function(Y,H,i){"use strict";var F=i(8768),y=i(65979),E=i(91257),A=i(54592),v=i(45398),T=i(68759),w=i(18050),p=i(17e3);function s(d,a){var o=null,l=null;if(typeof document.caretRangeFromPoint=="function"){var x=document.caretRangeFromPoint(d.x,d.y);o=x.startContainer,l=x.startOffset}else if(d.rangeParent)o=d.rangeParent,l=d.rangeOffset;else return null;o=p(o),l=p(l);var k=p(A(o));return T(a,k,l,k,l)}var h={onDragEnd:function(a){a.exitCurrentMode()},onDrop:function(a,o){var l=new F(o.nativeEvent.dataTransfer),x=a._latestEditorState,k=s(o.nativeEvent,x);if(o.preventDefault(),a.exitCurrentMode(),k!=null){var c=l.getFiles();if(c.length>0){if(a.props.handleDroppedFiles&&w(a.props.handleDroppedFiles(k,c)))return;v(c,function(N){N&&a.update(u(x,k,N))});return}var b=a._internalDrag?"internal":"external";if(!(a.props.handleDrop&&w(a.props.handleDrop(k,l,b)))){if(a._internalDrag){a.update(f(x,k));return}a.update(u(x,k,l.getText()))}}}};function f(d,a){var o=y.moveText(d.getCurrentContent(),d.getSelection(),a);return E.push(d,o,"insert-fragment")}function u(d,a,o){var l=y.insertText(d.getCurrentContent(),a,o,d.getCurrentInlineStyle());return E.push(d,l,"insert-fragment")}Y.exports=h},80268:function(Y,H,i){"use strict";var F=i(19967),y=i(10187),E=i(15238),A=i(74869),v=i(52465),T=i(27803),w=i(37040),p=i(11452),s=i(63688),h=i(58772),f=i(72958),u=i(5218),d={onBeforeInput:F,onBlur:y,onCompositionStart:E,onCopy:A,onCut:v,onDragOver:T,onDragStart:w,onFocus:p,onInput:s,onKeyDown:h,onPaste:f,onSelect:u};Y.exports=d},27827:function(Y,H,i){"use strict";var F=i(22767);function y(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}function E(f,u){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:f}function A(f,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);f.prototype=Object.create(u&&u.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(f,u):f.__proto__=u)}var v=i(96400),T=i(50959),w=i(10422),p=i(44083),s=i(32935),h=function(f){A(u,f);function u(){return y(this,u),E(this,f.apply(this,arguments))}return u.prototype._setSelection=function(){var a=this.props.selection;if(!(a==null||!a.getHasFocus())){var o=this.props,l=o.block,x=o.start,k=o.text,c=l.getKey(),b=x+k.length;if(a.hasEdgeWithin(c,x,b)){var N=w.findDOMNode(this);N||p(!1);var O=N.firstChild;O||p(!1);var S=void 0;O.nodeType===Node.TEXT_NODE?S=O:O.tagName==="BR"?S=N:(S=O.firstChild,S||p(!1)),s(a,S,c,x,b)}}},u.prototype.shouldComponentUpdate=function(a){var o=w.findDOMNode(this.leaf);return o||p(!1),o.textContent!==a.text||a.styleSet!==this.props.styleSet||a.forceSelection},u.prototype.componentDidUpdate=function(){this._setSelection()},u.prototype.componentDidMount=function(){this._setSelection()},u.prototype.render=function(){var a=this,o=this.props.block,l=this.props.text;l.endsWith(`
|
|
`)&&this.props.isLast&&(l+=`
|
|
`);var x=this.props,k=x.customStyleMap,c=x.customStyleFn,b=x.offsetKey,N=x.styleSet,O=N.reduce(function(K,L){var D={},B=k[L];return B!==void 0&&K.textDecoration!==B.textDecoration&&(D.textDecoration=[K.textDecoration,B.textDecoration].join(" ").trim()),F(K,B,D)},{});if(c){var S=c(N,o);O=F(O,S)}return T.createElement("span",{"data-offset-key":b,ref:function(L){return a.leaf=L},style:O},T.createElement(v,null,l))},u}(T.Component);Y.exports=h},92013:function(Y,H,i){"use strict";function F(w,p){if(!(w instanceof p))throw new TypeError("Cannot call a class as a function")}function y(w,p){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:w}function E(w,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);w.prototype=Object.create(p&&p.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(w,p):w.__proto__=p)}var A=i(50959),v=i(47471),T=function(w){E(p,w);function p(){return F(this,p),y(this,w.apply(this,arguments))}return p.prototype.shouldComponentUpdate=function(h){return this.props.text!==h.text||this.props.editorState.getSelection().getHasFocus()!==h.editorState.getSelection().getHasFocus()},p.prototype.render=function(){var h=this.props.editorState.getSelection().getHasFocus(),f=v({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":h}),u={whiteSpace:"pre-wrap"};return A.createElement("div",{className:f},A.createElement("div",{className:v("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:u},this.props.text))},p}(A.Component);Y.exports=T},96400:function(Y,H,i){"use strict";function F(d,a){if(!(d instanceof a))throw new TypeError("Cannot call a class as a function")}function y(d,a){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:d}function E(d,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);d.prototype=Object.create(a&&a.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(d,a):d.__proto__=a)}var A=i(50959),v=i(10422),T=i(13567),w=i(44083),p=T.isBrowser("IE <= 11");function s(d){return p?d.textContent===`
|
|
`:d.tagName==="BR"}var h=p?A.createElement("span",{key:"A","data-text":"true"},`
|
|
`):A.createElement("br",{key:"A","data-text":"true"}),f=p?A.createElement("span",{key:"B","data-text":"true"},`
|
|
`):A.createElement("br",{key:"B","data-text":"true"}),u=function(d){E(a,d);function a(o){F(this,a);var l=y(this,d.call(this,o));return l._forceFlag=!1,l}return a.prototype.shouldComponentUpdate=function(l){var x=v.findDOMNode(this),k=l.children==="";return x instanceof Element||w(!1),k?!s(x):x.textContent!==l.children},a.prototype.componentDidMount=function(){this._forceFlag=!this._forceFlag},a.prototype.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},a.prototype.render=function(){return this.props.children===""?this._forceFlag?h:f:A.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},a}(A.Component);Y.exports=u},71094:function(Y,H,i){"use strict";var F=i(22767),y=F||function(f){for(var u=1;u<arguments.length;u++){var d=arguments[u];for(var a in d)Object.prototype.hasOwnProperty.call(d,a)&&(f[a]=d[a])}return f},E=i(48573),A=i(52724),v=i(44083),T=A.Map,w=T(),p=0;function s(f,u){console.warn("WARNING: "+f+` will be deprecated soon!
|
|
Please use "`+u+'" instead.')}var h={getLastCreatedEntityKey:function(){return s("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),h.__getLastCreatedEntityKey()},create:function(u,d,a){return s("DraftEntity.create","contentState.createEntity"),h.__create(u,d,a)},add:function(u){return s("DraftEntity.add","contentState.addEntity"),h.__add(u)},get:function(u){return s("DraftEntity.get","contentState.getEntity"),h.__get(u)},mergeData:function(u,d){return s("DraftEntity.mergeData","contentState.mergeEntityData"),h.__mergeData(u,d)},replaceData:function(u,d){return s("DraftEntity.replaceData","contentState.replaceEntityData"),h.__replaceData(u,d)},__getLastCreatedEntityKey:function(){return""+p},__create:function(u,d,a){return h.__add(new E({type:u,mutability:d,data:a||{}}))},__add:function(u){var d=""+ ++p;return w=w.set(d,u),d},__get:function(u){var d=w.get(u);return d||v(!1),d},__mergeData:function(u,d){var a=h.__get(u),o=y({},a.getData(),d),l=a.set("data",o);return w=w.set(u,l),l},__replaceData:function(u,d){var a=h.__get(u),o=a.set("data",d);return w=w.set(u,o),o}};Y.exports=h},48573:function(Y,H,i){"use strict";function F(p,s){if(!(p instanceof s))throw new TypeError("Cannot call a class as a function")}function y(p,s){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:p}function E(p,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);p.prototype=Object.create(s&&s.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(p,s):p.__proto__=s)}var A=i(52724),v=A.Record,T=v({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),w=function(p){E(s,p);function s(){return F(this,s),y(this,p.apply(this,arguments))}return s.prototype.getType=function(){return this.get("type")},s.prototype.getMutability=function(){return this.get("mutability")},s.prototype.getData=function(){return this.get("data")},s}(T);Y.exports=w},68568:function(Y){"use strict";var H={getRemovalRange:function(F,y,E,A,v){var T=E.split(" ");T=T.map(function(l,x){if(v==="forward"){if(x>0)return" "+l}else if(x<T.length-1)return l+" ";return l});for(var w=A,p,s,h=null,f=null,u=0;u<T.length;u++){if(s=T[u],p=w+s.length,F<p&&w<y)h!==null||(h=w),f=p;else if(h!==null)break;w=p}var d=A+E.length,a=h===A,o=f===d;return(!a&&o||a&&!o)&&(v==="forward"?f!==d&&f++:h!==A&&h--),{start:h,end:f}}};Y.exports=H},3713:function(Y){"use strict";var H={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1,draft_handlebeforeinput_composed_text:!1,draft_tree_data_support:!1};Y.exports=H},84740:function(Y,H,i){"use strict";var F=i(3713);Y.exports=F},9072:function(Y){"use strict";Y.exports={logSelectionStateFailure:function(){return null}}},65979:function(Y,H,i){"use strict";var F=i(11841),y=i(90891),E=i(84740),A=i(52724),v=i(36113),T=i(23345),w=i(60875),p=i(47529),s=i(83835),h=i(44083),f=i(52237),u=i(69146),d=i(58511),a=i(58862),o=A.OrderedSet,l={replaceText:function(k,c,b,N,O){var S=u(k,c),K=d(S,c),L=F.create({style:N||o(),entity:O||null});return s(K,K.getSelectionAfter(),b,L)},insertText:function(k,c,b,N,O){return c.isCollapsed()||h(!1),l.replaceText(k,c,b,N,O)},moveText:function(k,c,b){var N=w(k,c),O=l.removeRange(k,c,"backward");return l.replaceWithFragment(O,b,N)},replaceWithFragment:function(k,c,b){var N=u(k,c),O=d(N,c);return p(O,O.getSelectionAfter(),b)},removeRange:function(k,c,b){var N=void 0,O=void 0,S=void 0,K=void 0;c.getIsBackward()&&(c=c.merge({anchorKey:c.getFocusKey(),anchorOffset:c.getFocusOffset(),focusKey:c.getAnchorKey(),focusOffset:c.getAnchorOffset(),isBackward:!1})),N=c.getAnchorKey(),O=c.getFocusKey(),S=k.getBlockForKey(N),K=k.getBlockForKey(O);var L=c.getStartOffset(),D=c.getEndOffset(),B=S.getEntityAt(L),J=K.getEntityAt(D-1);if(N===O&&B&&B===J){var Q=T(k.getEntityMap(),S,K,c,b);return d(k,Q)}var G=c;E.draft_segmented_entities_behavior&&(G=T(k.getEntityMap(),S,K,c,b));var U=u(k,G);return d(U,G)},splitBlock:function(k,c){var b=u(k,c),N=d(b,c);return a(N,N.getSelectionAfter())},applyInlineStyle:function(k,c,b){return y.add(k,c,b)},removeInlineStyle:function(k,c,b){return y.remove(k,c,b)},setBlockType:function(k,c,b){return f(k,c,function(N){return N.merge({type:b,depth:0})})},setBlockData:function(k,c,b){return f(k,c,function(N){return N.merge({data:b})})},mergeBlockData:function(k,c,b){return f(k,c,function(N){return N.merge({data:N.getData().merge(b)})})},applyEntity:function(k,c,b){var N=u(k,c);return v(N,c,b)}};Y.exports=l},8130:function(Y){"use strict";var H="-",i={encode:function(y,E,A){return y+H+E+H+A},decode:function(y){var E=y.split(H),A=E[0],v=E[1],T=E[2];return{blockKey:A,decoratorKey:parseInt(v,10),leafKey:parseInt(T,10)}}};Y.exports=i},23962:function(Y,H,i){"use strict";var F=i(22767),y=F||function(x){for(var k=1;k<arguments.length;k++){var c=arguments[k];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(x[b]=c[b])}return x},E=i(11841),A=i(51653),v=i(42267),T=i(84740),w=i(52724),p=i(2966),s=i(8767),h=i(57567),f=i(27748),u=w.List,d=w.Repeat,a=T.draft_tree_data_support,o=a?v:A,l={processHTML:function(k,c){return p(k,h,c)},processText:function(k,c,b){return k.reduce(function(N,O,S){O=f(O);var K=s(),L={key:K,type:b,text:O,characterList:u(d(c,O.length))};if(a&&S!==0){var D=S-1,B=N[D]=N[D].merge({nextSibling:K});L=y({},L,{prevSibling:B.getKey()})}return N.push(new o(L)),N},[])}};Y.exports=l},14239:function(Y,H,i){"use strict";var F=i(35343),y=F.getPunctuation(),E="['\u2018\u2019]",A="\\s|(?![_])"+y,v="^(?:"+A+")*(?:"+E+"|(?!"+A+").)*(?:(?!"+A+").)",T=new RegExp(v),w="(?:(?!"+A+").)(?:"+E+"|(?!"+A+").)*(?:"+A+")*$",p=new RegExp(w);function s(f,u){var d=u?p.exec(f):T.exec(f);return d?d[0]:f}var h={getBackward:function(u){return s(u,!0)},getForward:function(u){return s(u,!1)}};Y.exports=h},78951:function(Y){"use strict";var H={stringify:function(F){return"_"+String(F)},unstringify:function(F){return F.slice(1)}};Y.exports=H},57456:function(Y,H,i){"use strict";var F=i(22767),y=F||function(p){for(var s=1;s<arguments.length;s++){var h=arguments[s];for(var f in h)Object.prototype.hasOwnProperty.call(h,f)&&(p[f]=h[f])}return p},E=i(44083),A=function(s,h){for(var f=[].concat(s).reverse();f.length;){var u=f.pop();h(u);var d=u.children;Array.isArray(d)||E(!1),f=f.concat([].concat(d.reverse()))}},v=function(s){if(!(s&&s.type))return!1;var h=s.type;return h==="unordered-list-item"||h==="ordered-list-item"},T=function(s){Array.isArray(s.children)&&(s.children=s.children.map(function(h){return h.type===s.type?y({},h,{depth:(s.depth||0)+1}):h}))},w={fromRawTreeStateToRawState:function(s){var h=s.blocks,f=[];return Array.isArray(h)||E(!1),!Array.isArray(h)||!h.length?s:(A(h,function(u){var d=y({},u);v(u)&&(d.depth=d.depth||0,T(u)),delete d.children,f.push(d)}),s.blocks=f,y({},s,{blocks:f}))},fromRawStateToRawTreeState:function(s){var h={},f=[];return s.blocks.forEach(function(u){var d=v(u),a=u.depth||0,o=y({},u,{children:[]});if(!d){h={},f.push(o);return}if(h[a]=o,a>0){var l=h[a-1];l||E(!1),l.children.push(o);return}f.push(o)}),y({},s,{blocks:f})}};Y.exports=w},29774:function(Y,H,i){"use strict";var F=i(52724),y=i(84720),E=i(17e3),A=F.OrderedMap,v,T={getDirectionMap:function(p,s){v?v.reset():v=new y;var h=p.getBlockMap(),f=h.valueSeq().map(function(d){return E(v).getDirection(d.getText())}),u=A(h.keySeq().zip(f));return s!=null&&F.is(s,u)?s:u}};Y.exports=T},91257:function(Y,H,i){"use strict";var F=i(22767),y=F||function(S){for(var K=1;K<arguments.length;K++){var L=arguments[K];for(var D in L)Object.prototype.hasOwnProperty.call(L,D)&&(S[D]=L[D])}return S};function E(S,K){if(!(S instanceof K))throw new TypeError("Cannot call a class as a function")}var A=i(64265),v=i(40709),T=i(29774),w=i(52724),p=i(29840),s=w.OrderedSet,h=w.Record,f=w.Stack,u={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()},d=h(u),a=function(){S.createEmpty=function(L){return S.createWithContent(v.createFromText(""),L)},S.createWithContent=function(L,D){var B=L.getBlockMap().first().getKey();return S.create({currentContent:L,undoStack:f(),redoStack:f(),decorator:D||null,selection:p.createEmpty(B)})},S.create=function(L){var D=L.currentContent,B=L.decorator,J=y({},L,{treeMap:l(D,B),directionMap:T.getDirectionMap(D)});return new S(new d(J))},S.set=function(L,D){var B=L.getImmutable().withMutations(function(J){var Q=J.get("decorator"),G=Q;D.decorator===null?G=null:D.decorator&&(G=D.decorator);var U=D.currentContent||L.getCurrentContent();if(G!==Q){var se=J.get("treeMap"),q;G&&Q?q=k(U,U.getBlockMap(),se,G,Q):q=l(U,G),J.merge({decorator:G,treeMap:q,nativelyRenderedContent:null});return}var he=L.getCurrentContent();U!==he&&J.set("treeMap",x(L,U.getBlockMap(),U.getEntityMap(),G)),J.merge(D)});return new S(B)},S.prototype.toJS=function(){return this.getImmutable().toJS()},S.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},S.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},S.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},S.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},S.prototype.getSelection=function(){return this.getImmutable().get("selection")},S.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},S.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},S.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},S.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},S.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},S.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},S.setInlineStyleOverride=function(L,D){return S.set(L,{inlineStyleOverride:D})},S.prototype.getCurrentInlineStyle=function(){var L=this.getInlineStyleOverride();if(L!=null)return L;var D=this.getCurrentContent(),B=this.getSelection();return B.isCollapsed()?b(D,B):N(D,B)},S.prototype.getBlockTree=function(L){return this.getImmutable().getIn(["treeMap",L])},S.prototype.isSelectionAtStartOfContent=function(){var L=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(L,0,0)},S.prototype.isSelectionAtEndOfContent=function(){var L=this.getCurrentContent(),D=L.getBlockMap(),B=D.last(),J=B.getLength();return this.getSelection().hasEdgeWithin(B.getKey(),J,J)},S.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},S.acceptSelection=function(L,D){return o(L,D,!1)},S.forceSelection=function(L,D){return D.getHasFocus()||(D=D.set("hasFocus",!0)),o(L,D,!0)},S.moveSelectionToEnd=function(L){var D=L.getCurrentContent(),B=D.getLastBlock(),J=B.getKey(),Q=B.getLength();return S.acceptSelection(L,new p({anchorKey:J,anchorOffset:Q,focusKey:J,focusOffset:Q,isBackward:!1}))},S.moveFocusToEnd=function(L){var D=S.moveSelectionToEnd(L);return S.forceSelection(D,D.getSelection())},S.push=function(L,D,B){if(L.getCurrentContent()===D)return L;var J=B!=="insert-characters",Q=T.getDirectionMap(D,L.getDirectionMap());if(!L.getAllowUndo())return S.set(L,{currentContent:D,directionMap:Q,lastChangeType:B,selection:D.getSelectionAfter(),forceSelection:J,inlineStyleOverride:null});var G=L.getSelection(),U=L.getCurrentContent(),se=L.getUndoStack(),q=D;G!==U.getSelectionAfter()||c(L,B)?(se=se.push(U),q=q.set("selectionBefore",G)):(B==="insert-characters"||B==="backspace-character"||B==="delete-character")&&(q=q.set("selectionBefore",U.getSelectionBefore()));var he=L.getInlineStyleOverride(),De=["adjust-depth","change-block-type","split-block"];De.indexOf(B)===-1&&(he=null);var ke={currentContent:q,directionMap:Q,undoStack:se,redoStack:f(),lastChangeType:B,selection:D.getSelectionAfter(),forceSelection:J,inlineStyleOverride:he};return S.set(L,ke)},S.undo=function(L){if(!L.getAllowUndo())return L;var D=L.getUndoStack(),B=D.peek();if(!B)return L;var J=L.getCurrentContent(),Q=T.getDirectionMap(B,L.getDirectionMap());return S.set(L,{currentContent:B,directionMap:Q,undoStack:D.shift(),redoStack:L.getRedoStack().push(J),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:J.getSelectionBefore()})},S.redo=function(L){if(!L.getAllowUndo())return L;var D=L.getRedoStack(),B=D.peek();if(!B)return L;var J=L.getCurrentContent(),Q=T.getDirectionMap(B,L.getDirectionMap());return S.set(L,{currentContent:B,directionMap:Q,undoStack:L.getUndoStack().push(J),redoStack:D.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:B.getSelectionAfter()})};function S(K){E(this,S),this._immutable=K}return S.prototype.getImmutable=function(){return this._immutable},S}();function o(S,K,L){return a.set(S,{selection:K,forceSelection:L,nativelyRenderedContent:null,inlineStyleOverride:null})}function l(S,K){return S.getBlockMap().map(function(L){return A.generate(S,L,K)}).toOrderedMap()}function x(S,K,L,D){var B=S.getCurrentContent().set("entityMap",L),J=B.getBlockMap(),Q=S.getImmutable().get("treeMap");return Q.merge(K.toSeq().filter(function(G,U){return G!==J.get(U)}).map(function(G){return A.generate(B,G,D)}))}function k(S,K,L,D,B){return L.merge(K.toSeq().filter(function(J){return D.getDecorations(J,S)!==B.getDecorations(J,S)}).map(function(J){return A.generate(S,J,D)}))}function c(S,K){var L=S.getLastChangeType();return K!==L||K!=="insert-characters"&&K!=="backspace-character"&&K!=="delete-character"}function b(S,K){var L=K.getStartKey(),D=K.getStartOffset(),B=S.getBlockForKey(L);return D>0?B.getInlineStyleAt(D-1):B.getLength()?B.getInlineStyleAt(0):O(S,L)}function N(S,K){var L=K.getStartKey(),D=K.getStartOffset(),B=S.getBlockForKey(L);return D<B.getLength()?B.getInlineStyleAt(D):D>0?B.getInlineStyleAt(D-1):O(S,L)}function O(S,K){var L=S.getBlockMap().reverse().skipUntil(function(D,B){return B===K}).skip(1).skipUntil(function(D,B){return D.getLength()}).first();return L?L.getInlineStyleAt(L.getLength()-1):s()}Y.exports=a},33572:function(Y,H,i){"use strict";var F=i(13567),y=F.isPlatform("Mac OS X"),E={isCtrlKeyCommand:function(v){return!!v.ctrlKey&&!v.altKey},isOptionKeyCommand:function(v){return y&&v.altKey},hasCommandModifier:function(v){return y?!!v.metaKey&&!v.altKey:E.isCtrlKeyCommand(v)}};Y.exports=E},20377:function(Y,H,i){"use strict";var F=i(65979),y=i(91257),E=i(29840),A=i(99966),v=i(17e3),T={currentBlockContainsLink:function(p){var s=p.getSelection(),h=p.getCurrentContent(),f=h.getEntityMap();return h.getBlockForKey(s.getAnchorKey()).getCharacterList().slice(s.getStartOffset(),s.getEndOffset()).some(function(u){var d=u.getEntity();return!!d&&f.__get(d).getType()==="LINK"})},getCurrentBlockType:function(p){var s=p.getSelection();return p.getCurrentContent().getBlockForKey(s.getStartKey()).getType()},getDataObjectForLinkURL:function(p){return{url:p.toString()}},handleKeyCommand:function(p,s){switch(s){case"bold":return T.toggleInlineStyle(p,"BOLD");case"italic":return T.toggleInlineStyle(p,"ITALIC");case"underline":return T.toggleInlineStyle(p,"UNDERLINE");case"code":return T.toggleCode(p);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return T.onBackspace(p);case"delete":case"delete-word":case"delete-to-end-of-block":return T.onDelete(p);default:return null}},insertSoftNewline:function(p){var s=F.insertText(p.getCurrentContent(),p.getSelection(),`
|
|
`,p.getCurrentInlineStyle(),null),h=y.push(p,s,"insert-characters");return y.forceSelection(h,s.getSelectionAfter())},onBackspace:function(p){var s=p.getSelection();if(!s.isCollapsed()||s.getAnchorOffset()||s.getFocusOffset())return null;var h=p.getCurrentContent(),f=s.getStartKey(),u=h.getBlockBefore(f);if(u&&u.getType()==="atomic"){var d=h.getBlockMap().delete(u.getKey()),a=h.merge({blockMap:d,selectionAfter:s});if(a!==h)return y.push(p,a,"remove-range")}var o=T.tryToRemoveBlockStyle(p);return o?y.push(p,o,"change-block-type"):null},onDelete:function(p){var s=p.getSelection();if(!s.isCollapsed())return null;var h=p.getCurrentContent(),f=s.getStartKey(),u=h.getBlockForKey(f),d=u.getLength();if(s.getStartOffset()<d)return null;var a=h.getBlockAfter(f);if(!a||a.getType()!=="atomic")return null;var o=s.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),l=F.removeRange(h,o,"forward");return l!==h?y.push(p,l,"remove-range"):null},onTab:function(p,s,h){var f=s.getSelection(),u=f.getAnchorKey();if(u!==f.getFocusKey())return s;var d=s.getCurrentContent(),a=d.getBlockForKey(u),o=a.getType();if(o!=="unordered-list-item"&&o!=="ordered-list-item")return s;p.preventDefault();var l=d.getBlockBefore(u);if(!l)return s;var x=l.getType();if(x!=="unordered-list-item"&&x!=="ordered-list-item")return s;var k=a.getDepth();if(!p.shiftKey&&k===h)return s;h=Math.min(l.getDepth()+1,h);var c=A(d,f,p.shiftKey?-1:1,h);return y.push(s,c,"adjust-depth")},toggleBlockType:function(p,s){var h=p.getSelection(),f=h.getStartKey(),u=h.getEndKey(),d=p.getCurrentContent(),a=h;if(f!==u&&h.getEndOffset()===0){var o=v(d.getBlockBefore(u));u=o.getKey(),a=a.merge({anchorKey:f,anchorOffset:h.getStartOffset(),focusKey:u,focusOffset:o.getLength(),isBackward:!1})}var l=d.getBlockMap().skipWhile(function(k,c){return c!==f}).reverse().skipWhile(function(k,c){return c!==u}).some(function(k){return k.getType()==="atomic"});if(l)return p;var x=d.getBlockForKey(f).getType()===s?"unstyled":s;return y.push(p,F.setBlockType(d,a,x),"change-block-type")},toggleCode:function(p){var s=p.getSelection(),h=s.getAnchorKey(),f=s.getFocusKey();return s.isCollapsed()||h!==f?T.toggleBlockType(p,"code-block"):T.toggleInlineStyle(p,"CODE")},toggleInlineStyle:function(p,s){var h=p.getSelection(),f=p.getCurrentInlineStyle();if(h.isCollapsed())return y.setInlineStyleOverride(p,f.has(s)?f.remove(s):f.add(s));var u=p.getCurrentContent(),d;return f.has(s)?d=F.removeInlineStyle(u,h,s):d=F.applyInlineStyle(u,h,s),y.push(p,d,"change-inline-style")},toggleLink:function(p,s,h){var f=F.applyEntity(p.getCurrentContent(),s,h);return y.push(p,f,"apply-entity")},tryToRemoveBlockStyle:function(p){var s=p.getSelection(),h=s.getAnchorOffset();if(s.isCollapsed()&&h===0){var f=s.getAnchorKey(),u=p.getCurrentContent(),d=u.getBlockForKey(f),a=u.getFirstBlock();if(d.getLength()>0&&d!==a)return null;var o=d.getType(),l=u.getBlockBefore(f);if(o==="code-block"&&l&&l.getType()==="code-block"&&l.getLength()!==0)return null;if(o!=="unstyled")return F.setBlockType(u,s,"unstyled")}return null}};Y.exports=T},84212:function(Y,H,i){"use strict";var F=i(65979),y=i(91257),E=i(60875),A=i(17e3),v=null,T={cut:function(p){var s=p.getCurrentContent(),h=p.getSelection(),f=null;if(h.isCollapsed()){var u=h.getAnchorKey(),d=s.getBlockForKey(u).getLength();if(d===h.getAnchorOffset())return p;f=h.set("focusOffset",d)}else f=h;f=A(f),v=E(s,f);var a=F.removeRange(s,f,"forward");return a===s?p:y.push(p,a,"remove-range")},paste:function(p){if(!v)return p;var s=F.replaceWithFragment(p.getCurrentContent(),p.getSelection(),v);return y.push(p,s,"insert-fragment")}};Y.exports=T},29840:function(Y,H,i){"use strict";function F(s,h){if(!(s instanceof h))throw new TypeError("Cannot call a class as a function")}function y(s,h){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:s}function E(s,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);s.prototype=Object.create(h&&h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(s,h):s.__proto__=h)}var A=i(52724),v=A.Record,T={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},w=v(T),p=function(s){E(h,s);function h(){return F(this,h),y(this,s.apply(this,arguments))}return h.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},h.prototype.getAnchorKey=function(){return this.get("anchorKey")},h.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},h.prototype.getFocusKey=function(){return this.get("focusKey")},h.prototype.getFocusOffset=function(){return this.get("focusOffset")},h.prototype.getIsBackward=function(){return this.get("isBackward")},h.prototype.getHasFocus=function(){return this.get("hasFocus")},h.prototype.hasEdgeWithin=function(u,d,a){var o=this.getAnchorKey(),l=this.getFocusKey();if(o===l&&o===u){var x=this.getStartOffset(),k=this.getEndOffset();return d<=k&&x<=a}if(u!==o&&u!==l)return!1;var c=u===o?this.getAnchorOffset():this.getFocusOffset();return d<=c&&a>=c},h.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},h.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},h.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},h.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},h.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},h.createEmpty=function(u){return new h({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1,hasFocus:!1})},h}(w);Y.exports=p},99966:function(Y){"use strict";function H(i,F,y,E){var A=F.getStartKey(),v=F.getEndKey(),T=i.getBlockMap(),w=T.toSeq().skipUntil(function(p,s){return s===A}).takeUntil(function(p,s){return s===v}).concat([[v,T.get(v)]]).map(function(p){var s=p.getDepth()+y;return s=Math.max(0,Math.min(s,E)),p.set("depth",s)});return T=T.merge(w),i.merge({blockMap:T,selectionBefore:F,selectionAfter:F})}Y.exports=H},58724:function(Y,H,i){"use strict";var F=i(11841);function y(E,A,v,T){for(var w=E.getCharacterList();A<v;)w=w.set(A,F.applyEntity(w.get(A),T)),A++;return E.set("characterList",w)}Y.exports=y},36113:function(Y,H,i){"use strict";var F=i(52724),y=i(58724);function E(A,v,T){var w=A.getBlockMap(),p=v.getStartKey(),s=v.getStartOffset(),h=v.getEndKey(),f=v.getEndOffset(),u=w.skipUntil(function(d,a){return a===p}).takeUntil(function(d,a){return a===h}).toOrderedMap().merge(F.OrderedMap([[h,w.get(h)]])).map(function(d,a){var o=a===p?s:0,l=a===h?f:d.getLength();return y(d,o,l,T)});return A.merge({blockMap:w.merge(u),selectionBefore:v,selectionAfter:v})}Y.exports=E},57788:function(Y,H,i){"use strict";var F=i(22767),y=F||function(a){for(var o=1;o<arguments.length;o++){var l=arguments[o];for(var x in l)Object.prototype.hasOwnProperty.call(l,x)&&(a[x]=l[x])}return a},E=i(51653),A=i(42267),v=i(78951),T=i(75842),w=i(48411),p=i(44083),s=function(o,l){return{key:o.getKey(),text:o.getText(),type:o.getType(),depth:o.getDepth(),inlineStyleRanges:w(o),entityRanges:T(o,l),data:o.getData().toObject()}},h=function(o,l,x,k){if(o instanceof E){x.push(s(o,l));return}o instanceof A||p(!1);var c=o.getParentKey(),b=k[o.getKey()]=y({},s(o,l),{children:[]});if(c){k[c].children.push(b);return}x.push(b)},f=function(o,l){var x=l.entityMap,k=[],c={},b={},N=0;return o.getBlockMap().forEach(function(O){O.findEntityRanges(function(S){return S.getEntity()!==null},function(S){var K=O.getEntityAt(S),L=v.stringify(K);b[L]||(b[L]=K,x[L]=""+N,N++)}),h(O,x,k,c)}),{blocks:k,entityMap:x}},u=function(o,l){var x=l.blocks,k=l.entityMap,c={};return Object.keys(k).forEach(function(b,N){var O=o.getEntity(v.unstringify(b));c[N]={type:O.getType(),mutability:O.getMutability(),data:O.getData()}}),{blocks:x,entityMap:c}},d=function(o){var l={entityMap:{},blocks:[]};return l=f(o,l),l=u(o,l),l};Y.exports=d},2966:function(Y,H,i){"use strict";var F=E||function(ue){for(var ie=1;ie<arguments.length;ie++){var ge=arguments[ie];for(var Ae in ge)Object.prototype.hasOwnProperty.call(ge,Ae)&&(ue[Ae]=ge[Ae])}return ue},y,E=i(22767);function A(ue,ie,ge){return ie in ue?Object.defineProperty(ue,ie,{value:ge,enumerable:!0,configurable:!0,writable:!0}):ue[ie]=ge,ue}var v=i(11841),T=i(51653),w=i(42267),p=i(50171),s=i(71094),h=i(84740),f=i(52724),u=i(52724),d=u.Set,a=i(26213),o=i(47471),l=i(8767),x=i(57567),k=i(44083),c=i(27748),b=h.draft_tree_data_support,N=f.List,O=f.OrderedSet,S=" ",K=" ",L=4,D=new RegExp("\r","g"),B=new RegExp(`
|
|
`,"g"),J=new RegExp(S,"g"),Q=new RegExp(" ?","g"),G=new RegExp("​?","g"),U=["bold","bolder","500","600","700","800","900"],se=["light","lighter","100","200","300","400"],q={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},he=(y={},A(y,o("public/DraftStyleDefault/depth0"),0),A(y,o("public/DraftStyleDefault/depth1"),1),A(y,o("public/DraftStyleDefault/depth2"),2),A(y,o("public/DraftStyleDefault/depth3"),3),A(y,o("public/DraftStyleDefault/depth4"),4),y),De=["className","href","rel","target","title"],ke=["alt","className","height","src","width"],$=void 0,Ie={text:"",inlines:[],entities:[],blocks:[]},Ue={children:N(),depth:0,key:"",type:""},He=function(ie,ge){return ie==="li"?ge==="ol"?"ordered-list-item":"unordered-list-item":null},We=function(ie){var ge=ie.get("unstyled").element,Ae=d([]);return ie.forEach(function(Se){Se.aliasedElements&&Se.aliasedElements.forEach(function(Te){Ae=Ae.add(Te)}),Ae=Ae.add(Se.element)}),Ae.filter(function(Se){return Se&&Se!==ge}).toArray().sort()},Xe=function(ie,ge,Ae){for(var Se=0;Se<Ae.length;Se++){var Te=Ae[Se](ie,ge);if(Te)return Te}return null},vt=function(ie,ge,Ae){var Se=Ae.filter(function(Te){return Te.element===ie||Te.wrapper===ie||Te.aliasedElements&&Te.aliasedElements.some(function(Fe){return Fe===ie})}).keySeq().toSet().toArray().sort();switch(Se.length){case 0:return"unstyled";case 1:return Se[0];default:return Xe(ie,ge,[He])||"unstyled"}},Et=function(ie,ge,Ae){var Se=q[ie];if(Se)Ae=Ae.add(Se).toOrderedSet();else if(ge instanceof HTMLElement){var Te=ge;Ae=Ae.withMutations(function(Fe){var Oe=Te.style.fontWeight,Ge=Te.style.fontStyle,Qe=Te.style.textDecoration;U.indexOf(Oe)>=0?Fe.add("BOLD"):se.indexOf(Oe)>=0&&Fe.remove("BOLD"),Ge==="italic"?Fe.add("ITALIC"):Ge==="normal"&&Fe.remove("ITALIC"),Qe==="underline"&&Fe.add("UNDERLINE"),Qe==="line-through"&&Fe.add("STRIKETHROUGH"),Qe==="none"&&(Fe.remove("UNDERLINE"),Fe.remove("STRIKETHROUGH"))}).toOrderedSet()}return Ae},ht=function(ie,ge,Ae){var Se=ie.text.slice(-1),Te=ge.text.slice(0,1);if(Se==="\r"&&Te==="\r"&&!Ae&&(ie.text=ie.text.slice(0,-1),ie.inlines.pop(),ie.entities.pop(),ie.blocks.pop()),Se==="\r"){if(ge.text===K||ge.text===`
|
|
`)return ie;(Te===K||Te===`
|
|
`)&&(ge.text=ge.text.slice(1),ge.inlines.shift(),ge.entities.shift())}return{text:ie.text+ge.text,inlines:ie.inlines.concat(ge.inlines),entities:ie.entities.concat(ge.entities),blocks:ie.blocks.concat(ge.blocks)}},je=function(ie,ge){return ge.some(function(Ae){return ie.indexOf("<"+Ae)!==-1})},gt=function(ie){ie instanceof HTMLAnchorElement||k(!1);var ge=ie.protocol;return ge==="http:"||ge==="https:"||ge==="mailto:"},Ze=function(ie){var ge=new Array(1);return ie&&(ge[0]=ie),F({},Ie,{text:K,inlines:[O()],entities:ge})},Tt=function(){return F({},Ie,{text:`
|
|
`,inlines:[O()],entities:new Array(1)})},At=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return F({},Ue,ie)},bt=function(ie,ge){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return{text:"\r",inlines:[O()],entities:new Array(1),blocks:[At({parent:Ae,key:l(),type:ie,depth:Math.max(0,Math.min(L,ge))})]}},Be=function(ie){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object.keys(he).some(function(Ae){ie.classList.contains(Ae)&&(ge=he[Ae])}),ge},rt=function ue(ie,ge,Ae,Se,Te,Fe,Oe,Ge,Qe,_e){var Re=$,lt=ge.nodeName.toLowerCase(),St=ie,Kt="unstyled",Ot=!1,It=Te&&vt(Te,Se,Ge),Qt=F({},Ie),Gt=null,ne=void 0;if(lt==="#text"){var de=ge.textContent,Ee=de.trim();if(Se&&Ee===""&&ge.parentElement){var Ce=ge.parentElement.nodeName.toLowerCase();if(Ce==="ol"||Ce==="ul")return{chunk:F({},Ie),entityMap:ie}}return Ee===""&&Te!=="pre"?{chunk:Ze(Qe),entityMap:ie}:(Te!=="pre"&&(de=de.replace(B,K)),$=lt,{chunk:{text:de,inlines:Array(de.length).fill(Ae),entities:Array(de.length).fill(Qe),blocks:[]},entityMap:ie})}if($=lt,lt==="br")return Re==="br"&&(!Te||It==="unstyled")?{chunk:bt("unstyled",Oe,_e),entityMap:ie}:{chunk:Tt(),entityMap:ie};if(lt==="img"&&ge instanceof HTMLImageElement&&ge.attributes.getNamedItem("src")&&ge.attributes.getNamedItem("src").value){var Le=ge,Ne={};ke.forEach(function(dt){var st=Le.getAttribute(dt);st&&(Ne[dt]=st)}),ge.textContent="\u{1F4F7}",Qe=s.__create("IMAGE","MUTABLE",Ne||{})}Ae=Et(lt,ge,Ae),(lt==="ul"||lt==="ol")&&(Se&&(Oe+=1),Se=lt),!b&<==="li"&&ge instanceof HTMLElement&&(Oe=Be(ge,Oe));var ft=vt(lt,Se,Ge),tt=Se&&Te==="li"&<==="li",yt=(!Te||b)&&Fe.indexOf(lt)!==-1;(tt||yt)&&(Qt=bt(ft,Oe,_e),ne=Qt.blocks[0].key,Te=lt,Ot=!b),tt&&(Kt=Se==="ul"?"unordered-list-item":"ordered-list-item");var qe=ge.firstChild;qe!=null&&(lt=qe.nodeName.toLowerCase());for(var xt=null;qe;){qe instanceof HTMLAnchorElement&&qe.href&>(qe)?function(){var dt=qe,st={};De.forEach(function(Wt){var jt=dt.getAttribute(Wt);jt&&(st[Wt]=jt)}),st.url=new a(dt.href).toString(),xt=s.__create("LINK","MUTABLE",st||{})}():xt=void 0;var it=ue(St,qe,Ae,Se,Te,Fe,Oe,Ge,xt||Qe,b?ne:null),Ct=it.chunk,$e=it.entityMap;Gt=Ct,St=$e,Qt=ht(Qt,Gt,b);var ut=qe.nextSibling;!_e&&ut&&Fe.indexOf(lt)>=0&&Te&&(Qt=ht(Qt,Tt())),ut&&(lt=ut.nodeName.toLowerCase()),qe=ut}return Ot&&(Qt=ht(Qt,bt(Kt,Oe,_e))),{chunk:Qt,entityMap:St}},Pt=function(ie,ge,Ae,Se){ie=ie.trim().replace(D,"").replace(J,K).replace(Q,"").replace(G,"");var Te=We(Ae),Fe=ge(ie);if(!Fe)return null;$=null;var Oe=je(ie,Te)?Te:["div"],Ge=rt(Se,Fe,O(),"ul",null,Oe,-1,Ae),Qe=Ge.chunk,_e=Ge.entityMap;return Qe.text.indexOf("\r")===0&&(Qe={text:Qe.text.slice(1),inlines:Qe.inlines.slice(1),entities:Qe.entities.slice(1),blocks:Qe.blocks}),Qe.text.slice(-1)==="\r"&&(Qe.text=Qe.text.slice(0,-1),Qe.inlines=Qe.inlines.slice(0,-1),Qe.entities=Qe.entities.slice(0,-1),Qe.blocks.pop()),Qe.blocks.length===0&&Qe.blocks.push(F({},Ie,{type:"unstyled",depth:0})),Qe.text.split("\r").length===Qe.blocks.length+1&&Qe.blocks.unshift({type:"unstyled",depth:0}),{chunk:Qe,entityMap:_e}},nn=function(ie){if(!ie||!ie.text||!Array.isArray(ie.blocks))return null;var ge={cacheRef:{},contentBlocks:[]},Ae=0,Se=ie.blocks,Te=ie.inlines,Fe=ie.entities,Oe=b?w:T;return ie.text.split("\r").reduce(function(Ge,Qe,_e){Qe=c(Qe);var Re=Se[_e],lt=Ae+Qe.length,St=Te.slice(Ae,lt),Kt=Fe.slice(Ae,lt),Ot=N(St.map(function(yt,qe){var xt={style:yt,entity:null};return Kt[qe]&&(xt.entity=Kt[qe]),v.create(xt)}));Ae=lt+1;var It=Re.depth,Qt=Re.type,Gt=Re.parent,ne=Re.key||l(),de=null;if(Gt){var Ee=Ge.cacheRef[Gt],Ce=Ge.contentBlocks[Ee];if(Ce.getChildKeys().isEmpty()&&Ce.getText()){var Le=Ce.getCharacterList(),Ne=Ce.getText();de=l();var ft=new w({key:de,text:Ne,characterList:Le,parent:Gt,nextSibling:ne});Ge.contentBlocks.push(ft),Ce=Ce.withMutations(function(yt){yt.set("characterList",N()).set("text","").set("children",Ce.children.push(ft.getKey()))})}Ge.contentBlocks[Ee]=Ce.set("children",Ce.children.push(ne))}var tt=new Oe({key:ne,parent:Gt,type:Qt,depth:It,text:Qe,characterList:Ot,prevSibling:de||(_e===0||Se[_e-1].parent!==Gt?null:Se[_e-1].key),nextSibling:_e===Se.length-1||Se[_e+1].parent!==Gt?null:Se[_e+1].key});return Ge.contentBlocks.push(tt),Ge.cacheRef[tt.key]=_e,Ge},ge).contentBlocks},Ke=function(ie){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:x,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p,Se=Pt(ie,ge,Ae,s);if(Se==null)return null;var Te=Se.chunk,Fe=Se.entityMap,Oe=nn(Te);return{contentBlocks:Oe,entityMap:Fe}};Y.exports=Ke},47711:function(Y,H,i){"use strict";var F=i(22767),y=F||function(Q){for(var G=1;G<arguments.length;G++){var U=arguments[G];for(var se in U)Object.prototype.hasOwnProperty.call(U,se)&&(Q[se]=U[se])}return Q},E=i(51653),A=i(42267),v=i(40709),T=i(71094),w=i(84740),p=i(57456),s=i(52724),h=i(29840),f=i(50467),u=i(94927),d=i(94949),a=i(8767),o=i(44083),l=w.draft_tree_data_support,x=s.List,k=s.Map,c=s.OrderedMap,b=function(G,U){var se=G.key,q=G.type,he=G.data,De=G.text,ke=G.depth,$={text:De,depth:ke||0,type:q||"unstyled",key:se||a(),data:k(he),characterList:N(G,U)};return $},N=function(G,U){var se=G.text,q=G.entityRanges,he=G.inlineStyleRanges,De=q||[],ke=he||[];return f(d(se,ke),u(se,De.filter(function($){return U.hasOwnProperty($.key)}).map(function($){return y({},$,{key:U[$.key]})})))},O=function(G){return y({},G,{key:G.key||a()})},S=function(G,U,se){var q=U.map(function(he){return y({},he,{parentRef:se})});return G.concat(q.reverse())},K=function(G,U){return G.map(O).reduce(function(se,q,he){Array.isArray(q.children)||o(!1);var De=q.children.map(O),ke=new A(y({},b(q,U),{prevSibling:he===0?null:G[he-1].key,nextSibling:he===G.length-1?null:G[he+1].key,children:x(De.map(function(ht){return ht.key}))}));se=se.set(ke.getKey(),ke);for(var $=S([],De,ke);$.length>0;){var Ie=$.pop(),Ue=Ie.parentRef,He=Ue.getChildKeys(),We=He.indexOf(Ie.key),Xe=Array.isArray(Ie.children);if(!Xe){Xe||o(!1);break}var vt=Ie.children.map(O),Et=new A(y({},b(Ie,U),{parent:Ue.getKey(),children:x(vt.map(function(ht){return ht.key})),prevSibling:We===0?null:He.get(We-1),nextSibling:We===He.size-1?null:He.get(We+1)}));se=se.set(Et.getKey(),Et),$=S($,vt,Et)}return se},c())},L=function(G,U){return c(G.map(function(se){var q=new E(b(se,U));return[q.getKey(),q]}))},D=function(G,U){var se=Array.isArray(G.blocks[0].children),q=l&&!se?p.fromRawStateToRawTreeState(G).blocks:G.blocks;return l?K(q,U):L(se?p.fromRawTreeStateToRawState(G).blocks:q,U)},B=function(G){var U=G.entityMap,se={};return Object.keys(U).forEach(function(q){var he=U[q],De=he.type,ke=he.mutability,$=he.data;se[q]=T.__create(De,ke,$||{})}),se},J=function(G){Array.isArray(G.blocks)||o(!1);var U=B(G),se=D(G,U),q=se.isEmpty()?new h:h.createEmpty(se.first().getKey());return new v({blockMap:se,entityMap:U,selectionBefore:q,selectionAfter:q})};Y.exports=J},50467:function(Y,H,i){"use strict";var F=i(11841),y=i(52724),E=y.List;function A(v,T){var w=v.map(function(p,s){var h=T[s];return F.create({style:p,entity:h})});return E(w)}Y.exports=A},94927:function(Y,H,i){"use strict";var F=i(11568),y=F.substr;function E(A,v){var T=Array(A.length).fill(null);return v&&v.forEach(function(w){for(var p=y(A,0,w.offset).length,s=p+y(A,w.offset,w.length).length,h=p;h<s;h++)T[h]=w.key}),T}Y.exports=E},94949:function(Y,H,i){"use strict";var F=i(52724),y=F.OrderedSet,E=i(11568),A=E.substr,v=y();function T(w,p){var s=Array(w.length).fill(v);return p&&p.forEach(function(h){for(var f=A(w,0,h.offset).length,u=f+A(w,h.offset,h.length).length;f<u;)s[f]=s[f].add(h.style),f++}),s}Y.exports=T},19967:function(Y,H,i){"use strict";var F=i(64265),y=i(65979),E=i(91257),A=i(13567),v=i(32498),T=i(18050),w=i(2523),p=i(17e3),s=i(67241),h="'",f="/",u=A.isBrowser("Firefox");function d(l){return u&&(l==h||l==f)}function a(l,x,k,c){var b=y.replaceText(l.getCurrentContent(),l.getSelection(),x,k,c);return E.push(l,b,"insert-characters")}function o(l,x){l._pendingStateFromBeforeInput!==void 0&&(l.update(l._pendingStateFromBeforeInput),l._pendingStateFromBeforeInput=void 0);var k=l._latestEditorState,c=x.data;if(c){if(l.props.handleBeforeInput&&T(l.props.handleBeforeInput(c,k))){x.preventDefault();return}var b=k.getSelection(),N=b.getStartOffset(),O=b.getEndOffset(),S=b.getAnchorKey();if(!b.isCollapsed()){x.preventDefault();var K=k.getCurrentContent().getPlainText().slice(N,O);c===K?l.update(E.forceSelection(k,b.merge({focusOffset:O}))):l.update(a(k,c,k.getCurrentInlineStyle(),v(k.getCurrentContent(),k.getSelection())));return}var L=a(k,c,k.getCurrentInlineStyle(),v(k.getCurrentContent(),k.getSelection())),D=!1;if(D||(D=w(l._latestCommittedEditorState)),!D){var B=i.g.getSelection();if(B.anchorNode&&B.anchorNode.nodeType===Node.TEXT_NODE){var J=B.anchorNode.parentNode;D=J.nodeName==="SPAN"&&J.firstChild.nodeType===Node.TEXT_NODE&&J.firstChild.nodeValue.indexOf(" ")!==-1}}if(!D){var Q=F.getFingerprint(k.getBlockTree(S)),G=F.getFingerprint(L.getBlockTree(S));D=Q!==G}if(D||(D=d(c)),D||(D=p(L.getDirectionMap()).get(S)!==p(k.getDirectionMap()).get(S)),D){x.preventDefault(),l.update(L);return}L=E.set(L,{nativelyRenderedContent:L.getCurrentContent()}),l._pendingStateFromBeforeInput=L,s(function(){l._pendingStateFromBeforeInput!==void 0&&(l.update(l._pendingStateFromBeforeInput),l._pendingStateFromBeforeInput=void 0)})}}Y.exports=o},10187:function(Y,H,i){"use strict";var F=i(91257),y=i(29558),E=i(21026);function A(v,T){if(E()===document.body){var w=i.g.getSelection(),p=v.editor;w.rangeCount===1&&y(p,w.anchorNode)&&y(p,w.focusNode)&&w.removeAllRanges()}var s=v._latestEditorState,h=s.getSelection();if(h.getHasFocus()){var f=h.set("hasFocus",!1);v.props.onBlur&&v.props.onBlur(T),v.update(F.acceptSelection(s,f))}}Y.exports=A},15238:function(Y,H,i){"use strict";var F=i(91257);function y(E,A){E.setMode("composite"),E.update(F.set(E._latestEditorState,{inCompositionMode:!0})),E._onCompositionStart(A)}Y.exports=y},74869:function(Y,H,i){"use strict";var F=i(53866);function y(E,A){var v=E._latestEditorState,T=v.getSelection();if(T.isCollapsed()){A.preventDefault();return}E.setClipboard(F(E._latestEditorState))}Y.exports=y},52465:function(Y,H,i){"use strict";var F=i(65979),y=i(91257),E=i(68520),A=i(53866),v=i(56182);function T(p,s){var h=p._latestEditorState,f=h.getSelection(),u=s.target,d=void 0;if(f.isCollapsed()){s.preventDefault();return}u instanceof Node&&(d=v(E.getScrollParent(u)));var a=A(h);p.setClipboard(a),p.setMode("cut"),setTimeout(function(){p.restoreEditorDOM(d),p.exitCurrentMode(),p.update(w(h))},0)}function w(p){var s=F.removeRange(p.getCurrentContent(),p.getSelection(),"forward");return y.push(p,s,"remove-range")}Y.exports=T},27803:function(Y){"use strict";function H(i,F){i._internalDrag=!1,i.setMode("drag"),F.preventDefault()}Y.exports=H},37040:function(Y){"use strict";function H(i){i._internalDrag=!0,i.setMode("drag")}Y.exports=H},11452:function(Y,H,i){"use strict";var F=i(91257),y=i(13567);function E(A,v){var T=A._latestEditorState,w=T.getSelection();if(!w.getHasFocus()){var p=w.set("hasFocus",!0);A.props.onFocus&&A.props.onFocus(v),y.isBrowser("Chrome < 60.0.3081.0")?A.update(F.forceSelection(T,p)):A.update(F.acceptSelection(T,p))}}Y.exports=E},63688:function(Y,H,i){"use strict";var F=i(84740),y=i(65979),E=i(8130),A=i(91257),v=i(13567),T=i(54592),w=i(17e3),p=v.isEngine("Gecko"),s=`
|
|
|
|
`;function h(f){f._pendingStateFromBeforeInput!==void 0&&(f.update(f._pendingStateFromBeforeInput),f._pendingStateFromBeforeInput=void 0);var u=i.g.getSelection(),d=u.anchorNode,a=u.isCollapsed,o=d.nodeType!==Node.TEXT_NODE,l=d.nodeType!==Node.TEXT_NODE&&d.nodeType!==Node.ELEMENT_NODE;if(F.draft_killswitch_allow_nontextnodes){if(o)return}else if(l)return;if(d.nodeType===Node.TEXT_NODE&&(d.previousSibling!==null||d.nextSibling!==null)){var x=d.parentNode;d.nodeValue=x.textContent;for(var k=x.firstChild;k!==null;k=k.nextSibling)k!==d&&x.removeChild(k)}var c=d.textContent,b=f._latestEditorState,N=w(T(d)),O=E.decode(N),S=O.blockKey,K=O.decoratorKey,L=O.leafKey,D=b.getBlockTree(S).getIn([K,"leaves",L]),B=D.start,J=D.end,Q=b.getCurrentContent(),G=Q.getBlockForKey(S),U=G.getText().slice(B,J);if(c.endsWith(s)&&(c=c.slice(0,-1)),c!==U){var se=b.getSelection(),q=se.merge({anchorOffset:B,focusOffset:J,isBackward:!1}),he=G.getEntityAt(B),De=he&&Q.getEntity(he),ke=De&&De.getMutability(),$=ke==="MUTABLE",Ie=$?"spellcheck-change":"apply-entity",Ue=y.replaceText(Q,q,c,G.getInlineStyleAt(B),$?G.getEntityAt(B):null),He,We,Xe,vt;if(p)He=u.anchorOffset,We=u.focusOffset,Xe=B+Math.min(He,We),vt=Xe+Math.abs(He-We),He=Xe,We=vt;else{var Et=c.length-U.length;Xe=se.getStartOffset(),vt=se.getEndOffset(),He=a?vt+Et:Xe,We=vt+Et}var ht=Ue.merge({selectionBefore:Q.getSelectionAfter(),selectionAfter:se.merge({anchorOffset:He,focusOffset:We})});f.update(A.push(b,ht,Ie))}}Y.exports=h},58772:function(Y,H,i){"use strict";var F=i(65979),y=i(91257),E=i(33572),A=i(16803),v=i(84212),T=i(13567),w=i(18050),p=i(73875),s=i(3233),h=i(26199),f=i(61937),u=i(88820),d=i(74347),a=i(36642),o=i(52778),l=i(8057),x=i(76169),k=E.isOptionKeyCommand,c=T.isBrowser("Chrome");function b(O,S){switch(O){case"redo":return y.redo(S);case"delete":return o(S);case"delete-word":return h(S);case"backspace":return a(S);case"backspace-word":return s(S);case"backspace-to-start-of-line":return p(S);case"split-block":return f(S);case"transpose-characters":return l(S);case"move-selection-to-start-of-block":return d(S);case"move-selection-to-end-of-block":return u(S);case"secondary-cut":return v.cut(S);case"secondary-paste":return v.paste(S);default:return S}}function N(O,S){var K=S.which,L=O._latestEditorState;switch(K){case A.RETURN:if(S.preventDefault(),O.props.handleReturn&&w(O.props.handleReturn(S,L)))return;break;case A.ESC:S.preventDefault(),O.props.onEscape&&O.props.onEscape(S);return;case A.TAB:O.props.onTab&&O.props.onTab(S);return;case A.UP:O.props.onUpArrow&&O.props.onUpArrow(S);return;case A.RIGHT:O.props.onRightArrow&&O.props.onRightArrow(S);return;case A.DOWN:O.props.onDownArrow&&O.props.onDownArrow(S);return;case A.LEFT:O.props.onLeftArrow&&O.props.onLeftArrow(S);return;case A.SPACE:if(c&&k(S)){S.preventDefault();var D=F.replaceText(L.getCurrentContent(),L.getSelection(),"\xA0");O.update(y.push(L,D,"insert-characters"));return}}var B=O.props.keyBindingFn(S);if(B){if(B==="undo"){x(S,L,O.update);return}if(S.preventDefault(),!(O.props.handleKeyCommand&&w(O.props.handleKeyCommand(B,L)))){var J=b(B,L);J!==L&&O.update(J)}}}Y.exports=N},72958:function(Y,H,i){"use strict";var F=i(94849),y=i(11841),E=i(8768),A=i(65979),v=i(23962),T=i(91257),w=i(20377),p=i(32498),s=i(45398),h=i(18050),f=i(14478);function u(o,l){l.preventDefault();var x=new E(l.clipboardData);if(!x.isRichText()){var k=x.getFiles(),c=x.getText();if(k.length>0){if(o.props.handlePastedFiles&&h(o.props.handlePastedFiles(k)))return;s(k,function(q){if(q=q||c,!!q){var he=o._latestEditorState,De=f(q),ke=y.create({style:he.getCurrentInlineStyle(),entity:p(he.getCurrentContent(),he.getSelection())}),$=w.getCurrentBlockType(he),Ie=v.processText(De,ke,$),Ue=F.createFromArray(Ie),He=A.replaceWithFragment(he.getCurrentContent(),he.getSelection(),Ue);o.update(T.push(he,He,"insert-fragment"))}});return}}var b=[],N=x.getText(),O=x.getHTML(),S=o._latestEditorState;if(!(o.props.handlePastedText&&h(o.props.handlePastedText(N,O,S)))){if(N&&(b=f(N)),!o.props.stripPastedStyles){var K=o.getClipboard();if(x.isRichText()&&K){if(O.indexOf(o.getEditorKey())!==-1||b.length===1&&K.size===1&&K.first().getText()===N){o.update(d(o._latestEditorState,K));return}}else if(K&&x.types.includes("com.apple.webarchive")&&!x.types.includes("text/html")&&a(b,K)){o.update(d(o._latestEditorState,K));return}if(O){var L=v.processHTML(O,o.props.blockRenderMap);if(L){var D=L.contentBlocks,B=L.entityMap;if(D){var J=F.createFromArray(D);o.update(d(o._latestEditorState,J,B));return}}}o.setClipboard(null)}if(b.length){var Q=y.create({style:S.getCurrentInlineStyle(),entity:p(S.getCurrentContent(),S.getSelection())}),G=w.getCurrentBlockType(S),U=v.processText(b,Q,G),se=F.createFromArray(U);o.update(d(o._latestEditorState,se))}}}function d(o,l,x){var k=A.replaceWithFragment(o.getCurrentContent(),o.getSelection(),l);return T.push(o,k.set("entityMap",x),"insert-fragment")}function a(o,l){return o.length===l.size&&l.valueSeq().every(function(x,k){return x.getText()===o[k]})}Y.exports=u},5218:function(Y,H,i){"use strict";var F=i(91257),y=i(10422),E=i(48173),A=i(44083);function v(T){if(!(T._blockSelectEvents||T._latestEditorState!==T.props.editorState)){var w=T.props.editorState,p=y.findDOMNode(T.editorContainer);p||A(!1),p.firstChild instanceof HTMLElement||A(!1);var s=E(w,p.firstChild),h=s.selectionState;h!==w.getSelection()&&(s.needsRecovery?w=F.forceSelection(w,h):w=F.acceptSelection(w,h),T.update(w))}}Y.exports=v},75842:function(Y,H,i){"use strict";var F=i(78951),y=i(11568),E=y.strlen;function A(v,T){var w=[];return v.findEntityRanges(function(p){return!!p.getEntity()},function(p,s){var h=v.getText(),f=v.getEntityAt(p);w.push({offset:E(h.slice(0,p)),length:E(h.slice(p,s)),key:Number(T[F.stringify(f)])})}),w}Y.exports=A},48411:function(Y,H,i){"use strict";var F=i(11568),y=i(50125),E=function(s,h){return s===h},A=function(s){return!!s},v=[];function T(p,s,h){var f=[],u=s.map(function(d){return d.has(h)}).toList();return y(u,E,A,function(d,a){var o=p.getText();f.push({offset:F.strlen(o.slice(0,d)),length:F.strlen(o.slice(d,a)),style:h})}),f}function w(p){var s=p.getCharacterList().map(function(f){return f.getStyle()}).toList(),h=s.flatten().toSet().map(function(f){return T(p,s,f)});return Array.prototype.concat.apply(v,h.toJS())}Y.exports=w},17467:function(Y,H,i){"use strict";var F=i(11568),y=i(48593),E=i(44083);function A(p){var s=getComputedStyle(p),h=document.createElement("div");h.style.fontFamily=s.fontFamily,h.style.fontSize=s.fontSize,h.style.fontStyle=s.fontStyle,h.style.fontWeight=s.fontWeight,h.style.lineHeight=s.lineHeight,h.style.position="absolute",h.textContent="M";var f=document.body;f||E(!1),f.appendChild(h);var u=h.getBoundingClientRect();return f.removeChild(h),u.height}function v(p,s){for(var h=1/0,f=1/0,u=-1/0,d=-1/0,a=0;a<p.length;a++){var o=p[a];o.width===0||o.width===1||(h=Math.min(h,o.top),f=Math.min(f,o.bottom),u=Math.max(u,o.top),d=Math.max(d,o.bottom))}return u<=f&&u-h<s&&d-f<s}function T(p){switch(p.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return p.length;default:return p.childNodes.length}}function w(p){p.collapsed||E(!1),p=p.cloneRange();var s=p.startContainer;s.nodeType!==1&&(s=s.parentNode);var h=A(s),f=p.endContainer,u=p.endOffset;for(p.setStart(p.startContainer,0);v(y(p),h)&&(f=p.startContainer,u=p.startOffset,f.parentNode||E(!1),p.setStartBefore(f),!(f.nodeType===1&&getComputedStyle(f).display!=="inline")););var d=f,a=u-1;do{for(var o=d.nodeValue,l=a;l>=0;l--)if(!(o!=null&&l>0&&F.isSurrogatePair(o,l-1)))if(p.setStart(d,l),v(y(p),h))f=d,u=l;else break;if(l===-1||d.childNodes.length===0)break;d=d.childNodes[l],a=T(d)}while(!0);return p.setStart(f,u),p}Y.exports=w},54592:function(Y,H,i){"use strict";var F=i(51418);function y(E){for(var A=E;A&&A!==document.documentElement;){var v=F(A);if(v!=null)return v;A=A.parentNode}return null}Y.exports=y},50125:function(Y){"use strict";function H(i,F,y,E){if(i.size){var A=0;i.reduce(function(v,T,w){return F(v,T)||(y(v)&&E(A,w),A=w),T}),y(i.last())&&E(A,i.count())}}Y.exports=H},8767:function(Y){"use strict";var H={},i=Math.pow(2,24);function F(){for(var y=void 0;y===void 0||H.hasOwnProperty(y)||!isNaN(+y);)y=Math.floor(Math.random()*i).toString(32);return H[y]=!0,y}Y.exports=F},23345:function(Y,H,i){"use strict";var F=i(68568),y=i(32141),E=i(44083);function A(T,w,p,s,h){var f=s.getStartOffset(),u=s.getEndOffset(),d=w.getEntityAt(f),a=p.getEntityAt(u-1);if(!d&&!a)return s;var o=s;if(d&&d===a)o=v(T,w,o,h,d,!0,!0);else if(d&&a){var l=v(T,w,o,h,d,!1,!0),x=v(T,p,o,h,a,!1,!1);o=o.merge({anchorOffset:l.getAnchorOffset(),focusOffset:x.getFocusOffset(),isBackward:!1})}else if(d){var k=v(T,w,o,h,d,!1,!0);o=o.merge({anchorOffset:k.getStartOffset(),isBackward:!1})}else if(a){var c=v(T,p,o,h,a,!1,!1);o=o.merge({focusOffset:c.getEndOffset(),isBackward:!1})}return o}function v(T,w,p,s,h,f,u){var d=p.getStartOffset(),a=p.getEndOffset(),o=T.__get(h),l=o.getMutability(),x=u?d:a;if(l==="MUTABLE")return p;var k=y(w,h).filter(function(N){return x<=N.end&&x>=N.start});k.length!=1&&E(!1);var c=k[0];if(l==="IMMUTABLE")return p.merge({anchorOffset:c.start,focusOffset:c.end,isBackward:!1});f||(u?a=c.end:d=c.start);var b=F.getRemovalRange(d,a,w.getText().slice(c.start,c.end),c.start,s);return p.merge({anchorOffset:b.start,focusOffset:b.end,isBackward:!1})}Y.exports=A},60875:function(Y,H,i){"use strict";var F=i(81931),y=i(69146),E=function(v,T){var w=T.getStartKey(),p=T.getStartOffset(),s=T.getEndKey(),h=T.getEndOffset(),f=y(v,T),u=f.getBlockMap(),d=u.keySeq(),a=d.indexOf(w),o=d.indexOf(s)+1;return F(u.slice(a,o).map(function(l,x){var k=l.getText(),c=l.getCharacterList();return w===s?l.merge({text:k.slice(p,h),characterList:c.slice(p,h)}):x===w?l.merge({text:k.slice(p),characterList:c.slice(p)}):x===s?l.merge({text:k.slice(0,h),characterList:c.slice(0,h)}):l}))};Y.exports=E},58742:function(Y,H,i){"use strict";var F=i(33572),y=i(16803),E=i(13567),A=E.isPlatform("Mac OS X"),v=E.isPlatform("Windows"),T=A&&E.isBrowser("Firefox < 29"),w=F.hasCommandModifier,p=F.isCtrlKeyCommand;function s(a){return A&&a.altKey||p(a)}function h(a){return w(a)?a.shiftKey?"redo":"undo":null}function f(a){return v&&a.shiftKey?null:s(a)?"delete-word":"delete"}function u(a){return w(a)&&A?"backspace-to-start-of-line":s(a)?"backspace-word":"backspace"}function d(a){switch(a.keyCode){case 66:return w(a)?"bold":null;case 68:return p(a)?"delete":null;case 72:return p(a)?"backspace":null;case 73:return w(a)?"italic":null;case 74:return w(a)?"code":null;case 75:return!v&&p(a)?"secondary-cut":null;case 77:return p(a)?"split-block":null;case 79:return p(a)?"split-block":null;case 84:return A&&p(a)?"transpose-characters":null;case 85:return w(a)?"underline":null;case 87:return A&&p(a)?"backspace-word":null;case 89:return p(a)?v?"redo":"secondary-paste":null;case 90:return h(a)||null;case y.RETURN:return"split-block";case y.DELETE:return f(a);case y.BACKSPACE:return u(a);case y.LEFT:return T&&w(a)?"move-selection-to-start-of-block":null;case y.RIGHT:return T&&w(a)?"move-selection-to-end-of-block":null;default:return null}}Y.exports=d},48173:function(Y,H,i){"use strict";var F=i(13261);function y(E,A){var v=i.g.getSelection();return v.rangeCount===0?{selectionState:E.getSelection().set("hasFocus",!1),needsRecovery:!1}:F(E,A,v.anchorNode,v.anchorOffset,v.focusNode,v.focusOffset)}Y.exports=y},13261:function(Y,H,i){"use strict";var F=i(54592),y=i(51418),E=i(68759),A=i(44083),v=i(17e3);function T(f,u,d,a,o,l){var x=d.nodeType===Node.TEXT_NODE,k=o.nodeType===Node.TEXT_NODE;if(x&&k)return{selectionState:E(f,v(F(d)),a,v(F(o)),l),needsRecovery:!1};var c=null,b=null,N=!0;return x?(c={key:v(F(d)),offset:a},b=s(u,o,l)):k?(b={key:v(F(o)),offset:l},c=s(u,d,a)):(c=s(u,d,a),b=s(u,o,l),d===o&&a===l&&(N=!!d.firstChild&&d.firstChild.nodeName!=="BR")),{selectionState:E(f,c.key,c.offset,b.key,b.offset),needsRecovery:N}}function w(f){for(;f.firstChild&&(f.firstChild instanceof Element&&f.firstChild.getAttribute("data-blocks")==="true"||y(f.firstChild));)f=f.firstChild;return f}function p(f){for(;f.lastChild&&(f.lastChild instanceof Element&&f.lastChild.getAttribute("data-blocks")==="true"||y(f.lastChild));)f=f.lastChild;return f}function s(f,u,d){var a=u,o=F(a);if(o!=null||f&&(f===a||f.firstChild===a)||A(!1),f===a&&(a=a.firstChild,a instanceof Element&&a.getAttribute("data-contents")==="true"||A(!1),d>0&&(d=a.childNodes.length)),d===0){var l=null;if(o!=null)l=o;else{var x=w(a);l=v(y(x))}return{key:l,offset:0}}var k=a.childNodes[d-1],c=null,b=null;if(!y(k))c=v(o),b=h(k);else{var N=p(k);c=v(y(N)),b=h(N)}return{key:c,offset:b}}function h(f){var u=f.textContent;return u===`
|
|
`?0:u.length}Y.exports=T},32498:function(Y){"use strict";function H(F,y){var E;if(y.isCollapsed()){var A=y.getAnchorKey(),v=y.getAnchorOffset();return v>0?(E=F.getBlockForKey(A).getEntityAt(v-1),E!==F.getBlockForKey(A).getEntityAt(v)?null:i(F.getEntityMap(),E)):null}var T=y.getStartKey(),w=y.getStartOffset(),p=F.getBlockForKey(T);return E=w===p.getLength()?null:p.getEntityAt(w),i(F.getEntityMap(),E)}function i(F,y){if(y){var E=F.__get(y);return E.getMutability()==="MUTABLE"?y:null}return null}Y.exports=H},53866:function(Y,H,i){"use strict";var F=i(60875);function y(E){var A=E.getSelection();return A.isCollapsed()?null:F(E.getCurrentContent(),A)}Y.exports=y},49448:function(Y,H,i){"use strict";var F=i(42267),y=function(A,v){var T=A instanceof F;if(!T)return null;var w=A.getNextSiblingKey();if(w)return w;var p=A.getParentKey();if(!p)return null;for(var s=v.get(p);s&&!s.getNextSiblingKey();){var h=s.getParentKey();s=h?v.get(h):null}return s?s.getNextSiblingKey():null};Y.exports=y},73981:function(Y,H,i){"use strict";var F=i(48593);function y(E){var A=F(E),v=0,T=0,w=0,p=0;if(A.length){if(A.length>1&&A[0].width===0){var s=A[1];v=s.top,T=s.right,w=s.bottom,p=s.left}else{var h=A[0];v=h.top,T=h.right,w=h.bottom,p=h.left}for(var f=1;f<A.length;f++){var u=A[f];u.height!==0&&u.width!==0&&(v=Math.min(v,u.top),T=Math.max(T,u.right),w=Math.max(w,u.bottom),p=Math.min(p,u.left))}}return{top:v,right:T,bottom:w,left:p,width:T-p,height:w-v}}Y.exports=y},48593:function(Y,H,i){"use strict";var F=i(13567),y=i(44083),E=F.isBrowser("Chrome");function A(T){for(var w=T.cloneRange(),p=[],s=T.endContainer;s!=null;s=s.parentNode){var h=s===T.commonAncestorContainer;h?w.setStart(T.startContainer,T.startOffset):w.setStart(w.endContainer,0);var f=Array.from(w.getClientRects());if(p.push(f),h){var u;return p.reverse(),(u=[]).concat.apply(u,p)}w.setEndBefore(s)}y(!1)}var v=E?A:function(T){return Array.from(T.getClientRects())};Y.exports=v},32141:function(Y,H,i){"use strict";var F=i(44083);function y(E,A){var v=[];return E.findEntityRanges(function(T){return T.getEntity()===A},function(T,w){v.push({start:T,end:w})}),v.length||F(!1),v}Y.exports=y},57567:function(Y,H,i){"use strict";var F=i(13567),y=i(44083),E=F.isBrowser("IE <= 9");function A(v){var T,w=null;return!E&&document.implementation&&document.implementation.createHTMLDocument&&(T=document.implementation.createHTMLDocument("foo"),T.documentElement||y(!1),T.documentElement.innerHTML=v,w=T.getElementsByTagName("body")[0]),w}Y.exports=A},51418:function(Y){"use strict";function H(i){if(i instanceof Element){var F=i.getAttribute("data-offset-key");if(F)return F;for(var y=0;y<i.childNodes.length;y++){var E=H(i.childNodes[y]);if(E)return E}}return null}Y.exports=H},45398:function(Y,H,i){"use strict";var F=i(44083),y=/\.textClipping$/,E={"text/plain":!0,"text/html":!0,"text/rtf":!0},A=5e3;function v(w,p){var s=0,h=[];w.forEach(function(f){T(f,function(u){s++,u&&h.push(u.slice(0,A)),s==w.length&&p(h.join("\r"))})})}function T(w,p){if(!i.g.FileReader||w.type&&!(w.type in E)){p("");return}if(w.type===""){var s="";y.test(w.name)&&(s=w.name.replace(y,"")),p(s);return}var h=new FileReader;h.onload=function(){var f=h.result;typeof f!="string"&&F(!1),p(f)},h.onerror=function(){p("")},h.readAsText(w)}Y.exports=v},68759:function(Y,H,i){"use strict";var F=i(8130),y=i(17e3);function E(A,v,T,w,p){var s=y(A.getSelection()),h=F.decode(v),f=h.blockKey,u=A.getBlockTree(f).getIn([h.decoratorKey,"leaves",h.leafKey]),d=F.decode(w),a=d.blockKey,o=A.getBlockTree(a).getIn([d.decoratorKey,"leaves",d.leafKey]),l=u.get("start"),x=o.get("start"),k=u?l+T:null,c=o?x+p:null,b=s.getAnchorKey()===f&&s.getAnchorOffset()===k&&s.getFocusKey()===a&&s.getFocusOffset()===c;if(b)return s;var N=!1;if(f===a){var O=u.get("end"),S=o.get("end");x===l&&S===O?N=p<T:N=x<l}else{var K=A.getCurrentContent().getBlockMap().keySeq().skipUntil(function(L){return L===f||L===a}).first();N=K===a}return s.merge({anchorKey:f,anchorOffset:k,focusKey:a,focusOffset:c,isBackward:N})}Y.exports=E},57667:function(Y,H,i){"use strict";var F=i(73981);function y(E){var A=E.getSelection();if(!A.rangeCount)return null;var v=A.getRangeAt(0),T=F(v),w=T.top,p=T.right,s=T.bottom,h=T.left;return w===0&&p===0&&s===0&&h===0?null:T}Y.exports=y},47529:function(Y,H,i){"use strict";var F=i(94849),y=i(42267),E=i(52724),A=i(39769),v=i(44083),T=i(81931),w=E.List,p=function(l,x,k,c,b,N){var O=k.get(b),S=O.getText(),K=O.getCharacterList(),L=b,D=N+c.getText().length,B=O.merge({text:S.slice(0,N)+c.getText()+S.slice(N),characterList:A(K,c.getCharacterList(),N),data:c.getData()});return l.merge({blockMap:k.set(b,B),selectionBefore:x,selectionAfter:x.merge({anchorKey:L,anchorOffset:D,focusKey:L,focusOffset:D,isBackward:!1})})},s=function(l,x,k){var c=l.getText(),b=l.getCharacterList(),N=c.slice(0,x),O=b.slice(0,x),S=k.first();return l.merge({text:N+S.getText(),characterList:O.concat(S.getCharacterList()),type:N?l.getType():S.getType(),data:S.getData()})},h=function(l,x,k){var c=l.getText(),b=l.getCharacterList(),N=c.length,O=c.slice(x,N),S=b.slice(x,N),K=k.last();return K.merge({text:K.getText()+O,characterList:K.getCharacterList().concat(S),data:K.getData()})},f=function(l,x){var k=l.getKey(),c=l,b=[];for(x.get(k)&&b.push(k);c&&c.getNextSiblingKey();){var N=c.getNextSiblingKey();if(!N)break;b.push(N),c=x.get(N)}return b},u=function(l,x,k,c){return l.withMutations(function(b){var N=k.getKey(),O=c.getKey(),S=k.getNextSiblingKey(),K=k.getParentKey(),L=f(c,l),D=L[L.length-1];if(b.get(O)?(b.setIn([N,"nextSibling"],O),b.setIn([O,"prevSibling"],N)):(b.setIn([N,"nextSibling"],c.getNextSiblingKey()),b.setIn([c.getNextSiblingKey(),"prevSibling"],N)),b.setIn([D,"nextSibling"],S),S&&b.setIn([S,"prevSibling"],D),L.forEach(function(se){return b.setIn([se,"parent"],K)}),K){var B=l.get(K),J=B.getChildKeys(),Q=J.indexOf(N),G=Q+1,U=J.toArray();U.splice.apply(U,[G,0].concat(L)),b.setIn([K,"children"],w(U))}})},d=function(l,x,k,c,b,N){var O=k.first()instanceof y,S=[],K=c.size,L=k.get(b),D=c.first(),B=c.last(),J=B.getLength(),Q=B.getKey(),G=O&&(!L.getChildKeys().isEmpty()||!D.getChildKeys().isEmpty());k.forEach(function(se,q){if(q!==b){S.push(se);return}G?S.push(se):S.push(s(se,N,c)),c.slice(G?0:1,K-1).forEach(function(he){return S.push(he)}),S.push(h(se,N,c))});var U=F.createFromArray(S);return O&&(U=u(U,k,L,D)),l.merge({blockMap:U,selectionBefore:x,selectionAfter:x.merge({anchorKey:Q,anchorOffset:J,focusKey:Q,focusOffset:J,isBackward:!1})})},a=function(l,x,k){x.isCollapsed()||v(!1);var c=l.getBlockMap(),b=T(k),N=x.getStartKey(),O=x.getStartOffset(),S=c.get(N);return S instanceof y&&(S.getChildKeys().isEmpty()||v(!1)),b.size===1?p(l,x,c,b.first(),N,O):d(l,x,c,b,N,O)};Y.exports=a},39769:function(Y){"use strict";function H(i,F,y){if(y===i.count())F.forEach(function(v){i=i.push(v)});else if(y===0)F.reverse().forEach(function(v){i=i.unshift(v)});else{var E=i.slice(0,y),A=i.slice(y);i=E.concat(F,A).toList()}return i}Y.exports=H},83835:function(Y,H,i){"use strict";var F=i(52724),y=i(39769),E=i(44083),A=F.Repeat;function v(T,w,p,s){w.isCollapsed()||E(!1);var h=p.length;if(!h)return T;var f=T.getBlockMap(),u=w.getStartKey(),d=w.getStartOffset(),a=f.get(u),o=a.getText(),l=a.merge({text:o.slice(0,d)+p+o.slice(d,a.getLength()),characterList:y(a.getCharacterList(),A(s,h).toList(),d)}),x=d+h;return T.merge({blockMap:f.set(u,l),selectionAfter:w.merge({anchorOffset:x,focusOffset:x})})}Y.exports=v},18050:function(Y){"use strict";function H(i){return i==="handled"||i===!0}Y.exports=H},2523:function(Y){"use strict";function H(i){var F=i.getSelection(),y=F.getAnchorKey(),E=i.getBlockTree(y),A=F.getStartOffset(),v=!1;return E.some(function(T){return A===T.get("start")?(v=!0,!0):A<T.get("end")?T.get("leaves").some(function(w){var p=w.get("start");return A===p?(v=!0,!0):!1}):!1}),v}Y.exports=H},73875:function(Y,H,i){"use strict";var F=i(91257),y=i(17467),E=i(13261),A=i(68180),v=i(61215);function T(w){var p=v(w,function(s){var h=s.getSelection();if(h.isCollapsed()&&h.getAnchorOffset()===0)return A(s,1);var f=i.g.getSelection(),u=f.getRangeAt(0);return u=y(u),E(s,null,u.endContainer,u.endOffset,u.startContainer,u.startOffset).selectionState},"backward");return p===w.getCurrentContent()?w:F.push(w,p,"remove-range")}Y.exports=T},3233:function(Y,H,i){"use strict";var F=i(14239),y=i(91257),E=i(68180),A=i(61215);function v(T){var w=A(T,function(p){var s=p.getSelection(),h=s.getStartOffset();if(h===0)return E(p,1);var f=s.getStartKey(),u=p.getCurrentContent(),d=u.getBlockForKey(f).getText().slice(0,h),a=F.getBackward(d);return E(p,a.length||1)},"backward");return w===T.getCurrentContent()?T:y.push(T,w,"remove-range")}Y.exports=v},26199:function(Y,H,i){"use strict";var F=i(14239),y=i(91257),E=i(77698),A=i(61215);function v(T){var w=A(T,function(p){var s=p.getSelection(),h=s.getStartOffset(),f=s.getStartKey(),u=p.getCurrentContent(),d=u.getBlockForKey(f).getText().slice(h),a=F.getForward(d);return E(p,a.length||1)},"forward");return w===T.getCurrentContent()?T:y.push(T,w,"remove-range")}Y.exports=v},61937:function(Y,H,i){"use strict";var F=i(65979),y=i(91257);function E(A){var v=F.splitBlock(A.getCurrentContent(),A.getSelection());return y.push(A,v,"split-block")}Y.exports=E},88820:function(Y,H,i){"use strict";var F=i(91257);function y(E){var A=E.getSelection(),v=A.getEndKey(),T=E.getCurrentContent(),w=T.getBlockForKey(v).getLength();return F.set(E,{selection:A.merge({anchorKey:v,anchorOffset:w,focusKey:v,focusOffset:w,isBackward:!1}),forceSelection:!0})}Y.exports=y},74347:function(Y,H,i){"use strict";var F=i(91257);function y(E){var A=E.getSelection(),v=A.getStartKey();return F.set(E,{selection:A.merge({anchorKey:v,anchorOffset:0,focusKey:v,focusOffset:0,isBackward:!1}),forceSelection:!0})}Y.exports=y},36642:function(Y,H,i){"use strict";var F=i(91257),y=i(11568),E=i(68180),A=i(61215);function v(T){var w=A(T,function(s){var h=s.getSelection(),f=s.getCurrentContent(),u=h.getAnchorKey(),d=h.getAnchorOffset(),a=f.getBlockForKey(u).getText()[d-1];return E(s,a?y.getUTF16Length(a,0):1)},"backward");if(w===T.getCurrentContent())return T;var p=T.getSelection();return F.push(T,w.set("selectionBefore",p),p.isCollapsed()?"backspace-character":"remove-range")}Y.exports=v},52778:function(Y,H,i){"use strict";var F=i(91257),y=i(11568),E=i(77698),A=i(61215);function v(T){var w=A(T,function(s){var h=s.getSelection(),f=s.getCurrentContent(),u=h.getAnchorKey(),d=h.getAnchorOffset(),a=f.getBlockForKey(u).getText()[d];return E(s,a?y.getUTF16Length(a,0):1)},"forward");if(w===T.getCurrentContent())return T;var p=T.getSelection();return F.push(T,w.set("selectionBefore",p),p.isCollapsed()?"delete-character":"remove-range")}Y.exports=v},8057:function(Y,H,i){"use strict";var F=i(65979),y=i(91257),E=i(60875);function A(v){var T=v.getSelection();if(!T.isCollapsed())return v;var w=T.getAnchorOffset();if(w===0)return v;var p=T.getAnchorKey(),s=v.getCurrentContent(),h=s.getBlockForKey(p),f=h.getLength();if(f<=1)return v;var u,d;w===f?(u=T.set("anchorOffset",w-1),d=T):(u=T.set("focusOffset",w+1),d=u.set("anchorOffset",w+1));var a=E(s,u),o=F.removeRange(s,u,"backward"),l=o.getSelectionAfter(),x=l.getAnchorOffset()-1,k=l.merge({anchorOffset:x,focusOffset:x}),c=F.replaceWithFragment(o,k,a),b=y.push(v,c,"insert-fragment");return y.acceptSelection(b,d)}Y.exports=A},76169:function(Y,H,i){"use strict";var F=i(91257);function y(E,A,v){var T=F.undo(A);if(A.getLastChangeType()==="spellcheck-change"){var w=T.getCurrentContent();v(F.set(T,{nativelyRenderedContent:w}));return}if(E.preventDefault(),!A.getNativelyRenderedContent()){v(T);return}v(F.set(A,{nativelyRenderedContent:null})),setTimeout(function(){v(T)},0)}Y.exports=y},52237:function(Y,H,i){"use strict";var F=i(52724),y=F.Map;function E(A,v,T){var w=v.getStartKey(),p=v.getEndKey(),s=A.getBlockMap(),h=s.toSeq().skipUntil(function(f,u){return u===w}).takeUntil(function(f,u){return u===p}).concat(y([[p,s.get(p)]])).map(T);return A.merge({blockMap:s.merge(h),selectionBefore:v,selectionAfter:v})}Y.exports=E},56479:function(Y,H,i){"use strict";var F=i(42267),y=i(52724),E=i(49448),A=i(44083),v=y.OrderedMap,T=y.List,w=function(f,u,d){if(f){var a=u.get(f);a&&u.set(f,d(a))}},p=function(f,u,d,a,o){if(!o)return f;var l=a==="after",x=u.getKey(),k=d.getKey(),c=u.getParentKey(),b=u.getNextSiblingKey(),N=u.getPrevSiblingKey(),O=d.getParentKey(),S=l?d.getNextSiblingKey():k,K=l?k:d.getPrevSiblingKey();return f.withMutations(function(L){w(c,L,function(D){var B=D.getChildKeys();return D.merge({children:B.delete(B.indexOf(x))})}),w(N,L,function(D){return D.merge({nextSibling:b})}),w(b,L,function(D){return D.merge({prevSibling:N})}),w(S,L,function(D){return D.merge({prevSibling:x})}),w(K,L,function(D){return D.merge({nextSibling:x})}),w(O,L,function(D){var B=D.getChildKeys(),J=B.indexOf(k),Q=l?J+1:J!==0?J-1:0,G=B.toArray();return G.splice(Q,0,x),D.merge({children:T(G)})}),w(x,L,function(D){return D.merge({nextSibling:S,prevSibling:K,parent:O})})})},s=function(f,u,d,a){a==="replace"&&A(!1);var o=d.getKey(),l=u.getKey();l===o&&A(!1);var x=f.getBlockMap(),k=u instanceof F,c=[u],b=x.delete(l);k&&(c=[],b=x.withMutations(function(B){var J=u.getNextSiblingKey(),Q=E(u,B);B.toSeq().skipUntil(function(G){return G.getKey()===l}).takeWhile(function(G){var U=G.getKey(),se=U===l,q=J&&U!==J,he=!J&&G.getParentKey()&&(!Q||U!==Q);return!!(se||q||he)}).forEach(function(G){c.push(G),B.delete(G.getKey())})}));var N=b.toSeq().takeUntil(function(B){return B===d}),O=b.toSeq().skipUntil(function(B){return B===d}).skip(1),S=c.map(function(B){return[B.getKey(),B]}),K=v();if(a==="before"){var L=f.getBlockBefore(o);!L||L.getKey()!==u.getKey()||A(!1),K=N.concat([].concat(S,[[o,d]]),O).toOrderedMap()}else if(a==="after"){var D=f.getBlockAfter(o);!D||D.getKey()!==l||A(!1),K=N.concat([[o,d]].concat(S),O).toOrderedMap()}return f.merge({blockMap:p(K,u,d,a,k),selectionBefore:f.getSelectionAfter(),selectionAfter:f.getSelectionAfter().merge({anchorKey:l,focusKey:l})})};Y.exports=s},68180:function(Y){"use strict";function H(i,F){var y=i.getSelection(),E=i.getCurrentContent(),A=y.getStartKey(),v=y.getStartOffset(),T=A,w=0;if(F>v){var p=E.getKeyBefore(A);if(p==null)T=A;else{T=p;var s=E.getBlockForKey(p);w=s.getText().length}}else w=v-F;return y.merge({focusKey:T,focusOffset:w,isBackward:!0})}Y.exports=H},77698:function(Y){"use strict";function H(i,F){var y=i.getSelection(),E=y.getStartKey(),A=y.getStartOffset(),v=i.getCurrentContent(),T=E,w,p=v.getBlockForKey(E);return F>p.getText().length-A?(T=v.getKeyAfter(E),w=0):w=A+F,y.merge({focusKey:T,focusOffset:w})}Y.exports=H},81931:function(Y,H,i){"use strict";var F=i(42267),y=i(52724),E=i(8767),A=y.OrderedMap,v=function(s){var h={},f=void 0;return A(s.withMutations(function(u){u.forEach(function(d,a){var o=d.getKey(),l=d.getNextSiblingKey(),x=d.getPrevSiblingKey(),k=d.getChildKeys(),c=d.getParentKey(),b=E();if(h[o]=b,l){var N=u.get(l);N?u.setIn([l,"prevSibling"],b):u.setIn([o,"nextSibling"],null)}if(x){var O=u.get(x);O?u.setIn([x,"nextSibling"],b):u.setIn([o,"prevSibling"],null)}if(c&&u.get(c)){var S=u.get(c),K=S.getChildKeys();u.setIn([c,"children"],K.set(K.indexOf(d.getKey()),b))}else u.setIn([o,"parent"],null),f&&(u.setIn([f.getKey(),"nextSibling"],b),u.setIn([o,"prevSibling"],h[f.getKey()])),f=u.get(o);k.forEach(function(L){var D=u.get(L);D?u.setIn([L,"parent"],b):u.setIn([o,"children"],d.getChildKeys().filter(function(B){return B!==L}))})})}).toArray().map(function(u){return[h[u.getKey()],u.set("key",h[u.getKey()])]}))},T=function(s){return A(s.toArray().map(function(h){var f=E();return[f,h.set("key",f)]}))},w=function(s){var h=s.first()instanceof F;return h?v(s):T(s)};Y.exports=w},69146:function(Y,H,i){"use strict";var F=i(11841),y=i(50125),E=i(44083);function A(w,p){var s=w.getBlockMap(),h=w.getEntityMap(),f={},u=p.getStartKey(),d=p.getStartOffset(),a=s.get(u),o=T(h,a,d);o!==a&&(f[u]=o);var l=p.getEndKey(),x=p.getEndOffset(),k=s.get(l);u===l&&(k=o);var c=T(h,k,x);return c!==k&&(f[l]=c),Object.keys(f).length?w.merge({blockMap:s.merge(f),selectionAfter:p}):w.set("selectionAfter",p)}function v(w,p,s){var h;return y(w,function(f,u){return f.getEntity()===u.getEntity()},function(f){return f.getEntity()===p},function(f,u){f<=s&&u>=s&&(h={start:f,end:u})}),typeof h!="object"&&E(!1),h}function T(w,p,s){var h=p.getCharacterList(),f=s>0?h.get(s-1):void 0,u=s<h.count()?h.get(s):void 0,d=f?f.getEntity():void 0,a=u?u.getEntity():void 0;if(a&&a===d){var o=w.__get(a);if(o.getMutability()!=="MUTABLE"){for(var l=v(h,a,s),x=l.start,k=l.end,c;x<k;)c=h.get(x),h=h.set(x,F.applyEntity(c,null)),x++;return p.set("characterList",h)}}return p}Y.exports=A},58511:function(Y,H,i){"use strict";var F=i(42267),y=i(52724),E=i(49448),A=y.List,v=y.Map,T=function(o,l,x){if(o){var k=l.get(o);k&&l.set(o,x(k))}},w=function(o,l){var x=[];if(!o)return x;for(var k=l.get(o);k&&k.getParentKey();){var c=k.getParentKey();c&&x.push(c),k=c?l.get(c):null}return x},p=function(o,l){var x=[];if(!o)return x;for(var k=E(o,l);k&&l.get(k);){var c=l.get(k);x.push(k),k=c.getParentKey()?E(c,l):null}return x},s=function(o,l,x){if(!o)return null;for(var k=x.get(o.getKey()).getNextSiblingKey();k&&!l.get(k);)k=x.get(k).getNextSiblingKey()||null;return k},h=function(o,l,x){if(!o)return null;for(var k=x.get(o.getKey()).getPrevSiblingKey();k&&!l.get(k);)k=x.get(k).getPrevSiblingKey()||null;return k},f=function(o,l,x,k){return o.withMutations(function(c){T(l.getKey(),c,function(b){return b.merge({nextSibling:s(l,c,k),prevSibling:h(l,c,k)})}),T(x.getKey(),c,function(b){return b.merge({nextSibling:s(x,c,k),prevSibling:h(x,c,k)})}),w(l.getKey(),k).forEach(function(b){return T(b,c,function(N){return N.merge({children:N.getChildKeys().filter(function(O){return c.get(O)}),nextSibling:s(N,c,k),prevSibling:h(N,c,k)})})}),T(l.getNextSiblingKey(),c,function(b){return b.merge({prevSibling:l.getPrevSiblingKey()})}),T(l.getPrevSiblingKey(),c,function(b){return b.merge({nextSibling:s(l,c,k)})}),T(x.getNextSiblingKey(),c,function(b){return b.merge({prevSibling:h(x,c,k)})}),T(x.getPrevSiblingKey(),c,function(b){return b.merge({nextSibling:x.getNextSiblingKey()})}),w(x.getKey(),k).forEach(function(b){T(b,c,function(N){return N.merge({children:N.getChildKeys().filter(function(O){return c.get(O)}),nextSibling:s(N,c,k),prevSibling:h(N,c,k)})})}),p(x,k).forEach(function(b){return T(b,c,function(N){return N.merge({nextSibling:s(N,c,k),prevSibling:h(N,c,k)})})})})},u=function(o,l){if(l.isCollapsed())return o;var x=o.getBlockMap(),k=l.getStartKey(),c=l.getStartOffset(),b=l.getEndKey(),N=l.getEndOffset(),O=x.get(k),S=x.get(b),K=O instanceof F,L=[];if(K){var D=S.getChildKeys(),B=w(b,x);S.getNextSiblingKey()&&(L=L.concat(B)),D.isEmpty()||(L=L.concat(B.concat([b]))),L=L.concat(w(E(S,x),x))}var J=void 0;O===S?J=d(O.getCharacterList(),c,N):J=O.getCharacterList().slice(0,c).concat(S.getCharacterList().slice(N));var Q=O.merge({text:O.getText().slice(0,c)+S.getText().slice(N),characterList:J}),G=x.toSeq().skipUntil(function(se,q){return q===k}).takeUntil(function(se,q){return q===b}).filter(function(se,q){return L.indexOf(q)===-1}).concat(v([[b,null]])).map(function(se,q){return q===k?Q:null}),U=x.merge(G).filter(function(se){return!!se});return K&&(U=f(U,O,S,x)),o.merge({blockMap:U,selectionBefore:l,selectionAfter:l.merge({anchorKey:k,anchorOffset:c,focusKey:k,focusOffset:c,isBackward:!1})})},d=function(o,l,x){if(l===0)for(;l<x;)o=o.shift(),l++;else if(x===o.count())for(;x>l;)o=o.pop(),x--;else{var k=o.slice(0,l),c=o.slice(x);o=k.concat(c).toList()}return o};Y.exports=u},61215:function(Y,H,i){"use strict";var F=i(65979);function y(E,A,v){var T=E.getSelection(),w=E.getCurrentContent(),p=T;if(T.isCollapsed()){if(v==="forward"){if(E.isSelectionAtEndOfContent())return w}else if(E.isSelectionAtStartOfContent())return w;if(p=A(E),p===T)return w}return F.removeRange(w,p,v)}Y.exports=y},27748:function(Y){"use strict";var H=new RegExp("\r","g");function i(F){return F.replace(H,"")}Y.exports=i},32935:function(Y,H,i){"use strict";var F=i(9072),y=i(29558),E=i(21026),A=i(44083);function v(u,d){if(!u)return"[empty]";var a=T(u,d);return a.nodeType===Node.TEXT_NODE?a.textContent:(a instanceof Element||A(!1),a.outerHTML)}function T(u,d){var a=d!==void 0?d(u):[];if(u.nodeType===Node.TEXT_NODE){var o=u.textContent.length;return document.createTextNode("[text "+o+(a.length?" | "+a.join(", "):"")+"]")}var l=u.cloneNode();l.nodeType===1&&a.length&&l.setAttribute("data-labels",a.join(", "));for(var x=u.childNodes,k=0;k<x.length;k++)l.appendChild(T(x[k],d));return l}function w(u,d){for(var a=u;a;){if(a instanceof Element&&a.hasAttribute("contenteditable"))return v(a,d);a=a.parentNode}return"Could not find contentEditable parent of node"}function p(u){return u.nodeValue===null?u.childNodes.length:u.nodeValue.length}function s(u,d,a,o,l){if(y(document.documentElement,d)){var x=i.g.getSelection(),k=u.getAnchorKey(),c=u.getAnchorOffset(),b=u.getFocusKey(),N=u.getFocusOffset(),O=u.getIsBackward();if(!x.extend&&O){var S=k,K=c;k=b,c=N,b=S,N=K,O=!1}var L=k===a&&o<=c&&l>=c,D=b===a&&o<=N&&l>=N;if(L&&D){x.removeAllRanges(),f(x,d,c-o,u),h(x,d,N-o,u);return}if(!O)L&&(x.removeAllRanges(),f(x,d,c-o,u)),D&&h(x,d,N-o,u);else if(D&&(x.removeAllRanges(),f(x,d,N-o,u)),L){var B=x.focusNode,J=x.focusOffset;x.removeAllRanges(),f(x,d,c-o,u),h(x,B,J,u)}}}function h(u,d,a,o){var l=E();if(u.extend&&y(l,d)){a>p(d)&&F.logSelectionStateFailure({anonymizedDom:w(d),extraParams:JSON.stringify({offset:a}),selectionState:JSON.stringify(o.toJS())});var x=d===u.focusNode;try{u.extend(d,a)}catch(c){throw F.logSelectionStateFailure({anonymizedDom:w(d,function(b){var N=[];return b===l&&N.push("active element"),b===u.anchorNode&&N.push("selection anchor node"),b===u.focusNode&&N.push("selection focus node"),N}),extraParams:JSON.stringify({activeElementName:l?l.nodeName:null,nodeIsFocus:d===u.focusNode,nodeWasFocus:x,selectionRangeCount:u.rangeCount,selectionAnchorNodeName:u.anchorNode?u.anchorNode.nodeName:null,selectionAnchorOffset:u.anchorOffset,selectionFocusNodeName:u.focusNode?u.focusNode.nodeName:null,selectionFocusOffset:u.focusOffset,message:c?""+c:null,offset:a},null,2),selectionState:JSON.stringify(o.toJS(),null,2)}),c}}else{var k=u.getRangeAt(0);k.setEnd(d,a),u.addRange(k.cloneRange())}}function f(u,d,a,o){var l=document.createRange();a>p(d)&&F.logSelectionStateFailure({anonymizedDom:w(d),extraParams:JSON.stringify({offset:a}),selectionState:JSON.stringify(o.toJS())}),l.setStart(d,a),u.addRange(l)}Y.exports=s},58862:function(Y,H,i){"use strict";var F=i(42267),y=i(52724),E=i(8767),A=i(44083),v=y.List,T=y.Map,w=function(f,u,d){if(f){var a=u.get(f);a&&u.set(f,d(a))}},p=function(f,u,d){return f.withMutations(function(a){var o=u.getKey(),l=d.getKey();w(u.getParentKey(),a,function(x){var k=x.getChildKeys(),c=k.indexOf(o)+1,b=k.toArray();return b.splice(c,0,l),x.merge({children:v(b)})}),w(u.getNextSiblingKey(),a,function(x){return x.merge({prevSibling:l})}),w(o,a,function(x){return x.merge({nextSibling:l})}),w(l,a,function(x){return x.merge({prevSibling:o})})})},s=function(f,u){u.isCollapsed()||A(!1);var d=u.getAnchorKey(),a=u.getAnchorOffset(),o=f.getBlockMap(),l=o.get(d),x=l.getText(),k=l.getCharacterList(),c=E(),b=l instanceof F,N=l.merge({text:x.slice(0,a),characterList:k.slice(0,a)}),O=N.merge({key:c,text:x.slice(a),characterList:k.slice(a),data:T()}),S=o.toSeq().takeUntil(function(D){return D===l}),K=o.toSeq().skipUntil(function(D){return D===l}).rest(),L=S.concat([[d,N],[c,O]],K).toOrderedMap();return b&&(l.getChildKeys().isEmpty()||A(!1),L=p(L,N,O)),f.merge({blockMap:L,selectionBefore:u,selectionAfter:u.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})};Y.exports=s},14478:function(Y){"use strict";var H=/\r\n?|\n/g;function i(F){return F.split(H)}Y.exports=i},93840:function(Y,H,i){(function(F,y){Y.exports=y(i(80099),i(52724))})(typeof self!="undefined"?self:this,function(F,y){return function(E){function A(T){if(v[T])return v[T].exports;var w=v[T]={i:T,l:!1,exports:{}};return E[T].call(w.exports,w,w.exports,A),w.l=!0,w.exports}var v={};return A.m=E,A.c=v,A.d=function(T,w,p){A.o(T,w)||Object.defineProperty(T,w,{configurable:!1,enumerable:!0,get:p})},A.n=function(T){var w=T&&T.__esModule?function(){return T.default}:function(){return T};return A.d(w,"a",w),w},A.o=function(T,w){return Object.prototype.hasOwnProperty.call(T,w)},A.p="",A(A.s=3)}([function(E,A){E.exports=F},function(E,A,v){"use strict";function T(O){var S=O.getSelection(),K=O.getCurrentContent(),L=S.getStartKey(),D=S.getEndKey(),B=K.getBlockMap();return B.toSeq().skipUntil(function(J,Q){return Q===L}).takeUntil(function(J,Q){return Q===D}).concat([[D,B.get(D)]])}function w(O){return T(O).toList()}function p(O){if(O)return w(O).get(0)}function s(O){if(O){var S=p(O),K=O.getCurrentContent(),L=K.getBlockMap().toSeq().toList(),D=0;if(L.forEach(function(B,J){B.get("key")===S.get("key")&&(D=J-1)}),D>-1)return L.get(D)}}function h(O){return O?O.getCurrentContent().getBlockMap().toList():new b.List}function f(O){var S=w(O);if(!S.some(function(K){return K.type!==S.get(0).type}))return S.get(0).type}function u(O){var S=c.RichUtils.tryToRemoveBlockStyle(O);return S?c.EditorState.push(O,S,"change-block-type"):O}function d(O){var S="",K=O.getSelection(),L=K.getAnchorOffset(),D=K.getFocusOffset(),B=w(O);if(B.size>0){if(K.getIsBackward()){var J=L;L=D,D=J}for(var Q=0;Q<B.size;Q+=1){var G=Q===0?L:0,U=Q===B.size-1?D:B.get(Q).getText().length;S+=B.get(Q).getText().slice(G,U)}}return S}function a(O){var S=O.getCurrentContent(),K=O.getSelection(),L=c.Modifier.removeRange(S,K,"forward"),D=L.getSelectionAfter(),B=L.getBlockForKey(D.getStartKey());return L=c.Modifier.insertText(L,D,`
|
|
`,B.getInlineStyleAt(D.getStartOffset()),null),c.EditorState.push(O,L,"insert-fragment")}function o(O){var S=c.Modifier.splitBlock(O.getCurrentContent(),O.getSelection());return u(c.EditorState.push(O,S,"split-block"))}function l(O){var S=O.getCurrentContent().getBlockMap().toList(),K=O.getSelection().merge({anchorKey:S.first().get("key"),anchorOffset:0,focusKey:S.last().get("key"),focusOffset:S.last().getLength()}),L=c.Modifier.removeRange(O.getCurrentContent(),K,"forward");return c.EditorState.push(O,L,"remove-range")}function x(O,S){var K=c.Modifier.setBlockData(O.getCurrentContent(),O.getSelection(),S);return c.EditorState.push(O,K,"change-block-data")}function k(O){var S=new b.Map({}),K=w(O);if(K&&K.size>0)for(var L=0;L<K.size;L+=1){var D=function(B){var J=K.get(B).getData();if(!J||J.size===0)return S=S.clear(),"break";if(B===0)S=J;else if(S.forEach(function(Q,G){J.get(G)&&J.get(G)===Q||(S=S.delete(G))}),S.size===0)return S=S.clear(),"break"}(L);if(D==="break")break}return S}Object.defineProperty(A,"__esModule",{value:!0}),A.blockRenderMap=void 0,A.getSelectedBlocksMap=T,A.getSelectedBlocksList=w,A.getSelectedBlock=p,A.getBlockBeforeSelectedBlock=s,A.getAllBlocks=h,A.getSelectedBlocksType=f,A.removeSelectedBlocksStyle=u,A.getSelectionText=d,A.addLineBreakRemovingSelection=a,A.insertNewUnstyledBlock=o,A.clearEditorContent=l,A.setBlockData=x,A.getSelectedBlocksMetadata=k;var c=v(0),b=v(6),N=(0,b.Map)({code:{element:"pre"}});A.blockRenderMap=c.DefaultDraftBlockRenderMap.merge(N)},function(E,A,v){"use strict";function T(f){if(f){var u=f.getType();return u==="unordered-list-item"||u==="ordered-list-item"}return!1}function w(f,u,d){var a=f.getSelection(),o=f.getCurrentContent(),l=o.getBlockMap(),x=(0,h.getSelectedBlocksMap)(f).map(function(k){var c=k.getDepth()+u;return c=Math.max(0,Math.min(c,d)),k.set("depth",c)});return l=l.merge(x),o.merge({blockMap:l,selectionBefore:a,selectionAfter:a})}function p(f,u,d){var a=f.getSelection(),o=void 0;o=a.getIsBackward()?a.getFocusKey():a.getAnchorKey();var l=f.getCurrentContent(),x=l.getBlockForKey(o),k=x.getType();if(k!=="unordered-list-item"&&k!=="ordered-list-item")return f;var c=l.getBlockBefore(o);if(!c||c.getType()!==k)return f;var b=x.getDepth();if(u===1&&b===d)return f;var N=Math.min(c.getDepth()+1,d),O=w(f,u,N);return s.EditorState.push(f,O,"adjust-depth")}Object.defineProperty(A,"__esModule",{value:!0}),A.isListBlock=T,A.changeDepth=p;var s=v(0),h=v(1)},function(E,A,v){E.exports=v(4)},function(E,A,v){"use strict";var T=v(5),w=v(1),p=v(7),s=function(f){return f&&f.__esModule?f:{default:f}}(p),h=v(2);E.exports={getSelectedBlocksMap:w.getSelectedBlocksMap,getSelectedBlocksList:w.getSelectedBlocksList,getSelectedBlock:w.getSelectedBlock,getBlockBeforeSelectedBlock:w.getBlockBeforeSelectedBlock,getAllBlocks:w.getAllBlocks,getSelectedBlocksType:w.getSelectedBlocksType,removeSelectedBlocksStyle:w.removeSelectedBlocksStyle,getSelectionText:w.getSelectionText,addLineBreakRemovingSelection:w.addLineBreakRemovingSelection,insertNewUnstyledBlock:w.insertNewUnstyledBlock,clearEditorContent:w.clearEditorContent,setBlockData:w.setBlockData,getSelectedBlocksMetadata:w.getSelectedBlocksMetadata,blockRenderMap:w.blockRenderMap,getEntityRange:T.getEntityRange,getCustomStyleMap:T.getCustomStyleMap,toggleCustomInlineStyle:T.toggleCustomInlineStyle,getSelectionEntity:T.getSelectionEntity,extractInlineStyle:T.extractInlineStyle,removeAllInlineStyles:T.removeAllInlineStyles,getSelectionInlineStyle:T.getSelectionInlineStyle,getSelectionCustomInlineStyle:T.getSelectionCustomInlineStyle,handleNewLine:s.default,isListBlock:h.isListBlock,changeDepth:h.changeDepth}},function(E,A,v){"use strict";function T(O,S,K){return S in O?Object.defineProperty(O,S,{value:K,enumerable:!0,configurable:!0,writable:!0}):O[S]=K,O}function w(O){var S=O.getSelection();if(S.isCollapsed()){var K={},L=O.getCurrentInlineStyle().toList().toJS();if(L)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(G){K[G]=L.indexOf(G)>=0}),K}var D=S.getStartOffset(),B=S.getEndOffset(),J=(0,c.getSelectedBlocksList)(O);if(J.size>0){var Q=function(){for(var G={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},U=0;U<J.size;U+=1){var se=U===0?D:0,q=U===J.size-1?B:J.get(U).getText().length;se===q&&se===0?(se=1,q=2):se===q&&(se-=1);for(var he=se;he<q;he+=1)(function(De){var ke=J.get(U).getInlineStyleAt(De);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function($){G[$]=G[$]&&ke.get($)===$})})(he)}return{v:G}}();if((Q===void 0?"undefined":x(Q))==="object")return Q.v}return{}}function p(O){var S=void 0,K=O.getSelection(),L=K.getStartOffset(),D=K.getEndOffset();L===D&&L===0?D=1:L===D&&(L-=1);for(var B=(0,c.getSelectedBlock)(O),J=L;J<D;J+=1){var Q=B.getEntityAt(J);if(!Q){S=void 0;break}if(J===L)S=Q;else if(S!==Q){S=void 0;break}}return S}function s(O,S){var K=(0,c.getSelectedBlock)(O),L=void 0;return K.findEntityRanges(function(D){return D.get("entity")===S},function(D,B){L={start:D,end:B,text:K.get("text").slice(D,B)}}),L}function h(O,S,K){var L=O.getSelection(),D=Object.keys(b[S]).reduce(function(G,U){return k.Modifier.removeInlineStyle(G,L,U)},O.getCurrentContent()),B=k.EditorState.push(O,D,"changeinline-style"),J=O.getCurrentInlineStyle();if(L.isCollapsed()&&(B=J.reduce(function(G,U){return k.RichUtils.toggleInlineStyle(G,U)},B)),S==="SUPERSCRIPT"||S=="SUBSCRIPT")J.has(K)||(B=k.RichUtils.toggleInlineStyle(B,K));else{var Q=S==="bgcolor"?"backgroundColor":S;J.has(Q+"-"+K)||(B=k.RichUtils.toggleInlineStyle(B,S.toLowerCase()+"-"+K),N(S,Q,K))}return B}function f(O){O&&O.getCurrentContent().getBlockMap().map(function(S){return S.get("characterList")}).toList().flatten().forEach(function(S){S&&S.indexOf("color-")===0?N("color","color",S.substr(6)):S&&S.indexOf("bgcolor-")===0?N("bgcolor","backgroundColor",S.substr(8)):S&&S.indexOf("fontsize-")===0?N("fontSize","fontSize",+S.substr(9)):S&&S.indexOf("fontfamily-")===0&&N("fontFamily","fontFamily",S.substr(11))})}function u(O,S,K){var L=O.getInlineStyleAt(K).toList(),D=L.filter(function(B){return B.startsWith(S.toLowerCase())});if(D&&D.size>0)return D.get(0)}function d(O,S){var K=O.getCurrentInlineStyle().toList(),L=K.filter(function(D){return D.startsWith(S.toLowerCase())});if(L&&L.size>0)return L.get(0)}function a(O,S){if(O&&S&&S.length>0){var K=function(){var L=O.getSelection(),D={};if(L.isCollapsed())return S.forEach(function(U){D[U]=d(O,U)}),{v:D};var B=L.getStartOffset(),J=L.getEndOffset(),Q=(0,c.getSelectedBlocksList)(O);if(Q.size>0){for(var G=0;G<Q.size;G+=1)(function(U){var se=U===0?B:0,q=U===Q.size-1?J:Q.get(U).getText().length;se===q&&se===0?(se=1,q=2):se===q&&(se-=1);for(var he=se;he<q;he+=1)(function(De){De===se?S.forEach(function(ke){D[ke]=u(Q.get(U),ke,De)}):S.forEach(function(ke){D[ke]&&D[ke]!==u(Q.get(U),ke,De)&&(D[ke]=void 0)})})(he)})(G);return{v:D}}}();if((K===void 0?"undefined":x(K))==="object")return K.v}return{}}function o(O){var S=O.getCurrentInlineStyle(),K=O.getCurrentContent();return S.forEach(function(L){K=k.Modifier.removeInlineStyle(K,O.getSelection(),L)}),k.EditorState.push(O,K,"change-inline-style")}Object.defineProperty(A,"__esModule",{value:!0}),A.getCustomStyleMap=void 0;var l=Object.assign||function(O){for(var S=1;S<arguments.length;S++){var K=arguments[S];for(var L in K)Object.prototype.hasOwnProperty.call(K,L)&&(O[L]=K[L])}return O},x=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O};A.getSelectionInlineStyle=w,A.getSelectionEntity=p,A.getEntityRange=s,A.toggleCustomInlineStyle=h,A.extractInlineStyle=f,A.getSelectionCustomInlineStyle=a,A.removeAllInlineStyles=o;var k=v(0),c=v(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"}},N=function(O,S,K){b[O][O.toLowerCase()+"-"+K]=T({},""+S,K)};A.getCustomStyleMap=function(){return l({},b.color,b.bgcolor,b.fontSize,b.fontFamily,{CODE:b.CODE,SUPERSCRIPT:b.SUPERSCRIPT,SUBSCRIPT:b.SUBSCRIPT})}},function(E,A){E.exports=y},function(E,A,v){"use strict";function T(u){var d=u.getSelection();if(d.isCollapsed()){var a=u.getCurrentContent(),o=d.getStartKey(),l=a.getBlockForKey(o);if(!(0,f.isListBlock)(l)&&l.getType()!=="unstyled"&&l.getLength()===d.getStartOffset())return(0,h.insertNewUnstyledBlock)(u);if((0,f.isListBlock)(l)&&l.getLength()===0){var x=l.getDepth();if(x===0)return(0,h.removeSelectedBlocksStyle)(u);if(x>0)return(0,f.changeDepth)(u,-1,x)}}}function w(u){return u.which===13&&(u.getModifierState("Shift")||u.getModifierState("Alt")||u.getModifierState("Control"))}function p(u,d){return w(d)?u.getSelection().isCollapsed()?s.RichUtils.insertSoftNewline(u):(0,h.addLineBreakRemovingSelection)(u):T(u)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=p;var s=v(0),h=v(1),f=v(2)}])})},8768:function(Y,H,i){"use strict";function F(h,f){if(!(h instanceof f))throw new TypeError("Cannot call a class as a function")}var y=i(24144),E=i(19543),A=i(5047),v=new RegExp(`\r
|
|
`,"g"),T=`
|
|
`,w={"text/rtf":1,"text/html":1};function p(h){if(h.kind=="file")return h.getAsFile()}var s=function(){function h(f){F(this,h),this.data=f,this.types=f.types?E(f.types):[]}return h.prototype.isRichText=function(){return this.getHTML()&&this.getText()?!0:this.isImage()?!1:this.types.some(function(u){return w[u]})},h.prototype.getText=function(){var u;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(u=this.data.getData("text/plain")):u=this.data.getData("Text")),u?u.replace(v,T):null},h.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")},h.prototype.isLink=function(){return this.types.some(function(u){return u.indexOf("Url")!=-1||u.indexOf("text/uri-list")!=-1||u.indexOf("text/x-moz-url")})},h.prototype.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var u=this.data.getData("text/x-moz-url").split(`
|
|
`);return u[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},h.prototype.isImage=function(){var u=this.types.some(function(l){return l.indexOf("application/x-moz-file")!=-1});if(u)return!0;for(var d=this.getFiles(),a=0;a<d.length;a++){var o=d[a].type;if(!y.isImage(o))return!1}return!0},h.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},h.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(p).filter(A.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},h.prototype.hasFiles=function(){return this.getFiles().length>0},h}();Y.exports=s},16803:function(Y){"use strict";Y.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(Y){"use strict";var H={isImage:function(y){return i(y)[0]==="image"},isJpeg:function(y){var E=i(y);return H.isImage(y)&&(E[1]==="jpeg"||E[1]==="pjpeg")}};function i(F){return F.split("/")}Y.exports=H},39937:function(Y){"use strict";function H(F,y){return!!y&&(F===y.documentElement||F===y.body)}var i={getTop:function(y){var E=y.ownerDocument;return H(y,E)?E.body.scrollTop||E.documentElement.scrollTop:y.scrollTop},setTop:function(y,E){var A=y.ownerDocument;H(y,A)?A.body.scrollTop=A.documentElement.scrollTop=E:y.scrollTop=E},getLeft:function(y){var E=y.ownerDocument;return H(y,E)?E.body.scrollLeft||E.documentElement.scrollLeft:y.scrollLeft},setLeft:function(y,E){var A=y.ownerDocument;H(y,A)?A.body.scrollLeft=A.documentElement.scrollLeft=E:y.scrollLeft=E}};Y.exports=i},68520:function(Y,H,i){"use strict";var F=i(39404);function y(A,v){var T=E.get(A,v);return T==="auto"||T==="scroll"}var E={get:F,getScrollParent:function(v){if(!v)return null;for(var T=v.ownerDocument;v&&v!==T.body;){if(y(v,"overflow")||y(v,"overflowY")||y(v,"overflowX"))return v;v=v.parentNode}return T.defaultView||T.parentWindow}};Y.exports=E},35343:function(Y){"use strict";var H=`[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;\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]`;Y.exports={getPunctuation:function(){return H}}},26213:function(Y){"use strict";function H(F,y){if(!(F instanceof y))throw new TypeError("Cannot call a class as a function")}var i=function(){function F(y){H(this,F),this._uri=y}return F.prototype.toString=function(){return this._uri},F}();Y.exports=i},71873:function(Y,H,i){"use strict";var F=i(83673),y=i(44083),E={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"},A=new RegExp("["+E.L+E.R+E.AL+"]"),v=new RegExp("["+E.R+E.AL+"]");function T(d){var a=A.exec(d);return a==null?null:a[0]}function w(d){var a=T(d);return a==null?F.NEUTRAL:v.exec(a)?F.RTL:F.LTR}function p(d,a){if(a=a||F.NEUTRAL,!d.length)return a;var o=w(d);return o===F.NEUTRAL?a:o}function s(d,a){return a||(a=F.getGlobalDir()),F.isStrong(a)||y(!1),p(d,a)}function h(d,a){return s(d,a)===F.LTR}function f(d,a){return s(d,a)===F.RTL}var u={firstStrongChar:T,firstStrongCharDir:w,resolveBlockDir:p,getDirection:s,isDirectionLTR:h,isDirectionRTL:f};Y.exports=u},83673:function(Y,H,i){"use strict";var F=i(44083),y="NEUTRAL",E="LTR",A="RTL",v=null;function T(d){return d===E||d===A}function w(d){return T(d)||F(!1),d===E?"ltr":"rtl"}function p(d,a){return T(d)||F(!1),T(a)||F(!1),d===a?null:w(d)}function s(d){v=d}function h(){s(E)}function f(){return v||this.initGlobalDir(),v||F(!1),v}var u={NEUTRAL:y,LTR:E,RTL:A,isStrong:T,getHTMLDir:w,getHTMLDirIfDifferent:p,setGlobalDir:s,initGlobalDir:h,getGlobalDir:f};Y.exports=u},84720:function(Y,H,i){"use strict";function F(T,w){if(!(T instanceof w))throw new TypeError("Cannot call a class as a function")}var y=i(71873),E=i(83673),A=i(44083),v=function(){function T(w){F(this,T),w?E.isStrong(w)||A(!1):w=E.getGlobalDir(),this._defaultDir=w,this.reset()}return T.prototype.reset=function(){this._lastDir=this._defaultDir},T.prototype.getDirection=function(p){return this._lastDir=y.getDirection(p,this._lastDir),this._lastDir},T}();Y.exports=v},11568:function(Y,H,i){"use strict";var F=i(44083),y=55296,E=56319,A=56320,v=57343,T=/[\uD800-\uDFFF]/;function w(l){return y<=l&&l<=v}function p(l,x){if(0<=x&&x<l.length||F(!1),x+1===l.length)return!1;var k=l.charCodeAt(x),c=l.charCodeAt(x+1);return y<=k&&k<=E&&A<=c&&c<=v}function s(l){return T.test(l)}function h(l,x){return 1+w(l.charCodeAt(x))}function f(l){if(!s(l))return l.length;for(var x=0,k=0;k<l.length;k+=h(l,k))x++;return x}function u(l,x,k){if(x=x||0,k=k===void 0?1/0:k||0,!s(l))return l.substr(x,k);var c=l.length;if(c<=0||x>c||k<=0)return"";var b=0;if(x>0){for(;x>0&&b<c;x--)b+=h(l,b);if(b>=c)return""}else if(x<0){for(b=c;x<0&&0<b;x++)b-=h(l,b-1);b<0&&(b=0)}var N=c;if(k<c)for(N=b;k>0&&N<c;k--)N+=h(l,N);return l.substring(b,N)}function d(l,x,k){x=x||0,k=k===void 0?1/0:k||0,x<0&&(x=0),k<0&&(k=0);var c=Math.abs(k-x);return x=x<k?x:k,u(l,x,c)}function a(l){for(var x=[],k=0;k<l.length;k+=h(l,k))x.push(l.codePointAt(k));return x}var o={getCodePoints:a,getUTF16Length:h,hasSurrogateUnit:s,isCodeUnitInSurrogateRange:w,isSurrogatePair:p,strlen:f,substring:d,substr:u};Y.exports=o},13567:function(Y,H,i){"use strict";var F=i(92424),y=i(72357),E=i(20181),A=i(36353);function v(p,s,h,f){if(p===h)return!0;if(!h.startsWith(p))return!1;var u=h.slice(p.length);return s?(u=f?f(u):u,y.contains(u,s)):!1}function T(p){return F.platformName==="Windows"?p.replace(/^\s*NT/,""):p}var w={isBrowser:function(s){return v(F.browserName,F.browserFullVersion,s)},isBrowserArchitecture:function(s){return v(F.browserArchitecture,null,s)},isDevice:function(s){return v(F.deviceName,null,s)},isEngine:function(s){return v(F.engineName,F.engineVersion,s)},isPlatform:function(s){return v(F.platformName,F.platformFullVersion,s,T)},isPlatformArchitecture:function(s){return v(F.platformArchitecture,null,s)}};Y.exports=E(w,A)},92424:function(Y,H,i){"use strict";var F=i(9406),y="Unknown",E={"Mac OS":"Mac OS X"};function A(h){return E[h]||h}function v(h){if(!h)return{major:"",minor:""};var f=h.split(".");return{major:f[0],minor:f[1]}}var T=new F,w=T.getResult(),p=v(w.browser.version),s={browserArchitecture:w.cpu.architecture||y,browserFullVersion:w.browser.version||y,browserMinorVersion:p.minor||y,browserName:w.browser.name||y,browserVersion:w.browser.major||y,deviceName:w.device.model||y,engineName:w.engine.name||y,engineVersion:w.engine.version||y,platformArchitecture:w.cpu.architecture||y,platformName:A(w.os.name)||y,platformVersion:w.os.version||y,platformFullVersion:w.os.version||y};Y.exports=s},72357:function(Y,H,i){"use strict";var F=i(44083),y=/\./,E=/\|\|/,A=/\s+\-\s+/,v=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,T=/^(\d*)(.*)/;function w(L,D){var B=L.split(E);return B.length>1?B.some(function(J){return K.contains(J,D)}):(L=B[0].trim(),p(L,D))}function p(L,D){var B=L.split(A);if(B.length>0&&B.length<=2||F(!1),B.length===1)return s(B[0],D);var J=B[0],Q=B[1];return k(J)&&k(Q)||F(!1),s(">="+J,D)&&s("<="+Q,D)}function s(L,D){if(L=L.trim(),L==="")return!0;var B=D.split(y),J=l(L),Q=J.modifier,G=J.rangeComponents;switch(Q){case"<":return h(B,G);case"<=":return f(B,G);case">=":return d(B,G);case">":return a(B,G);case"~":case"~>":return o(B,G);default:return u(B,G)}}function h(L,D){return S(L,D)===-1}function f(L,D){var B=S(L,D);return B===-1||B===0}function u(L,D){return S(L,D)===0}function d(L,D){var B=S(L,D);return B===1||B===0}function a(L,D){return S(L,D)===1}function o(L,D){var B=D.slice(),J=D.slice();J.length>1&&J.pop();var Q=J.length-1,G=parseInt(J[Q],10);return x(G)&&(J[Q]=G+1+""),d(L,B)&&h(L,J)}function l(L){var D=L.split(y),B=D[0].match(v);return B||F(!1),{modifier:B[1],rangeComponents:[B[2]].concat(D.slice(1))}}function x(L){return!isNaN(L)&&isFinite(L)}function k(L){return!l(L).modifier}function c(L,D){for(var B=L.length;B<D;B++)L[B]="0"}function b(L,D){L=L.slice(),D=D.slice(),c(L,D.length);for(var B=0;B<D.length;B++){var J=D[B].match(/^[x*]$/i);if(J&&(D[B]=L[B]="0",J[0]==="*"&&B===D.length-1))for(var Q=B;Q<L.length;Q++)L[Q]="0"}return c(D,L.length),[L,D]}function N(L,D){var B=L.match(T)[1],J=D.match(T)[1],Q=parseInt(B,10),G=parseInt(J,10);return x(Q)&&x(G)&&Q!==G?O(Q,G):O(L,D)}function O(L,D){return typeof L!=typeof D&&F(!1),L>D?1:L<D?-1:0}function S(L,D){for(var B=b(L,D),J=B[0],Q=B[1],G=0;G<Q.length;G++){var U=N(J[G],Q[G]);if(U)return U}return 0}var K={contains:function(D,B){return w(D.trim(),B.trim())}};Y.exports=K},98016:function(Y){"use strict";var H=/-(.)/g;function i(F){return F.replace(H,function(y,E){return E.toUpperCase()})}Y.exports=i},29558:function(Y,H,i){"use strict";var F=i(46683);function y(E,A){return!E||!A?!1:E===A?!0:F(E)?!1:F(A)?y(E,A.parentNode):"contains"in E?E.contains(A):E.compareDocumentPosition?!!(E.compareDocumentPosition(A)&16):!1}Y.exports=y},19543:function(Y,H,i){"use strict";var F=i(44083);function y(v){var T=v.length;if(!Array.isArray(v)&&(typeof v=="object"||typeof v=="function")||F(!1),typeof T!="number"&&F(!1),T===0||T-1 in v||F(!1),typeof v.callee=="function"&&F(!1),v.hasOwnProperty)try{return Array.prototype.slice.call(v)}catch(s){}for(var w=Array(T),p=0;p<T;p++)w[p]=v[p];return w}function E(v){return!!v&&(typeof v=="object"||typeof v=="function")&&"length"in v&&!("setInterval"in v)&&typeof v.nodeType!="number"&&(Array.isArray(v)||"callee"in v||"item"in v)}function A(v){return E(v)?Array.isArray(v)?v.slice():y(v):[v]}Y.exports=A},47471:function(Y){"use strict";function H(F){return typeof F=="object"?Object.keys(F).filter(function(y){return F[y]}).map(i).join(" "):Array.prototype.map.call(arguments,i).join(" ")}function i(F){return F.replace(/\//g,"-")}Y.exports=H},5047:function(Y){"use strict";function H(F){return function(){return F}}var i=function(){};i.thatReturns=H,i.thatReturnsFalse=H(!1),i.thatReturnsTrue=H(!0),i.thatReturnsNull=H(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(F){return F},Y.exports=i},21026:function(Y){"use strict";function H(i){if(i=i||(typeof document!="undefined"?document:void 0),typeof i=="undefined")return null;try{return i.activeElement||i.body}catch(F){return i.body}}Y.exports=H},43150:function(Y){"use strict";var H=typeof navigator!="undefined"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function i(F){return F=F||document,F.scrollingElement?F.scrollingElement:!H&&F.compatMode==="CSS1Compat"?F.documentElement:F.body}Y.exports=i},18850:function(Y,H,i){"use strict";var F=i(61014);function y(E){var A=F(E);return{x:A.left,y:A.top,width:A.right-A.left,height:A.bottom-A.top}}Y.exports=y},61014:function(Y,H,i){"use strict";var F=i(29558);function y(E){var A=E.ownerDocument.documentElement;if(!("getBoundingClientRect"in E)||!F(A,E))return{left:0,right:0,top:0,bottom:0};var v=E.getBoundingClientRect();return{left:Math.round(v.left)-A.clientLeft,right:Math.round(v.right)-A.clientLeft,top:Math.round(v.top)-A.clientTop,bottom:Math.round(v.bottom)-A.clientTop}}Y.exports=y},56182:function(Y,H,i){"use strict";var F=i(43150),y=i(76488);function E(A){var v=F(A.ownerDocument||A.document);A.Window&&A instanceof A.Window&&(A=v);var T=y(A),w=A===v?A.ownerDocument.documentElement:A,p=A.scrollWidth-w.clientWidth,s=A.scrollHeight-w.clientHeight;return T.x=Math.max(0,Math.min(T.x,p)),T.y=Math.max(0,Math.min(T.y,s)),T}Y.exports=E},39404:function(Y,H,i){"use strict";var F=i(98016),y=i(78019);function E(v){return v==null?v:String(v)}function A(v,T){var w=void 0;if(window.getComputedStyle&&(w=window.getComputedStyle(v,null),w))return E(w.getPropertyValue(y(T)));if(document.defaultView&&document.defaultView.getComputedStyle){if(w=document.defaultView.getComputedStyle(v,null),w)return E(w.getPropertyValue(y(T)));if(T==="display")return"none"}return v.currentStyle?E(T==="float"?v.currentStyle.cssFloat||v.currentStyle.styleFloat:v.currentStyle[F(T)]):E(v.style&&v.style[F(T)])}Y.exports=A},76488:function(Y){"use strict";function H(i){return i.Window&&i instanceof i.Window?{x:i.pageXOffset||i.document.documentElement.scrollLeft,y:i.pageYOffset||i.document.documentElement.scrollTop}:{x:i.scrollLeft,y:i.scrollTop}}Y.exports=H},92699:function(Y){"use strict";function H(){var y=void 0;return document.documentElement&&(y=document.documentElement.clientWidth),!y&&document.body&&(y=document.body.clientWidth),y||0}function i(){var y=void 0;return document.documentElement&&(y=document.documentElement.clientHeight),!y&&document.body&&(y=document.body.clientHeight),y||0}function F(){return{width:window.innerWidth||H(),height:window.innerHeight||i()}}F.withoutScrollbars=function(){return{width:H(),height:i()}},Y.exports=F},78019:function(Y){"use strict";var H=/([A-Z])/g;function i(F){return F.replace(H,"-$1").toLowerCase()}Y.exports=i},44083:function(Y){"use strict";var H=function(y){};function i(F,y,E,A,v,T,w,p){if(H(y),!F){var s;if(y===void 0)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[E,A,v,T,w,p],f=0;s=new Error(y.replace(/%s/g,function(){return h[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}Y.exports=i},89139:function(Y){"use strict";function H(i){var F=i?i.ownerDocument||i:document,y=F.defaultView||window;return!!(i&&(typeof y.Node=="function"?i instanceof y.Node:typeof i=="object"&&typeof i.nodeType=="number"&&typeof i.nodeName=="string"))}Y.exports=H},46683:function(Y,H,i){"use strict";var F=i(89139);function y(E){return F(E)&&E.nodeType==3}Y.exports=y},72115:function(Y){"use strict";function H(i){i||(i="");var F=void 0,y=arguments.length;if(y>1)for(var E=1;E<y;E++)F=arguments[E],F&&(i=(i?i+" ":"")+F);return i}Y.exports=H},20181:function(Y){"use strict";var H=Object.prototype.hasOwnProperty;function i(F,y,E){if(!F)return null;var A={};for(var v in F)H.call(F,v)&&(A[v]=y.call(E,F[v],v,F));return A}Y.exports=i},36353:function(Y){"use strict";function H(i){var F={};return function(y){return F.hasOwnProperty(y)||(F[y]=i.call(this,y)),F[y]}}Y.exports=H},17e3:function(Y){"use strict";var H=function(F){if(F!=null)return F;throw new Error("Got unexpected null or undefined")};Y.exports=H},67241:function(Y,H,i){"use strict";i(22353),Y.exports=i.g.setImmediate},52724:function(Y){(function(H,i){Y.exports=i()})(this,function(){"use strict";var H=Array.prototype.slice;function i(e,n){n&&(e.prototype=Object.create(n.prototype)),e.prototype.constructor=e}function F(e){return v(e)?e:je(e)}i(y,F);function y(e){return T(e)?e:gt(e)}i(E,F);function E(e){return w(e)?e:Ze(e)}i(A,F);function A(e){return v(e)&&!p(e)?e:Tt(e)}function v(e){return!!(e&&e[h])}function T(e){return!!(e&&e[f])}function w(e){return!!(e&&e[u])}function p(e){return T(e)||w(e)}function s(e){return!!(e&&e[d])}F.isIterable=v,F.isKeyed=T,F.isIndexed=w,F.isAssociative=p,F.isOrdered=s,F.Keyed=y,F.Indexed=E,F.Set=A;var h="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",a="delete",o=5,l=1<<o,x=l-1,k={},c={value:!1},b={value:!1};function N(e){return e.value=!1,e}function O(e){e&&(e.value=!0)}function S(){}function K(e,n){n=n||0;for(var C=Math.max(0,e.length-n),R=new Array(C),P=0;P<C;P++)R[P]=e[P+n];return R}function L(e){return e.size===void 0&&(e.size=e.__iterate(B)),e.size}function D(e,n){if(typeof n!="number"){var C=n>>>0;if(""+C!==n||C===4294967295)return NaN;n=C}return n<0?L(e)+n:n}function B(){return!0}function J(e,n,C){return(e===0||C!==void 0&&e<=-C)&&(n===void 0||C!==void 0&&n>=C)}function Q(e,n){return U(e,n,0)}function G(e,n){return U(e,n,n)}function U(e,n,C){return e===void 0?C:e<0?Math.max(0,n+e):n===void 0?e:Math.min(n,e)}var se=0,q=1,he=2,De=typeof Symbol=="function"&&Symbol.iterator,ke="@@iterator",$=De||ke;function Ie(e){this.next=e}Ie.prototype.toString=function(){return"[Iterator]"},Ie.KEYS=se,Ie.VALUES=q,Ie.ENTRIES=he,Ie.prototype.inspect=Ie.prototype.toSource=function(){return this.toString()},Ie.prototype[$]=function(){return this};function Ue(e,n,C,R){var P=e===0?n:e===1?C:[n,C];return R?R.value=P:R={value:P,done:!1},R}function He(){return{value:void 0,done:!0}}function We(e){return!!Et(e)}function Xe(e){return e&&typeof e.next=="function"}function vt(e){var n=Et(e);return n&&n.call(e)}function Et(e){var n=e&&(De&&e[De]||e[ke]);if(typeof n=="function")return n}function ht(e){return e&&typeof e.length=="number"}i(je,F);function je(e){return e==null?ue():v(e)?e.toSeq():Ae(e)}je.of=function(){return je(arguments)},je.prototype.toSeq=function(){return this},je.prototype.toString=function(){return this.__toString("Seq {","}")},je.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},je.prototype.__iterate=function(e,n){return Te(this,e,n,!0)},je.prototype.__iterator=function(e,n){return Fe(this,e,n,!0)},i(gt,je);function gt(e){return e==null?ue().toKeyedSeq():v(e)?T(e)?e.toSeq():e.fromEntrySeq():ie(e)}gt.prototype.toKeyedSeq=function(){return this},i(Ze,je);function Ze(e){return e==null?ue():v(e)?T(e)?e.entrySeq():e.toIndexedSeq():ge(e)}Ze.of=function(){return Ze(arguments)},Ze.prototype.toIndexedSeq=function(){return this},Ze.prototype.toString=function(){return this.__toString("Seq [","]")},Ze.prototype.__iterate=function(e,n){return Te(this,e,n,!1)},Ze.prototype.__iterator=function(e,n){return Fe(this,e,n,!1)},i(Tt,je);function Tt(e){return(e==null?ue():v(e)?T(e)?e.entrySeq():e:ge(e)).toSetSeq()}Tt.of=function(){return Tt(arguments)},Tt.prototype.toSetSeq=function(){return this},je.isSeq=nn,je.Keyed=gt,je.Set=Tt,je.Indexed=Ze;var At="@@__IMMUTABLE_SEQ__@@";je.prototype[At]=!0,i(bt,Ze);function bt(e){this._array=e,this.size=e.length}bt.prototype.get=function(e,n){return this.has(e)?this._array[D(this,e)]:n},bt.prototype.__iterate=function(e,n){for(var C=this._array,R=C.length-1,P=0;P<=R;P++)if(e(C[n?R-P:P],P,this)===!1)return P+1;return P},bt.prototype.__iterator=function(e,n){var C=this._array,R=C.length-1,P=0;return new Ie(function(){return P>R?He():Ue(e,P,C[n?R-P++:P++])})},i(Be,gt);function Be(e){var n=Object.keys(e);this._object=e,this._keys=n,this.size=n.length}Be.prototype.get=function(e,n){return n!==void 0&&!this.has(e)?n:this._object[e]},Be.prototype.has=function(e){return this._object.hasOwnProperty(e)},Be.prototype.__iterate=function(e,n){for(var C=this._object,R=this._keys,P=R.length-1,_=0;_<=P;_++){var te=R[n?P-_:_];if(e(C[te],te,this)===!1)return _+1}return _},Be.prototype.__iterator=function(e,n){var C=this._object,R=this._keys,P=R.length-1,_=0;return new Ie(function(){var te=R[n?P-_:_];return _++>P?He():Ue(e,te,C[te])})},Be.prototype[d]=!0,i(rt,Ze);function rt(e){this._iterable=e,this.size=e.length||e.size}rt.prototype.__iterateUncached=function(e,n){if(n)return this.cacheResult().__iterate(e,n);var C=this._iterable,R=vt(C),P=0;if(Xe(R))for(var _;!(_=R.next()).done&&e(_.value,P++,this)!==!1;);return P},rt.prototype.__iteratorUncached=function(e,n){if(n)return this.cacheResult().__iterator(e,n);var C=this._iterable,R=vt(C);if(!Xe(R))return new Ie(He);var P=0;return new Ie(function(){var _=R.next();return _.done?_:Ue(e,P++,_.value)})},i(Pt,Ze);function Pt(e){this._iterator=e,this._iteratorCache=[]}Pt.prototype.__iterateUncached=function(e,n){if(n)return this.cacheResult().__iterate(e,n);for(var C=this._iterator,R=this._iteratorCache,P=0;P<R.length;)if(e(R[P],P++,this)===!1)return P;for(var _;!(_=C.next()).done;){var te=_.value;if(R[P]=te,e(te,P++,this)===!1)break}return P},Pt.prototype.__iteratorUncached=function(e,n){if(n)return this.cacheResult().__iterator(e,n);var C=this._iterator,R=this._iteratorCache,P=0;return new Ie(function(){if(P>=R.length){var _=C.next();if(_.done)return _;R[P]=_.value}return Ue(e,P,R[P++])})};function nn(e){return!!(e&&e[At])}var Ke;function ue(){return Ke||(Ke=new bt([]))}function ie(e){var n=Array.isArray(e)?new bt(e).fromEntrySeq():Xe(e)?new Pt(e).fromEntrySeq():We(e)?new rt(e).fromEntrySeq():typeof e=="object"?new Be(e):void 0;if(!n)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return n}function ge(e){var n=Se(e);if(!n)throw new TypeError("Expected Array or iterable object of values: "+e);return n}function Ae(e){var n=Se(e)||typeof e=="object"&&new Be(e);if(!n)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return n}function Se(e){return ht(e)?new bt(e):Xe(e)?new Pt(e):We(e)?new rt(e):void 0}function Te(e,n,C,R){var P=e._cache;if(P){for(var _=P.length-1,te=0;te<=_;te++){var ce=P[C?_-te:te];if(n(ce[1],R?ce[0]:te,e)===!1)return te+1}return te}return e.__iterateUncached(n,C)}function Fe(e,n,C,R){var P=e._cache;if(P){var _=P.length-1,te=0;return new Ie(function(){var ce=P[C?_-te:te];return te++>_?He():Ue(n,R?ce[0]:te-1,ce[1])})}return e.__iteratorUncached(n,C)}function Oe(e,n){return n?Ge(n,e,"",{"":e}):Qe(e)}function Ge(e,n,C,R){return Array.isArray(n)?e.call(R,C,Ze(n).map(function(P,_){return Ge(e,P,_,n)})):_e(n)?e.call(R,C,gt(n).map(function(P,_){return Ge(e,P,_,n)})):n}function Qe(e){return Array.isArray(e)?Ze(e).map(Qe).toList():_e(e)?gt(e).map(Qe).toMap():e}function _e(e){return e&&(e.constructor===Object||e.constructor===void 0)}function Re(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 lt(e,n){if(e===n)return!0;if(!v(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||T(e)!==T(n)||w(e)!==w(n)||s(e)!==s(n))return!1;if(e.size===0&&n.size===0)return!0;var C=!p(e);if(s(e)){var R=e.entries();return n.every(function(ye,ae){var we=R.next().value;return we&&Re(we[1],ye)&&(C||Re(we[0],ae))})&&R.next().done}var P=!1;if(e.size===void 0)if(n.size===void 0)typeof e.cacheResult=="function"&&e.cacheResult();else{P=!0;var _=e;e=n,n=_}var te=!0,ce=n.__iterate(function(ye,ae){if(C?!e.has(ye):P?!Re(ye,e.get(ae,k)):!Re(e.get(ae,k),ye))return te=!1,!1});return te&&e.size===ce}i(St,Ze);function St(e,n){if(!(this instanceof St))return new St(e,n);if(this._value=e,this.size=n===void 0?1/0:Math.max(0,n),this.size===0){if(Kt)return Kt;Kt=this}}St.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},St.prototype.get=function(e,n){return this.has(e)?this._value:n},St.prototype.includes=function(e){return Re(this._value,e)},St.prototype.slice=function(e,n){var C=this.size;return J(e,n,C)?this:new St(this._value,G(n,C)-Q(e,C))},St.prototype.reverse=function(){return this},St.prototype.indexOf=function(e){return Re(this._value,e)?0:-1},St.prototype.lastIndexOf=function(e){return Re(this._value,e)?this.size:-1},St.prototype.__iterate=function(e,n){for(var C=0;C<this.size;C++)if(e(this._value,C,this)===!1)return C+1;return C},St.prototype.__iterator=function(e,n){var C=this,R=0;return new Ie(function(){return R<C.size?Ue(e,R++,C._value):He()})},St.prototype.equals=function(e){return e instanceof St?Re(this._value,e._value):lt(e)};var Kt;function Ot(e,n){if(!e)throw new Error(n)}i(It,Ze);function It(e,n,C){if(!(this instanceof It))return new It(e,n,C);if(Ot(C!==0,"Cannot step a Range by 0"),e=e||0,n===void 0&&(n=1/0),C=C===void 0?1:Math.abs(C),n<e&&(C=-C),this._start=e,this._end=n,this._step=C,this.size=Math.max(0,Math.ceil((n-e)/C-1)+1),this.size===0){if(Qt)return Qt;Qt=this}}It.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},It.prototype.get=function(e,n){return this.has(e)?this._start+D(this,e)*this._step:n},It.prototype.includes=function(e){var n=(e-this._start)/this._step;return n>=0&&n<this.size&&n===Math.floor(n)},It.prototype.slice=function(e,n){return J(e,n,this.size)?this:(e=Q(e,this.size),n=G(n,this.size),n<=e?new It(0,0):new It(this.get(e,this._end),this.get(n,this._end),this._step))},It.prototype.indexOf=function(e){var n=e-this._start;if(n%this._step===0){var C=n/this._step;if(C>=0&&C<this.size)return C}return-1},It.prototype.lastIndexOf=function(e){return this.indexOf(e)},It.prototype.__iterate=function(e,n){for(var C=this.size-1,R=this._step,P=n?this._start+C*R:this._start,_=0;_<=C;_++){if(e(P,_,this)===!1)return _+1;P+=n?-R:R}return _},It.prototype.__iterator=function(e,n){var C=this.size-1,R=this._step,P=n?this._start+C*R:this._start,_=0;return new Ie(function(){var te=P;return P+=n?-R:R,_>C?He():Ue(e,_++,te)})},It.prototype.equals=function(e){return e instanceof It?this._start===e._start&&this._end===e._end&&this._step===e._step:lt(this,e)};var Qt;i(Gt,F);function Gt(){throw TypeError("Abstract")}i(ne,Gt);function ne(){}i(de,Gt);function de(){}i(Ee,Gt);function Ee(){}Gt.Keyed=ne,Gt.Indexed=de,Gt.Set=Ee;var Ce=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(n,C){n=n|0,C=C|0;var R=n&65535,P=C&65535;return R*P+((n>>>16)*P+R*(C>>>16)<<16>>>0)|0};function Le(e){return e>>>1&1073741824|e&3221225471}function Ne(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 C=e|0;for(C!==e&&(C^=e*4294967295);e>4294967295;)e/=4294967295,C^=e;return Le(C)}if(n==="string")return e.length>st?ft(e):tt(e);if(typeof e.hashCode=="function")return e.hashCode();if(n==="object")return yt(e);if(typeof e.toString=="function")return tt(e.toString());throw new Error("Value type "+n+" cannot be hashed.")}function ft(e){var n=Mt[e];return n===void 0&&(n=tt(e),jt===Wt&&(jt=0,Mt={}),jt++,Mt[e]=n),n}function tt(e){for(var n=0,C=0;C<e.length;C++)n=31*n+e.charCodeAt(C)|0;return Le(n)}function yt(e){var n;if(Ct&&(n=$e.get(e),n!==void 0)||(n=e[dt],n!==void 0)||!xt&&(n=e.propertyIsEnumerable&&e.propertyIsEnumerable[dt],n!==void 0||(n=it(e),n!==void 0)))return n;if(n=++ut,ut&1073741824&&(ut=0),Ct)$e.set(e,n);else{if(qe!==void 0&&qe(e)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(xt)Object.defineProperty(e,dt,{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[dt]=n;else if(e.nodeType!==void 0)e[dt]=n;else throw new Error("Unable to set a non-enumerable property on object.")}return n}var qe=Object.isExtensible,xt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function it(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",$e;Ct&&($e=new WeakMap);var ut=0,dt="__immutablehash__";typeof Symbol=="function"&&(dt=Symbol(dt));var st=16,Wt=255,jt=0,Mt={};function Ft(e){Ot(e!==1/0,"Cannot perform this action with an infinite size.")}i(at,ne);function at(e){return e==null?rn():Dt(e)&&!s(e)?e:rn().withMutations(function(n){var C=y(e);Ft(C.size),C.forEach(function(R,P){return n.set(P,R)})})}at.prototype.toString=function(){return this.__toString("Map {","}")},at.prototype.get=function(e,n){return this._root?this._root.get(0,void 0,e,n):n},at.prototype.set=function(e,n){return Cn(this,e,n)},at.prototype.setIn=function(e,n){return this.updateIn(e,k,function(){return n})},at.prototype.remove=function(e){return Cn(this,e,k)},at.prototype.deleteIn=function(e){return this.updateIn(e,function(){return k})},at.prototype.update=function(e,n,C){return arguments.length===1?e(this):this.updateIn([e],n,C)},at.prototype.updateIn=function(e,n,C){C||(C=n,n=void 0);var R=cr(this,mr(e),n,C);return R===k?void 0:R},at.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rn()},at.prototype.merge=function(){return Bn(this,void 0,arguments)},at.prototype.mergeWith=function(e){var n=H.call(arguments,1);return Bn(this,e,n)},at.prototype.mergeIn=function(e){var n=H.call(arguments,1);return this.updateIn(e,rn(),function(C){return typeof C.merge=="function"?C.merge.apply(C,n):n[n.length-1]})},at.prototype.mergeDeep=function(){return Bn(this,Jn,arguments)},at.prototype.mergeDeepWith=function(e){var n=H.call(arguments,1);return Bn(this,qn(e),n)},at.prototype.mergeDeepIn=function(e){var n=H.call(arguments,1);return this.updateIn(e,rn(),function(C){return typeof C.mergeDeep=="function"?C.mergeDeep.apply(C,n):n[n.length-1]})},at.prototype.sort=function(e){return Xt(Ln(this,e))},at.prototype.sortBy=function(e,n){return Xt(Ln(this,n,e))},at.prototype.withMutations=function(e){var n=this.asMutable();return e(n),n.wasAltered()?n.__ensureOwner(this.__ownerID):this},at.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},at.prototype.asImmutable=function(){return this.__ensureOwner()},at.prototype.wasAltered=function(){return this.__altered},at.prototype.__iterator=function(e,n){return new en(this,e,n)},at.prototype.__iterate=function(e,n){var C=this,R=0;return this._root&&this._root.iterate(function(P){return R++,e(P[1],P[0],C)},n),R},at.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?zt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)};function Dt(e){return!!(e&&e[kt])}at.isMap=Dt;var kt="@@__IMMUTABLE_MAP__@@",ot=at.prototype;ot[kt]=!0,ot[a]=ot.remove,ot.removeIn=ot.deleteIn;function Rt(e,n){this.ownerID=e,this.entries=n}Rt.prototype.get=function(e,n,C,R){for(var P=this.entries,_=0,te=P.length;_<te;_++)if(Re(C,P[_][0]))return P[_][1];return R},Rt.prototype.update=function(e,n,C,R,P,_,te){for(var ce=P===k,ye=this.entries,ae=0,we=ye.length;ae<we&&!Re(R,ye[ae][0]);ae++);var Pe=ae<we;if(Pe?ye[ae][1]===P:ce)return this;if(O(te),(ce||!Pe)&&O(_),!(ce&&ye.length===1)){if(!Pe&&!ce&&ye.length>=V)return Fn(e,ye,R,P);var ze=e&&e===this.ownerID,mt=ze?ye:K(ye);return Pe?ce?ae===we-1?mt.pop():mt[ae]=mt.pop():mt[ae]=[R,P]:mt.push([R,P]),ze?(this.entries=mt,this):new Rt(e,mt)}};function Ut(e,n,C){this.ownerID=e,this.bitmap=n,this.nodes=C}Ut.prototype.get=function(e,n,C,R){n===void 0&&(n=Ne(C));var P=1<<((e===0?n:n>>>e)&x),_=this.bitmap;return _&P?this.nodes[er(_&P-1)].get(e+o,n,C,R):R},Ut.prototype.update=function(e,n,C,R,P,_,te){C===void 0&&(C=Ne(R));var ce=(n===0?C:C>>>n)&x,ye=1<<ce,ae=this.bitmap,we=(ae&ye)!==0;if(!we&&P===k)return this;var Pe=er(ae&ye-1),ze=this.nodes,mt=we?ze[Pe]:void 0,wt=bn(mt,e,n+o,C,R,P,_,te);if(wt===mt)return this;if(!we&&wt&&ze.length>=Z)return yn(e,ze,ae,ce,wt);if(we&&!wt&&ze.length===2&&mn(ze[Pe^1]))return ze[Pe^1];if(we&&wt&&ze.length===1&&mn(wt))return wt;var Nt=e&&e===this.ownerID,Pn=we?wt?ae:ae^ye:ae|ye,Wn=we?wt?tr(ze,Pe,wt,Nt):M(ze,Pe,Nt):g(ze,Pe,wt,Nt);return Nt?(this.bitmap=Pn,this.nodes=Wn,this):new Ut(e,Pn,Wn)};function Yt(e,n,C){this.ownerID=e,this.count=n,this.nodes=C}Yt.prototype.get=function(e,n,C,R){n===void 0&&(n=Ne(C));var P=(e===0?n:n>>>e)&x,_=this.nodes[P];return _?_.get(e+o,n,C,R):R},Yt.prototype.update=function(e,n,C,R,P,_,te){C===void 0&&(C=Ne(R));var ce=(n===0?C:C>>>n)&x,ye=P===k,ae=this.nodes,we=ae[ce];if(ye&&!we)return this;var Pe=bn(we,e,n+o,C,R,P,_,te);if(Pe===we)return this;var ze=this.count;if(!we)ze++;else if(!Pe&&(ze--,ze<ve))return xn(e,ae,ze,ce);var mt=e&&e===this.ownerID,wt=tr(ae,ce,Pe,mt);return mt?(this.count=ze,this.nodes=wt,this):new Yt(e,ze,wt)};function un(e,n,C){this.ownerID=e,this.keyHash=n,this.entries=C}un.prototype.get=function(e,n,C,R){for(var P=this.entries,_=0,te=P.length;_<te;_++)if(Re(C,P[_][0]))return P[_][1];return R},un.prototype.update=function(e,n,C,R,P,_,te){C===void 0&&(C=Ne(R));var ce=P===k;if(C!==this.keyHash)return ce?this:(O(te),O(_),on(this,e,n,C,[R,P]));for(var ye=this.entries,ae=0,we=ye.length;ae<we&&!Re(R,ye[ae][0]);ae++);var Pe=ae<we;if(Pe?ye[ae][1]===P:ce)return this;if(O(te),(ce||!Pe)&&O(_),ce&&we===2)return new fn(e,this.keyHash,ye[ae^1]);var ze=e&&e===this.ownerID,mt=ze?ye:K(ye);return Pe?ce?ae===we-1?mt.pop():mt[ae]=mt.pop():mt[ae]=[R,P]:mt.push([R,P]),ze?(this.entries=mt,this):new un(e,this.keyHash,mt)};function fn(e,n,C){this.ownerID=e,this.keyHash=n,this.entry=C}fn.prototype.get=function(e,n,C,R){return Re(C,this.entry[0])?this.entry[1]:R},fn.prototype.update=function(e,n,C,R,P,_,te){var ce=P===k,ye=Re(R,this.entry[0]);if(ye?P===this.entry[1]:ce)return this;if(O(te),ce){O(_);return}return ye?e&&e===this.ownerID?(this.entry[1]=P,this):new fn(e,this.keyHash,[R,P]):(O(_),on(this,e,n,Ne(R),[R,P]))},Rt.prototype.iterate=un.prototype.iterate=function(e,n){for(var C=this.entries,R=0,P=C.length-1;R<=P;R++)if(e(C[n?P-R:R])===!1)return!1},Ut.prototype.iterate=Yt.prototype.iterate=function(e,n){for(var C=this.nodes,R=0,P=C.length-1;R<=P;R++){var _=C[n?P-R:R];if(_&&_.iterate(e,n)===!1)return!1}},fn.prototype.iterate=function(e,n){return e(this.entry)},i(en,Ie);function en(e,n,C){this._type=n,this._reverse=C,this._stack=e._root&&gn(e._root)}en.prototype.next=function(){for(var e=this._type,n=this._stack;n;){var C=n.node,R=n.index++,P;if(C.entry){if(R===0)return Rn(e,C.entry)}else if(C.entries){if(P=C.entries.length-1,R<=P)return Rn(e,C.entries[this._reverse?P-R:R])}else if(P=C.nodes.length-1,R<=P){var _=C.nodes[this._reverse?P-R:R];if(_){if(_.entry)return Rn(e,_.entry);n=this._stack=gn(_,n)}continue}n=this._stack=this._stack.__prev}return He()};function Rn(e,n){return Ue(e,n[0],n[1])}function gn(e,n){return{node:e,index:0,__prev:n}}function zt(e,n,C,R){var P=Object.create(ot);return P.size=e,P._root=n,P.__ownerID=C,P.__hash=R,P.__altered=!1,P}var Kn;function rn(){return Kn||(Kn=zt(0))}function Cn(e,n,C){var R,P;if(e._root){var _=N(c),te=N(b);if(R=bn(e._root,e.__ownerID,0,void 0,n,C,_,te),!te.value)return e;P=e.size+(_.value?C===k?-1:1:0)}else{if(C===k)return e;P=1,R=new Rt(e.__ownerID,[[n,C]])}return e.__ownerID?(e.size=P,e._root=R,e.__hash=void 0,e.__altered=!0,e):R?zt(P,R):rn()}function bn(e,n,C,R,P,_,te,ce){return e?e.update(n,C,R,P,_,te,ce):_===k?e:(O(ce),O(te),new fn(n,R,[P,_]))}function mn(e){return e.constructor===fn||e.constructor===un}function on(e,n,C,R,P){if(e.keyHash===R)return new un(n,R,[e.entry,P]);var _=(C===0?e.keyHash:e.keyHash>>>C)&x,te=(C===0?R:R>>>C)&x,ce,ye=_===te?[on(e,n,C+o,R,P)]:(ce=new fn(n,R,P),_<te?[e,ce]:[ce,e]);return new Ut(n,1<<_|1<<te,ye)}function Fn(e,n,C,R){e||(e=new S);for(var P=new fn(e,Ne(C),[C,R]),_=0;_<n.length;_++){var te=n[_];P=P.update(e,0,void 0,te[0],te[1])}return P}function xn(e,n,C,R){for(var P=0,_=0,te=new Array(C),ce=0,ye=1,ae=n.length;ce<ae;ce++,ye<<=1){var we=n[ce];we!==void 0&&ce!==R&&(P|=ye,te[_++]=we)}return new Ut(e,P,te)}function yn(e,n,C,R,P){for(var _=0,te=new Array(l),ce=0;C!==0;ce++,C>>>=1)te[ce]=C&1?n[_++]:void 0;return te[R]=P,new Yt(e,_+1,te)}function Bn(e,n,C){for(var R=[],P=0;P<C.length;P++){var _=C[P],te=y(_);v(_)||(te=te.map(function(ce){return Oe(ce)})),R.push(te)}return Gn(e,n,R)}function Jn(e,n,C){return e&&e.mergeDeep&&v(n)?e.mergeDeep(n):Re(e,n)?e:n}function qn(e){return function(n,C,R){if(n&&n.mergeDeepWith&&v(C))return n.mergeDeepWith(e,C);var P=e(n,C,R);return Re(n,P)?n:P}}function Gn(e,n,C){return C=C.filter(function(R){return R.size!==0}),C.length===0?e:e.size===0&&!e.__ownerID&&C.length===1?e.constructor(C[0]):e.withMutations(function(R){for(var P=n?function(te,ce){R.update(ce,k,function(ye){return ye===k?te:n(ye,te,ce)})}:function(te,ce){R.set(ce,te)},_=0;_<C.length;_++)C[_].forEach(P)})}function cr(e,n,C,R){var P=e===k,_=n.next();if(_.done){var te=P?C:e,ce=R(te);return ce===te?e:ce}Ot(P||e&&e.set,"invalid keyPath");var ye=_.value,ae=P?k:e.get(ye,k),we=cr(ae,n,C,R);return we===ae?e:we===k?e.remove(ye):(P?rn():e).set(ye,we)}function er(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 tr(e,n,C,R){var P=R?e:K(e);return P[n]=C,P}function g(e,n,C,R){var P=e.length+1;if(R&&n+1===P)return e[n]=C,e;for(var _=new Array(P),te=0,ce=0;ce<P;ce++)ce===n?(_[ce]=C,te=-1):_[ce]=e[ce+te];return _}function M(e,n,C){var R=e.length-1;if(C&&n===R)return e.pop(),e;for(var P=new Array(R),_=0,te=0;te<R;te++)te===n&&(_=1),P[te]=e[te+_];return P}var V=l/4,Z=l/2,ve=l/4;i(pe,de);function pe(e){var n=sn();if(e==null)return n;if(be(e))return e;var C=E(e),R=C.size;return R===0?n:(Ft(R),R>0&&R<l?ln(0,R,o,null,new nt(C.toArray())):n.withMutations(function(P){P.setSize(R),C.forEach(function(_,te){return P.set(te,_)})}))}pe.of=function(){return this(arguments)},pe.prototype.toString=function(){return this.__toString("List [","]")},pe.prototype.get=function(e,n){if(e=D(this,e),e>=0&&e<this.size){e+=this._origin;var C=Un(this,e);return C&&C.array[e&x]}return n},pe.prototype.set=function(e,n){return Qn(this,e,n)},pe.prototype.remove=function(e){return this.has(e)?e===0?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},pe.prototype.insert=function(e,n){return this.splice(e,0,n)},pe.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):sn()},pe.prototype.push=function(){var e=arguments,n=this.size;return this.withMutations(function(C){kn(C,0,n+e.length);for(var R=0;R<e.length;R++)C.set(n+R,e[R])})},pe.prototype.pop=function(){return kn(this,0,-1)},pe.prototype.unshift=function(){var e=arguments;return this.withMutations(function(n){kn(n,-e.length);for(var C=0;C<e.length;C++)n.set(C,e[C])})},pe.prototype.shift=function(){return kn(this,1)},pe.prototype.merge=function(){return Tn(this,void 0,arguments)},pe.prototype.mergeWith=function(e){var n=H.call(arguments,1);return Tn(this,e,n)},pe.prototype.mergeDeep=function(){return Tn(this,Jn,arguments)},pe.prototype.mergeDeepWith=function(e){var n=H.call(arguments,1);return Tn(this,qn(e),n)},pe.prototype.setSize=function(e){return kn(this,0,e)},pe.prototype.slice=function(e,n){var C=this.size;return J(e,n,C)?this:kn(this,Q(e,C),G(n,C))},pe.prototype.__iterator=function(e,n){var C=0,R=Vt(this,n);return new Ie(function(){var P=R();return P===pt?He():Ue(e,C++,P)})},pe.prototype.__iterate=function(e,n){for(var C=0,R=Vt(this,n),P;(P=R())!==pt&&e(P,C++,this)!==!1;);return C},pe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ln(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)};function be(e){return!!(e&&e[Me])}pe.isList=be;var Me="@@__IMMUTABLE_LIST__@@",Ye=pe.prototype;Ye[Me]=!0,Ye[a]=Ye.remove,Ye.setIn=ot.setIn,Ye.deleteIn=Ye.removeIn=ot.removeIn,Ye.update=ot.update,Ye.updateIn=ot.updateIn,Ye.mergeIn=ot.mergeIn,Ye.mergeDeepIn=ot.mergeDeepIn,Ye.withMutations=ot.withMutations,Ye.asMutable=ot.asMutable,Ye.asImmutable=ot.asImmutable,Ye.wasAltered=ot.wasAltered;function nt(e,n){this.array=e,this.ownerID=n}nt.prototype.removeBefore=function(e,n,C){if(C===n?1<<n:this.array.length===0)return this;var R=C>>>n&x;if(R>=this.array.length)return new nt([],e);var P=R===0,_;if(n>0){var te=this.array[R];if(_=te&&te.removeBefore(e,n-o,C),_===te&&P)return this}if(P&&!_)return this;var ce=In(this,e);if(!P)for(var ye=0;ye<R;ye++)ce.array[ye]=void 0;return _&&(ce.array[R]=_),ce},nt.prototype.removeAfter=function(e,n,C){if(C===(n?1<<n:0)||this.array.length===0)return this;var R=C-1>>>n&x;if(R>=this.array.length)return this;var P;if(n>0){var _=this.array[R];if(P=_&&_.removeAfter(e,n-o,C),P===_&&R===this.array.length-1)return this}var te=In(this,e);return te.array.splice(R+1),P&&(te.array[R]=P),te};var pt={};function Vt(e,n){var C=e._origin,R=e._capacity,P=dn(R),_=e._tail;return te(e._root,e._level,0);function te(ae,we,Pe){return we===0?ce(ae,Pe):ye(ae,we,Pe)}function ce(ae,we){var Pe=we===P?_&&_.array:ae&&ae.array,ze=we>C?0:C-we,mt=R-we;return mt>l&&(mt=l),function(){if(ze===mt)return pt;var wt=n?--mt:ze++;return Pe&&Pe[wt]}}function ye(ae,we,Pe){var ze,mt=ae&&ae.array,wt=Pe>C?0:C-Pe>>we,Nt=(R-Pe>>we)+1;return Nt>l&&(Nt=l),function(){do{if(ze){var Pn=ze();if(Pn!==pt)return Pn;ze=null}if(wt===Nt)return pt;var Wn=n?--Nt:wt++;ze=te(mt&&mt[Wn],we-o,Pe+(Wn<<we))}while(!0)}}}function ln(e,n,C,R,P,_,te){var ce=Object.create(Ye);return ce.size=n-e,ce._origin=e,ce._capacity=n,ce._level=C,ce._root=R,ce._tail=P,ce.__ownerID=_,ce.__hash=te,ce.__altered=!1,ce}var En;function sn(){return En||(En=ln(0,0,o))}function Qn(e,n,C){if(n=D(e,n),n!==n)return e;if(n>=e.size||n<0)return e.withMutations(function(te){n<0?kn(te,n).set(0,C):kn(te,0,n+1).set(n,C)});n+=e._origin;var R=e._tail,P=e._root,_=N(b);return n>=dn(e._capacity)?R=wn(R,e.__ownerID,0,n,C,_):P=wn(P,e.__ownerID,e._level,n,C,_),_.value?e.__ownerID?(e._root=P,e._tail=R,e.__hash=void 0,e.__altered=!0,e):ln(e._origin,e._capacity,e._level,P,R):e}function wn(e,n,C,R,P,_){var te=R>>>C&x,ce=e&&te<e.array.length;if(!ce&&P===void 0)return e;var ye;if(C>0){var ae=e&&e.array[te],we=wn(ae,n,C-o,R,P,_);return we===ae?e:(ye=In(e,n),ye.array[te]=we,ye)}return ce&&e.array[te]===P?e:(O(_),ye=In(e,n),P===void 0&&te===ye.array.length-1?ye.array.pop():ye.array[te]=P,ye)}function In(e,n){return n&&e&&n===e.ownerID?e:new nt(e?e.array.slice():[],n)}function Un(e,n){if(n>=dn(e._capacity))return e._tail;if(n<1<<e._level+o){for(var C=e._root,R=e._level;C&&R>0;)C=C.array[n>>>R&x],R-=o;return C}}function kn(e,n,C){n!==void 0&&(n=n|0),C!==void 0&&(C=C|0);var R=e.__ownerID||new S,P=e._origin,_=e._capacity,te=P+n,ce=C===void 0?_:C<0?_+C:P+C;if(te===P&&ce===_)return e;if(te>=ce)return e.clear();for(var ye=e._level,ae=e._root,we=0;te+we<0;)ae=new nt(ae&&ae.array.length?[void 0,ae]:[],R),ye+=o,we+=1<<ye;we&&(te+=we,P+=we,ce+=we,_+=we);for(var Pe=dn(_),ze=dn(ce);ze>=1<<ye+o;)ae=new nt(ae&&ae.array.length?[ae]:[],R),ye+=o;var mt=e._tail,wt=ze<Pe?Un(e,ce-1):ze>Pe?new nt([],R):mt;if(mt&&ze>Pe&&te<_&&mt.array.length){ae=In(ae,R);for(var Nt=ae,Pn=ye;Pn>o;Pn-=o){var Wn=Pe>>>Pn&x;Nt=Nt.array[Wn]=In(Nt.array[Wn],R)}Nt.array[Pe>>>o&x]=mt}if(ce<_&&(wt=wt&&wt.removeAfter(R,0,ce)),te>=ze)te-=ze,ce-=ze,ye=o,ae=null,wt=wt&&wt.removeBefore(R,0,te);else if(te>P||ze<Pe){for(we=0;ae;){var wr=te>>>ye&x;if(wr!==ze>>>ye&x)break;wr&&(we+=(1<<ye)*wr),ye-=o,ae=ae.array[wr]}ae&&te>P&&(ae=ae.removeBefore(R,ye,te-we)),ae&&ze<Pe&&(ae=ae.removeAfter(R,ye,ze-we)),we&&(te-=we,ce-=we)}return e.__ownerID?(e.size=ce-te,e._origin=te,e._capacity=ce,e._level=ye,e._root=ae,e._tail=wt,e.__hash=void 0,e.__altered=!0,e):ln(te,ce,ye,ae,wt)}function Tn(e,n,C){for(var R=[],P=0,_=0;_<C.length;_++){var te=C[_],ce=E(te);ce.size>P&&(P=ce.size),v(te)||(ce=ce.map(function(ye){return Oe(ye)})),R.push(ce)}return P>e.size&&(e=e.setSize(P)),Gn(e,n,R)}function dn(e){return e<l?0:e-1>>>o<<o}i(Xt,at);function Xt(e){return e==null?rr():kr(e)?e:rr().withMutations(function(n){var C=y(e);Ft(C.size),C.forEach(function(R,P){return n.set(P,R)})})}Xt.of=function(){return this(arguments)},Xt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Xt.prototype.get=function(e,n){var C=this._map.get(e);return C!==void 0?this._list.get(C)[1]:n},Xt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):rr()},Xt.prototype.set=function(e,n){return An(this,e,n)},Xt.prototype.remove=function(e){return An(this,e,k)},Xt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Xt.prototype.__iterate=function(e,n){var C=this;return this._list.__iterate(function(R){return R&&e(R[1],R[0],C)},n)},Xt.prototype.__iterator=function(e,n){return this._list.fromEntrySeq().__iterator(e,n)},Xt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var n=this._map.__ensureOwner(e),C=this._list.__ensureOwner(e);return e?Ar(n,C,e,this.__hash):(this.__ownerID=e,this._map=n,this._list=C,this)};function kr(e){return Dt(e)&&s(e)}Xt.isOrderedMap=kr,Xt.prototype[d]=!0,Xt.prototype[a]=Xt.prototype.remove;function Ar(e,n,C,R){var P=Object.create(Xt.prototype);return P.size=e?e.size:0,P._map=e,P._list=n,P.__ownerID=C,P.__hash=R,P}var nr;function rr(){return nr||(nr=Ar(rn(),sn()))}function An(e,n,C){var R=e._map,P=e._list,_=R.get(n),te=_!==void 0,ce,ye;if(C===k){if(!te)return e;P.size>=l&&P.size>=R.size*2?(ye=P.filter(function(ae,we){return ae!==void 0&&_!==we}),ce=ye.toKeyedSeq().map(function(ae){return ae[0]}).flip().toMap(),e.__ownerID&&(ce.__ownerID=ye.__ownerID=e.__ownerID)):(ce=R.remove(n),ye=_===P.size-1?P.pop():P.set(_,void 0))}else if(te){if(C===P.get(_)[1])return e;ce=R,ye=P.set(_,[n,C])}else ce=R.set(n,P.size),ye=P.set(P.size,[n,C]);return e.__ownerID?(e.size=ce.size,e._map=ce,e._list=ye,e.__hash=void 0,e):Ar(ce,ye)}i(cn,gt);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=On(this,!0);return this._useKeys||(n.valueSeq=function(){return e._iter.toSeq().reverse()}),n},cn.prototype.map=function(e,n){var C=this,R=Xn(this,e,n);return this._useKeys||(R.valueSeq=function(){return C._iter.toSeq().map(e,n)}),R},cn.prototype.__iterate=function(e,n){var C=this,R;return this._iter.__iterate(this._useKeys?function(P,_){return e(P,_,C)}:(R=n?br(this):0,function(P){return e(P,n?--R:R++,C)}),n)},cn.prototype.__iterator=function(e,n){if(this._useKeys)return this._iter.__iterator(e,n);var C=this._iter.__iterator(q,n),R=n?br(this):0;return new Ie(function(){var P=C.next();return P.done?P:Ue(e,n?--R:R++,P.value,P)})},cn.prototype[d]=!0,i(an,Ze);function an(e){this._iter=e,this.size=e.size}an.prototype.includes=function(e){return this._iter.includes(e)},an.prototype.__iterate=function(e,n){var C=this,R=0;return this._iter.__iterate(function(P){return e(P,R++,C)},n)},an.prototype.__iterator=function(e,n){var C=this._iter.__iterator(q,n),R=0;return new Ie(function(){var P=C.next();return P.done?P:Ue(e,R++,P.value,P)})},i(Bt,Tt);function Bt(e){this._iter=e,this.size=e.size}Bt.prototype.has=function(e){return this._iter.includes(e)},Bt.prototype.__iterate=function(e,n){var C=this;return this._iter.__iterate(function(R){return e(R,R,C)},n)},Bt.prototype.__iterator=function(e,n){var C=this._iter.__iterator(q,n);return new Ie(function(){var R=C.next();return R.done?R:Ue(e,R.value,R.value,R)})},i(Dn,gt);function Dn(e){this._iter=e,this.size=e.size}Dn.prototype.entrySeq=function(){return this._iter.toSeq()},Dn.prototype.__iterate=function(e,n){var C=this;return this._iter.__iterate(function(R){if(R){lr(R);var P=v(R);return e(P?R.get(1):R[1],P?R.get(0):R[0],C)}},n)},Dn.prototype.__iterator=function(e,n){var C=this._iter.__iterator(q,n);return new Ie(function(){for(;;){var R=C.next();if(R.done)return R;var P=R.value;if(P){lr(P);var _=v(P);return Ue(e,_?P.get(0):P[0],_?P.get(1):P[1],R)}}})},an.prototype.cacheResult=cn.prototype.cacheResult=Bt.prototype.cacheResult=Dn.prototype.cacheResult=Yn;function fr(e){var n=Sn(e);return n._iter=e,n.size=e.size,n.flip=function(){return e},n.reverse=function(){var C=e.reverse.apply(this);return C.flip=function(){return e.reverse()},C},n.has=function(C){return e.includes(C)},n.includes=function(C){return e.has(C)},n.cacheResult=Yn,n.__iterateUncached=function(C,R){var P=this;return e.__iterate(function(_,te){return C(te,_,P)!==!1},R)},n.__iteratorUncached=function(C,R){if(C===he){var P=e.__iterator(C,R);return new Ie(function(){var _=P.next();if(!_.done){var te=_.value[0];_.value[0]=_.value[1],_.value[1]=te}return _})}return e.__iterator(C===q?se:q,R)},n}function Xn(e,n,C){var R=Sn(e);return R.size=e.size,R.has=function(P){return e.has(P)},R.get=function(P,_){var te=e.get(P,k);return te===k?_:n.call(C,te,P,e)},R.__iterateUncached=function(P,_){var te=this;return e.__iterate(function(ce,ye,ae){return P(n.call(C,ce,ye,ae),ye,te)!==!1},_)},R.__iteratorUncached=function(P,_){var te=e.__iterator(he,_);return new Ie(function(){var ce=te.next();if(ce.done)return ce;var ye=ce.value,ae=ye[0];return Ue(P,ae,n.call(C,ye[1],ae,e),ce)})},R}function On(e,n){var C=Sn(e);return C._iter=e,C.size=e.size,C.reverse=function(){return e},e.flip&&(C.flip=function(){var R=fr(e);return R.reverse=function(){return e.flip()},R}),C.get=function(R,P){return e.get(n?R:-1-R,P)},C.has=function(R){return e.has(n?R:-1-R)},C.includes=function(R){return e.includes(R)},C.cacheResult=Yn,C.__iterate=function(R,P){var _=this;return e.__iterate(function(te,ce){return R(te,ce,_)},!P)},C.__iterator=function(R,P){return e.__iterator(R,!P)},C}function or(e,n,C,R){var P=Sn(e);return R&&(P.has=function(_){var te=e.get(_,k);return te!==k&&!!n.call(C,te,_,e)},P.get=function(_,te){var ce=e.get(_,k);return ce!==k&&n.call(C,ce,_,e)?ce:te}),P.__iterateUncached=function(_,te){var ce=this,ye=0;return e.__iterate(function(ae,we,Pe){if(n.call(C,ae,we,Pe))return ye++,_(ae,R?we:ye-1,ce)},te),ye},P.__iteratorUncached=function(_,te){var ce=e.__iterator(he,te),ye=0;return new Ie(function(){for(;;){var ae=ce.next();if(ae.done)return ae;var we=ae.value,Pe=we[0],ze=we[1];if(n.call(C,ze,Pe,e))return Ue(_,R?Pe:ye++,ze,ae)}})},P}function $n(e,n,C){var R=at().asMutable();return e.__iterate(function(P,_){R.update(n.call(C,P,_,e),0,function(te){return te+1})}),R.asImmutable()}function Tr(e,n,C){var R=T(e),P=(s(e)?Xt():at()).asMutable();e.__iterate(function(te,ce){P.update(n.call(C,te,ce,e),function(ye){return ye=ye||[],ye.push(R?[ce,te]:te),ye})});var _=pr(e);return P.map(function(te){return Lt(e,_(te))})}function ir(e,n,C,R){var P=e.size;if(n!==void 0&&(n=n|0),C!==void 0&&(C=C|0),J(n,C,P))return e;var _=Q(n,P),te=G(C,P);if(_!==_||te!==te)return ir(e.toSeq().cacheResult(),n,C,R);var ce=te-_,ye;ce===ce&&(ye=ce<0?0:ce);var ae=Sn(e);return ae.size=ye===0?ye:e.size&&ye||void 0,!R&&nn(e)&&ye>=0&&(ae.get=function(we,Pe){return we=D(this,we),we>=0&&we<ye?e.get(we+_,Pe):Pe}),ae.__iterateUncached=function(we,Pe){var ze=this;if(ye===0)return 0;if(Pe)return this.cacheResult().__iterate(we,Pe);var mt=0,wt=!0,Nt=0;return e.__iterate(function(Pn,Wn){if(!(wt&&(wt=mt++<_)))return Nt++,we(Pn,R?Wn:Nt-1,ze)!==!1&&Nt!==ye}),Nt},ae.__iteratorUncached=function(we,Pe){if(ye!==0&&Pe)return this.cacheResult().__iterator(we,Pe);var ze=ye!==0&&e.__iterator(we,Pe),mt=0,wt=0;return new Ie(function(){for(;mt++<_;)ze.next();if(++wt>ye)return He();var Nt=ze.next();return R||we===q?Nt:we===se?Ue(we,wt-1,void 0,Nt):Ue(we,wt-1,Nt.value[1],Nt)})},ae}function gr(e,n,C){var R=Sn(e);return R.__iterateUncached=function(P,_){var te=this;if(_)return this.cacheResult().__iterate(P,_);var ce=0;return e.__iterate(function(ye,ae,we){return n.call(C,ye,ae,we)&&++ce&&P(ye,ae,te)}),ce},R.__iteratorUncached=function(P,_){var te=this;if(_)return this.cacheResult().__iterator(P,_);var ce=e.__iterator(he,_),ye=!0;return new Ie(function(){if(!ye)return He();var ae=ce.next();if(ae.done)return ae;var we=ae.value,Pe=we[0],ze=we[1];return n.call(C,ze,Pe,te)?P===he?ae:Ue(P,Pe,ze,ae):(ye=!1,He())})},R}function Sr(e,n,C,R){var P=Sn(e);return P.__iterateUncached=function(_,te){var ce=this;if(te)return this.cacheResult().__iterate(_,te);var ye=!0,ae=0;return e.__iterate(function(we,Pe,ze){if(!(ye&&(ye=n.call(C,we,Pe,ze))))return ae++,_(we,R?Pe:ae-1,ce)}),ae},P.__iteratorUncached=function(_,te){var ce=this;if(te)return this.cacheResult().__iterator(_,te);var ye=e.__iterator(he,te),ae=!0,we=0;return new Ie(function(){var Pe,ze,mt;do{if(Pe=ye.next(),Pe.done)return R||_===q?Pe:_===se?Ue(_,we++,void 0,Pe):Ue(_,we++,Pe.value[1],Pe);var wt=Pe.value;ze=wt[0],mt=wt[1],ae&&(ae=n.call(C,mt,ze,ce))}while(ae);return _===he?Pe:Ue(_,ze,mt,Pe)})},P}function Cr(e,n){var C=T(e),R=[e].concat(n).map(function(te){return v(te)?C&&(te=y(te)):te=C?ie(te):ge(Array.isArray(te)?te:[te]),te}).filter(function(te){return te.size!==0});if(R.length===0)return e;if(R.length===1){var P=R[0];if(P===e||C&&T(P)||w(e)&&w(P))return P}var _=new bt(R);return C?_=_.toKeyedSeq():w(e)||(_=_.toSetSeq()),_=_.flatten(!0),_.size=R.reduce(function(te,ce){if(te!==void 0){var ye=ce.size;if(ye!==void 0)return te+ye}},0),_}function vr(e,n,C){var R=Sn(e);return R.__iterateUncached=function(P,_){var te=0,ce=!1;function ye(ae,we){var Pe=this;ae.__iterate(function(ze,mt){return(!n||we<n)&&v(ze)?ye(ze,we+1):P(ze,C?mt:te++,Pe)===!1&&(ce=!0),!ce},_)}return ye(e,0),te},R.__iteratorUncached=function(P,_){var te=e.__iterator(P,_),ce=[],ye=0;return new Ie(function(){for(;te;){var ae=te.next();if(ae.done!==!1){te=ce.pop();continue}var we=ae.value;if(P===he&&(we=we[1]),(!n||ce.length<n)&&v(we))ce.push(te),te=we.__iterator(P,_);else return C?ae:Ue(P,ye++,we,ae)}return He()})},R}function Br(e,n,C){var R=pr(e);return e.toSeq().map(function(P,_){return R(n.call(C,P,_,e))}).flatten(!0)}function Fr(e,n){var C=Sn(e);return C.size=e.size&&e.size*2-1,C.__iterateUncached=function(R,P){var _=this,te=0;return e.__iterate(function(ce,ye){return(!te||R(n,te++,_)!==!1)&&R(ce,te++,_)!==!1},P),te},C.__iteratorUncached=function(R,P){var _=e.__iterator(q,P),te=0,ce;return new Ie(function(){return(!ce||te%2)&&(ce=_.next(),ce.done)?ce:te%2?Ue(R,te++,n):Ue(R,te++,ce.value,ce)})},C}function Ln(e,n,C){n||(n=sr);var R=T(e),P=0,_=e.toSeq().map(function(te,ce){return[ce,te,P++,C?C(te,ce,e):te]}).toArray();return _.sort(function(te,ce){return n(te[3],ce[3])||te[2]-ce[2]}).forEach(R?function(te,ce){_[ce].length=2}:function(te,ce){_[ce]=te[1]}),R?gt(_):w(e)?Ze(_):Tt(_)}function dr(e,n,C){if(n||(n=sr),C){var R=e.toSeq().map(function(P,_){return[P,C(P,_,e)]}).reduce(function(P,_){return ar(n,P[1],_[1])?_:P});return R&&R[0]}else return e.reduce(function(P,_){return ar(n,P,_)?_:P})}function ar(e,n,C){var R=e(C,n);return R===0&&C!==n&&(C==null||C!==C)||R>0}function ur(e,n,C){var R=Sn(e);return R.size=new bt(C).map(function(P){return P.size}).min(),R.__iterate=function(P,_){for(var te=this.__iterator(q,_),ce,ye=0;!(ce=te.next()).done&&P(ce.value,ye++,this)!==!1;);return ye},R.__iteratorUncached=function(P,_){var te=C.map(function(ae){return ae=F(ae),vt(_?ae.reverse():ae)}),ce=0,ye=!1;return new Ie(function(){var ae;return ye||(ae=te.map(function(we){return we.next()}),ye=ae.some(function(we){return we.done})),ye?He():Ue(P,ce++,n.apply(null,ae.map(function(we){return we.value})))})},R}function Lt(e,n){return nn(e)?n:e.constructor(n)}function lr(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function br(e){return Ft(e.size),L(e)}function pr(e){return T(e)?y:w(e)?E:A}function Sn(e){return Object.create((T(e)?gt:w(e)?Ze:Tt).prototype)}function Yn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):je.prototype.cacheResult.call(this)}function sr(e,n){return e>n?1:e<n?-1:0}function mr(e){var n=vt(e);if(!n){if(!ht(e))throw new TypeError("Expected iterable or array-like: "+e);n=vt(F(e))}return n}i(pn,ne);function pn(e,n){var C,R=function(te){if(te instanceof R)return te;if(!(this instanceof R))return new R(te);if(!C){C=!0;var ce=Object.keys(e);xr(P,ce),P.size=ce.length,P._name=n,P._keys=ce,P._defaultValues=e}this._map=at(te)},P=R.prototype=Object.create(tn);return P.constructor=R,R}pn.prototype.toString=function(){return this.__toString(hn(this)+" {","}")},pn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},pn.prototype.get=function(e,n){if(!this.has(e))return n;var C=this._defaultValues[e];return this._map?this._map.get(e,C):C},pn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=_n(this,rn()))},pn.prototype.set=function(e,n){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+hn(this));var C=this._map&&this._map.set(e,n);return this.__ownerID||C===this._map?this:_n(this,C)},pn.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:_n(this,n)},pn.prototype.wasAltered=function(){return this._map.wasAltered()},pn.prototype.__iterator=function(e,n){var C=this;return y(this._defaultValues).map(function(R,P){return C.get(P)}).__iterator(e,n)},pn.prototype.__iterate=function(e,n){var C=this;return y(this._defaultValues).map(function(R,P){return C.get(P)}).__iterate(e,n)},pn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var n=this._map&&this._map.__ensureOwner(e);return e?_n(this,n,e):(this.__ownerID=e,this._map=n,this)};var tn=pn.prototype;tn[a]=tn.remove,tn.deleteIn=tn.removeIn=ot.removeIn,tn.merge=ot.merge,tn.mergeWith=ot.mergeWith,tn.mergeIn=ot.mergeIn,tn.mergeDeep=ot.mergeDeep,tn.mergeDeepWith=ot.mergeDeepWith,tn.mergeDeepIn=ot.mergeDeepIn,tn.setIn=ot.setIn,tn.update=ot.update,tn.updateIn=ot.updateIn,tn.withMutations=ot.withMutations,tn.asMutable=ot.asMutable,tn.asImmutable=ot.asImmutable;function _n(e,n,C){var R=Object.create(Object.getPrototypeOf(e));return R._map=n,R.__ownerID=C,R}function hn(e){return e._name||e.constructor.name||"Record"}function xr(e,n){try{n.forEach(hr.bind(void 0,e))}catch(C){}}function hr(e,n){Object.defineProperty(e,n,{get:function(){return this.get(n)},set:function(C){Ot(this.__ownerID,"Cannot set on an immutable record."),this.set(n,C)}})}i(Ht,Ee);function Ht(e){return e==null?X():zn(e)&&!s(e)?e:X().withMutations(function(n){var C=A(e);Ft(C.size),C.forEach(function(R){return n.add(R)})})}Ht.of=function(){return this(arguments)},Ht.fromKeys=function(e){return this(y(e).keySeq())},Ht.prototype.toString=function(){return this.__toString("Set {","}")},Ht.prototype.has=function(e){return this._map.has(e)},Ht.prototype.add=function(e){return yr(this,this._map.set(e,!0))},Ht.prototype.remove=function(e){return yr(this,this._map.remove(e))},Ht.prototype.clear=function(){return yr(this,this._map.clear())},Ht.prototype.union=function(){var e=H.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 C=0;C<e.length;C++)A(e[C]).forEach(function(R){return n.add(R)})})},Ht.prototype.intersect=function(){var e=H.call(arguments,0);if(e.length===0)return this;e=e.map(function(C){return A(C)});var n=this;return this.withMutations(function(C){n.forEach(function(R){e.every(function(P){return P.includes(R)})||C.remove(R)})})},Ht.prototype.subtract=function(){var e=H.call(arguments,0);if(e.length===0)return this;e=e.map(function(C){return A(C)});var n=this;return this.withMutations(function(C){n.forEach(function(R){e.some(function(P){return P.includes(R)})&&C.remove(R)})})},Ht.prototype.merge=function(){return this.union.apply(this,arguments)},Ht.prototype.mergeWith=function(e){var n=H.call(arguments,1);return this.union.apply(this,n)},Ht.prototype.sort=function(e){return r(Ln(this,e))},Ht.prototype.sortBy=function(e,n){return r(Ln(this,n,e))},Ht.prototype.wasAltered=function(){return this._map.wasAltered()},Ht.prototype.__iterate=function(e,n){var C=this;return this._map.__iterate(function(R,P){return e(P,P,C)},n)},Ht.prototype.__iterator=function(e,n){return this._map.map(function(C,R){return R}).__iterator(e,n)},Ht.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 zn(e){return!!(e&&e[Hn])}Ht.isSet=zn;var Hn="@@__IMMUTABLE_SET__@@",$t=Ht.prototype;$t[Hn]=!0,$t[a]=$t.remove,$t.mergeDeep=$t.merge,$t.mergeDeepWith=$t.mergeWith,$t.withMutations=ot.withMutations,$t.asMutable=ot.asMutable,$t.asImmutable=ot.asImmutable,$t.__empty=X,$t.__make=re;function yr(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 re(e,n){var C=Object.create($t);return C.size=e?e.size:0,C._map=e,C.__ownerID=n,C}var z;function X(){return z||(z=re(rn()))}i(r,Ht);function r(e){return e==null?m():j(e)?e:m().withMutations(function(n){var C=A(e);Ft(C.size),C.forEach(function(R){return n.add(R)})})}r.of=function(){return this(arguments)},r.fromKeys=function(e){return this(y(e).keySeq())},r.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function j(e){return zn(e)&&s(e)}r.isOrderedSet=j;var ee=r.prototype;ee[d]=!0,ee.__empty=m,ee.__make=fe;function fe(e,n){var C=Object.create(ee);return C.size=e?e.size:0,C._map=e,C.__ownerID=n,C}var t;function m(){return t||(t=fe(rr()))}i(I,de);function I(e){return e==null?Je():W(e)?e:Je().unshiftAll(e)}I.of=function(){return this(arguments)},I.prototype.toString=function(){return this.__toString("Stack [","]")},I.prototype.get=function(e,n){var C=this._head;for(e=D(this,e);C&&e--;)C=C.next;return C?C.value:n},I.prototype.peek=function(){return this._head&&this._head.value},I.prototype.push=function(){if(arguments.length===0)return this;for(var e=this.size+arguments.length,n=this._head,C=arguments.length-1;C>=0;C--)n={value:arguments[C],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):me(e,n)},I.prototype.pushAll=function(e){if(e=E(e),e.size===0)return this;Ft(e.size);var n=this.size,C=this._head;return e.reverse().forEach(function(R){n++,C={value:R,next:C}}),this.__ownerID?(this.size=n,this._head=C,this.__hash=void 0,this.__altered=!0,this):me(n,C)},I.prototype.pop=function(){return this.slice(1)},I.prototype.unshift=function(){return this.push.apply(this,arguments)},I.prototype.unshiftAll=function(e){return this.pushAll(e)},I.prototype.shift=function(){return this.pop.apply(this,arguments)},I.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):Je()},I.prototype.slice=function(e,n){if(J(e,n,this.size))return this;var C=Q(e,this.size),R=G(n,this.size);if(R!==this.size)return de.prototype.slice.call(this,e,n);for(var P=this.size-C,_=this._head;C--;)_=_.next;return this.__ownerID?(this.size=P,this._head=_,this.__hash=void 0,this.__altered=!0,this):me(P,_)},I.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?me(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},I.prototype.__iterate=function(e,n){if(n)return this.reverse().__iterate(e);for(var C=0,R=this._head;R&&e(R.value,C++,this)!==!1;)R=R.next;return C},I.prototype.__iterator=function(e,n){if(n)return this.reverse().__iterator(e);var C=0,R=this._head;return new Ie(function(){if(R){var P=R.value;return R=R.next,Ue(e,C++,P)}return He()})};function W(e){return!!(e&&e[le])}I.isStack=W;var le="@@__IMMUTABLE_STACK__@@",oe=I.prototype;oe[le]=!0,oe.withMutations=ot.withMutations,oe.asMutable=ot.asMutable,oe.asImmutable=ot.asImmutable,oe.wasAltered=ot.wasAltered;function me(e,n,C,R){var P=Object.create(oe);return P.size=e,P._head=n,P.__ownerID=C,P.__hash=R,P.__altered=!1,P}var xe;function Je(){return xe||(xe=me(0))}function et(e,n){var C=function(R){e.prototype[R]=n[R]};return Object.keys(n).forEach(C),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(n).forEach(C),e}F.Iterator=Ie,et(F,{toArray:function(){Ft(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(n,C){e[C]=n}),e},toIndexedSeq:function(){return new an(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 at(this.toKeyedSeq())},toObject:function(){Ft(this.size);var e={};return this.__iterate(function(n,C){e[C]=n}),e},toOrderedMap:function(){return Xt(this.toKeyedSeq())},toOrderedSet:function(){return r(T(this)?this.valueSeq():this)},toSet:function(){return Ht(T(this)?this.valueSeq():this)},toSetSeq:function(){return new Bt(this)},toSeq:function(){return w(this)?this.toIndexedSeq():T(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return I(T(this)?this.valueSeq():this)},toList:function(){return pe(T(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=H.call(arguments,0);return Lt(this,Cr(this,e))},includes:function(e){return this.some(function(n){return Re(n,e)})},entries:function(){return this.__iterator(he)},every:function(e,n){Ft(this.size);var C=!0;return this.__iterate(function(R,P,_){if(!e.call(n,R,P,_))return C=!1,!1}),C},filter:function(e,n){return Lt(this,or(this,e,n,!0))},find:function(e,n,C){var R=this.findEntry(e,n);return R?R[1]:C},findEntry:function(e,n){var C;return this.__iterate(function(R,P,_){if(e.call(n,R,P,_))return C=[P,R],!1}),C},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="",C=!0;return this.__iterate(function(R){C?C=!1:n+=e,n+=R!=null?R.toString():""}),n},keys:function(){return this.__iterator(se)},map:function(e,n){return Lt(this,Xn(this,e,n))},reduce:function(e,n,C){Ft(this.size);var R,P;return arguments.length<2?P=!0:R=n,this.__iterate(function(_,te,ce){P?(P=!1,R=_):R=e.call(C,R,_,te,ce)}),R},reduceRight:function(e,n,C){var R=this.toKeyedSeq().reverse();return R.reduce.apply(R,arguments)},reverse:function(){return Lt(this,On(this,!0))},slice:function(e,n){return Lt(this,ir(this,e,n,!0))},some:function(e,n){return!this.every(qt(e),n)},sort:function(e){return Lt(this,Ln(this,e))},values:function(){return this.__iterator(q)},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 L(e?this.toSeq().filter(e,n):this)},countBy:function(e,n){return $n(this,e,n)},equals:function(e){return lt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new bt(e._cache);var n=e.toSeq().map(Zt).toIndexedSeq();return n.fromEntrySeq=function(){return e.toSeq()},n},filterNot:function(e,n){return this.filter(qt(e),n)},findLast:function(e,n,C){return this.toKeyedSeq().reverse().find(e,n,C)},first:function(){return this.find(B)},flatMap:function(e,n){return Lt(this,Br(this,e,n))},flatten:function(e){return Lt(this,vr(this,e,!0))},fromEntrySeq:function(){return new Dn(this)},get:function(e,n){return this.find(function(C,R){return Re(R,e)},void 0,n)},getIn:function(e,n){for(var C=this,R=mr(e),P;!(P=R.next()).done;){var _=P.value;if(C=C&&C.get?C.get(_,k):k,C===k)return n}return C},groupBy:function(e,n){return Tr(this,e,n)},has:function(e){return this.get(e,k)!==k},hasIn:function(e){return this.getIn(e,k)!==k},isSubset:function(e){return e=typeof e.includes=="function"?e:F(e),this.every(function(n){return e.includes(n)})},isSuperset:function(e){return e=typeof e.isSubset=="function"?e:F(e),e.isSubset(this)},keySeq:function(){return this.toSeq().map(Jt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return dr(this,e)},maxBy:function(e,n){return dr(this,n,e)},min:function(e){return dr(this,e?vn(e):Vn)},minBy:function(e,n){return dr(this,n?vn(n):Vn,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,Sr(this,e,n,!0))},skipUntil:function(e,n){return this.skipWhile(qt(e),n)},sortBy:function(e,n){return Lt(this,Ln(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,gr(this,e,n))},takeUntil:function(e,n){return this.takeWhile(qt(e),n)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=Zn(this))}});var Ve=F.prototype;Ve[h]=!0,Ve[$]=Ve.values,Ve.__toJS=Ve.toArray,Ve.__toStringMapper=Nn,Ve.inspect=Ve.toSource=function(){return this.toString()},Ve.chain=Ve.flatMap,Ve.contains=Ve.includes,function(){try{Object.defineProperty(Ve,"length",{get:function(){if(!F.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){}}(),et(y,{flip:function(){return Lt(this,fr(this))},findKey:function(e,n){var C=this.findEntry(e,n);return C&&C[0]},findLastKey:function(e,n){return this.toSeq().reverse().findKey(e,n)},keyOf:function(e){return this.findKey(function(n){return Re(n,e)})},lastKeyOf:function(e){return this.findLastKey(function(n){return Re(n,e)})},mapEntries:function(e,n){var C=this,R=0;return Lt(this,this.toSeq().map(function(P,_){return e.call(n,[_,P],R++,C)}).fromEntrySeq())},mapKeys:function(e,n){var C=this;return Lt(this,this.toSeq().flip().map(function(R,P){return e.call(n,R,P,C)}).flip())}});var ct=y.prototype;ct[f]=!0,ct[$]=Ve.entries,ct.__toJS=Ve.toObject,ct.__toStringMapper=function(e,n){return JSON.stringify(n)+": "+Nn(e)},et(E,{toKeyedSeq:function(){return new cn(this,!1)},filter:function(e,n){return Lt(this,or(this,e,n,!1))},findIndex:function(e,n){var C=this.findEntry(e,n);return C?C[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,On(this,!1))},slice:function(e,n){return Lt(this,ir(this,e,n,!1))},splice:function(e,n){var C=arguments.length;if(n=Math.max(n|0,0),C===0||C===2&&!n)return this;e=Q(e,e<0?this.count():this.size);var R=this.slice(0,e);return Lt(this,C===1?R:R.concat(K(arguments,2),this.slice(e+n)))},findLastIndex:function(e,n){var C=this.toKeyedSeq().findLastKey(e,n);return C===void 0?-1:C},first:function(){return this.get(0)},flatten:function(e){return Lt(this,vr(this,e,!1))},get:function(e,n){return e=D(this,e),e<0||this.size===1/0||this.size!==void 0&&e>this.size?n:this.find(function(C,R){return R===e},void 0,n)},has:function(e){return e=D(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,Fr(this,e))},interleave:function(){var e=[this].concat(K(arguments)),n=ur(this.toSeq(),Ze.of,e),C=n.flatten(!0);return n.size&&(C.size=n.size*e.length),Lt(this,C)},last:function(){return this.get(-1)},skipWhile:function(e,n){return Lt(this,Sr(this,e,n,!1))},zip:function(){var e=[this].concat(K(arguments));return Lt(this,ur(this,jn,e))},zipWith:function(e){var n=K(arguments);return n[0]=this,Lt(this,ur(this,e,n))}}),E.prototype[u]=!0,E.prototype[d]=!0,et(A,{get:function(e,n){return this.has(e)?e:n},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),A.prototype.has=Ve.includes,et(gt,y.prototype),et(Ze,E.prototype),et(Tt,A.prototype),et(ne,y.prototype),et(de,E.prototype),et(Ee,A.prototype);function Jt(e,n){return n}function Zt(e,n){return[n,e]}function qt(e){return function(){return!e.apply(this,arguments)}}function vn(e){return function(){return-e.apply(this,arguments)}}function Nn(e){return typeof e=="string"?JSON.stringify(e):e}function jn(){return K(arguments)}function Vn(e,n){return e<n?1:e>n?-1:0}function Zn(e){if(e.size===1/0)return 0;var n=s(e),C=T(e),R=n?1:0,P=e.__iterate(C?n?function(_,te){R=31*R+_t(Ne(_),Ne(te))|0}:function(_,te){R=R+_t(Ne(_),Ne(te))|0}:n?function(_){R=31*R+Ne(_)|0}:function(_){R=R+Ne(_)|0});return Er(P,R)}function Er(e,n){return n=Ce(n,3432918353),n=Ce(n<<15|n>>>-15,461845907),n=Ce(n<<13|n>>>-13,5),n=(n+3864292196|0)^e,n=Ce(n^n>>>16,2246822507),n=Ce(n^n>>>13,3266489909),n=Le(n^n>>>16),n}function _t(e,n){return e^n+2654435769+(e<<6)+(e>>2)|0}var Mn={Iterable:F,Seq:je,Collection:Gt,Map:at,OrderedMap:Xt,List:pe,Stack:I,Set:Ht,OrderedSet:r,Record:pn,Range:It,Repeat:St,is:Re,fromJS:Oe};return Mn})},22767:function(Y){"use strict";var H=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;function y(A){if(A==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}function E(){try{if(!Object.assign)return!1;var A=new String("abc");if(A[5]="de",Object.getOwnPropertyNames(A)[0]==="5")return!1;for(var v={},T=0;T<10;T++)v["_"+String.fromCharCode(T)]=T;var w=Object.getOwnPropertyNames(v).map(function(s){return v[s]});if(w.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(s){p[s]=s}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch(s){return!1}}Y.exports=E()?Object.assign:function(A,v){for(var T,w=y(A),p,s=1;s<arguments.length;s++){T=Object(arguments[s]);for(var h in T)i.call(T,h)&&(w[h]=T[h]);if(H){p=H(T);for(var f=0;f<p.length;f++)F.call(T,p[f])&&(w[p[f]]=T[p[f]])}}return w}},5041:function(Y,H,i){"use strict";var F=i(50959);function y(g){for(var M="https://reactjs.org/docs/error-decoder.html?invariant="+g,V=1;V<arguments.length;V++)M+="&args[]="+encodeURIComponent(arguments[V]);return"Minified React error #"+g+"; visit "+M+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var E=Object.prototype.hasOwnProperty,A=/^[: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]*$/,v={},T={};function w(g){return E.call(T,g)?!0:E.call(v,g)?!1:A.test(g)?T[g]=!0:(v[g]=!0,!1)}function p(g,M,V,Z,ve,pe,be){this.acceptsBooleans=M===2||M===3||M===4,this.attributeName=Z,this.attributeNamespace=ve,this.mustUseProperty=V,this.propertyName=g,this.type=M,this.sanitizeURL=pe,this.removeEmptyString=be}var s={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(g){s[g]=new p(g,0,!1,g,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(g){var M=g[0];s[M]=new p(M,1,!1,g[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(g){s[g]=new p(g,2,!1,g.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(g){s[g]=new p(g,2,!1,g,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(g){s[g]=new p(g,3,!1,g.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(g){s[g]=new p(g,3,!0,g,null,!1,!1)}),["capture","download"].forEach(function(g){s[g]=new p(g,4,!1,g,null,!1,!1)}),["cols","rows","size","span"].forEach(function(g){s[g]=new p(g,6,!1,g,null,!1,!1)}),["rowSpan","start"].forEach(function(g){s[g]=new p(g,5,!1,g.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function f(g){return g[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(g){var M=g.replace(h,f);s[M]=new p(M,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var M=g.replace(h,f);s[M]=new p(M,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var M=g.replace(h,f);s[M]=new p(M,1,!1,g,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(g){s[g]=new p(g,1,!1,g.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(g){s[g]=new p(g,1,!1,g.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},d=["Webkit","ms","Moz","O"];Object.keys(u).forEach(function(g){d.forEach(function(M){M=M+g.charAt(0).toUpperCase()+g.substring(1),u[M]=u[g]})});var a=/["'&<>]/;function o(g){if(typeof g=="boolean"||typeof g=="number")return""+g;g=""+g;var M=a.exec(g);if(M){var V="",Z,ve=0;for(Z=M.index;Z<g.length;Z++){switch(g.charCodeAt(Z)){case 34:M=""";break;case 38:M="&";break;case 39:M="'";break;case 60:M="<";break;case 62:M=">";break;default:continue}ve!==Z&&(V+=g.substring(ve,Z)),ve=Z+1,V+=M}g=ve!==Z?V+g.substring(ve,Z):V}return g}var l=/([A-Z])/g,x=/^ms-/,k=Array.isArray;function c(g,M){return{insertionMode:g,selectedValue:M}}function b(g,M,V){switch(M){case"select":return c(1,V.value!=null?V.value:V.defaultValue);case"svg":return c(2,null);case"math":return c(3,null);case"foreignObject":return c(1,null);case"table":return c(4,null);case"thead":case"tbody":case"tfoot":return c(5,null);case"colgroup":return c(7,null);case"tr":return c(6,null)}return 4<=g.insertionMode||g.insertionMode===0?c(1,null):g}var N=new Map;function O(g,M,V){if(typeof V!="object")throw Error(y(62));M=!0;for(var Z in V)if(E.call(V,Z)){var ve=V[Z];if(ve!=null&&typeof ve!="boolean"&&ve!==""){if(Z.indexOf("--")===0){var pe=o(Z);ve=o((""+ve).trim())}else{pe=Z;var be=N.get(pe);be!==void 0||(be=o(pe.replace(l,"-$1").toLowerCase().replace(x,"-ms-")),N.set(pe,be)),pe=be,ve=typeof ve=="number"?ve===0||E.call(u,Z)?""+ve:ve+"px":o((""+ve).trim())}M?(M=!1,g.push(' style="',pe,":",ve)):g.push(";",pe,":",ve)}}M||g.push('"')}function S(g,M,V,Z){switch(V){case"style":O(g,M,Z);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<V.length)||V[0]!=="o"&&V[0]!=="O"||V[1]!=="n"&&V[1]!=="N"){if(M=s.hasOwnProperty(V)?s[V]:null,M!==null){switch(typeof Z){case"function":case"symbol":return;case"boolean":if(!M.acceptsBooleans)return}switch(V=M.attributeName,M.type){case 3:Z&&g.push(" ",V,'=""');break;case 4:Z===!0?g.push(" ",V,'=""'):Z!==!1&&g.push(" ",V,'="',o(Z),'"');break;case 5:isNaN(Z)||g.push(" ",V,'="',o(Z),'"');break;case 6:!isNaN(Z)&&1<=Z&&g.push(" ",V,'="',o(Z),'"');break;default:M.sanitizeURL&&(Z=""+Z),g.push(" ",V,'="',o(Z),'"')}}else if(w(V)){switch(typeof Z){case"function":case"symbol":return;case"boolean":if(M=V.toLowerCase().slice(0,5),M!=="data-"&&M!=="aria-")return}g.push(" ",V,'="',o(Z),'"')}}}function K(g,M,V){if(M!=null){if(V!=null)throw Error(y(60));if(typeof M!="object"||!("__html"in M))throw Error(y(61));M=M.__html,M!=null&&g.push(""+M)}}function L(g){var M="";return F.Children.forEach(g,function(V){V!=null&&(M+=V)}),M}function D(g,M,V,Z){g.push(Q(V));var ve=V=null,pe;for(pe in M)if(E.call(M,pe)){var be=M[pe];if(be!=null)switch(pe){case"children":V=be;break;case"dangerouslySetInnerHTML":ve=be;break;default:S(g,Z,pe,be)}}return g.push(">"),K(g,ve,V),typeof V=="string"?(g.push(o(V)),null):V}var B=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,J=new Map;function Q(g){var M=J.get(g);if(M===void 0){if(!B.test(g))throw Error(y(65,g));M="<"+g,J.set(g,M)}return M}function G(g,M,V,Z,ve){switch(M){case"select":g.push(Q("select"));var pe=null,be=null;for(pt in V)if(E.call(V,pt)){var Me=V[pt];if(Me!=null)switch(pt){case"children":pe=Me;break;case"dangerouslySetInnerHTML":be=Me;break;case"defaultValue":case"value":break;default:S(g,Z,pt,Me)}}return g.push(">"),K(g,be,pe),pe;case"option":be=ve.selectedValue,g.push(Q("option"));var Ye=Me=null,nt=null,pt=null;for(pe in V)if(E.call(V,pe)){var Vt=V[pe];if(Vt!=null)switch(pe){case"children":Me=Vt;break;case"selected":nt=Vt;break;case"dangerouslySetInnerHTML":pt=Vt;break;case"value":Ye=Vt;default:S(g,Z,pe,Vt)}}if(be!=null)if(V=Ye!==null?""+Ye:L(Me),k(be)){for(Z=0;Z<be.length;Z++)if(""+be[Z]===V){g.push(' selected=""');break}}else""+be===V&&g.push(' selected=""');else nt&&g.push(' selected=""');return g.push(">"),K(g,pt,Me),Me;case"textarea":g.push(Q("textarea")),pt=be=pe=null;for(Me in V)if(E.call(V,Me)&&(Ye=V[Me],Ye!=null))switch(Me){case"children":pt=Ye;break;case"value":pe=Ye;break;case"defaultValue":be=Ye;break;case"dangerouslySetInnerHTML":throw Error(y(91));default:S(g,Z,Me,Ye)}if(pe===null&&be!==null&&(pe=be),g.push(">"),pt!=null){if(pe!=null)throw Error(y(92));if(k(pt)&&1<pt.length)throw Error(y(93));pe=""+pt}return typeof pe=="string"&&pe[0]===`
|
|
`&&g.push(`
|
|
`),pe!==null&&g.push(o(""+pe)),null;case"input":g.push(Q("input")),Ye=pt=Me=pe=null;for(be in V)if(E.call(V,be)&&(nt=V[be],nt!=null))switch(be){case"children":case"dangerouslySetInnerHTML":throw Error(y(399,"input"));case"defaultChecked":Ye=nt;break;case"defaultValue":Me=nt;break;case"checked":pt=nt;break;case"value":pe=nt;break;default:S(g,Z,be,nt)}return pt!==null?S(g,Z,"checked",pt):Ye!==null&&S(g,Z,"checked",Ye),pe!==null?S(g,Z,"value",pe):Me!==null&&S(g,Z,"value",Me),g.push("/>"),null;case"menuitem":g.push(Q("menuitem"));for(var ln in V)if(E.call(V,ln)&&(pe=V[ln],pe!=null))switch(ln){case"children":case"dangerouslySetInnerHTML":throw Error(y(400));default:S(g,Z,ln,pe)}return g.push(">"),null;case"title":g.push(Q("title")),pe=null;for(Vt in V)if(E.call(V,Vt)&&(be=V[Vt],be!=null))switch(Vt){case"children":pe=be;break;case"dangerouslySetInnerHTML":throw Error(y(434));default:S(g,Z,Vt,be)}return g.push(">"),pe;case"listing":case"pre":g.push(Q(M)),be=pe=null;for(Ye in V)if(E.call(V,Ye)&&(Me=V[Ye],Me!=null))switch(Ye){case"children":pe=Me;break;case"dangerouslySetInnerHTML":be=Me;break;default:S(g,Z,Ye,Me)}if(g.push(">"),be!=null){if(pe!=null)throw Error(y(60));if(typeof be!="object"||!("__html"in be))throw Error(y(61));V=be.__html,V!=null&&(typeof V=="string"&&0<V.length&&V[0]===`
|
|
`?g.push(`
|
|
`,V):g.push(""+V))}return typeof pe=="string"&&pe[0]===`
|
|
`&&g.push(`
|
|
`),pe;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":g.push(Q(M));for(var En in V)if(E.call(V,En)&&(pe=V[En],pe!=null))switch(En){case"children":case"dangerouslySetInnerHTML":throw Error(y(399,M));default:S(g,Z,En,pe)}return g.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 D(g,V,M,Z);case"html":return ve.insertionMode===0&&g.push("<!DOCTYPE html>"),D(g,V,M,Z);default:if(M.indexOf("-")===-1&&typeof V.is!="string")return D(g,V,M,Z);g.push(Q(M)),be=pe=null;for(nt in V)if(E.call(V,nt)&&(Me=V[nt],Me!=null))switch(nt){case"children":pe=Me;break;case"dangerouslySetInnerHTML":be=Me;break;case"style":O(g,Z,Me);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:w(nt)&&typeof Me!="function"&&typeof Me!="symbol"&&g.push(" ",nt,'="',o(Me),'"')}return g.push(">"),K(g,be,pe),pe}}function U(g,M,V){if(g.push('<!--$?--><template id="'),V===null)throw Error(y(395));return g.push(V),g.push('"></template>')}function se(g,M,V,Z){switch(V.insertionMode){case 0:case 1:return g.push('<div hidden id="'),g.push(M.segmentPrefix),M=Z.toString(16),g.push(M),g.push('">');case 2:return g.push('<svg aria-hidden="true" style="display:none" id="'),g.push(M.segmentPrefix),M=Z.toString(16),g.push(M),g.push('">');case 3:return g.push('<math aria-hidden="true" style="display:none" id="'),g.push(M.segmentPrefix),M=Z.toString(16),g.push(M),g.push('">');case 4:return g.push('<table hidden id="'),g.push(M.segmentPrefix),M=Z.toString(16),g.push(M),g.push('">');case 5:return g.push('<table hidden><tbody id="'),g.push(M.segmentPrefix),M=Z.toString(16),g.push(M),g.push('">');case 6:return g.push('<table hidden><tr id="'),g.push(M.segmentPrefix),M=Z.toString(16),g.push(M),g.push('">');case 7:return g.push('<table hidden><colgroup id="'),g.push(M.segmentPrefix),M=Z.toString(16),g.push(M),g.push('">');default:throw Error(y(397))}}function q(g,M){switch(M.insertionMode){case 0:case 1:return g.push("</div>");case 2:return g.push("</svg>");case 3:return g.push("</math>");case 4:return g.push("</table>");case 5:return g.push("</tbody></table>");case 6:return g.push("</tr></table>");case 7:return g.push("</colgroup></table>");default:throw Error(y(397))}}var he=/[<\u2028\u2029]/g;function De(g){return JSON.stringify(g).replace(he,function(M){switch(M){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ke(g,M){return M=M===void 0?"":M,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:M+"P:",segmentPrefix:M+"S:",boundaryPrefix:M+"B:",idPrefix:M,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:g}}function $(g,M,V,Z){return V.generateStaticMarkup?(g.push(o(M)),!1):(M===""?g=Z:(Z&&g.push("<!-- -->"),g.push(o(M)),g=!0),g)}var Ie=Object.assign,Ue=Symbol.for("react.element"),He=Symbol.for("react.portal"),We=Symbol.for("react.fragment"),Xe=Symbol.for("react.strict_mode"),vt=Symbol.for("react.profiler"),Et=Symbol.for("react.provider"),ht=Symbol.for("react.context"),je=Symbol.for("react.forward_ref"),gt=Symbol.for("react.suspense"),Ze=Symbol.for("react.suspense_list"),Tt=Symbol.for("react.memo"),At=Symbol.for("react.lazy"),bt=Symbol.for("react.scope"),Be=Symbol.for("react.debug_trace_mode"),rt=Symbol.for("react.legacy_hidden"),Pt=Symbol.for("react.default_value"),nn=Symbol.iterator;function Ke(g){if(g==null)return null;if(typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case We:return"Fragment";case He:return"Portal";case vt:return"Profiler";case Xe:return"StrictMode";case gt:return"Suspense";case Ze:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case ht:return(g.displayName||"Context")+".Consumer";case Et:return(g._context.displayName||"Context")+".Provider";case je:var M=g.render;return g=g.displayName,g||(g=M.displayName||M.name||"",g=g!==""?"ForwardRef("+g+")":"ForwardRef"),g;case Tt:return M=g.displayName||null,M!==null?M:Ke(g.type)||"Memo";case At:M=g._payload,g=g._init;try{return Ke(g(M))}catch(V){}}return null}var ue={};function ie(g,M){if(g=g.contextTypes,!g)return ue;var V={},Z;for(Z in g)V[Z]=M[Z];return V}var ge=null;function Ae(g,M){if(g!==M){g.context._currentValue2=g.parentValue,g=g.parent;var V=M.parent;if(g===null){if(V!==null)throw Error(y(401))}else{if(V===null)throw Error(y(401));Ae(g,V)}M.context._currentValue2=M.value}}function Se(g){g.context._currentValue2=g.parentValue,g=g.parent,g!==null&&Se(g)}function Te(g){var M=g.parent;M!==null&&Te(M),g.context._currentValue2=g.value}function Fe(g,M){if(g.context._currentValue2=g.parentValue,g=g.parent,g===null)throw Error(y(402));g.depth===M.depth?Ae(g,M):Fe(g,M)}function Oe(g,M){var V=M.parent;if(V===null)throw Error(y(402));g.depth===V.depth?Ae(g,V):Oe(g,V),M.context._currentValue2=M.value}function Ge(g){var M=ge;M!==g&&(M===null?Te(g):g===null?Se(M):M.depth===g.depth?Ae(M,g):M.depth>g.depth?Fe(M,g):Oe(M,g),ge=g)}var Qe={isMounted:function(){return!1},enqueueSetState:function(g,M){g=g._reactInternals,g.queue!==null&&g.queue.push(M)},enqueueReplaceState:function(g,M){g=g._reactInternals,g.replace=!0,g.queue=[M]},enqueueForceUpdate:function(){}};function _e(g,M,V,Z){var ve=g.state!==void 0?g.state:null;g.updater=Qe,g.props=V,g.state=ve;var pe={queue:[],replace:!1};g._reactInternals=pe;var be=M.contextType;if(g.context=typeof be=="object"&&be!==null?be._currentValue2:Z,be=M.getDerivedStateFromProps,typeof be=="function"&&(be=be(V,ve),ve=be==null?ve:Ie({},ve,be),g.state=ve),typeof M.getDerivedStateFromProps!="function"&&typeof g.getSnapshotBeforeUpdate!="function"&&(typeof g.UNSAFE_componentWillMount=="function"||typeof g.componentWillMount=="function"))if(M=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),M!==g.state&&Qe.enqueueReplaceState(g,g.state,null),pe.queue!==null&&0<pe.queue.length)if(M=pe.queue,be=pe.replace,pe.queue=null,pe.replace=!1,be&&M.length===1)g.state=M[0];else{for(pe=be?M[0]:g.state,ve=!0,be=be?1:0;be<M.length;be++){var Me=M[be];Me=typeof Me=="function"?Me.call(g,pe,V,Z):Me,Me!=null&&(ve?(ve=!1,pe=Ie({},pe,Me)):Ie(pe,Me))}g.state=pe}else pe.queue=null}var Re={id:1,overflow:""};function lt(g,M,V){var Z=g.id;g=g.overflow;var ve=32-St(Z)-1;Z&=~(1<<ve),V+=1;var pe=32-St(M)+ve;if(30<pe){var be=ve-ve%5;return pe=(Z&(1<<be)-1).toString(32),Z>>=be,ve-=be,{id:1<<32-St(M)+ve|V<<ve|Z,overflow:pe+g}}return{id:1<<pe|V<<ve|Z,overflow:g}}var St=Math.clz32?Math.clz32:It,Kt=Math.log,Ot=Math.LN2;function It(g){return g>>>=0,g===0?32:31-(Kt(g)/Ot|0)|0}function Qt(g,M){return g===M&&(g!==0||1/g===1/M)||g!==g&&M!==M}var Gt=typeof Object.is=="function"?Object.is:Qt,ne=null,de=null,Ee=null,Ce=null,Le=!1,Ne=!1,ft=0,tt=null,yt=0;function qe(){if(ne===null)throw Error(y(321));return ne}function xt(){if(0<yt)throw Error(y(312));return{memoizedState:null,queue:null,next:null}}function it(){return Ce===null?Ee===null?(Le=!1,Ee=Ce=xt()):(Le=!0,Ce=Ee):Ce.next===null?(Le=!1,Ce=Ce.next=xt()):(Le=!0,Ce=Ce.next),Ce}function Ct(){de=ne=null,Ne=!1,Ee=null,yt=0,Ce=tt=null}function $e(g,M){return typeof M=="function"?M(g):M}function ut(g,M,V){if(ne=qe(),Ce=it(),Le){var Z=Ce.queue;if(M=Z.dispatch,tt!==null&&(V=tt.get(Z),V!==void 0)){tt.delete(Z),Z=Ce.memoizedState;do Z=g(Z,V.action),V=V.next;while(V!==null);return Ce.memoizedState=Z,[Z,M]}return[Ce.memoizedState,M]}return g=g===$e?typeof M=="function"?M():M:V!==void 0?V(M):M,Ce.memoizedState=g,g=Ce.queue={last:null,dispatch:null},g=g.dispatch=st.bind(null,ne,g),[Ce.memoizedState,g]}function dt(g,M){if(ne=qe(),Ce=it(),M=M===void 0?null:M,Ce!==null){var V=Ce.memoizedState;if(V!==null&&M!==null){var Z=V[1];e:if(Z===null)Z=!1;else{for(var ve=0;ve<Z.length&&ve<M.length;ve++)if(!Gt(M[ve],Z[ve])){Z=!1;break e}Z=!0}if(Z)return V[0]}}return g=g(),Ce.memoizedState=[g,M],g}function st(g,M,V){if(25<=yt)throw Error(y(301));if(g===ne)if(Ne=!0,g={action:V,next:null},tt===null&&(tt=new Map),V=tt.get(M),V===void 0)tt.set(M,g);else{for(M=V;M.next!==null;)M=M.next;M.next=g}}function Wt(){throw Error(y(394))}function jt(){}var Mt={readContext:function(g){return g._currentValue2},useContext:function(g){return qe(),g._currentValue2},useMemo:dt,useReducer:ut,useRef:function(g){ne=qe(),Ce=it();var M=Ce.memoizedState;return M===null?(g={current:g},Ce.memoizedState=g):M},useState:function(g){return ut($e,g)},useInsertionEffect:jt,useLayoutEffect:function(){},useCallback:function(g,M){return dt(function(){return g},M)},useImperativeHandle:jt,useEffect:jt,useDebugValue:jt,useDeferredValue:function(g){return qe(),g},useTransition:function(){return qe(),[!1,Wt]},useId:function(){var g=de.treeContext,M=g.overflow;g=g.id,g=(g&~(1<<32-St(g)-1)).toString(32)+M;var V=Ft;if(V===null)throw Error(y(404));return M=ft++,g=":"+V.idPrefix+"R"+g,0<M&&(g+="H"+M.toString(32)),g+":"},useMutableSource:function(g,M){return qe(),M(g._source)},useSyncExternalStore:function(g,M,V){if(V===void 0)throw Error(y(407));return V()}},Ft=null,at=F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Dt(g){return console.error(g),null}function kt(){}function ot(g,M,V,Z,ve,pe,be,Me,Ye){var nt=[],pt=new Set;return M={destination:null,responseState:M,progressiveChunkSize:Z===void 0?12800:Z,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:pt,pingedTasks:nt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ve===void 0?Dt:ve,onAllReady:pe===void 0?kt:pe,onShellReady:be===void 0?kt:be,onShellError:Me===void 0?kt:Me,onFatalError:Ye===void 0?kt:Ye},V=Ut(M,0,null,V,!1,!1),V.parentFlushed=!0,g=Rt(M,g,null,V,pt,ue,null,Re),nt.push(g),M}function Rt(g,M,V,Z,ve,pe,be,Me){g.allPendingTasks++,V===null?g.pendingRootTasks++:V.pendingTasks++;var Ye={node:M,ping:function(){var nt=g.pingedTasks;nt.push(Ye),nt.length===1&&Fn(g)},blockedBoundary:V,blockedSegment:Z,abortSet:ve,legacyContext:pe,context:be,treeContext:Me};return ve.add(Ye),Ye}function Ut(g,M,V,Z,ve,pe){return{status:0,id:-1,index:M,parentFlushed:!1,chunks:[],children:[],formatContext:Z,boundary:V,lastPushedText:ve,textEmbedded:pe}}function Yt(g,M){if(g=g.onError(M),g!=null&&typeof g!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof g+'" instead');return g}function un(g,M){var V=g.onShellError;V(M),V=g.onFatalError,V(M),g.destination!==null?(g.status=2,g.destination.destroy(M)):(g.status=1,g.fatalError=M)}function fn(g,M,V,Z,ve){for(ne={},de=M,ft=0,g=V(Z,ve);Ne;)Ne=!1,ft=0,yt+=1,Ce=null,g=V(Z,ve);return Ct(),g}function en(g,M,V,Z){var ve=V.render(),pe=Z.childContextTypes;if(pe!=null){var be=M.legacyContext;if(typeof V.getChildContext!="function")Z=be;else{V=V.getChildContext();for(var Me in V)if(!(Me in pe))throw Error(y(108,Ke(Z)||"Unknown",Me));Z=Ie({},be,V)}M.legacyContext=Z,zt(g,M,ve),M.legacyContext=be}else zt(g,M,ve)}function Rn(g,M){if(g&&g.defaultProps){M=Ie({},M),g=g.defaultProps;for(var V in g)M[V]===void 0&&(M[V]=g[V]);return M}return M}function gn(g,M,V,Z,ve){if(typeof V=="function")if(V.prototype&&V.prototype.isReactComponent){ve=ie(V,M.legacyContext);var pe=V.contextType;pe=new V(Z,typeof pe=="object"&&pe!==null?pe._currentValue2:ve),_e(pe,V,Z,ve),en(g,M,pe,V)}else{pe=ie(V,M.legacyContext),ve=fn(g,M,V,Z,pe);var be=ft!==0;if(typeof ve=="object"&&ve!==null&&typeof ve.render=="function"&&ve.$$typeof===void 0)_e(ve,V,Z,pe),en(g,M,ve,V);else if(be){Z=M.treeContext,M.treeContext=lt(Z,1,0);try{zt(g,M,ve)}finally{M.treeContext=Z}}else zt(g,M,ve)}else if(typeof V=="string"){switch(ve=M.blockedSegment,pe=G(ve.chunks,V,Z,g.responseState,ve.formatContext),ve.lastPushedText=!1,be=ve.formatContext,ve.formatContext=b(be,V,Z),rn(g,M,pe),ve.formatContext=be,V){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:ve.chunks.push("</",V,">")}ve.lastPushedText=!1}else{switch(V){case rt:case Be:case Xe:case vt:case We:zt(g,M,Z.children);return;case Ze:zt(g,M,Z.children);return;case bt:throw Error(y(343));case gt:e:{V=M.blockedBoundary,ve=M.blockedSegment,pe=Z.fallback,Z=Z.children,be=new Set;var Me={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:be,errorDigest:null},Ye=Ut(g,ve.chunks.length,Me,ve.formatContext,!1,!1);ve.children.push(Ye),ve.lastPushedText=!1;var nt=Ut(g,0,null,ve.formatContext,!1,!1);nt.parentFlushed=!0,M.blockedBoundary=Me,M.blockedSegment=nt;try{if(rn(g,M,Z),g.responseState.generateStaticMarkup||nt.lastPushedText&&nt.textEmbedded&&nt.chunks.push("<!-- -->"),nt.status=1,mn(Me,nt),Me.pendingTasks===0)break e}catch(pt){nt.status=4,Me.forceClientRender=!0,Me.errorDigest=Yt(g,pt)}finally{M.blockedBoundary=V,M.blockedSegment=ve}M=Rt(g,pe,V,Ye,be,M.legacyContext,M.context,M.treeContext),g.pingedTasks.push(M)}return}if(typeof V=="object"&&V!==null)switch(V.$$typeof){case je:if(Z=fn(g,M,V.render,Z,ve),ft!==0){V=M.treeContext,M.treeContext=lt(V,1,0);try{zt(g,M,Z)}finally{M.treeContext=V}}else zt(g,M,Z);return;case Tt:V=V.type,Z=Rn(V,Z),gn(g,M,V,Z,ve);return;case Et:if(ve=Z.children,V=V._context,Z=Z.value,pe=V._currentValue2,V._currentValue2=Z,be=ge,ge=Z={parent:be,depth:be===null?0:be.depth+1,context:V,parentValue:pe,value:Z},M.context=Z,zt(g,M,ve),g=ge,g===null)throw Error(y(403));Z=g.parentValue,g.context._currentValue2=Z===Pt?g.context._defaultValue:Z,g=ge=g.parent,M.context=g;return;case ht:Z=Z.children,Z=Z(V._currentValue2),zt(g,M,Z);return;case At:ve=V._init,V=ve(V._payload),Z=Rn(V,Z),gn(g,M,V,Z,void 0);return}throw Error(y(130,V==null?V:typeof V,""))}}function zt(g,M,V){if(M.node=V,typeof V=="object"&&V!==null){switch(V.$$typeof){case Ue:gn(g,M,V.type,V.props,V.ref);return;case He:throw Error(y(257));case At:var Z=V._init;V=Z(V._payload),zt(g,M,V);return}if(k(V)){Kn(g,M,V);return}if(V===null||typeof V!="object"?Z=null:(Z=nn&&V[nn]||V["@@iterator"],Z=typeof Z=="function"?Z:null),Z&&(Z=Z.call(V))){if(V=Z.next(),!V.done){var ve=[];do ve.push(V.value),V=Z.next();while(!V.done);Kn(g,M,ve)}return}throw g=Object.prototype.toString.call(V),Error(y(31,g==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":g))}typeof V=="string"?(Z=M.blockedSegment,Z.lastPushedText=$(M.blockedSegment.chunks,V,g.responseState,Z.lastPushedText)):typeof V=="number"&&(Z=M.blockedSegment,Z.lastPushedText=$(M.blockedSegment.chunks,""+V,g.responseState,Z.lastPushedText))}function Kn(g,M,V){for(var Z=V.length,ve=0;ve<Z;ve++){var pe=M.treeContext;M.treeContext=lt(pe,Z,ve);try{rn(g,M,V[ve])}finally{M.treeContext=pe}}}function rn(g,M,V){var Z=M.blockedSegment.formatContext,ve=M.legacyContext,pe=M.context;try{return zt(g,M,V)}catch(Ye){if(Ct(),typeof Ye=="object"&&Ye!==null&&typeof Ye.then=="function"){V=Ye;var be=M.blockedSegment,Me=Ut(g,be.chunks.length,null,be.formatContext,be.lastPushedText,!0);be.children.push(Me),be.lastPushedText=!1,g=Rt(g,M.node,M.blockedBoundary,Me,M.abortSet,M.legacyContext,M.context,M.treeContext).ping,V.then(g,g),M.blockedSegment.formatContext=Z,M.legacyContext=ve,M.context=pe,Ge(pe)}else throw M.blockedSegment.formatContext=Z,M.legacyContext=ve,M.context=pe,Ge(pe),Ye}}function Cn(g){var M=g.blockedBoundary;g=g.blockedSegment,g.status=3,on(this,M,g)}function bn(g,M,V){var Z=g.blockedBoundary;g.blockedSegment.status=3,Z===null?(M.allPendingTasks--,M.status!==2&&(M.status=2,M.destination!==null&&M.destination.push(null))):(Z.pendingTasks--,Z.forceClientRender||(Z.forceClientRender=!0,g=V===void 0?Error(y(432)):V,Z.errorDigest=M.onError(g),Z.parentFlushed&&M.clientRenderedBoundaries.push(Z)),Z.fallbackAbortableTasks.forEach(function(ve){return bn(ve,M,V)}),Z.fallbackAbortableTasks.clear(),M.allPendingTasks--,M.allPendingTasks===0&&(Z=M.onAllReady,Z()))}function mn(g,M){if(M.chunks.length===0&&M.children.length===1&&M.children[0].boundary===null){var V=M.children[0];V.id=M.id,V.parentFlushed=!0,V.status===1&&mn(g,V)}else g.completedSegments.push(M)}function on(g,M,V){if(M===null){if(V.parentFlushed){if(g.completedRootSegment!==null)throw Error(y(389));g.completedRootSegment=V}g.pendingRootTasks--,g.pendingRootTasks===0&&(g.onShellError=kt,M=g.onShellReady,M())}else M.pendingTasks--,M.forceClientRender||(M.pendingTasks===0?(V.parentFlushed&&V.status===1&&mn(M,V),M.parentFlushed&&g.completedBoundaries.push(M),M.fallbackAbortableTasks.forEach(Cn,g),M.fallbackAbortableTasks.clear()):V.parentFlushed&&V.status===1&&(mn(M,V),M.completedSegments.length===1&&M.parentFlushed&&g.partialBoundaries.push(M)));g.allPendingTasks--,g.allPendingTasks===0&&(g=g.onAllReady,g())}function Fn(g){if(g.status!==2){var M=ge,V=at.current;at.current=Mt;var Z=Ft;Ft=g.responseState;try{var ve=g.pingedTasks,pe;for(pe=0;pe<ve.length;pe++){var be=ve[pe],Me=g,Ye=be.blockedSegment;if(Ye.status===0){Ge(be.context);try{zt(Me,be,be.node),Me.responseState.generateStaticMarkup||Ye.lastPushedText&&Ye.textEmbedded&&Ye.chunks.push("<!-- -->"),be.abortSet.delete(be),Ye.status=1,on(Me,be.blockedBoundary,Ye)}catch(sn){if(Ct(),typeof sn=="object"&&sn!==null&&typeof sn.then=="function"){var nt=be.ping;sn.then(nt,nt)}else{be.abortSet.delete(be),Ye.status=4;var pt=be.blockedBoundary,Vt=sn,ln=Yt(Me,Vt);if(pt===null?un(Me,Vt):(pt.pendingTasks--,pt.forceClientRender||(pt.forceClientRender=!0,pt.errorDigest=ln,pt.parentFlushed&&Me.clientRenderedBoundaries.push(pt))),Me.allPendingTasks--,Me.allPendingTasks===0){var En=Me.onAllReady;En()}}}finally{}}}ve.splice(0,pe),g.destination!==null&&Gn(g,g.destination)}catch(sn){Yt(g,sn),un(g,sn)}finally{Ft=Z,at.current=V,V===Mt&&Ge(M)}}}function xn(g,M,V){switch(V.parentFlushed=!0,V.status){case 0:var Z=V.id=g.nextSegmentId++;return V.lastPushedText=!1,V.textEmbedded=!1,g=g.responseState,M.push('<template id="'),M.push(g.placeholderPrefix),g=Z.toString(16),M.push(g),M.push('"></template>');case 1:V.status=2;var ve=!0;Z=V.chunks;var pe=0;V=V.children;for(var be=0;be<V.length;be++){for(ve=V[be];pe<ve.index;pe++)M.push(Z[pe]);ve=yn(g,M,ve)}for(;pe<Z.length-1;pe++)M.push(Z[pe]);return pe<Z.length&&(ve=M.push(Z[pe])),ve;default:throw Error(y(390))}}function yn(g,M,V){var Z=V.boundary;if(Z===null)return xn(g,M,V);if(Z.parentFlushed=!0,Z.forceClientRender)return g.responseState.generateStaticMarkup||(Z=Z.errorDigest,M.push("<!--$!-->"),M.push("<template"),Z&&(M.push(' data-dgst="'),Z=o(Z),M.push(Z),M.push('"')),M.push("></template>")),xn(g,M,V),g=g.responseState.generateStaticMarkup?!0:M.push("<!--/$-->"),g;if(0<Z.pendingTasks){Z.rootSegmentID=g.nextSegmentId++,0<Z.completedSegments.length&&g.partialBoundaries.push(Z);var ve=g.responseState,pe=ve.nextSuspenseID++;return ve=ve.boundaryPrefix+pe.toString(16),Z=Z.id=ve,U(M,g.responseState,Z),xn(g,M,V),M.push("<!--/$-->")}if(Z.byteSize>g.progressiveChunkSize)return Z.rootSegmentID=g.nextSegmentId++,g.completedBoundaries.push(Z),U(M,g.responseState,Z.id),xn(g,M,V),M.push("<!--/$-->");if(g.responseState.generateStaticMarkup||M.push("<!--$-->"),V=Z.completedSegments,V.length!==1)throw Error(y(391));return yn(g,M,V[0]),g=g.responseState.generateStaticMarkup?!0:M.push("<!--/$-->"),g}function Bn(g,M,V){return se(M,g.responseState,V.formatContext,V.id),yn(g,M,V),q(M,V.formatContext)}function Jn(g,M,V){for(var Z=V.completedSegments,ve=0;ve<Z.length;ve++)qn(g,M,V,Z[ve]);if(Z.length=0,g=g.responseState,Z=V.id,V=V.rootSegmentID,M.push(g.startInlineScript),g.sentCompleteBoundaryFunction?M.push('$RC("'):(g.sentCompleteBoundaryFunction=!0,M.push('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("')),Z===null)throw Error(y(395));return V=V.toString(16),M.push(Z),M.push('","'),M.push(g.segmentPrefix),M.push(V),M.push('")<\/script>')}function qn(g,M,V,Z){if(Z.status===2)return!0;var ve=Z.id;if(ve===-1){if((Z.id=V.rootSegmentID)===-1)throw Error(y(392));return Bn(g,M,Z)}return Bn(g,M,Z),g=g.responseState,M.push(g.startInlineScript),g.sentCompleteSegmentFunction?M.push('$RS("'):(g.sentCompleteSegmentFunction=!0,M.push('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("')),M.push(g.segmentPrefix),ve=ve.toString(16),M.push(ve),M.push('","'),M.push(g.placeholderPrefix),M.push(ve),M.push('")<\/script>')}function Gn(g,M){try{var V=g.completedRootSegment;if(V!==null&&g.pendingRootTasks===0){yn(g,M,V),g.completedRootSegment=null;var Z=g.responseState.bootstrapChunks;for(V=0;V<Z.length-1;V++)M.push(Z[V]);V<Z.length&&M.push(Z[V])}var ve=g.clientRenderedBoundaries,pe;for(pe=0;pe<ve.length;pe++){var be=ve[pe];Z=M;var Me=g.responseState,Ye=be.id,nt=be.errorDigest,pt=be.errorMessage,Vt=be.errorComponentStack;if(Z.push(Me.startInlineScript),Me.sentClientRenderFunction?Z.push('$RX("'):(Me.sentClientRenderFunction=!0,Z.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),Ye===null)throw Error(y(395));if(Z.push(Ye),Z.push('"'),nt||pt||Vt){Z.push(",");var ln=De(nt||"");Z.push(ln)}if(pt||Vt){Z.push(",");var En=De(pt||"");Z.push(En)}if(Vt){Z.push(",");var sn=De(Vt);Z.push(sn)}if(!Z.push(")<\/script>")){g.destination=null,pe++,ve.splice(0,pe);return}}ve.splice(0,pe);var Qn=g.completedBoundaries;for(pe=0;pe<Qn.length;pe++)if(!Jn(g,M,Qn[pe])){g.destination=null,pe++,Qn.splice(0,pe);return}Qn.splice(0,pe);var wn=g.partialBoundaries;for(pe=0;pe<wn.length;pe++){var In=wn[pe];e:{ve=g,be=M;var Un=In.completedSegments;for(Me=0;Me<Un.length;Me++)if(!qn(ve,be,In,Un[Me])){Me++,Un.splice(0,Me);var kn=!1;break e}Un.splice(0,Me),kn=!0}if(!kn){g.destination=null,pe++,wn.splice(0,pe);return}}wn.splice(0,pe);var Tn=g.completedBoundaries;for(pe=0;pe<Tn.length;pe++)if(!Jn(g,M,Tn[pe])){g.destination=null,pe++,Tn.splice(0,pe);return}Tn.splice(0,pe)}finally{g.allPendingTasks===0&&g.pingedTasks.length===0&&g.clientRenderedBoundaries.length===0&&g.completedBoundaries.length===0&&M.push(null)}}function cr(g,M){try{var V=g.abortableTasks;V.forEach(function(Z){return bn(Z,g,M)}),V.clear(),g.destination!==null&&Gn(g,g.destination)}catch(Z){Yt(g,Z),un(g,Z)}}function er(){}function tr(g,M,V,Z){var ve=!1,pe=null,be="",Me={push:function(nt){return nt!==null&&(be+=nt),!0},destroy:function(nt){ve=!0,pe=nt}},Ye=!1;if(g=ot(g,ke(V,M?M.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,er,void 0,function(){Ye=!0},void 0,void 0),Fn(g),cr(g,Z),g.status===1)g.status=2,Me.destroy(g.fatalError);else if(g.status!==2&&g.destination===null){g.destination=Me;try{Gn(g,Me)}catch(nt){Yt(g,nt),un(g,nt)}}if(ve)throw pe;if(!Ye)throw Error(y(426));return be}H.renderToNodeStream=function(){throw Error(y(207))},H.renderToStaticMarkup=function(g,M){return tr(g,M,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},H.renderToStaticNodeStream=function(){throw Error(y(208))},H.renderToString=function(g,M){return tr(g,M,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},H.version="18.2.0"},4304:function(Y,H,i){"use strict";var F=i(50959);function y(t){for(var m="https://reactjs.org/docs/error-decoder.html?invariant="+t,I=1;I<arguments.length;I++)m+="&args[]="+encodeURIComponent(arguments[I]);return"Minified React error #"+t+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var E=null,A=0;function v(t,m){if(m.length!==0)if(512<m.length)0<A&&(t.enqueue(new Uint8Array(E.buffer,0,A)),E=new Uint8Array(512),A=0),t.enqueue(m);else{var I=E.length-A;I<m.length&&(I===0?t.enqueue(E):(E.set(m.subarray(0,I),A),t.enqueue(E),m=m.subarray(I)),E=new Uint8Array(512),A=0),E.set(m,A),A+=m.length}}function T(t,m){return v(t,m),!0}function w(t){E&&0<A&&(t.enqueue(new Uint8Array(E.buffer,0,A)),E=null,A=0)}var p=new TextEncoder;function s(t){return p.encode(t)}function h(t){return p.encode(t)}function f(t,m){typeof t.error=="function"?t.error(m):t.close()}var u=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]*$/,a={},o={};function l(t){return u.call(o,t)?!0:u.call(a,t)?!1:d.test(t)?o[t]=!0:(a[t]=!0,!1)}function x(t,m,I,W,le,oe,me){this.acceptsBooleans=m===2||m===3||m===4,this.attributeName=W,this.attributeNamespace=le,this.mustUseProperty=I,this.propertyName=t,this.type=m,this.sanitizeURL=oe,this.removeEmptyString=me}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){k[t]=new x(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var m=t[0];k[m]=new x(m,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){k[t]=new x(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){k[t]=new x(t,2,!1,t,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(t){k[t]=new x(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){k[t]=new x(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){k[t]=new x(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){k[t]=new x(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){k[t]=new x(t,5,!1,t.toLowerCase(),null,!1,!1)});var c=/[\-:]([a-z])/g;function b(t){return t[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(t){var m=t.replace(c,b);k[m]=new x(m,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var m=t.replace(c,b);k[m]=new x(m,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var m=t.replace(c,b);k[m]=new x(m,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){k[t]=new x(t,1,!1,t.toLowerCase(),null,!1,!1)}),k.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){k[t]=new x(t,1,!1,t.toLowerCase(),null,!0,!0)});var N={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(N).forEach(function(t){O.forEach(function(m){m=m+t.charAt(0).toUpperCase()+t.substring(1),N[m]=N[t]})});var S=/["'&<>]/;function K(t){if(typeof t=="boolean"||typeof t=="number")return""+t;t=""+t;var m=S.exec(t);if(m){var I="",W,le=0;for(W=m.index;W<t.length;W++){switch(t.charCodeAt(W)){case 34:m=""";break;case 38:m="&";break;case 39:m="'";break;case 60:m="<";break;case 62:m=">";break;default:continue}le!==W&&(I+=t.substring(le,W)),le=W+1,I+=m}t=le!==W?I+t.substring(le,W):I}return t}var L=/([A-Z])/g,D=/^ms-/,B=Array.isArray,J=h("<script>"),Q=h("<\/script>"),G=h('<script src="'),U=h('<script type="module" src="'),se=h('" async=""><\/script>'),q=/(<\/|<)(s)(cript)/gi;function he(t,m,I,W){return""+m+(I==="s"?"\\u0073":"\\u0053")+W}function De(t,m,I,W,le){t=t===void 0?"":t,m=m===void 0?J:h('<script nonce="'+K(m)+'">');var oe=[];if(I!==void 0&&oe.push(m,s((""+I).replace(q,he)),Q),W!==void 0)for(I=0;I<W.length;I++)oe.push(G,s(K(W[I])),se);if(le!==void 0)for(W=0;W<le.length;W++)oe.push(U,s(K(le[W])),se);return{bootstrapChunks:oe,startInlineScript:m,placeholderPrefix:h(t+"P:"),segmentPrefix:h(t+"S:"),boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function ke(t,m){return{insertionMode:t,selectedValue:m}}function $(t){return ke(t==="http://www.w3.org/2000/svg"?2:t==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Ie(t,m,I){switch(m){case"select":return ke(1,I.value!=null?I.value:I.defaultValue);case"svg":return ke(2,null);case"math":return ke(3,null);case"foreignObject":return ke(1,null);case"table":return ke(4,null);case"thead":case"tbody":case"tfoot":return ke(5,null);case"colgroup":return ke(7,null);case"tr":return ke(6,null)}return 4<=t.insertionMode||t.insertionMode===0?ke(1,null):t}var Ue=h("<!-- -->");function He(t,m,I,W){return m===""?W:(W&&t.push(Ue),t.push(s(K(m))),!0)}var We=new Map,Xe=h(' style="'),vt=h(":"),Et=h(";");function ht(t,m,I){if(typeof I!="object")throw Error(y(62));m=!0;for(var W in I)if(u.call(I,W)){var le=I[W];if(le!=null&&typeof le!="boolean"&&le!==""){if(W.indexOf("--")===0){var oe=s(K(W));le=s(K((""+le).trim()))}else{oe=W;var me=We.get(oe);me!==void 0||(me=h(K(oe.replace(L,"-$1").toLowerCase().replace(D,"-ms-"))),We.set(oe,me)),oe=me,le=typeof le=="number"?le===0||u.call(N,W)?s(""+le):s(le+"px"):s(K((""+le).trim()))}m?(m=!1,t.push(Xe,oe,vt,le)):t.push(Et,oe,vt,le)}}m||t.push(Ze)}var je=h(" "),gt=h('="'),Ze=h('"'),Tt=h('=""');function At(t,m,I,W){switch(I){case"style":ht(t,m,W);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<I.length)||I[0]!=="o"&&I[0]!=="O"||I[1]!=="n"&&I[1]!=="N"){if(m=k.hasOwnProperty(I)?k[I]:null,m!==null){switch(typeof W){case"function":case"symbol":return;case"boolean":if(!m.acceptsBooleans)return}switch(I=s(m.attributeName),m.type){case 3:W&&t.push(je,I,Tt);break;case 4:W===!0?t.push(je,I,Tt):W!==!1&&t.push(je,I,gt,s(K(W)),Ze);break;case 5:isNaN(W)||t.push(je,I,gt,s(K(W)),Ze);break;case 6:!isNaN(W)&&1<=W&&t.push(je,I,gt,s(K(W)),Ze);break;default:m.sanitizeURL&&(W=""+W),t.push(je,I,gt,s(K(W)),Ze)}}else if(l(I)){switch(typeof W){case"function":case"symbol":return;case"boolean":if(m=I.toLowerCase().slice(0,5),m!=="data-"&&m!=="aria-")return}t.push(je,s(I),gt,s(K(W)),Ze)}}}var bt=h(">"),Be=h("/>");function rt(t,m,I){if(m!=null){if(I!=null)throw Error(y(60));if(typeof m!="object"||!("__html"in m))throw Error(y(61));m=m.__html,m!=null&&t.push(s(""+m))}}function Pt(t){var m="";return F.Children.forEach(t,function(I){I!=null&&(m+=I)}),m}var nn=h(' selected=""');function Ke(t,m,I,W){t.push(Ae(I));var le=I=null,oe;for(oe in m)if(u.call(m,oe)){var me=m[oe];if(me!=null)switch(oe){case"children":I=me;break;case"dangerouslySetInnerHTML":le=me;break;default:At(t,W,oe,me)}}return t.push(bt),rt(t,le,I),typeof I=="string"?(t.push(s(K(I))),null):I}var ue=h(`
|
|
`),ie=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ge=new Map;function Ae(t){var m=ge.get(t);if(m===void 0){if(!ie.test(t))throw Error(y(65,t));m=h("<"+t),ge.set(t,m)}return m}var Se=h("<!DOCTYPE html>");function Te(t,m,I,W,le){switch(m){case"select":t.push(Ae("select"));var oe=null,me=null;for(Ve in I)if(u.call(I,Ve)){var xe=I[Ve];if(xe!=null)switch(Ve){case"children":oe=xe;break;case"dangerouslySetInnerHTML":me=xe;break;case"defaultValue":case"value":break;default:At(t,W,Ve,xe)}}return t.push(bt),rt(t,me,oe),oe;case"option":me=le.selectedValue,t.push(Ae("option"));var Je=xe=null,et=null,Ve=null;for(oe in I)if(u.call(I,oe)){var ct=I[oe];if(ct!=null)switch(oe){case"children":xe=ct;break;case"selected":et=ct;break;case"dangerouslySetInnerHTML":Ve=ct;break;case"value":Je=ct;default:At(t,W,oe,ct)}}if(me!=null)if(I=Je!==null?""+Je:Pt(xe),B(me)){for(W=0;W<me.length;W++)if(""+me[W]===I){t.push(nn);break}}else""+me===I&&t.push(nn);else et&&t.push(nn);return t.push(bt),rt(t,Ve,xe),xe;case"textarea":t.push(Ae("textarea")),Ve=me=oe=null;for(xe in I)if(u.call(I,xe)&&(Je=I[xe],Je!=null))switch(xe){case"children":Ve=Je;break;case"value":oe=Je;break;case"defaultValue":me=Je;break;case"dangerouslySetInnerHTML":throw Error(y(91));default:At(t,W,xe,Je)}if(oe===null&&me!==null&&(oe=me),t.push(bt),Ve!=null){if(oe!=null)throw Error(y(92));if(B(Ve)&&1<Ve.length)throw Error(y(93));oe=""+Ve}return typeof oe=="string"&&oe[0]===`
|
|
`&&t.push(ue),oe!==null&&t.push(s(K(""+oe))),null;case"input":t.push(Ae("input")),Je=Ve=xe=oe=null;for(me in I)if(u.call(I,me)&&(et=I[me],et!=null))switch(me){case"children":case"dangerouslySetInnerHTML":throw Error(y(399,"input"));case"defaultChecked":Je=et;break;case"defaultValue":xe=et;break;case"checked":Ve=et;break;case"value":oe=et;break;default:At(t,W,me,et)}return Ve!==null?At(t,W,"checked",Ve):Je!==null&&At(t,W,"checked",Je),oe!==null?At(t,W,"value",oe):xe!==null&&At(t,W,"value",xe),t.push(Be),null;case"menuitem":t.push(Ae("menuitem"));for(var Jt in I)if(u.call(I,Jt)&&(oe=I[Jt],oe!=null))switch(Jt){case"children":case"dangerouslySetInnerHTML":throw Error(y(400));default:At(t,W,Jt,oe)}return t.push(bt),null;case"title":t.push(Ae("title")),oe=null;for(ct in I)if(u.call(I,ct)&&(me=I[ct],me!=null))switch(ct){case"children":oe=me;break;case"dangerouslySetInnerHTML":throw Error(y(434));default:At(t,W,ct,me)}return t.push(bt),oe;case"listing":case"pre":t.push(Ae(m)),me=oe=null;for(Je in I)if(u.call(I,Je)&&(xe=I[Je],xe!=null))switch(Je){case"children":oe=xe;break;case"dangerouslySetInnerHTML":me=xe;break;default:At(t,W,Je,xe)}if(t.push(bt),me!=null){if(oe!=null)throw Error(y(60));if(typeof me!="object"||!("__html"in me))throw Error(y(61));I=me.__html,I!=null&&(typeof I=="string"&&0<I.length&&I[0]===`
|
|
`?t.push(ue,s(I)):t.push(s(""+I)))}return typeof oe=="string"&&oe[0]===`
|
|
`&&t.push(ue),oe;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":t.push(Ae(m));for(var Zt in I)if(u.call(I,Zt)&&(oe=I[Zt],oe!=null))switch(Zt){case"children":case"dangerouslySetInnerHTML":throw Error(y(399,m));default:At(t,W,Zt,oe)}return t.push(Be),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 Ke(t,I,m,W);case"html":return le.insertionMode===0&&t.push(Se),Ke(t,I,m,W);default:if(m.indexOf("-")===-1&&typeof I.is!="string")return Ke(t,I,m,W);t.push(Ae(m)),me=oe=null;for(et in I)if(u.call(I,et)&&(xe=I[et],xe!=null))switch(et){case"children":oe=xe;break;case"dangerouslySetInnerHTML":me=xe;break;case"style":ht(t,W,xe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(et)&&typeof xe!="function"&&typeof xe!="symbol"&&t.push(je,s(et),gt,s(K(xe)),Ze)}return t.push(bt),rt(t,me,oe),oe}}var Fe=h("</"),Oe=h(">"),Ge=h('<template id="'),Qe=h('"></template>'),_e=h("<!--$-->"),Re=h('<!--$?--><template id="'),lt=h('"></template>'),St=h("<!--$!-->"),Kt=h("<!--/$-->"),Ot=h("<template"),It=h('"'),Qt=h(' data-dgst="');h(' data-msg="'),h(' data-stck="');var Gt=h("></template>");function ne(t,m,I){if(v(t,Re),I===null)throw Error(y(395));return v(t,I),T(t,lt)}var de=h('<div hidden id="'),Ee=h('">'),Ce=h("</div>"),Le=h('<svg aria-hidden="true" style="display:none" id="'),Ne=h('">'),ft=h("</svg>"),tt=h('<math aria-hidden="true" style="display:none" id="'),yt=h('">'),qe=h("</math>"),xt=h('<table hidden id="'),it=h('">'),Ct=h("</table>"),$e=h('<table hidden><tbody id="'),ut=h('">'),dt=h("</tbody></table>"),st=h('<table hidden><tr id="'),Wt=h('">'),jt=h("</tr></table>"),Mt=h('<table hidden><colgroup id="'),Ft=h('">'),at=h("</colgroup></table>");function Dt(t,m,I,W){switch(I.insertionMode){case 0:case 1:return v(t,de),v(t,m.segmentPrefix),v(t,s(W.toString(16))),T(t,Ee);case 2:return v(t,Le),v(t,m.segmentPrefix),v(t,s(W.toString(16))),T(t,Ne);case 3:return v(t,tt),v(t,m.segmentPrefix),v(t,s(W.toString(16))),T(t,yt);case 4:return v(t,xt),v(t,m.segmentPrefix),v(t,s(W.toString(16))),T(t,it);case 5:return v(t,$e),v(t,m.segmentPrefix),v(t,s(W.toString(16))),T(t,ut);case 6:return v(t,st),v(t,m.segmentPrefix),v(t,s(W.toString(16))),T(t,Wt);case 7:return v(t,Mt),v(t,m.segmentPrefix),v(t,s(W.toString(16))),T(t,Ft);default:throw Error(y(397))}}function kt(t,m){switch(m.insertionMode){case 0:case 1:return T(t,Ce);case 2:return T(t,ft);case 3:return T(t,qe);case 4:return T(t,Ct);case 5:return T(t,dt);case 6:return T(t,jt);case 7:return T(t,at);default:throw Error(y(397))}}var ot=h('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("'),Rt=h('$RS("'),Ut=h('","'),Yt=h('")<\/script>'),un=h('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("'),fn=h('$RC("'),en=h('","'),Rn=h('")<\/script>'),gn=h('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),zt=h('$RX("'),Kn=h('"'),rn=h(")<\/script>"),Cn=h(","),bn=/[<\u2028\u2029]/g;function mn(t){return JSON.stringify(t).replace(bn,function(m){switch(m){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var on=Object.assign,Fn=Symbol.for("react.element"),xn=Symbol.for("react.portal"),yn=Symbol.for("react.fragment"),Bn=Symbol.for("react.strict_mode"),Jn=Symbol.for("react.profiler"),qn=Symbol.for("react.provider"),Gn=Symbol.for("react.context"),cr=Symbol.for("react.forward_ref"),er=Symbol.for("react.suspense"),tr=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),V=Symbol.for("react.scope"),Z=Symbol.for("react.debug_trace_mode"),ve=Symbol.for("react.legacy_hidden"),pe=Symbol.for("react.default_value"),be=Symbol.iterator;function Me(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case yn:return"Fragment";case xn:return"Portal";case Jn:return"Profiler";case Bn:return"StrictMode";case er:return"Suspense";case tr:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Gn:return(t.displayName||"Context")+".Consumer";case qn:return(t._context.displayName||"Context")+".Provider";case cr:var m=t.render;return t=t.displayName,t||(t=m.displayName||m.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case g:return m=t.displayName||null,m!==null?m:Me(t.type)||"Memo";case M:m=t._payload,t=t._init;try{return Me(t(m))}catch(I){}}return null}var Ye={};function nt(t,m){if(t=t.contextTypes,!t)return Ye;var I={},W;for(W in t)I[W]=m[W];return I}var pt=null;function Vt(t,m){if(t!==m){t.context._currentValue=t.parentValue,t=t.parent;var I=m.parent;if(t===null){if(I!==null)throw Error(y(401))}else{if(I===null)throw Error(y(401));Vt(t,I)}m.context._currentValue=m.value}}function ln(t){t.context._currentValue=t.parentValue,t=t.parent,t!==null&&ln(t)}function En(t){var m=t.parent;m!==null&&En(m),t.context._currentValue=t.value}function sn(t,m){if(t.context._currentValue=t.parentValue,t=t.parent,t===null)throw Error(y(402));t.depth===m.depth?Vt(t,m):sn(t,m)}function Qn(t,m){var I=m.parent;if(I===null)throw Error(y(402));t.depth===I.depth?Vt(t,I):Qn(t,I),m.context._currentValue=m.value}function wn(t){var m=pt;m!==t&&(m===null?En(t):t===null?ln(m):m.depth===t.depth?Vt(m,t):m.depth>t.depth?sn(m,t):Qn(m,t),pt=t)}var In={isMounted:function(){return!1},enqueueSetState:function(t,m){t=t._reactInternals,t.queue!==null&&t.queue.push(m)},enqueueReplaceState:function(t,m){t=t._reactInternals,t.replace=!0,t.queue=[m]},enqueueForceUpdate:function(){}};function Un(t,m,I,W){var le=t.state!==void 0?t.state:null;t.updater=In,t.props=I,t.state=le;var oe={queue:[],replace:!1};t._reactInternals=oe;var me=m.contextType;if(t.context=typeof me=="object"&&me!==null?me._currentValue:W,me=m.getDerivedStateFromProps,typeof me=="function"&&(me=me(I,le),le=me==null?le:on({},le,me),t.state=le),typeof m.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function"&&(typeof t.UNSAFE_componentWillMount=="function"||typeof t.componentWillMount=="function"))if(m=t.state,typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),m!==t.state&&In.enqueueReplaceState(t,t.state,null),oe.queue!==null&&0<oe.queue.length)if(m=oe.queue,me=oe.replace,oe.queue=null,oe.replace=!1,me&&m.length===1)t.state=m[0];else{for(oe=me?m[0]:t.state,le=!0,me=me?1:0;me<m.length;me++){var xe=m[me];xe=typeof xe=="function"?xe.call(t,oe,I,W):xe,xe!=null&&(le?(le=!1,oe=on({},oe,xe)):on(oe,xe))}t.state=oe}else oe.queue=null}var kn={id:1,overflow:""};function Tn(t,m,I){var W=t.id;t=t.overflow;var le=32-dn(W)-1;W&=~(1<<le),I+=1;var oe=32-dn(m)+le;if(30<oe){var me=le-le%5;return oe=(W&(1<<me)-1).toString(32),W>>=me,le-=me,{id:1<<32-dn(m)+le|I<<le|W,overflow:oe+t}}return{id:1<<oe|I<<le|W,overflow:t}}var dn=Math.clz32?Math.clz32:Ar,Xt=Math.log,kr=Math.LN2;function Ar(t){return t>>>=0,t===0?32:31-(Xt(t)/kr|0)|0}function nr(t,m){return t===m&&(t!==0||1/t===1/m)||t!==t&&m!==m}var rr=typeof Object.is=="function"?Object.is:nr,An=null,cn=null,an=null,Bt=null,Dn=!1,fr=!1,Xn=0,On=null,or=0;function $n(){if(An===null)throw Error(y(321));return An}function Tr(){if(0<or)throw Error(y(312));return{memoizedState:null,queue:null,next:null}}function ir(){return Bt===null?an===null?(Dn=!1,an=Bt=Tr()):(Dn=!0,Bt=an):Bt.next===null?(Dn=!1,Bt=Bt.next=Tr()):(Dn=!0,Bt=Bt.next),Bt}function gr(){cn=An=null,fr=!1,an=null,or=0,Bt=On=null}function Sr(t,m){return typeof m=="function"?m(t):m}function Cr(t,m,I){if(An=$n(),Bt=ir(),Dn){var W=Bt.queue;if(m=W.dispatch,On!==null&&(I=On.get(W),I!==void 0)){On.delete(W),W=Bt.memoizedState;do W=t(W,I.action),I=I.next;while(I!==null);return Bt.memoizedState=W,[W,m]}return[Bt.memoizedState,m]}return t=t===Sr?typeof m=="function"?m():m:I!==void 0?I(m):m,Bt.memoizedState=t,t=Bt.queue={last:null,dispatch:null},t=t.dispatch=Br.bind(null,An,t),[Bt.memoizedState,t]}function vr(t,m){if(An=$n(),Bt=ir(),m=m===void 0?null:m,Bt!==null){var I=Bt.memoizedState;if(I!==null&&m!==null){var W=I[1];e:if(W===null)W=!1;else{for(var le=0;le<W.length&&le<m.length;le++)if(!rr(m[le],W[le])){W=!1;break e}W=!0}if(W)return I[0]}}return t=t(),Bt.memoizedState=[t,m],t}function Br(t,m,I){if(25<=or)throw Error(y(301));if(t===An)if(fr=!0,t={action:I,next:null},On===null&&(On=new Map),I=On.get(m),I===void 0)On.set(m,t);else{for(m=I;m.next!==null;)m=m.next;m.next=t}}function Fr(){throw Error(y(394))}function Ln(){}var dr={readContext:function(t){return t._currentValue},useContext:function(t){return $n(),t._currentValue},useMemo:vr,useReducer:Cr,useRef:function(t){An=$n(),Bt=ir();var m=Bt.memoizedState;return m===null?(t={current:t},Bt.memoizedState=t):m},useState:function(t){return Cr(Sr,t)},useInsertionEffect:Ln,useLayoutEffect:function(){},useCallback:function(t,m){return vr(function(){return t},m)},useImperativeHandle:Ln,useEffect:Ln,useDebugValue:Ln,useDeferredValue:function(t){return $n(),t},useTransition:function(){return $n(),[!1,Fr]},useId:function(){var t=cn.treeContext,m=t.overflow;t=t.id,t=(t&~(1<<32-dn(t)-1)).toString(32)+m;var I=ar;if(I===null)throw Error(y(404));return m=Xn++,t=":"+I.idPrefix+"R"+t,0<m&&(t+="H"+m.toString(32)),t+":"},useMutableSource:function(t,m){return $n(),m(t._source)},useSyncExternalStore:function(t,m,I){if(I===void 0)throw Error(y(407));return I()}},ar=null,ur=F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Lt(t){return console.error(t),null}function lr(){}function br(t,m,I,W,le,oe,me,xe,Je){var et=[],Ve=new Set;return m={destination:null,responseState:m,progressiveChunkSize:W===void 0?12800:W,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ve,pingedTasks:et,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:le===void 0?Lt:le,onAllReady:oe===void 0?lr:oe,onShellReady:me===void 0?lr:me,onShellError:xe===void 0?lr:xe,onFatalError:Je===void 0?lr:Je},I=Sn(m,0,null,I,!1,!1),I.parentFlushed=!0,t=pr(m,t,null,I,Ve,Ye,null,kn),et.push(t),m}function pr(t,m,I,W,le,oe,me,xe){t.allPendingTasks++,I===null?t.pendingRootTasks++:I.pendingTasks++;var Je={node:m,ping:function(){var et=t.pingedTasks;et.push(Je),et.length===1&&yr(t)},blockedBoundary:I,blockedSegment:W,abortSet:le,legacyContext:oe,context:me,treeContext:xe};return le.add(Je),Je}function Sn(t,m,I,W,le,oe){return{status:0,id:-1,index:m,parentFlushed:!1,chunks:[],children:[],formatContext:W,boundary:I,lastPushedText:le,textEmbedded:oe}}function Yn(t,m){if(t=t.onError(m),t!=null&&typeof t!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof t+'" instead');return t}function sr(t,m){var I=t.onShellError;I(m),I=t.onFatalError,I(m),t.destination!==null?(t.status=2,f(t.destination,m)):(t.status=1,t.fatalError=m)}function mr(t,m,I,W,le){for(An={},cn=m,Xn=0,t=I(W,le);fr;)fr=!1,Xn=0,or+=1,Bt=null,t=I(W,le);return gr(),t}function pn(t,m,I,W){var le=I.render(),oe=W.childContextTypes;if(oe!=null){var me=m.legacyContext;if(typeof I.getChildContext!="function")W=me;else{I=I.getChildContext();for(var xe in I)if(!(xe in oe))throw Error(y(108,Me(W)||"Unknown",xe));W=on({},me,I)}m.legacyContext=W,hn(t,m,le),m.legacyContext=me}else hn(t,m,le)}function tn(t,m){if(t&&t.defaultProps){m=on({},m),t=t.defaultProps;for(var I in t)m[I]===void 0&&(m[I]=t[I]);return m}return m}function _n(t,m,I,W,le){if(typeof I=="function")if(I.prototype&&I.prototype.isReactComponent){le=nt(I,m.legacyContext);var oe=I.contextType;oe=new I(W,typeof oe=="object"&&oe!==null?oe._currentValue:le),Un(oe,I,W,le),pn(t,m,oe,I)}else{oe=nt(I,m.legacyContext),le=mr(t,m,I,W,oe);var me=Xn!==0;if(typeof le=="object"&&le!==null&&typeof le.render=="function"&&le.$$typeof===void 0)Un(le,I,W,oe),pn(t,m,le,I);else if(me){W=m.treeContext,m.treeContext=Tn(W,1,0);try{hn(t,m,le)}finally{m.treeContext=W}}else hn(t,m,le)}else if(typeof I=="string"){switch(le=m.blockedSegment,oe=Te(le.chunks,I,W,t.responseState,le.formatContext),le.lastPushedText=!1,me=le.formatContext,le.formatContext=Ie(me,I,W),hr(t,m,oe),le.formatContext=me,I){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:le.chunks.push(Fe,s(I),Oe)}le.lastPushedText=!1}else{switch(I){case ve:case Z:case Bn:case Jn:case yn:hn(t,m,W.children);return;case tr:hn(t,m,W.children);return;case V:throw Error(y(343));case er:e:{I=m.blockedBoundary,le=m.blockedSegment,oe=W.fallback,W=W.children,me=new Set;var xe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:me,errorDigest:null},Je=Sn(t,le.chunks.length,xe,le.formatContext,!1,!1);le.children.push(Je),le.lastPushedText=!1;var et=Sn(t,0,null,le.formatContext,!1,!1);et.parentFlushed=!0,m.blockedBoundary=xe,m.blockedSegment=et;try{if(hr(t,m,W),et.lastPushedText&&et.textEmbedded&&et.chunks.push(Ue),et.status=1,Hn(xe,et),xe.pendingTasks===0)break e}catch(Ve){et.status=4,xe.forceClientRender=!0,xe.errorDigest=Yn(t,Ve)}finally{m.blockedBoundary=I,m.blockedSegment=le}m=pr(t,oe,I,Je,me,m.legacyContext,m.context,m.treeContext),t.pingedTasks.push(m)}return}if(typeof I=="object"&&I!==null)switch(I.$$typeof){case cr:if(W=mr(t,m,I.render,W,le),Xn!==0){I=m.treeContext,m.treeContext=Tn(I,1,0);try{hn(t,m,W)}finally{m.treeContext=I}}else hn(t,m,W);return;case g:I=I.type,W=tn(I,W),_n(t,m,I,W,le);return;case qn:if(le=W.children,I=I._context,W=W.value,oe=I._currentValue,I._currentValue=W,me=pt,pt=W={parent:me,depth:me===null?0:me.depth+1,context:I,parentValue:oe,value:W},m.context=W,hn(t,m,le),t=pt,t===null)throw Error(y(403));W=t.parentValue,t.context._currentValue=W===pe?t.context._defaultValue:W,t=pt=t.parent,m.context=t;return;case Gn:W=W.children,W=W(I._currentValue),hn(t,m,W);return;case M:le=I._init,I=le(I._payload),W=tn(I,W),_n(t,m,I,W,void 0);return}throw Error(y(130,I==null?I:typeof I,""))}}function hn(t,m,I){if(m.node=I,typeof I=="object"&&I!==null){switch(I.$$typeof){case Fn:_n(t,m,I.type,I.props,I.ref);return;case xn:throw Error(y(257));case M:var W=I._init;I=W(I._payload),hn(t,m,I);return}if(B(I)){xr(t,m,I);return}if(I===null||typeof I!="object"?W=null:(W=be&&I[be]||I["@@iterator"],W=typeof W=="function"?W:null),W&&(W=W.call(I))){if(I=W.next(),!I.done){var le=[];do le.push(I.value),I=W.next();while(!I.done);xr(t,m,le)}return}throw t=Object.prototype.toString.call(I),Error(y(31,t==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":t))}typeof I=="string"?(W=m.blockedSegment,W.lastPushedText=He(m.blockedSegment.chunks,I,t.responseState,W.lastPushedText)):typeof I=="number"&&(W=m.blockedSegment,W.lastPushedText=He(m.blockedSegment.chunks,""+I,t.responseState,W.lastPushedText))}function xr(t,m,I){for(var W=I.length,le=0;le<W;le++){var oe=m.treeContext;m.treeContext=Tn(oe,W,le);try{hr(t,m,I[le])}finally{m.treeContext=oe}}}function hr(t,m,I){var W=m.blockedSegment.formatContext,le=m.legacyContext,oe=m.context;try{return hn(t,m,I)}catch(Je){if(gr(),typeof Je=="object"&&Je!==null&&typeof Je.then=="function"){I=Je;var me=m.blockedSegment,xe=Sn(t,me.chunks.length,null,me.formatContext,me.lastPushedText,!0);me.children.push(xe),me.lastPushedText=!1,t=pr(t,m.node,m.blockedBoundary,xe,m.abortSet,m.legacyContext,m.context,m.treeContext).ping,I.then(t,t),m.blockedSegment.formatContext=W,m.legacyContext=le,m.context=oe,wn(oe)}else throw m.blockedSegment.formatContext=W,m.legacyContext=le,m.context=oe,wn(oe),Je}}function Ht(t){var m=t.blockedBoundary;t=t.blockedSegment,t.status=3,$t(this,m,t)}function zn(t,m,I){var W=t.blockedBoundary;t.blockedSegment.status=3,W===null?(m.allPendingTasks--,m.status!==2&&(m.status=2,m.destination!==null&&m.destination.close())):(W.pendingTasks--,W.forceClientRender||(W.forceClientRender=!0,t=I===void 0?Error(y(432)):I,W.errorDigest=m.onError(t),W.parentFlushed&&m.clientRenderedBoundaries.push(W)),W.fallbackAbortableTasks.forEach(function(le){return zn(le,m,I)}),W.fallbackAbortableTasks.clear(),m.allPendingTasks--,m.allPendingTasks===0&&(W=m.onAllReady,W()))}function Hn(t,m){if(m.chunks.length===0&&m.children.length===1&&m.children[0].boundary===null){var I=m.children[0];I.id=m.id,I.parentFlushed=!0,I.status===1&&Hn(t,I)}else t.completedSegments.push(m)}function $t(t,m,I){if(m===null){if(I.parentFlushed){if(t.completedRootSegment!==null)throw Error(y(389));t.completedRootSegment=I}t.pendingRootTasks--,t.pendingRootTasks===0&&(t.onShellError=lr,m=t.onShellReady,m())}else m.pendingTasks--,m.forceClientRender||(m.pendingTasks===0?(I.parentFlushed&&I.status===1&&Hn(m,I),m.parentFlushed&&t.completedBoundaries.push(m),m.fallbackAbortableTasks.forEach(Ht,t),m.fallbackAbortableTasks.clear()):I.parentFlushed&&I.status===1&&(Hn(m,I),m.completedSegments.length===1&&m.parentFlushed&&t.partialBoundaries.push(m)));t.allPendingTasks--,t.allPendingTasks===0&&(t=t.onAllReady,t())}function yr(t){if(t.status!==2){var m=pt,I=ur.current;ur.current=dr;var W=ar;ar=t.responseState;try{var le=t.pingedTasks,oe;for(oe=0;oe<le.length;oe++){var me=le[oe],xe=t,Je=me.blockedSegment;if(Je.status===0){wn(me.context);try{hn(xe,me,me.node),Je.lastPushedText&&Je.textEmbedded&&Je.chunks.push(Ue),me.abortSet.delete(me),Je.status=1,$t(xe,me.blockedBoundary,Je)}catch(qt){if(gr(),typeof qt=="object"&&qt!==null&&typeof qt.then=="function"){var et=me.ping;qt.then(et,et)}else{me.abortSet.delete(me),Je.status=4;var Ve=me.blockedBoundary,ct=qt,Jt=Yn(xe,ct);if(Ve===null?sr(xe,ct):(Ve.pendingTasks--,Ve.forceClientRender||(Ve.forceClientRender=!0,Ve.errorDigest=Jt,Ve.parentFlushed&&xe.clientRenderedBoundaries.push(Ve))),xe.allPendingTasks--,xe.allPendingTasks===0){var Zt=xe.onAllReady;Zt()}}}finally{}}}le.splice(0,oe),t.destination!==null&&ee(t,t.destination)}catch(qt){Yn(t,qt),sr(t,qt)}finally{ar=W,ur.current=I,I===dr&&wn(m)}}}function re(t,m,I){switch(I.parentFlushed=!0,I.status){case 0:var W=I.id=t.nextSegmentId++;return I.lastPushedText=!1,I.textEmbedded=!1,t=t.responseState,v(m,Ge),v(m,t.placeholderPrefix),t=s(W.toString(16)),v(m,t),T(m,Qe);case 1:I.status=2;var le=!0;W=I.chunks;var oe=0;I=I.children;for(var me=0;me<I.length;me++){for(le=I[me];oe<le.index;oe++)v(m,W[oe]);le=z(t,m,le)}for(;oe<W.length-1;oe++)v(m,W[oe]);return oe<W.length&&(le=T(m,W[oe])),le;default:throw Error(y(390))}}function z(t,m,I){var W=I.boundary;if(W===null)return re(t,m,I);if(W.parentFlushed=!0,W.forceClientRender)W=W.errorDigest,T(m,St),v(m,Ot),W&&(v(m,Qt),v(m,s(K(W))),v(m,It)),T(m,Gt),re(t,m,I);else if(0<W.pendingTasks){W.rootSegmentID=t.nextSegmentId++,0<W.completedSegments.length&&t.partialBoundaries.push(W);var le=t.responseState,oe=le.nextSuspenseID++;le=h(le.boundaryPrefix+oe.toString(16)),W=W.id=le,ne(m,t.responseState,W),re(t,m,I)}else if(W.byteSize>t.progressiveChunkSize)W.rootSegmentID=t.nextSegmentId++,t.completedBoundaries.push(W),ne(m,t.responseState,W.id),re(t,m,I);else{if(T(m,_e),I=W.completedSegments,I.length!==1)throw Error(y(391));z(t,m,I[0])}return T(m,Kt)}function X(t,m,I){return Dt(m,t.responseState,I.formatContext,I.id),z(t,m,I),kt(m,I.formatContext)}function r(t,m,I){for(var W=I.completedSegments,le=0;le<W.length;le++)j(t,m,I,W[le]);if(W.length=0,t=t.responseState,W=I.id,I=I.rootSegmentID,v(m,t.startInlineScript),t.sentCompleteBoundaryFunction?v(m,fn):(t.sentCompleteBoundaryFunction=!0,v(m,un)),W===null)throw Error(y(395));return I=s(I.toString(16)),v(m,W),v(m,en),v(m,t.segmentPrefix),v(m,I),T(m,Rn)}function j(t,m,I,W){if(W.status===2)return!0;var le=W.id;if(le===-1){if((W.id=I.rootSegmentID)===-1)throw Error(y(392));return X(t,m,W)}return X(t,m,W),t=t.responseState,v(m,t.startInlineScript),t.sentCompleteSegmentFunction?v(m,Rt):(t.sentCompleteSegmentFunction=!0,v(m,ot)),v(m,t.segmentPrefix),le=s(le.toString(16)),v(m,le),v(m,Ut),v(m,t.placeholderPrefix),v(m,le),T(m,Yt)}function ee(t,m){E=new Uint8Array(512),A=0;try{var I=t.completedRootSegment;if(I!==null&&t.pendingRootTasks===0){z(t,m,I),t.completedRootSegment=null;var W=t.responseState.bootstrapChunks;for(I=0;I<W.length-1;I++)v(m,W[I]);I<W.length&&T(m,W[I])}var le=t.clientRenderedBoundaries,oe;for(oe=0;oe<le.length;oe++){var me=le[oe];W=m;var xe=t.responseState,Je=me.id,et=me.errorDigest,Ve=me.errorMessage,ct=me.errorComponentStack;if(v(W,xe.startInlineScript),xe.sentClientRenderFunction?v(W,zt):(xe.sentClientRenderFunction=!0,v(W,gn)),Je===null)throw Error(y(395));if(v(W,Je),v(W,Kn),(et||Ve||ct)&&(v(W,Cn),v(W,s(mn(et||"")))),(Ve||ct)&&(v(W,Cn),v(W,s(mn(Ve||"")))),ct&&(v(W,Cn),v(W,s(mn(ct)))),!T(W,rn)){t.destination=null,oe++,le.splice(0,oe);return}}le.splice(0,oe);var Jt=t.completedBoundaries;for(oe=0;oe<Jt.length;oe++)if(!r(t,m,Jt[oe])){t.destination=null,oe++,Jt.splice(0,oe);return}Jt.splice(0,oe),w(m),E=new Uint8Array(512),A=0;var Zt=t.partialBoundaries;for(oe=0;oe<Zt.length;oe++){var qt=Zt[oe];e:{le=t,me=m;var vn=qt.completedSegments;for(xe=0;xe<vn.length;xe++)if(!j(le,me,qt,vn[xe])){xe++,vn.splice(0,xe);var Nn=!1;break e}vn.splice(0,xe),Nn=!0}if(!Nn){t.destination=null,oe++,Zt.splice(0,oe);return}}Zt.splice(0,oe);var jn=t.completedBoundaries;for(oe=0;oe<jn.length;oe++)if(!r(t,m,jn[oe])){t.destination=null,oe++,jn.splice(0,oe);return}jn.splice(0,oe)}finally{w(m),t.allPendingTasks===0&&t.pingedTasks.length===0&&t.clientRenderedBoundaries.length===0&&t.completedBoundaries.length===0&&m.close()}}function fe(t,m){try{var I=t.abortableTasks;I.forEach(function(W){return zn(W,t,m)}),I.clear(),t.destination!==null&&ee(t,t.destination)}catch(W){Yn(t,W),sr(t,W)}}H.renderToReadableStream=function(t,m){return new Promise(function(I,W){var le,oe,me=new Promise(function(Ve,ct){oe=Ve,le=ct}),xe=br(t,De(m?m.identifierPrefix:void 0,m?m.nonce:void 0,m?m.bootstrapScriptContent:void 0,m?m.bootstrapScripts:void 0,m?m.bootstrapModules:void 0),$(m?m.namespaceURI:void 0),m?m.progressiveChunkSize:void 0,m?m.onError:void 0,oe,function(){var Ve=new ReadableStream({type:"bytes",pull:function(ct){if(xe.status===1)xe.status=2,f(ct,xe.fatalError);else if(xe.status!==2&&xe.destination===null){xe.destination=ct;try{ee(xe,ct)}catch(Jt){Yn(xe,Jt),sr(xe,Jt)}}},cancel:function(){fe(xe)}},{highWaterMark:0});Ve.allReady=me,I(Ve)},function(Ve){me.catch(function(){}),W(Ve)},le);if(m&&m.signal){var Je=m.signal,et=function(){fe(xe,Je.reason),Je.removeEventListener("abort",et)};Je.addEventListener("abort",et)}yr(xe)})},H.version="18.2.0"},9995:function(Y,H,i){"use strict";var F,y;F=i(5041),y=i(4304),H.version=F.version,H.renderToString=F.renderToString,H.renderToStaticMarkup=F.renderToStaticMarkup,H.renderToNodeStream=F.renderToNodeStream,H.renderToStaticNodeStream=F.renderToStaticNodeStream,H.renderToReadableStream=y.renderToReadableStream},22353:function(Y,H,i){var F=i(14224);(function(y,E){"use strict";if(y.setImmediate)return;var A=1,v={},T=!1,w=y.document,p;function s(b){typeof b!="function"&&(b=new Function(""+b));for(var N=new Array(arguments.length-1),O=0;O<N.length;O++)N[O]=arguments[O+1];var S={callback:b,args:N};return v[A]=S,p(A),A++}function h(b){delete v[b]}function f(b){var N=b.callback,O=b.args;switch(O.length){case 0:N();break;case 1:N(O[0]);break;case 2:N(O[0],O[1]);break;case 3:N(O[0],O[1],O[2]);break;default:N.apply(E,O);break}}function u(b){if(T)setTimeout(u,0,b);else{var N=v[b];if(N){T=!0;try{f(N)}finally{h(b),T=!1}}}}function d(){p=function(b){F.nextTick(function(){u(b)})}}function a(){if(y.postMessage&&!y.importScripts){var b=!0,N=y.onmessage;return y.onmessage=function(){b=!1},y.postMessage("","*"),y.onmessage=N,b}}function o(){var b="setImmediate$"+Math.random()+"$",N=function(O){O.source===y&&typeof O.data=="string"&&O.data.indexOf(b)===0&&u(+O.data.slice(b.length))};y.addEventListener?y.addEventListener("message",N,!1):y.attachEvent("onmessage",N),p=function(O){y.postMessage(b+O,"*")}}function l(){var b=new MessageChannel;b.port1.onmessage=function(N){var O=N.data;u(O)},p=function(N){b.port2.postMessage(N)}}function x(){var b=w.documentElement;p=function(N){var O=w.createElement("script");O.onreadystatechange=function(){u(N),O.onreadystatechange=null,b.removeChild(O),O=null},b.appendChild(O)}}function k(){p=function(b){setTimeout(u,0,b)}}var c=Object.getPrototypeOf&&Object.getPrototypeOf(y);c=c&&c.setTimeout?c:y,{}.toString.call(y.process)==="[object process]"?d():a()?o():y.MessageChannel?l():w&&"onreadystatechange"in w.createElement("script")?x():k(),c.setImmediate=s,c.clearImmediate=h})(typeof self=="undefined"?typeof i.g=="undefined"?this:i.g:self)},9406:function(Y,H,i){var F;(function(y,E){"use strict";var A="0.7.37",v="",T="?",w="function",p="undefined",s="object",h="string",f="major",u="model",d="name",a="type",o="vendor",l="version",x="architecture",k="console",c="mobile",b="tablet",N="smarttv",O="wearable",S="embedded",K=500,L="Amazon",D="Apple",B="ASUS",J="BlackBerry",Q="Browser",G="Chrome",U="Edge",se="Firefox",q="Google",he="Huawei",De="LG",ke="Microsoft",$="Motorola",Ie="Opera",Ue="Samsung",He="Sharp",We="Sony",Xe="Xiaomi",vt="Zebra",Et="Facebook",ht="Chromium OS",je="Mac OS",gt=function(Se,Te){var Fe={};for(var Oe in Se)Te[Oe]&&Te[Oe].length%2===0?Fe[Oe]=Te[Oe].concat(Se[Oe]):Fe[Oe]=Se[Oe];return Fe},Ze=function(Se){for(var Te={},Fe=0;Fe<Se.length;Fe++)Te[Se[Fe].toUpperCase()]=Se[Fe];return Te},Tt=function(Se,Te){return typeof Se===h?At(Te).indexOf(At(Se))!==-1:!1},At=function(Se){return Se.toLowerCase()},bt=function(Se){return typeof Se===h?Se.replace(/[^\d\.]/g,v).split(".")[0]:E},Be=function(Se,Te){if(typeof Se===h)return Se=Se.replace(/^\s\s*/,v),typeof Te===p?Se:Se.substring(0,K)},rt=function(Se,Te){for(var Fe=0,Oe,Ge,Qe,_e,Re,lt;Fe<Te.length&&!Re;){var St=Te[Fe],Kt=Te[Fe+1];for(Oe=Ge=0;Oe<St.length&&!Re&&St[Oe];)if(Re=St[Oe++].exec(Se),Re)for(Qe=0;Qe<Kt.length;Qe++)lt=Re[++Ge],_e=Kt[Qe],typeof _e===s&&_e.length>0?_e.length===2?typeof _e[1]==w?this[_e[0]]=_e[1].call(this,lt):this[_e[0]]=_e[1]:_e.length===3?typeof _e[1]===w&&!(_e[1].exec&&_e[1].test)?this[_e[0]]=lt?_e[1].call(this,lt,_e[2]):E:this[_e[0]]=lt?lt.replace(_e[1],_e[2]):E:_e.length===4&&(this[_e[0]]=lt?_e[3].call(this,lt.replace(_e[1],_e[2])):E):this[_e]=lt||E;Fe+=2}},Pt=function(Se,Te){for(var Fe in Te)if(typeof Te[Fe]===s&&Te[Fe].length>0){for(var Oe=0;Oe<Te[Fe].length;Oe++)if(Tt(Te[Fe][Oe],Se))return Fe===T?E:Fe}else if(Tt(Te[Fe],Se))return Fe===T?E:Fe;return Se},nn={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Ke={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"},ue={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[l,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[l,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,l],[/opios[\/ ]+([\w\.]+)/i],[l,[d,Ie+" Mini"]],[/\bopr\/([\w\.]+)/i],[l,[d,Ie]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[l,[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,l],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[l,[d,"UC"+Q]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[l,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[l,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[l,[d,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[l,[d,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[l,[d,"Smart Lenovo "+Q]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+Q],l],[/\bfocus\/([\w\.]+)/i],[l,[d,se+" Focus"]],[/\bopt\/([\w\.]+)/i],[l,[d,Ie+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[l,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[l,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[l,[d,Ie+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[l,[d,"MIUI "+Q]],[/fxios\/([-\w\.]+)/i],[l,[d,se]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 "+Q]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 "+Q],l],[/samsungbrowser\/([\w\.]+)/i],[l,[d,Ue+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],l],[/metasr[\/ ]?([\d\.]+)/i],[l,[d,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[d,"Sogou Mobile"],l],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[d,l],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,Et],l],[/(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,l],[/\bgsa\/([\w\.]+) .*safari\//i],[l,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[l,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[l,[d,G+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,G+" WebView"],l],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[l,[d,"Android "+Q]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,l],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[l,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[l,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[l,Pt,nn]],[/(webkit|khtml)\/([\w\.]+)/i],[d,l],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],l],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[l,[d,se+" 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,l],[/(cobalt)\/([\w\.]+)/i],[d,[l,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[x,"amd64"]],[/(ia32(?=;))/i],[[x,At]],[/((?: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/,v,At]],[/(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,At]]],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],[u,[o,Ue],[a,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[o,Ue],[a,c]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[o,D],[a,c]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[o,D],[a,b]],[/(macintosh);/i],[u,[o,D]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[o,He],[a,c]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[o,he],[a,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[o,he],[a,c]],[/\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],[[u,/_/g," "],[o,Xe],[a,c]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[o,Xe],[a,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[o,"OPPO"],[a,c]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[o,"Vivo"],[a,c]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[u,[o,"Realme"],[a,c]],[/\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],[u,[o,$],[a,c]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[o,$],[a,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[o,De],[a,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[o,De],[a,c]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[o,"Lenovo"],[a,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[o,"Nokia"],[a,c]],[/(pixel c)\b/i],[u,[o,q],[a,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[o,q],[a,c]],[/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],[u,[o,We],[a,c]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[o,We],[a,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[o,"OnePlus"],[a,c]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[o,L],[a,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[o,L],[a,c]],[/(playbook);[-\w\),; ]+(rim)/i],[u,o,[a,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[o,J],[a,c]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[o,B],[a,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[o,B],[a,c]],[/(nexus 9)/i],[u,[o,"HTC"],[a,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[u,/_/g," "],[a,c]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[o,"Acer"],[a,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[o,"Meizu"],[a,c]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[u,[o,"Ulefone"],[a,c]],[/(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,u,[a,c]],[/(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,u,[a,b]],[/(surface duo)/i],[u,[o,ke],[a,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[o,"Fairphone"],[a,c]],[/(u304aa)/i],[u,[o,"AT&T"],[a,c]],[/\bsie-(\w*)/i],[u,[o,"Siemens"],[a,c]],[/\b(rct\w+) b/i],[u,[o,"RCA"],[a,b]],[/\b(venue[\d ]{2,7}) b/i],[u,[o,"Dell"],[a,b]],[/\b(q(?:mv|ta)\w+) b/i],[u,[o,"Verizon"],[a,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[o,"Barnes & Noble"],[a,b]],[/\b(tm\d{3}\w+) b/i],[u,[o,"NuVision"],[a,b]],[/\b(k88) b/i],[u,[o,"ZTE"],[a,b]],[/\b(nx\d{3}j) b/i],[u,[o,"ZTE"],[a,c]],[/\b(gen\d{3}) b.+49h/i],[u,[o,"Swiss"],[a,c]],[/\b(zur\d{3}) b/i],[u,[o,"Swiss"],[a,b]],[/\b((zeki)?tb.*\b) b/i],[u,[o,"Zeki"],[a,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],u,[a,b]],[/\b(ns-?\w{0,9}) b/i],[u,[o,"Insignia"],[a,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[o,"NextBook"],[a,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],u,[a,c]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],u,[a,c]],[/\b(ph-1) /i],[u,[o,"Essential"],[a,c]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[o,"Envizen"],[a,b]],[/\b(trio[-\w\. ]+) b/i],[u,[o,"MachSpeed"],[a,b]],[/\btu_(1491) b/i],[u,[o,"Rotor"],[a,b]],[/(shield[\w ]+) b/i],[u,[o,"Nvidia"],[a,b]],[/(sprint) (\w+)/i],[o,u,[a,c]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[o,ke],[a,c]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[o,vt],[a,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[o,vt],[a,c]],[/smart-tv.+(samsung)/i],[o,[a,N]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[o,Ue],[a,N]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,De],[a,N]],[/(apple) ?tv/i],[o,[u,D+" TV"],[a,N]],[/crkey/i],[[u,G+"cast"],[o,q],[a,N]],[/droid.+aft(\w+)( bui|\))/i],[u,[o,L],[a,N]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[o,He],[a,N]],[/(bravia[\w ]+)( bui|\))/i],[u,[o,We],[a,N]],[/(mitv-\w{5}) bui/i],[u,[o,Xe],[a,N]],[/Hbbtv.*(technisat) (.*);/i],[o,u,[a,N]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,Be],[u,Be],[a,N]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[a,N]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,u,[a,k]],[/droid.+; (shield) bui/i],[u,[o,"Nvidia"],[a,k]],[/(playstation [345portablevi]+)/i],[u,[o,We],[a,k]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[o,ke],[a,k]],[/((pebble))app/i],[o,u,[a,O]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[o,D],[a,O]],[/droid.+; (glass) \d/i],[u,[o,q],[a,O]],[/droid.+; (wt63?0{2,3})\)/i],[u,[o,vt],[a,O]],[/(quest( 2| pro)?)/i],[u,[o,Et],[a,O]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[a,S]],[/(aeobc)\b/i],[u,[o,L],[a,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[u,[a,c]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[a,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[a,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[a,c]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[l,[d,U+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[l,[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,l],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[l,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,l],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[d,[l,Pt,Ke]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,Pt,Ke],[d,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[l,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,je],[l,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[l,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,l],[/\(bb(10);/i],[l,[d,J]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[l,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[l,[d,se+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[l,[d,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[l,[d,"watchOS"]],[/crkey\/([\d\.]+)/i],[l,[d,G+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[d,ht],l],[/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,l],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],l],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[d,l]]},ie=function(Se,Te){if(typeof Se===s&&(Te=Se,Se=E),!(this instanceof ie))return new ie(Se,Te).getResult();var Fe=typeof y!==p&&y.navigator?y.navigator:E,Oe=Se||(Fe&&Fe.userAgent?Fe.userAgent:v),Ge=Fe&&Fe.userAgentData?Fe.userAgentData:E,Qe=Te?gt(ue,Te):ue,_e=Fe&&Fe.userAgent==Oe;return this.getBrowser=function(){var Re={};return Re[d]=E,Re[l]=E,rt.call(Re,Oe,Qe.browser),Re[f]=bt(Re[l]),_e&&Fe&&Fe.brave&&typeof Fe.brave.isBrave==w&&(Re[d]="Brave"),Re},this.getCPU=function(){var Re={};return Re[x]=E,rt.call(Re,Oe,Qe.cpu),Re},this.getDevice=function(){var Re={};return Re[o]=E,Re[u]=E,Re[a]=E,rt.call(Re,Oe,Qe.device),_e&&!Re[a]&&Ge&&Ge.mobile&&(Re[a]=c),_e&&Re[u]=="Macintosh"&&Fe&&typeof Fe.standalone!==p&&Fe.maxTouchPoints&&Fe.maxTouchPoints>2&&(Re[u]="iPad",Re[a]=b),Re},this.getEngine=function(){var Re={};return Re[d]=E,Re[l]=E,rt.call(Re,Oe,Qe.engine),Re},this.getOS=function(){var Re={};return Re[d]=E,Re[l]=E,rt.call(Re,Oe,Qe.os),_e&&!Re[d]&&Ge&&Ge.platform!="Unknown"&&(Re[d]=Ge.platform.replace(/chrome os/i,ht).replace(/macos/i,je)),Re},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(Re){return Oe=typeof Re===h&&Re.length>K?Be(Re,K):Re,this},this.setUA(Oe),this};ie.VERSION=A,ie.BROWSER=Ze([d,l,f]),ie.CPU=Ze([x]),ie.DEVICE=Ze([u,o,a,k,c,N,b,O,S]),ie.ENGINE=ie.OS=Ze([d,l]),typeof H!==p?(p!=="object"&&Y.exports&&(H=Y.exports=ie),H.UAParser=ie):w==="function"&&i.amdO?(F=function(){return ie}.call(H,i,H,Y),F!==E&&(Y.exports=F)):typeof y!==p&&(y.UAParser=ie);var ge=typeof y!==p&&(y.jQuery||y.Zepto);if(ge&&!ge.ua){var Ae=new ie;ge.ua=Ae.getResult(),ge.ua.get=function(){return Ae.getUA()},ge.ua.set=function(Se){Ae.setUA(Se);var Te=Ae.getResult();for(var Fe in Te)ge.ua[Fe]=Te[Fe]}}})(typeof window=="object"?window:this)}}]);
|