582 lines
452 KiB
JavaScript
582 lines
452 KiB
JavaScript
|
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[93558],{96278:function(z){z.exports={root:"root___7VXfh",colorWeak:"colorWeak___2fQ5G","ant-layout":"ant-layout___2lk2i",globalSpin:"globalSpin___3wjkL","ant-table":"ant-table___3MoMQ","ant-table-thead":"ant-table-thead___2F4eD","ant-table-tbody":"ant-table-tbody___1iFAX",formBox:"formBox___1MR6m",hrefModal:"hrefModal___GOUPi",shop:"shop___3KrmS"}},93558:function(z,P,o){"use strict";o.r(P),o.d(P,{default:function(){return a}});var x=o(71194),b=o(50146),v=o(67294),A=o(28216),p=o(85589),B=o.n(p),S=o(96278),d=o.n(S),f=o(85893),h,s,a=(h=(0,A.$j)(c=>{var i=c.commondesign;return{commondesign:i}}),h(s=class extends v.PureComponent{constructor(){super(...arguments);this.state={visible:!1,editorState:""},this.handleEditorChange=i=>{this.setState({editorState:i})}}componentDidMount(){var i=this.props.commondesign,r=i.Editor,u=r.visible,E=r.editCon,C=r.callback,l=r.callClose;this.setState({visible:u,editorState:p.EditorState.createFrom(E)})}render(){var i=this.props,r=i.commondesign,u=i.dispatch,E=r.Editor.callback,C=E===void 0?()=>{}:E,l=this.state,g=l.visible,D=l.editorState,F=T=>{this.setState({visible:!1}),u({type:"commondesign/setState",payload:{Editor:{visible:!1,callback:()=>{},callClose:()=>{}}}})},y=T=>{C(D.toHTML()),this.setState({visible:!1}),u({type:"commondesign/setState",payload:{Editor:{visible:!1,callback:()=>{},callClose:()=>{}}}})},L=["undo","redo","separator","font-size","line-height","letter-spacing","separator","text-color","bold","italic","underline","strike-through","separator","superscript","subscript","remove-styles","emoji","text-align","separator","headings","list-ul","list-ol","blockquote","code","separator","link","separator","hr","separator","separator","clear"];return(0,f.jsx)(b.Z,{title:"\u5BCC\u6587\u672C",visible:g,onOk:y,width:880,onCancel:F,maskClosable:!1,zIndex:1002,className:d().hrefModal,children:(0,f.jsx)(B(),{controls:L,value:D,onChange:this.handleEditorChange,onSave:this.submitContent})})}})||s)},28126:function(z,P,o){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.getFromHTMLConfig=P.getToHTMLConfig=P.blocks=P.getHexColor=P.defaultFontFamilies=P.namedColors=void 0;var x=Object.assign||function(w){for(var H=1;H<arguments.length;H++){var j=arguments[H];for(var U in j)Object.prototype.hasOwnProperty.call(j,U)&&(w[U]=j[U])}return w},b=o(67294),v=A(b);function A(w){return w&&w.__esModule?w:{default:w}}function p(w,H){var j={};for(var U in w)H.indexOf(U)>=0||!Object.prototype.hasOwnProperty.call(w,U)||(j[U]=w[U]);return j}var B=P.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:"#778
|
||
|
|
||
|
Invalid value for parameter 'insertAt' ('options.insertAt') found.
|
||
|
Must be 'top', 'bottom', or Object.
|
||
|
(https://github.com/webpack-contrib/style-loader#insertat)
|
||
|
`)}function E(I){if(I.parentNode===null)return!1;I.parentNode.removeChild(I);var w=a.indexOf(I);w>=0&&a.splice(w,1)}function C(I){var w=document.createElement("style");return I.attrs.type===void 0&&(I.attrs.type="text/css"),g(w,I.attrs),u(I,w),w}function l(I){var w=document.createElement("link");return I.attrs.type===void 0&&(I.attrs.type="text/css"),I.attrs.rel="stylesheet",g(w,I.attrs),u(I,w),w}function g(I,w){Object.keys(w).forEach(function(H){I.setAttribute(H,w[H])})}function D(I,w){var H,j,U,O;if(w.transform&&I.css)if(O=w.transform(I.css),O)I.css=O;else return function(){};if(w.singleton){var re=s++;H=h||(h=C(w)),j=y.bind(null,H,re,!1),U=y.bind(null,H,re,!0)}else I.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(H=l(w),j=T.bind(null,H,w),U=function(){E(H),H.href&&URL.revokeObjectURL(H.href)}):(H=C(w),j=L.bind(null,H),U=function(){E(H)});return j(I),function(ue){if(ue){if(ue.css===I.css&&ue.media===I.media&&ue.sourceMap===I.sourceMap)return;j(I=ue)}else U()}}var F=function(){var I=[];return function(w,H){return I[w]=H,I.filter(Boolean).join(`
|
||
|
`)}}();function y(I,w,H,j){var U=H?"":j.css;if(I.styleSheet)I.styleSheet.cssText=F(w,U);else{var O=document.createTextNode(U),re=I.childNodes;re[w]&&I.removeChild(re[w]),re.length?I.insertBefore(O,re[w]):I.appendChild(O)}}function L(I,w){var H=w.css,j=w.media;if(j&&I.setAttribute("media",j),I.styleSheet)I.styleSheet.cssText=H;else{for(;I.firstChild;)I.removeChild(I.firstChild);I.appendChild(document.createTextNode(H))}}function T(I,w,H){var j=H.css,U=H.sourceMap,O=w.convertToAbsoluteUrls===void 0&&U;(w.convertToAbsoluteUrls||O)&&(j=c(j)),U&&(j+=`
|
||
|
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(U))))+" */");var re=new Blob([j],{type:"text/css"}),Q=I.href;I.href=URL.createObjectURL(re),Q&&URL.revokeObjectURL(Q)}},function(b,v){b.exports="data:font/ttf;base64,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
|
||
|
`)}return[d].join(`
|
||
|
`)}function p(B){var S=btoa(unescape(encodeURIComponent(JSON.stringify(B)))),d="sourceMappingURL=data:application/json;charset=utf-8;base64,"+S;return"/*# "+d+" */"}},function(b,v){b.exports=function(p){return typeof p!="string"?p:(/^['"].*['"]$/.test(p)&&(p=p.slice(1,-1)),/["'() \t\n]/.test(p)?'"'+p.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':p)}},function(b,v,A){var p=A(15);v=b.exports=A(14)(!1),v.push([b.i,`@font-face {
|
||
|
font-family: 'bf-icons';
|
||
|
src: url(`+p(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(b,v,A){var p=A(16);typeof p=="string"&&(p=[[b.i,p,""]]);var B,S,d={hmr:!0};d.transform=B,d.insertInto=void 0;var f=A(12)(p,d);p.locals&&(b.exports=p.locals)},function(b,v,A){"use strict";Object.defineProperty(v,"__esModule",{value:!0});var p=Object.assign||function(u){for(var E=1;E<arguments.length;E++){var C=arguments[E];for(var l in C)Object.prototype.hasOwnProperty.call(C,l)&&(u[l]=C[l])}return u},B=function(){function u(E,C){for(var l=0;l<C.length;l++){var g=C[l];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(E,g.key,g)}}return function(E,C,l){return C&&u(E.prototype,C),l&&u(E,l),E}}();A(17);var S=A(2),d=h(S),f=A(1);function h(u){return u&&u.__esModule?u:{default:u}}function s(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}function a(u,E){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:u}function c(u,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);u.prototype=Object.create(E&&E.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(u,E):u.__proto__=E)}var i={image:"image/png,image/jpeg,image/gif,image/webp,image/apng,image/svg",video:"video/mp4",audio:"audio/mp3"},r=function(u){c(E,u);function E(C){s(this,E);var l=a(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,C));l.toggleSelectItem=function(D){var F=D.currentTarget.dataset.id,y=l.controller.getMediaItem(F);if(!y)return!1;y.selected?(!l.props.onBeforeDeselect||l.props.onBeforeDeselect([y],l.controller.getItems())!==!1)&&(l.controller.deselectMediaItem(F),l.props.onDeselect&&l.props.onDeselect([y],l.controller.getItems())):(!l.props.onBeforeSelect||l.props.onBeforeSelect([y],l.controller.getItems())!==!1)&&(l.controller.selectMediaItem(F),l.props.onSelect&&l.props.onSelect([y],l.controller.getItems()))},l.removeItem=function(D){var F=D.currentTarget.dataset.id,y=l.controller.getMediaItem(F);if(!y)return!1;(!l.props.onBeforeRemove||l.props.onBeforeRemove([y],l.controller.getItems())!==!1)&&(l.controller.removeMediaItem(F),l.props.onRemove&&l.props.onRemove([y],l.controller.getItems())),D.stopPropagation()},l.selectAllItems=function(){var D=l.controller.getItems();(!l.props.onBeforeSelect||l.props.onBeforeSelect(D,D)!==!1)&&(l.controller.selectAllItems(),l.props.onSelect&&l.props.onSelect(D,D))},l.deselectAllItems=function(){var D=l.controller.getItems();(!l.props.onBeforeDeselect||l.props.onBeforeDeselect(D,D)!==!1)&&(l.controller.deselectAllItems(),l.props.onDeselect&&l.props.onDeselect(D,D))},l.removeSelectedItems=function(){var D=l.controller.getSelectedItems();(!l.props.onBeforeRemove||l.props.onBeforeRemove(D,l.controller.getItems())!==!1)&&(l.controller.removeSelectedItems(),l.props.onRemove&&l.props.onRemove(D,l.controller.getItems()))},l.handleDragLeave=function(D){D.preventDefault(),l.dragCounter--,l.dragCounter===0&&l.setState({draging:!1})},l.handleDragDrop=function(D){D.preventDefault(),l.dragCounter=0,l.setState({draging:!1}),l.reslovePickedFiles(D)},l.handleDragEnter=function(D){D.preventDefault(),l.dragCounter++,l.setState({draging:!0})},l.reslovePickedFiles=function(D){D.persist();var F=D.type==="drop"?D.dataTransfer:D.target,y=F.files;if(l.props.onFileSelect){var L=l.props.onFileSelect(y);if(L===!1)return!1;(L instanceof FileList||L instanceof Array)&&(y=L)}var T=p({},i,l.props.accepts);l.controller.resolveFiles({files:y,onItemReady:function(w){var H=w.id;return l.controller.selectMediaItem(H)},onAllReady:function(){return D.target.value=null}},0,T)},l.inputExternal=function(D){l.setState({external:p({},l.state.external,{url:D.target.value})})},l.switchExternalType=function(D){l.setState({external:p({},l.state.external,{type:D.target.dataset.type})})},l.confirmAddExternal=function(D){if(D.target.nodeName.toLowerCase()==="button"||D.keyCode===13){var F=l.state.external,y=F.url,L=F.type;y=y.split("
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(J){return S(J)||d(J)||f(J)||h()}function a(J,ae,N,_,Z,fe){var xe=_-N,Ce=ae+N<=J.offset;if(Ce)return Object.assign({},J,{offset:J.offset+xe});var Ee=ae>=J.offset&&ae+N<=J.offset+J.length;if(Ee)return Object.assign({},J,{length:J.length+xe});var we=J.offset>=ae&&J.offset+J.length<=ae+N&&Z>0;if(we)return Object.assign({},J,{offset:J.offset+Z});var ge=J.offset<ae&&J.offset+J.length<=ae+N&&J.offset+J.length>ae&&Z>0;if(ge)return[Object.assign({},J,{length:ae-J.offset}),Object.assign({},J,{offset:ae+Z,length:J.offset-ae+J.length})];var je=J.offset>=ae&&J.offset+J.length>ae+N&&ae+N>J.offset&&fe>0;return je?[Object.assign({},J,{offset:J.offset+Z,length:ae+N-J.offset}),Object.assign({},J,{offset:ae+N+Z+fe,length:J.offset+J.length-(ae+N)})]:J}var c=function(J,ae){return J.offset===ae.offset?ae.length-J.length:J.offset-ae.offset},i={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},r=function(J){for(var ae=s(J.text),N=J.entityRanges.sort(c),_=J.inlineStyleRanges.sort(c),Z="",fe=function(Ee){var we=ae[Ee];if(i[we]!==void 0){var ge=i[we],je=s(Z).length;Z+=ge;var Qe=function(He){return a(He,je,we.length,ge.length,0,0)};N=N.map(Qe),_=_.map(Qe)}else Z+=we},xe=0;xe<ae.length;xe++)fe(xe);return Object.assign({},J,{text:Z,inlineStyleRanges:_,entityRanges:N})};function u(J){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ae){return typeof ae}:function(ae){return ae&&typeof Symbol=="function"&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae},u(J)}var E=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function C(J){if(E.indexOf(J.type)!==-1)return A.renderToStaticMarkup(J);var ae=A.renderToStaticMarkup(v.cloneElement(J,{},"\r")).split("\r");return b()(ae.length>1,"convertToHTML: Element of type ".concat(J.type," must render children")),b()(ae.length<3,"convertToHTML: Element of type ".concat(J.type," cannot use carriage return character")),{start:ae[0],end:ae[1]}}function l(J){return v.isValidElement(J)&&v.Children.count(J.props.children)>0}function g(J){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(J==null||typeof J=="string")return J;if(v.isValidElement(J)){if(l(J))return A.renderToStaticMarkup(J);var N=C(J);if(ae!==null&&u(N)==="object"){var _=N.start,Z=N.end;return _+ae+Z}return N}if(b()(Object.prototype.hasOwnProperty.call(J,"start")&&Object.prototype.hasOwnProperty.call(J,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),ae!==null){var fe=J.start,xe=J.end;return fe+ae+xe}return J}var D=function J(ae){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"start";if(v.isValidElement(ae)){var _=C(ae);if(typeof _=="string")return 0;var Z=_[N].length,fe=v.Children.toArray(ae.props.children)[0];return Z+(fe&&v.isValidElement(fe)?J(fe,N):0)}return u(ae)==="object"&&ae[N]?ae[N].length:0},F=D,y=function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=arguments.length>1?arguments[1]:void 0;return N},L=function(J,ae){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:y,_=s(J.text),Z=N;if(N.__isMiddleware&&(Z=N(y)),Object.prototype.hasOwnProperty.call(J,"entityRanges")&&J.entityRanges.length>0){for(var fe=J.entityRanges.sort(c),xe=J.inlineStyleRanges,Ce=function(ge){var je=fe[ge],Qe=ae[je.key],Oe=_.slice(je.offset,je.offset+je.length).join(""),He=Z(Qe,Oe),Re=g(He,Oe),ke=void 0;!!Re||Re===""?ke=s(Re):ke=Oe;var gt=F(He,"start"),mt=F(He,"end"),Ne=function(et,ht){return ht>ge||Object.prototype.hasOwnProperty.call(et,"style")?a(et,je.offset,je.length,ke.length,gt,mt):et},rt=function(et){return et.reduce(function(ht,kt,_t){var Kt=Ne(kt,_t);return Array.isArray(Kt)?ht.concat(Kt):ht.concat([Kt])},[])};fe=rt(fe),xe=rt(xe),_=[].concat(s(_.slice(0,je.offset)),s(ke),s(_.slice(je.offset+je.length)))},Ee=0;Ee<fe.length;Ee++)Ce(Ee);return Object.assign({},J,{text:_.join(""),inlineStyleRanges:xe,entit
|
||
|
`,"g"),Ut=new RegExp(bt,"g"),Ke=new RegExp("\r","g"),te=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],oe={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},le=function(ae,N){return ae&&ae.__isMiddleware===!0?ae(N):ae},pe=function(ae,N,_){},Ae=function(ae,N,_){return _},ve=function(ae,N){},Fe=function(ae){return[]},Ie=function(ae){if(ae!=null)return ae;throw new Error("Got unexpected null or undefined")},Me=function(ae){return ae.replace(Ke,"")};function We(){return{text:"",inlines:[],entities:[],blocks:[]}}function lt(J){var ae=new Array(1);return J&&(ae[0]=J),{text:nt,inlines:[(0,Ge.OrderedSet)()],entities:ae,blocks:[]}}function me(J,ae){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,_=arguments.length>3&&arguments[3]!==void 0?arguments[3]:(0,Ge.Map)();return N===!0?{text:"\r",inlines:[(0,Ge.OrderedSet)()],entities:new Array(1),blocks:[{type:J,data:_,depth:Math.max(0,Math.min(be,ae))}],isNewline:!0}:{text:`
|
||
|
`,inlines:[(0,Ge.OrderedSet)()],entities:new Array(1),blocks:[]}}function it(J,ae){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,Ge.Map)();return{text:"\r",inlines:[(0,Ge.OrderedSet)()],entities:new Array(1),blocks:[{type:J,data:N,depth:Math.max(0,Math.min(be,ae))}]}}function qe(J,ae){switch(J){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 ae==="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 ft(J,ae,N){return qe(J,N)}function dt(J,ae,N){var _=oe[J];if(_)N=N.add(_).toOrderedSet();else if(ae instanceof HTMLElement){var Z=ae;N=N.withMutations(function(fe){Z.style.fontWeight==="bold"&&fe.add("BOLD"),Z.style.fontStyle==="italic"&&fe.add("ITALIC"),Z.style.textDecoration==="underline"&&fe.add("UNDERLINE"),Z.style.textDecoration==="line-through"&&fe.add("STRIKETHROUGH")}).toOrderedSet()}return N}function pt(J,ae){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,Ge.OrderedSet)();return dt(J,ae,N)}function Tt(J,ae){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,_=ae.text.slice(0,1),Z=J.text.slice(-1),fe=Z==="\r"&&_==="\r",xe=J.text!=="\r"&&ae.text!=="\r",Ce=J.text==="\r"&&!J.isNewline&&ae.isNewline;if(fe&&(xe||Ce)&&(J.text=J.text.slice(0,-1),J.inlines.pop(),J.entities.pop(),J.blocks.pop()),J.text.slice(-1)==="\r"&&N===!0){if(ae.text===nt||ae.text===`
|
||
|
`)return J;(_===nt||_===`
|
||
|
`)&&(ae.text=ae.text.slice(1),ae.inlines.shift(),ae.entities.shift())}var Ee=J.text.length===0&&ae.isNewline;return{text:J.text+ae.text,inlines:J.inlines.concat(ae.inlines),entities:J.entities.concat(ae.entities),blocks:J.blocks.concat(ae.blocks),isNewline:Ee}}function wt(J){return te.some(function(ae){return J.indexOf("<".concat(ae))!==-1})}function Ot(J,ae,N,_,Z,fe,xe,Ce,Ee,we,ge,je,Qe,Oe,He,Re){var ke=J.nodeName.toLowerCase(),gt=!1,mt="unstyled";if(ke==="#text"){var Ne=J.textContent;if(Ne.trim()===""&&_===null)return We();if(Ne.trim()===""&&_!=="code-block")return lt(Re);_!=="code-block"&&(Ne=Ne.replace(Et,nt));var rt=Array(Ne.length).fill(Re),It=0,et=Ee(Ne,ge,je,Qe,Oe).sort(c);return et.forEach(function(Sn){var Hn=Sn.entity,fn=Sn.offset,An=Sn.length,dn=Sn.result,Cn=fn+It;dn==null&&(dn=Ne.substr(Cn,An));var bn=Ne.split("");bn.splice.bind(bn,Cn,An).apply(bn,dn.split("")),Ne=bn.join(""),rt.splice.bind(rt,Cn,An).apply(rt,Array(dn.length).fill(Hn)),It+=dn.length-An}),{text:Ne,inlines:Array(Ne.length).fill(ae),entities:rt,blocks:[]}}if(ke==="br"){var ht=_;return ht===null?me("unstyled",fe,!0):me(ht||"unstyled",fe,He.flat)}var kt=We(),_t=null;ae=dt(ke,J,ae),ae=xe(ke,J,ae),(ke==="ul"||ke==="ol")&&(N&&(fe+=1),N=ke,_=null);var Kt=we(ke,J,N,_),Vt,cn;if(Kt===!1)return We();if(Kt=Kt||{},typeof Kt=="string"?(Vt=Kt,cn=(0,Ge.Map)()):(Vt=typeof Kt=="string"?Kt:Kt.type,cn=Kt.data?(0,Ge.Map)(Kt.data):(0,Ge.Map)()),!_&&(Z.indexOf(ke)!==-1||Vt))kt=it(Vt||qe(ke,N),fe,cn),_=Vt||qe(ke,N),gt=!0;else if(N&&(_==="ordered-list-item"||_==="unordered-list-item")&&ke==="li"){var Ln=qe(ke,N);kt=it(Ln,fe),_=Ln,gt=!0,mt=N==="ul"?"unordered-list-item":"ordered-list-item"}else _&&_!=="atomic"&&Vt==="atomic"&&(_=Vt,gt=!0,kt=me(Vt,fe,!0,cn));var Rt=J.firstChild;Rt==null&&Re&&(Vt==="atomic"||_==="atomic")&&(Rt=document.createTextNode("a")),Rt!=null&&(ke=Rt.nodeName.toLowerCase());for(var In=null;Rt;){In=Ce(ke,Rt,ge,je,Qe,Oe),_t=Ot(Rt,ae,N,_,Z,fe,xe,Ce,Ee,we,ge,je,Qe,Oe,He,In||Re),kt=Tt(kt,_t,He.flat);var Zt=Rt.nextSibling;if(Zt&&Z.indexOf(ke)>=0&&_){var Jt=we(ke,Rt,N,_),on=void 0,Nn=void 0;Jt!==!1&&(Jt=Jt||{},typeof Jt=="string"?(on=Jt,Nn=(0,Ge.Map)()):(on=Jt.type||qe(ke,N),Nn=Jt.data?(0,Ge.Map)(Jt.data):(0,Ge.Map)()),kt=Tt(kt,me(on,fe,He.flat,Nn),He.flat))}Zt&&(ke=Zt.nodeName.toLowerCase()),Rt=Zt}return gt&&(kt=Tt(kt,it(mt,fe,(0,Ge.Map)()),He.flat)),kt}function Dt(J,ae,N,_,Z,fe,xe,Ce,Ee,we,ge){J=J.trim().replace(Xe,"").replace(Ut,nt);var je=ge(J);if(!je)return null;var Qe=wt(J)?te.concat(["div"]):["div"],Oe=Ot(je,(0,Ge.OrderedSet)(),"ul",null,Qe,-1,ae,N,_,Z,fe,xe,Ce,Ee,we);return Oe.text.indexOf("\r")===0&&(Oe={text:Oe.text.slice(1),inlines:Oe.inlines.slice(1),entities:Oe.entities.slice(1),blocks:Oe.blocks}),Oe.text.slice(-1)==="\r"&&(Oe.text=Oe.text.slice(0,-1),Oe.inlines=Oe.inlines.slice(0,-1),Oe.entities=Oe.entities.slice(0,-1),Oe.blocks.pop()),Oe.blocks.length===0&&Oe.blocks.push({type:"unstyled",data:(0,Ge.Map)(),depth:0}),Oe.text.split("\r").length===Oe.blocks.length+1&&Oe.blocks.unshift({type:"unstyled",data:(0,Ge.Map)(),depth:0}),Oe}function jt(J,ae,N,_,Z,fe,xe,Ce,Ee,we,ge,je){var Qe=Dt(J,ae,N,_,Z,fe,xe,Ce,Ee,we,ge,je);if(Qe==null)return[];var Oe=0;return Qe.text.split("\r").map(function(He,Re){He=Me(He);var ke=Oe+He.length,gt=Ie(Qe).inlines.slice(Oe,ke),mt=Ie(Qe).entities.slice(Oe,ke),Ne=(0,Ge.List)(gt.map(function(rt,It){var et={style:rt,entity:null};return mt[It]&&(et.entity=mt[It]),p.CharacterMetadata.create(et)}));return Oe=ke+1,new p.ContentBlock({key:je(),type:Ie(Qe).blocks[Re].type,data:Ie(Qe).blocks[Re].data,depth:Ie(Qe).blocks[Re].depth,text:He,characterList:Ne})})}var Bt=function(ae){var N=ae.htmlToStyle,_=N===void 0?Ae:N,Z=ae.htmlToEntity,fe=Z===void 0?ve:Z,xe=ae.textToEntity,Ce=xe===void 0?Fe:xe,Ee=ae.htmlToBlock,we=Ee===void 0?pe:Ee;return function(ge){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{flat:!1},Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ut,Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:p.genKey,He=p.ContentState.createFromText(""),Re=function(){if(He.createEntity){var ht;return
|
||
|
`)},y.prototype.getLastCreatedEntityKey=function(){return d.__getLastCreatedEntityKey()},y.prototype.hasText=function(){var T=this.getBlockMap();return T.size>1||T.first().getLength()>0},y.prototype.createEntity=function(T,I,w){return d.__create(T,I,w),this},y.prototype.mergeEntityData=function(T,I){return d.__mergeData(T,I),this},y.prototype.replaceEntityData=function(T,I){return d.__replaceData(T,I),this},y.prototype.addEntity=function(T){return d.__add(T),this},y.prototype.getEntity=function(T){return d.__get(T)},y.createFromBlockArray=function(T,I){var w=Array.isArray(T)?T:T.contentBlocks,H=A.createFromArray(w),j=H.isEmpty()?new s:s.createEmpty(H.first().getKey());return new y({blockMap:H,entityMap:I||d,selectionBefore:j,selectionAfter:j})},y.createFromText=function(T){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:/\r\n?|\n/g,w=T.split(I),H=w.map(function(j){return j=c(j),new l({key:a(),text:j,type:"unstyled",characterList:i(u(p.EMPTY,j.length))})});return y.createFromBlockArray(H)},y}(g);z.exports=D},13483:function(z,P,o){"use strict";var x=o(4516),b=o(43393),v=b.Map,A={add:function(S,d,f){return p(S,d,f,!0)},remove:function(S,d,f){return p(S,d,f,!1)}};function p(B,S,d,f){var h=B.getBlockMap(),s=S.getStartKey(),a=S.getStartOffset(),c=S.getEndKey(),i=S.getEndOffset(),r=h.skipUntil(function(u,E){return E===s}).takeUntil(function(u,E){return E===c}).concat(v([[c,h.get(c)]])).map(function(u,E){var C,l;s===c?(C=a,l=i):(C=E===s?a:0,l=E===c?i:u.getLength());for(var g=u.getCharacterList(),D;C<l;)D=g.get(C),g=g.set(C,f?x.applyStyle(D,d):x.removeStyle(D,d)),C++;return u.set("characterList",g)});return B.merge({blockMap:h.merge(r),selectionBefore:S,selectionAfter:S})}z.exports=A},526:function(z,P,o){"use strict";var x=o(43393),b=x.Map,v=o(67294),A=o(62620),p=v.createElement("ul",{className:A("public/DraftStyleDefault/ul")}),B=v.createElement("ol",{className:A("public/DraftStyleDefault/ol")}),S=v.createElement("pre",{className:A("public/DraftStyleDefault/pre")}),d=b({"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:p},"ordered-list-item":{element:"li",wrapper:B},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:S},unstyled:{element:"div",aliasedElements:["p"]}});z.exports=d},37619:function(z){"use strict";z.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},9041:function(z,P,o){"use strict";var x=o(19785),b=o(10329),v=o(4516),A=o(25369),p=o(2641),B=o(66912),S=o(526),d=o(37619),f=o(87210),h=o(37898),s=o(82222),a=o(42307),c=o(39006),i=o(14289),r=o(47387),u=o(41947),E=o(25110),C=o(79981),l=o(67841),g=o(99607),D=o(25027),F=o(41714),y=o(96629),L={Editor:f,EditorBlock:h,EditorState:i,CompositeDecorator:A,Entity:s,EntityInstance:c,BlockMapBuilder:b,CharacterMetadata:v,ContentBlock:p,ContentState:B,SelectionState:E,AtomicBlockUtils:x,KeyBindingUtil:r,Modifier:a,RichUtils:u,DefaultDraftBlockRenderMap:S,DefaultDraftInlineStyle:d,convertFromHTML:l,convertFromRaw:g,convertToRaw:C,genKey:D,getDefaultKeyBinding:F,getVisibleSelectionRect:y};z.exports=L},87210:function(z,P,o){"use strict";var x=o(27418),b=x||function(U){for(var O=1;O<arguments.length;O++){var re=arguments[O];for(var Q in re)Object.prototype.hasOwnProperty.call(re,Q)&&(U[Q]=re[Q])}return U};function v(U,O){if(!(U instanceof O))throw new TypeError("Cannot call a class as a function")}function A(U,O){if(!U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:U}function p(U,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);U.prototype=Object.create(O&&O.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setProto
|
||
|
`)&&this.props.isLast&&(u+=`
|
||
|
`);var E=this.props,C=E.customStyleMap,l=E.customStyleFn,g=E.offsetKey,D=E.styleSet,F=D.reduce(function(L,T){var I={},w=C[T];return w!==void 0&&L.textDecoration!==w.textDecoration&&(I.textDecoration=[L.textDecoration,w.textDecoration].join(" ").trim()),x(L,w,I)},{});if(l){var y=l(D,r);F=x(F,y)}return B.createElement("span",{"data-offset-key":g,ref:function(T){return i.leaf=T},style:F},B.createElement(p,null,u))},a}(B.Component);z.exports=h},28094:function(z,P,o){"use strict";function x(S,d){if(!(S instanceof d))throw new TypeError("Cannot call a class as a function")}function b(S,d){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:S}function v(S,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);S.prototype=Object.create(d&&d.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(S,d):S.__proto__=d)}var A=o(67294),p=o(62620),B=function(S){v(d,S);function d(){return x(this,d),b(this,S.apply(this,arguments))}return d.prototype.shouldComponentUpdate=function(h){return this.props.text!==h.text||this.props.editorState.getSelection().getHasFocus()!==h.editorState.getSelection().getHasFocus()},d.prototype.render=function(){var h=this.props.editorState.getSelection().getHasFocus(),s=p({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":h}),a={whiteSpace:"pre-wrap"};return A.createElement("div",{className:s},A.createElement("div",{className:p("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:a},this.props.text))},d}(A.Component);z.exports=B},80052:function(z,P,o){"use strict";function x(c,i){if(!(c instanceof i))throw new TypeError("Cannot call a class as a function")}function b(c,i){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:c}function v(c,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);c.prototype=Object.create(i&&i.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(c,i):c.__proto__=i)}var A=o(67294),p=o(73935),B=o(4856),S=o(73759),d=B.isBrowser("IE <= 11");function f(c){return d?c.textContent===`
|
||
|
`:c.tagName==="BR"}var h=d?A.createElement("span",{key:"A","data-text":"true"},`
|
||
|
`):A.createElement("br",{key:"A","data-text":"true"}),s=d?A.createElement("span",{key:"B","data-text":"true"},`
|
||
|
`):A.createElement("br",{key:"B","data-text":"true"}),a=function(c){v(i,c);function i(r){x(this,i);var u=b(this,c.call(this,r));return u._forceFlag=!1,u}return i.prototype.shouldComponentUpdate=function(u){var E=p.findDOMNode(this),C=u.children==="";return E instanceof Element||S(!1),C?!f(E):E.textContent!==u.children},i.prototype.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.prototype.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.prototype.render=function(){return this.props.children===""?this._forceFlag?h:s:A.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},i}(A.Component);z.exports=a},82222:function(z,P,o){"use strict";var x=o(27418),b=x||function(s){for(var a=1;a<arguments.length;a++){var c=arguments[a];for(var i in c)Object.prototype.hasOwnProperty.call(c,i)&&(s[i]=c[i])}return s},v=o(39006),A=o(43393),p=o(73759),B=A.Map,S=B(),d=0;function f(s,a){console.warn("WARNING: "+s+` will be deprecated soon!
|
||
|
Please use "`+a+'" instead.')}var h={getLastCreatedEntityKey:function(){return f("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),h.__getLastCreatedEntityKey()},create:function(a,c,i){return f("DraftEntity.create","contentState.createEntity"),h.__create(a,c,i)},add:function(a){return f("DraftEntity.add","contentState.addEntity"),h.__add(a)},get:function(a){return f("DraftEntity.get","contentState.getEntity"),h.__get(a)},mergeData:function(a,c){return f("DraftEntity.mergeData","contentState.mergeEntityData"),h.__mergeData(a,c)},replaceData:function(a,c){return f("DraftEntity.replaceData","contentState.replaceEntityData"),h.__replaceData(a,c)},__getLastCreatedEntityKey:function(){return""+d},__create:function(a,c,i){return h.__add(new v({type:a,mutability:c,data:i||{}}))},__add:function(a){var c=""+ ++d;return S=S.set(c,a),c},__get:function(a){var c=S.get(a);return c||p(!1),c},__mergeData:function(a,c){var i=h.__get(a),r=b({},i.getData(),c),u=i.set("data",r);return S=S.set(a,u),u},__replaceData:function(a,c){var i=h.__get(a),r=i.set("data",c);return S=S.set(a,r),r}};z.exports=h},39006:function(z,P,o){"use strict";function x(d,f){if(!(d instanceof f))throw new TypeError("Cannot call a class as a function")}function b(d,f){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:d}function v(d,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);d.prototype=Object.create(f&&f.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(d,f):d.__proto__=f)}var A=o(43393),p=A.Record,B=p({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),S=function(d){v(f,d);function f(){return x(this,f),b(this,d.apply(this,arguments))}return f.prototype.getType=function(){return this.get("type")},f.prototype.getMutability=function(){return this.get("mutability")},f.prototype.getData=function(){return this.get("data")},f}(B);z.exports=S},5195:function(z){"use strict";var P={getRemovalRange:function(x,b,v,A,p){var B=v.split(" ");B=B.map(function(u,E){if(p==="forward"){if(E>0)return" "+u}else if(E<B.length-1)return u+" ";return u});for(var S=A,d,f,h=null,s=null,a=0;a<B.length;a++){if(f=B[a],d=S+f.length,x<d&&S<b)h!==null||(h=S),s=d;else if(h!==null)break;S=d}var c=A+v.length,i=h===A,r=s===c;return(!i&&r||i&&!r)&&(p==="forward"?s!==c&&s++:h!==A&&h--),{start:h,end:s}}};z.exports=P},44247:function(z){"use strict";var P={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1,draft_handlebeforeinput_composed_text:!1,draft_tree_data_support:!1};z.exports=P},36105:function(z,P,o){"use strict";var x=o(44247);z.exports=x},97432:function(z){"use strict";z.exports={logSelectionStateFailure:function(){return null}}},42307:function(z,P,o){"use strict";var x=o(4516),b=o(13483),v=o(36105),A=o(43393),p=o(68750),B=o(81446),S=o(88687),d=o(54542),f=o(18467),h=o(73759),s=o(57429),a=o(14017),c=o(54879),i=o(36043),r=A.OrderedSet,u={replaceText:function(C,l,g,D,F){var y=a(C,l),L=c(y,l),T=x.create({style:D||r(),entity:F||null});return f(L,L.getSelectionAfter(),g,T)},insertText:function(C,l,g,D,F){return l.isCollapsed()||h(!1),u.replaceText(C,l,g,D,F)},moveText:function(C,l,g){var D=S(C,l),F=u.removeRange(C,l,"backward");return u.replaceWithFragment(F,g,D)},replaceWithFragment:function(C,l,g){var D=a(C,l),F=c(D,l);return d(F,F.getSelectionAfter(),g)},removeRange:function(C,l,g){var D=void 0,F=void 0,y=void 0,L=void 0;l.getIsBackward()&&(l=l.merge({anchorKey:l.getFocusKey(),anchorOffset:l.getFocusOffset(),focusKey:l.getAnchorKey(),focusOffset:l.getAnchorOffset(),isBackward:!1})),D=l.getAnchorKey(),F=l.getFocusKey(),y=C.getBlockForKey(D),L=C.getBlockForKey(F);var T=l.getStartOffset(),I=l.getEndOffset(),w=y.getEntityAt(T),H=L.getEntityAt(I-1);if(D===F&&w&&w===H){var j=B(C.getEntityMap(),y,L,l,g);return c(C,j)}var U=l;v.draft_segmented_entities_behavior&&(U=B(C.getEntityMap(),y,L,l,g));var O=a(C,U);ret
|
||
|
`,d.getCurrentInlineStyle(),null),h=b.push(d,f,"insert-characters");return b.forceSelection(h,f.getSelectionAfter())},onBackspace:function(d){var f=d.getSelection();if(!f.isCollapsed()||f.getAnchorOffset()||f.getFocusOffset())return null;var h=d.getCurrentContent(),s=f.getStartKey(),a=h.getBlockBefore(s);if(a&&a.getType()==="atomic"){var c=h.getBlockMap().delete(a.getKey()),i=h.merge({blockMap:c,selectionAfter:f});if(i!==h)return b.push(d,i,"remove-range")}var r=B.tryToRemoveBlockStyle(d);return r?b.push(d,r,"change-block-type"):null},onDelete:function(d){var f=d.getSelection();if(!f.isCollapsed())return null;var h=d.getCurrentContent(),s=f.getStartKey(),a=h.getBlockForKey(s),c=a.getLength();if(f.getStartOffset()<c)return null;var i=h.getBlockAfter(s);if(!i||i.getType()!=="atomic")return null;var r=f.merge({focusKey:i.getKey(),focusOffset:i.getLength()}),u=x.removeRange(h,r,"forward");return u!==h?b.push(d,u,"remove-range"):null},onTab:function(d,f,h){var s=f.getSelection(),a=s.getAnchorKey();if(a!==s.getFocusKey())return f;var c=f.getCurrentContent(),i=c.getBlockForKey(a),r=i.getType();if(r!=="unordered-list-item"&&r!=="ordered-list-item")return f;d.preventDefault();var u=c.getBlockBefore(a);if(!u)return f;var E=u.getType();if(E!=="unordered-list-item"&&E!=="ordered-list-item")return f;var C=i.getDepth();if(!d.shiftKey&&C===h)return f;h=Math.min(u.getDepth()+1,h);var l=A(c,s,d.shiftKey?-1:1,h);return b.push(f,l,"adjust-depth")},toggleBlockType:function(d,f){var h=d.getSelection(),s=h.getStartKey(),a=h.getEndKey(),c=d.getCurrentContent(),i=h;if(s!==a&&h.getEndOffset()===0){var r=p(c.getBlockBefore(a));a=r.getKey(),i=i.merge({anchorKey:s,anchorOffset:h.getStartOffset(),focusKey:a,focusOffset:r.getLength(),isBackward:!1})}var u=c.getBlockMap().skipWhile(function(C,l){return l!==s}).reverse().skipWhile(function(C,l){return l!==a}).some(function(C){return C.getType()==="atomic"});if(u)return d;var E=c.getBlockForKey(s).getType()===f?"unstyled":f;return b.push(d,x.setBlockType(c,i,E),"change-block-type")},toggleCode:function(d){var f=d.getSelection(),h=f.getAnchorKey(),s=f.getFocusKey();return f.isCollapsed()||h!==s?B.toggleBlockType(d,"code-block"):B.toggleInlineStyle(d,"CODE")},toggleInlineStyle:function(d,f){var h=d.getSelection(),s=d.getCurrentInlineStyle();if(h.isCollapsed())return b.setInlineStyleOverride(d,s.has(f)?s.remove(f):s.add(f));var a=d.getCurrentContent(),c;return s.has(f)?c=x.removeInlineStyle(a,h,f):c=x.applyInlineStyle(a,h,f),b.push(d,c,"change-inline-style")},toggleLink:function(d,f,h){var s=x.applyEntity(d.getCurrentContent(),f,h);return b.push(d,s,"apply-entity")},tryToRemoveBlockStyle:function(d){var f=d.getSelection(),h=f.getAnchorOffset();if(f.isCollapsed()&&h===0){var s=f.getAnchorKey(),a=d.getCurrentContent(),c=a.getBlockForKey(s),i=a.getFirstBlock();if(c.getLength()>0&&c!==i)return null;var r=c.getType(),u=a.getBlockBefore(s);if(r==="code-block"&&u&&u.getType()==="code-block"&&u.getLength()!==0)return null;if(r!=="unstyled")return x.setBlockType(a,f,"unstyled")}return null}};z.exports=B},83751:function(z,P,o){"use strict";var x=o(42307),b=o(14289),v=o(88687),A=o(22045),p=null,B={cut:function(d){var f=d.getCurrentContent(),h=d.getSelection(),s=null;if(h.isCollapsed()){var a=h.getAnchorKey(),c=f.getBlockForKey(a).getLength();if(c===h.getAnchorOffset())return d;s=h.set("focusOffset",c)}else s=h;s=A(s),p=v(f,s);var i=x.removeRange(f,s,"forward");return i===f?d:b.push(d,i,"remove-range")},paste:function(d){if(!p)return d;var f=x.replaceWithFragment(d.getCurrentContent(),d.getSelection(),p);return b.push(d,f,"insert-fragment")}};z.exports=B},25110:function(z,P,o){"use strict";function x(f,h){if(!(f instanceof h))throw new TypeError("Cannot call a class as a function")}function b(f,h){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:f}function v(f,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);f.prototype=Object.create(h&&h.protot
|
||
|
`,"g"),H=new RegExp(y,"g"),j=new RegExp(" ?","g"),U=new RegExp("​?","g"),O=["bold","bolder","500","600","700","800","900"],re=["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"},ue=(b={},A(b,r("public/DraftStyleDefault/depth0"),0),A(b,r("public/DraftStyleDefault/depth1"),1),A(b,r("public/DraftStyleDefault/depth2"),2),A(b,r("public/DraftStyleDefault/depth3"),3),A(b,r("public/DraftStyleDefault/depth4"),4),b),Se=["className","href","rel","target","title"],ye=["alt","className","height","src","width"],V=void 0,Be={text:"",inlines:[],entities:[],blocks:[]},ze={children:D(),depth:0,key:"",type:""},Le=function(oe,le){return oe==="li"?le==="ol"?"ordered-list-item":"unordered-list-item":null},Ue=function(oe){var le=oe.get("unstyled").element,pe=c([]);return oe.forEach(function(Ae){Ae.aliasedElements&&Ae.aliasedElements.forEach(function(ve){pe=pe.add(ve)}),pe=pe.add(Ae.element)}),pe.filter(function(Ae){return Ae&&Ae!==le}).toArray().sort()},ot=function(oe,le,pe){for(var Ae=0;Ae<pe.length;Ae++){var ve=pe[Ae](oe,le);if(ve)return ve}return null},at=function(oe,le,pe){var Ae=pe.filter(function(ve){return ve.element===oe||ve.wrapper===oe||ve.aliasedElements&&ve.aliasedElements.some(function(Fe){return Fe===oe})}).keySeq().toSet().toArray().sort();switch(Ae.length){case 0:return"unstyled";case 1:return Ae[0];default:return ot(oe,le,[Le])||"unstyled"}},_e=function(oe,le,pe){var Ae=Q[oe];if(Ae)pe=pe.add(Ae).toOrderedSet();else if(le instanceof HTMLElement){var ve=le;pe=pe.withMutations(function(Fe){var Ie=ve.style.fontWeight,Me=ve.style.fontStyle,We=ve.style.textDecoration;O.indexOf(Ie)>=0?Fe.add("BOLD"):re.indexOf(Ie)>=0&&Fe.remove("BOLD"),Me==="italic"?Fe.add("ITALIC"):Me==="normal"&&Fe.remove("ITALIC"),We==="underline"&&Fe.add("UNDERLINE"),We==="line-through"&&Fe.add("STRIKETHROUGH"),We==="none"&&(Fe.remove("UNDERLINE"),Fe.remove("STRIKETHROUGH"))}).toOrderedSet()}return pe},Ze=function(oe,le,pe){var Ae=oe.text.slice(-1),ve=le.text.slice(0,1);if(Ae==="\r"&&ve==="\r"&&!pe&&(oe.text=oe.text.slice(0,-1),oe.inlines.pop(),oe.entities.pop(),oe.blocks.pop()),Ae==="\r"){if(le.text===L||le.text===`
|
||
|
`)return oe;(ve===L||ve===`
|
||
|
`)&&(le.text=le.text.slice(1),le.inlines.shift(),le.entities.shift())}return{text:oe.text+le.text,inlines:oe.inlines.concat(le.inlines),entities:oe.entities.concat(le.entities),blocks:oe.blocks.concat(le.blocks)}},Te=function(oe,le){return le.some(function(pe){return oe.indexOf("<"+pe)!==-1})},Ge=function(oe){oe instanceof HTMLAnchorElement||C(!1);var le=oe.protocol;return le==="http:"||le==="https:"||le==="mailto:"},Ye=function(oe){var le=new Array(1);return oe&&(le[0]=oe),x({},Be,{text:L,inlines:[F()],entities:le})},ut=function(){return x({},Be,{text:`
|
||
|
`,inlines:[F()],entities:new Array(1)})},bt=function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return x({},ze,oe)},nt=function(oe,le){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return{text:"\r",inlines:[F()],entities:new Array(1),blocks:[bt({parent:pe,key:u(),type:oe,depth:Math.max(0,Math.min(T,le))})]}},be=function(oe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object.keys(ue).some(function(pe){oe.classList.contains(pe)&&(le=ue[pe])}),le},Xe=function te(oe,le,pe,Ae,ve,Fe,Ie,Me,We,lt){var me=V,it=le.nodeName.toLowerCase(),qe=oe,ft="unstyled",dt=!1,pt=ve&&at(ve,Ae,Me),Tt=x({},Be),wt=null,Ot=void 0;if(it==="#text"){var Dt=le.textContent,jt=Dt.trim();if(Ae&&jt===""&&le.parentElement){var Bt=le.parentElement.nodeName.toLowerCase();if(Bt==="ol"||Bt==="ul")return{chunk:x({},Be),entityMap:oe}}return jt===""&&ve!=="pre"?{chunk:Ye(We),entityMap:oe}:(ve!=="pre"&&(Dt=Dt.replace(w,L)),V=it,{chunk:{text:Dt,inlines:Array(Dt.length).fill(pe),entities:Array(Dt.length).fill(We),blocks:[]},entityMap:oe})}if(V=it,it==="br")return me==="br"&&(!ve||pt==="unstyled")?{chunk:nt("unstyled",Ie,lt),entityMap:oe}:{chunk:ut(),entityMap:oe};if(it==="img"&&le instanceof HTMLImageElement&&le.attributes.getNamedItem("src")&&le.attributes.getNamedItem("src").value){var Qt=le,J={};ye.forEach(function(ge){var je=Qt.getAttribute(ge);je&&(J[ge]=je)}),le.textContent="\u{1F4F7}",We=f.__create("IMAGE","MUTABLE",J||{})}pe=_e(it,le,pe),(it==="ul"||it==="ol")&&(Ae&&(Ie+=1),Ae=it),!g&&it==="li"&&le instanceof HTMLElement&&(Ie=be(le,Ie));var ae=at(it,Ae,Me),N=Ae&&ve==="li"&&it==="li",_=(!ve||g)&&Fe.indexOf(it)!==-1;(N||_)&&(Tt=nt(ae,Ie,lt),Ot=Tt.blocks[0].key,ve=it,dt=!g),N&&(ft=Ae==="ul"?"unordered-list-item":"ordered-list-item");var Z=le.firstChild;Z!=null&&(it=Z.nodeName.toLowerCase());for(var fe=null;Z;){Z instanceof HTMLAnchorElement&&Z.href&&Ge(Z)?function(){var ge=Z,je={};Se.forEach(function(Qe){var Oe=ge.getAttribute(Qe);Oe&&(je[Qe]=Oe)}),je.url=new i(ge.href).toString(),fe=f.__create("LINK","MUTABLE",je||{})}():fe=void 0;var xe=te(qe,Z,pe,Ae,ve,Fe,Ie,Me,fe||We,g?Ot:null),Ce=xe.chunk,Ee=xe.entityMap;wt=Ce,qe=Ee,Tt=Ze(Tt,wt,g);var we=Z.nextSibling;!lt&&we&&Fe.indexOf(it)>=0&&ve&&(Tt=Ze(Tt,ut())),we&&(it=we.nodeName.toLowerCase()),Z=we}return dt&&(Tt=Ze(Tt,nt(ft,Ie,lt))),{chunk:Tt,entityMap:qe}},Et=function(oe,le,pe,Ae){oe=oe.trim().replace(I,"").replace(H,L).replace(j,"").replace(U,"");var ve=Ue(pe),Fe=le(oe);if(!Fe)return null;V=null;var Ie=Te(oe,ve)?ve:["div"],Me=Xe(Ae,Fe,F(),"ul",null,Ie,-1,pe),We=Me.chunk,lt=Me.entityMap;return We.text.indexOf("\r")===0&&(We={text:We.text.slice(1),inlines:We.inlines.slice(1),entities:We.entities.slice(1),blocks:We.blocks}),We.text.slice(-1)==="\r"&&(We.text=We.text.slice(0,-1),We.inlines=We.inlines.slice(0,-1),We.entities=We.entities.slice(0,-1),We.blocks.pop()),We.blocks.length===0&&We.blocks.push(x({},Be,{type:"unstyled",depth:0})),We.text.split("\r").length===We.blocks.length+1&&We.blocks.unshift({type:"unstyled",depth:0}),{chunk:We,entityMap:lt}},Ut=function(oe){if(!oe||!oe.text||!Array.isArray(oe.blocks))return null;var le={cacheRef:{},contentBlocks:[]},pe=0,Ae=oe.blocks,ve=oe.inlines,Fe=oe.entities,Ie=g?S:B;return oe.text.split("\r").reduce(function(Me,We,lt){We=l(We);var me=Ae[lt],it=pe+We.length,qe=ve.slice(pe,it),ft=Fe.slice(pe,it),dt=D(qe.map(function(_,Z){var fe={style:_,entity:null};return ft[Z]&&(fe.entity=ft[Z]),p.create(fe)}));pe=it+1;var pt=me.depth,Tt=me.type,wt=me.parent,Ot=me.key||u(),Dt=null;if(wt){var jt=Me.cacheRef[wt],Bt=Me.contentBlocks[jt];if(Bt.getChildKeys().isEmpty()&&Bt.getText()){var Qt=Bt.getCharacterList(),J=Bt.getText();Dt=u();var ae=new S({key:Dt,text:J,characterList:Qt,parent:wt,nextSibling:Ot});Me.contentBlocks.push(ae),Bt=Bt.withMutations(function(_){_.set("characterList",D()).set("text","").set("children",Bt.children.push(ae.getKey()))})}Me.contentBlocks[jt]=Bt.set("children",Bt.children.push(Ot))}var N=new Ie({key:Ot,parent:wt,type:Tt,depth:pt,text:We,characterList:dt,prevSibling:Dt||(lt===0||Ae[lt-1].paren
|
||
|
|
||
|
`;function h(s){s._pendingStateFromBeforeInput!==void 0&&(s.update(s._pendingStateFromBeforeInput),s._pendingStateFromBeforeInput=void 0);var a=o.g.getSelection(),c=a.anchorNode,i=a.isCollapsed,r=c.nodeType!==Node.TEXT_NODE,u=c.nodeType!==Node.TEXT_NODE&&c.nodeType!==Node.ELEMENT_NODE;if(x.draft_killswitch_allow_nontextnodes){if(r)return}else if(u)return;if(c.nodeType===Node.TEXT_NODE&&(c.previousSibling!==null||c.nextSibling!==null)){var E=c.parentNode;c.nodeValue=E.textContent;for(var C=E.firstChild;C!==null;C=C.nextSibling)C!==c&&E.removeChild(C)}var l=c.textContent,g=s._latestEditorState,D=S(B(c)),F=v.decode(D),y=F.blockKey,L=F.decoratorKey,T=F.leafKey,I=g.getBlockTree(y).getIn([L,"leaves",T]),w=I.start,H=I.end,j=g.getCurrentContent(),U=j.getBlockForKey(y),O=U.getText().slice(w,H);if(l.endsWith(f)&&(l=l.slice(0,-1)),l!==O){var re=g.getSelection(),Q=re.merge({anchorOffset:w,focusOffset:H,isBackward:!1}),ue=U.getEntityAt(w),Se=ue&&j.getEntity(ue),ye=Se&&Se.getMutability(),V=ye==="MUTABLE",Be=V?"spellcheck-change":"apply-entity",ze=b.replaceText(j,Q,l,U.getInlineStyleAt(w),V?U.getEntityAt(w):null),Le,Ue,ot,at;if(d)Le=a.anchorOffset,Ue=a.focusOffset,ot=w+Math.min(Le,Ue),at=ot+Math.abs(Le-Ue),Le=ot,Ue=at;else{var _e=l.length-O.length;ot=re.getStartOffset(),at=re.getEndOffset(),Le=i?at+_e:ot,Ue=at+_e}var Ze=ze.merge({selectionBefore:j.getSelectionAfter(),selectionAfter:re.merge({anchorOffset:Le,focusOffset:Ue})});s.update(A.push(g,Ze,Be))}}z.exports=h},46397:function(z,P,o){"use strict";var x=o(42307),b=o(14289),v=o(47387),A=o(25399),p=o(83751),B=o(4856),S=o(42177),d=o(49779),f=o(51050),h=o(13767),s=o(77978),a=o(67217),c=o(8425),i=o(62800),r=o(13998),u=o(53318),E=o(87051),C=v.isOptionKeyCommand,l=B.isBrowser("Chrome");function g(F,y){switch(F){case"redo":return b.redo(y);case"delete":return r(y);case"delete-word":return h(y);case"backspace":return i(y);case"backspace-word":return f(y);case"backspace-to-start-of-line":return d(y);case"split-block":return s(y);case"transpose-characters":return u(y);case"move-selection-to-start-of-block":return c(y);case"move-selection-to-end-of-block":return a(y);case"secondary-cut":return p.cut(y);case"secondary-paste":return p.paste(y);default:return y}}function D(F,y){var L=y.which,T=F._latestEditorState;switch(L){case A.RETURN:if(y.preventDefault(),F.props.handleReturn&&S(F.props.handleReturn(y,T)))return;break;case A.ESC:y.preventDefault(),F.props.onEscape&&F.props.onEscape(y);return;case A.TAB:F.props.onTab&&F.props.onTab(y);return;case A.UP:F.props.onUpArrow&&F.props.onUpArrow(y);return;case A.RIGHT:F.props.onRightArrow&&F.props.onRightArrow(y);return;case A.DOWN:F.props.onDownArrow&&F.props.onDownArrow(y);return;case A.LEFT:F.props.onLeftArrow&&F.props.onLeftArrow(y);return;case A.SPACE:if(l&&C(y)){y.preventDefault();var I=x.replaceText(T.getCurrentContent(),T.getSelection(),"\xA0");F.update(b.push(T,I,"insert-characters"));return}}var w=F.props.keyBindingFn(y);if(!!w){if(w==="undo"){E(y,T,F.update);return}if(y.preventDefault(),!(F.props.handleKeyCommand&&S(F.props.handleKeyCommand(w,T)))){var H=g(w,T);H!==T&&F.update(H)}}}z.exports=D},6089:function(z,P,o){"use strict";var x=o(10329),b=o(4516),v=o(44891),A=o(42307),p=o(45712),B=o(14289),S=o(41947),d=o(42128),f=o(21738),h=o(42177),s=o(44300);function a(r,u){u.preventDefault();var E=new v(u.clipboardData);if(!E.isRichText()){var C=E.getFiles(),l=E.getText();if(C.length>0){if(r.props.handlePastedFiles&&h(r.props.handlePastedFiles(C)))return;f(C,function(Q){if(Q=Q||l,!!Q){var ue=r._latestEditorState,Se=s(Q),ye=b.create({style:ue.getCurrentInlineStyle(),entity:d(ue.getCurrentContent(),ue.getSelection())}),V=S.getCurrentBlockType(ue),Be=p.processText(Se,ye,V),ze=x.createFromArray(Be),Le=A.replaceWithFragment(ue.getCurrentContent(),ue.getSelection(),ze);r.update(B.push(ue,Le,"insert-fragment"))}});return}}var g=[],D=E.getText(),F=E.getHTML(),y=r._latestEditorState;if(!(r.props.handlePastedText&&h(r.props.handlePastedText(D,F,y)))){if(D&&(g=s(D)),!r.props.stripPastedStyles){var L=r.getClipboard();if(E.isRichText()&&L){if(F.indexOf(r.getEdit
|
||
|
`?0:a.length}z.exports=B},42128:function(z){"use strict";function P(x,b){var v;if(b.isCollapsed()){var A=b.getAnchorKey(),p=b.getAnchorOffset();return p>0?(v=x.getBlockForKey(A).getEntityAt(p-1),v!==x.getBlockForKey(A).getEntityAt(p)?null:o(x.getEntityMap(),v)):null}var B=b.getStartKey(),S=b.getStartOffset(),d=x.getBlockForKey(B);return v=S===d.getLength()?null:d.getEntityAt(S),o(x.getEntityMap(),v)}function o(x,b){if(b){var v=x.__get(b);return v.getMutability()==="MUTABLE"?b:null}return null}z.exports=P},94882:function(z,P,o){"use strict";var x=o(88687);function b(v){var A=v.getSelection();return A.isCollapsed()?null:x(v.getCurrentContent(),A)}z.exports=b},39506:function(z,P,o){"use strict";var x=o(67953),b=function(A,p){var B=A instanceof x;if(!B)return null;var S=A.getNextSiblingKey();if(S)return S;var d=A.getParentKey();if(!d)return null;for(var f=p.get(d);f&&!f.getNextSiblingKey();){var h=f.getParentKey();f=h?p.get(h):null}return f?f.getNextSiblingKey():null};z.exports=b},98056:function(z,P,o){"use strict";var x=o(6092);function b(v){var A=x(v),p=0,B=0,S=0,d=0;if(A.length){if(A.length>1&&A[0].width===0){var f=A[1];p=f.top,B=f.right,S=f.bottom,d=f.left}else{var h=A[0];p=h.top,B=h.right,S=h.bottom,d=h.left}for(var s=1;s<A.length;s++){var a=A[s];a.height!==0&&a.width!==0&&(p=Math.min(p,a.top),B=Math.max(B,a.right),S=Math.max(S,a.bottom),d=Math.min(d,a.left))}}return{top:p,right:B,bottom:S,left:d,width:B-d,height:S-p}}z.exports=b},6092:function(z,P,o){"use strict";var x=o(4856),b=o(73759),v=x.isBrowser("Chrome");function A(B){for(var S=B.cloneRange(),d=[],f=B.endContainer;f!=null;f=f.parentNode){var h=f===B.commonAncestorContainer;h?S.setStart(B.startContainer,B.startOffset):S.setStart(S.endContainer,0);var s=Array.from(S.getClientRects());if(d.push(s),h){var a;return d.reverse(),(a=[]).concat.apply(a,d)}S.setEndBefore(f)}b(!1)}var p=v?A:function(B){return Array.from(B.getClientRects())};z.exports=p},64994:function(z,P,o){"use strict";var x=o(73759);function b(v,A){var p=[];return v.findEntityRanges(function(B){return B.getEntity()===A},function(B,S){p.push({start:B,end:S})}),p.length||x(!1),p}z.exports=b},69769:function(z,P,o){"use strict";var x=o(4856),b=o(73759),v=x.isBrowser("IE <= 9");function A(p){var B,S=null;return!v&&document.implementation&&document.implementation.createHTMLDocument&&(B=document.implementation.createHTMLDocument("foo"),B.documentElement||b(!1),B.documentElement.innerHTML=p,S=B.getElementsByTagName("body")[0]),S}z.exports=A},93578:function(z){"use strict";function P(o){if(o instanceof Element){var x=o.getAttribute("data-offset-key");if(x)return x;for(var b=0;b<o.childNodes.length;b++){var v=P(o.childNodes[b]);if(v)return v}}return null}z.exports=P},21738:function(z,P,o){"use strict";var x=o(73759),b=/\.textClipping$/,v={"text/plain":!0,"text/html":!0,"text/rtf":!0},A=5e3;function p(S,d){var f=0,h=[];S.forEach(function(s){B(s,function(a){f++,a&&h.push(a.slice(0,A)),f==S.length&&d(h.join("\r"))})})}function B(S,d){if(!o.g.FileReader||S.type&&!(S.type in v)){d("");return}if(S.type===""){var f="";b.test(S.name)&&(f=S.name.replace(b,"")),d(f);return}var h=new FileReader;h.onload=function(){var s=h.result;typeof s!="string"&&x(!1),d(s)},h.onerror=function(){d("")},h.readAsText(S)}z.exports=p},94486:function(z,P,o){"use strict";var x=o(22146),b=o(22045);function v(A,p,B,S,d){var f=b(A.getSelection()),h=x.decode(p),s=h.blockKey,a=A.getBlockTree(s).getIn([h.decoratorKey,"leaves",h.leafKey]),c=x.decode(S),i=c.blockKey,r=A.getBlockTree(i).getIn([c.decoratorKey,"leaves",c.leafKey]),u=a.get("start"),E=r.get("start"),C=a?u+B:null,l=r?E+d:null,g=f.getAnchorKey()===s&&f.getAnchorOffset()===C&&f.getFocusKey()===i&&f.getFocusOffset()===l;if(g)return f;var D=!1;if(s===i){var F=a.get("end"),y=r.get("end");E===u&&y===F?D=d<B:D=E<u}else{var L=A.getCurrentContent().getBlockMap().keySeq().skipUntil(function(T){return T===s||T===i}).first();D=L===i}return f.merge({anchorKey:s,anchorOffset:C,focusKey:i,focusOffset:l,isBackward:D})}z.exports=v},96629:function(z,P,o){"use strict";var x=o(98056);function b(v){var A=v.getS
|
||
|
`,w.getInlineStyleAt(I.getStartOffset()),null),l.EditorState.push(F,T,"insert-fragment")}function r(F){var y=l.Modifier.splitBlock(F.getCurrentContent(),F.getSelection());return a(l.EditorState.push(F,y,"split-block"))}function u(F){var y=F.getCurrentContent().getBlockMap().toList(),L=F.getSelection().merge({anchorKey:y.first().get("key"),anchorOffset:0,focusKey:y.last().get("key"),focusOffset:y.last().getLength()}),T=l.Modifier.removeRange(F.getCurrentContent(),L,"forward");return l.EditorState.push(F,T,"remove-range")}function E(F,y){var L=l.Modifier.setBlockData(F.getCurrentContent(),F.getSelection(),y);return l.EditorState.push(F,L,"change-block-data")}function C(F){var y=new g.Map({}),L=S(F);if(L&&L.size>0)for(var T=0;T<L.size;T+=1){var I=function(w){var H=L.get(w).getData();if(!H||H.size===0)return y=y.clear(),"break";if(w===0)y=H;else if(y.forEach(function(j,U){H.get(U)&&H.get(U)===j||(y=y.delete(U))}),y.size===0)return y=y.clear(),"break"}(T);if(I==="break")break}return y}Object.defineProperty(A,"__esModule",{value:!0}),A.blockRenderMap=void 0,A.getSelectedBlocksMap=B,A.getSelectedBlocksList=S,A.getSelectedBlock=d,A.getBlockBeforeSelectedBlock=f,A.getAllBlocks=h,A.getSelectedBlocksType=s,A.removeSelectedBlocksStyle=a,A.getSelectionText=c,A.addLineBreakRemovingSelection=i,A.insertNewUnstyledBlock=r,A.clearEditorContent=u,A.setBlockData=E,A.getSelectedBlocksMetadata=C;var l=p(0),g=p(6),D=(0,g.Map)({code:{element:"pre"}});A.blockRenderMap=l.DefaultDraftBlockRenderMap.merge(D)},function(v,A,p){"use strict";function B(s){if(s){var a=s.getType();return a==="unordered-list-item"||a==="ordered-list-item"}return!1}function S(s,a,c){var i=s.getSelection(),r=s.getCurrentContent(),u=r.getBlockMap(),E=(0,h.getSelectedBlocksMap)(s).map(function(C){var l=C.getDepth()+a;return l=Math.max(0,Math.min(l,c)),C.set("depth",l)});return u=u.merge(E),r.merge({blockMap:u,selectionBefore:i,selectionAfter:i})}function d(s,a,c){var i=s.getSelection(),r=void 0;r=i.getIsBackward()?i.getFocusKey():i.getAnchorKey();var u=s.getCurrentContent(),E=u.getBlockForKey(r),C=E.getType();if(C!=="unordered-list-item"&&C!=="ordered-list-item")return s;var l=u.getBlockBefore(r);if(!l||l.getType()!==C)return s;var g=E.getDepth();if(a===1&&g===c)return s;var D=Math.min(l.getDepth()+1,c),F=S(s,a,D);return f.EditorState.push(s,F,"adjust-depth")}Object.defineProperty(A,"__esModule",{value:!0}),A.isListBlock=B,A.changeDepth=d;var f=p(0),h=p(1)},function(v,A,p){v.exports=p(4)},function(v,A,p){"use strict";var B=p(5),S=p(1),d=p(7),f=function(s){return s&&s.__esModule?s:{default:s}}(d),h=p(2);v.exports={getSelectedBlocksMap:S.getSelectedBlocksMap,getSelectedBlocksList:S.getSelectedBlocksList,getSelectedBlock:S.getSelectedBlock,getBlockBeforeSelectedBlock:S.getBlockBeforeSelectedBlock,getAllBlocks:S.getAllBlocks,getSelectedBlocksType:S.getSelectedBlocksType,removeSelectedBlocksStyle:S.removeSelectedBlocksStyle,getSelectionText:S.getSelectionText,addLineBreakRemovingSelection:S.addLineBreakRemovingSelection,insertNewUnstyledBlock:S.insertNewUnstyledBlock,clearEditorContent:S.clearEditorContent,setBlockData:S.setBlockData,getSelectedBlocksMetadata:S.getSelectedBlocksMetadata,blockRenderMap:S.blockRenderMap,getEntityRange:B.getEntityRange,getCustomStyleMap:B.getCustomStyleMap,toggleCustomInlineStyle:B.toggleCustomInlineStyle,getSelectionEntity:B.getSelectionEntity,extractInlineStyle:B.extractInlineStyle,removeAllInlineStyles:B.removeAllInlineStyles,getSelectionInlineStyle:B.getSelectionInlineStyle,getSelectionCustomInlineStyle:B.getSelectionCustomInlineStyle,handleNewLine:f.default,isListBlock:h.isListBlock,changeDepth:h.changeDepth}},function(v,A,p){"use strict";function B(F,y,L){return y in F?Object.defineProperty(F,y,{value:L,enumerable:!0,configurable:!0,writable:!0}):F[y]=L,F}function S(F){var y=F.getSelection();if(y.isCollapsed()){var L={},T=F.getCurrentInlineStyle().toList().toJS();if(T)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(U){L[U]=T.indexOf(U)>=0}),L}var I=y.getStartOffset(),w=y.getEndOffset(),H=(0
|
||
|
`,"g"),B=`
|
||
|
`,S={"text/rtf":1,"text/html":1};function d(h){if(h.kind=="file")return h.getAsFile()}var f=function(){function h(s){x(this,h),this.data=s,this.types=s.types?v(s.types):[]}return h.prototype.isRichText=function(){return this.getHTML()&&this.getText()?!0:this.isImage()?!1:this.types.some(function(a){return S[a]})},h.prototype.getText=function(){var a;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(a=this.data.getData("text/plain")):a=this.data.getData("Text")),a?a.replace(p,B):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(a){return a.indexOf("Url")!=-1||a.indexOf("text/uri-list")!=-1||a.indexOf("text/x-moz-url")})},h.prototype.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var a=this.data.getData("text/x-moz-url").split(`
|
||
|
`);return a[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},h.prototype.isImage=function(){var a=this.types.some(function(u){return u.indexOf("application/x-moz-file")!=-1});if(a)return!0;for(var c=this.getFiles(),i=0;i<c.length;i++){var r=c[i].type;if(!b.isImage(r))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(d).filter(A.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},h.prototype.hasFiles=function(){return this.getFiles().length>0},h}();z.exports=f},25399:function(z){"use strict";z.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}},51006:function(z){"use strict";var P={isImage:function(b){return o(b)[0]==="image"},isJpeg:function(b){var v=o(b);return P.isImage(b)&&(v[1]==="jpeg"||v[1]==="pjpeg")}};function o(x){return x.split("/")}z.exports=P},65994:function(z){"use strict";function P(x,b){return!!b&&(x===b.documentElement||x===b.body)}var o={getTop:function(b){var v=b.ownerDocument;return P(b,v)?v.body.scrollTop||v.documentElement.scrollTop:b.scrollTop},setTop:function(b,v){var A=b.ownerDocument;P(b,A)?A.body.scrollTop=A.documentElement.scrollTop=v:b.scrollTop=v},getLeft:function(b){var v=b.ownerDocument;return P(b,v)?v.body.scrollLeft||v.documentElement.scrollLeft:b.scrollLeft},setLeft:function(b,v){var A=b.ownerDocument;P(b,A)?A.body.scrollLeft=A.documentElement.scrollLeft=v:b.scrollLeft=v}};z.exports=o},19051:function(z,P,o){"use strict";var x=o(85466);function b(A,p){var B=v.get(A,p);return B==="auto"||B==="scroll"}var v={get:x,getScrollParent:function(p){if(!p)return null;for(var B=p.ownerDocument;p&&p!==B.body;){if(b(p,"overflow")||b(p,"overflowY")||b(p,"overflowX"))return p;p=p.parentNode}return B.defaultView||B.parentWindow}};z.exports=v},65724:function(z){"use strict";var P=`[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;\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]`;z.exports={getPunctuation:function(){return P}}},61425:function(z){"use strict";function P(x,b){if(!(x instanceof b))throw new TypeError("Cannot call a class as a function")}var o=function(){function x(b){P(this,x),this._uri=b}return x.prototype.toString=function(){return this._uri},x}();z.exports=o},54191:function(z,P,o){"use strict";var x=o(16633),b=o(73759),v={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-\u
|
||
|
* react-dom-server.browser.production.min.js
|
||
|
*
|
||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/var x=o(27418),b=o(67294);function v(N){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+N,Z=1;Z<arguments.length;Z++)_+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+N+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var A=60106,p=60107,B=60108,S=60114,d=60109,f=60110,h=60112,s=60113,a=60120,c=60115,i=60116,r=60121,u=60117,E=60119,C=60129,l=60131;if(typeof Symbol=="function"&&Symbol.for){var g=Symbol.for;A=g("react.portal"),p=g("react.fragment"),B=g("react.strict_mode"),S=g("react.profiler"),d=g("react.provider"),f=g("react.context"),h=g("react.forward_ref"),s=g("react.suspense"),a=g("react.suspense_list"),c=g("react.memo"),i=g("react.lazy"),r=g("react.block"),u=g("react.fundamental"),E=g("react.scope"),C=g("react.debug_trace_mode"),l=g("react.legacy_hidden")}function D(N){if(N==null)return null;if(typeof N=="function")return N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case p:return"Fragment";case A:return"Portal";case S:return"Profiler";case B:return"StrictMode";case s:return"Suspense";case a:return"SuspenseList"}if(typeof N=="object")switch(N.$$typeof){case f:return(N.displayName||"Context")+".Consumer";case d:return(N._context.displayName||"Context")+".Provider";case h:var _=N.render;return _=_.displayName||_.name||"",N.displayName||(_!==""?"ForwardRef("+_+")":"ForwardRef");case c:return D(N.type);case r:return D(N._render);case i:_=N._payload,N=N._init;try{return D(N(_))}catch(Z){}}return null}var F=b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y={};function L(N,_){for(var Z=N._threadCount|0;Z<=_;Z++)N[Z]=N._currentValue2,N._threadCount=Z+1}function T(N,_,Z,fe){if(fe&&(fe=N.contextType,typeof fe=="object"&&fe!==null))return L(fe,Z),fe[Z];if(N=N.contextTypes){Z={};for(var xe in N)Z[xe]=_[xe];_=Z}else _=y;return _}for(var I=new Uint16Array(16),w=0;15>w;w++)I[w]=w+1;I[15]=0;var H=/^[: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]*$/,j=Object.prototype.hasOwnProperty,U={},O={};function re(N){return j.call(O,N)?!0:j.call(U,N)?!1:H.test(N)?O[N]=!0:(U[N]=!0,!1)}function Q(N,_,Z,fe){if(Z!==null&&Z.type===0)return!1;switch(typeof _){case"function":case"symbol":return!0;case"boolean":return fe?!1:Z!==null?!Z.acceptsBooleans:(N=N.toLowerCase().slice(0,5),N!=="data-"&&N!=="aria-");default:return!1}}function ue(N,_,Z,fe){if(_===null||typeof _=="undefined"||Q(N,_,Z,fe))return!0;if(fe)return!1;if(Z!==null)switch(Z.type){case 3:return!_;case 4:return _===!1;case 5:return isNaN(_);case 6:return isNaN(_)||1>_}return!1}function Se(N,_,Z,fe,xe,Ce,Ee){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=fe,this.attributeNamespace=xe,this.mustUseProperty=Z,this.propertyName=N,this.type=_,this.sanitizeURL=Ce,this.removeEmptyString=Ee}var ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(N){ye[N]=new Se(N,0,!1,N,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(N){var _=N[0];ye[_]=new Se(_,1,!1,N[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(N){ye[N]=new Se(N,2,!1,N.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(N){ye[N]=new Se(N,2,!1,N,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(N){ye[N]=new Se(N,3,!1,N.toLowerCase(),null,!1,!1)}),["checked","m
|
||
|
`&&(et+=`
|
||
|
`),et+=ge):Ee=ft(Ee.children),Z=Z.type,xe=xe==null||xe==="http://www.w3.org/1999/xhtml"?Ie(Z):xe==="http://www.w3.org/2000/svg"&&Z==="foreignObject"?"http://www.w3.org/1999/xhtml":xe,this.stack.push({domNamespace:xe,type:Ce,children:Ee,childIndex:0,context:fe,footer:we}),this.previousWasTextNode=!1,et},N}();P.renderToNodeStream=function(){throw Error(v(207))},P.renderToStaticMarkup=function(N,_){N=new ae(N,!0,_);try{return N.read(Infinity)}finally{N.destroy()}},P.renderToStaticNodeStream=function(){throw Error(v(208))},P.renderToString=function(N,_){N=new ae(N,!1,_);try{return N.read(Infinity)}finally{N.destroy()}},P.version="17.0.2"},97762:function(z,P,o){"use strict";z.exports=o(38698)},24889:function(z,P,o){var x=o(34155);(function(b,v){"use strict";if(b.setImmediate)return;var A=1,p={},B=!1,S=b.document,d;function f(g){typeof g!="function"&&(g=new Function(""+g));for(var D=new Array(arguments.length-1),F=0;F<D.length;F++)D[F]=arguments[F+1];var y={callback:g,args:D};return p[A]=y,d(A),A++}function h(g){delete p[g]}function s(g){var D=g.callback,F=g.args;switch(F.length){case 0:D();break;case 1:D(F[0]);break;case 2:D(F[0],F[1]);break;case 3:D(F[0],F[1],F[2]);break;default:D.apply(v,F);break}}function a(g){if(B)setTimeout(a,0,g);else{var D=p[g];if(D){B=!0;try{s(D)}finally{h(g),B=!1}}}}function c(){d=function(g){x.nextTick(function(){a(g)})}}function i(){if(b.postMessage&&!b.importScripts){var g=!0,D=b.onmessage;return b.onmessage=function(){g=!1},b.postMessage("","*"),b.onmessage=D,g}}function r(){var g="setImmediate$"+Math.random()+"$",D=function(F){F.source===b&&typeof F.data=="string"&&F.data.indexOf(g)===0&&a(+F.data.slice(g.length))};b.addEventListener?b.addEventListener("message",D,!1):b.attachEvent("onmessage",D),d=function(F){b.postMessage(g+F,"*")}}function u(){var g=new MessageChannel;g.port1.onmessage=function(D){var F=D.data;a(F)},d=function(D){g.port2.postMessage(D)}}function E(){var g=S.documentElement;d=function(D){var F=S.createElement("script");F.onreadystatechange=function(){a(D),F.onreadystatechange=null,g.removeChild(F),F=null},g.appendChild(F)}}function C(){d=function(g){setTimeout(a,0,g)}}var l=Object.getPrototypeOf&&Object.getPrototypeOf(b);l=l&&l.setTimeout?l:b,{}.toString.call(b.process)==="[object process]"?c():i()?r():b.MessageChannel?u():S&&"onreadystatechange"in S.createElement("script")?E():C(),l.setImmediate=f,l.clearImmediate=h})(typeof self=="undefined"?typeof o.g=="undefined"?this:o.g:self)},42238:function(z,P,o){var x;(function(b,v){"use strict";var A="0.7.34",p="",B="?",S="function",d="undefined",f="object",h="string",s="major",a="model",c="name",i="type",r="vendor",u="version",E="architecture",C="console",l="mobile",g="tablet",D="smarttv",F="wearable",y="embedded",L=350,T="Amazon",I="Apple",w="ASUS",H="BlackBerry",j="Browser",U="Chrome",O="Edge",re="Firefox",Q="Google",ue="Huawei",Se="LG",ye="Microsoft",V="Motorola",Be="Opera",ze="Samsung",Le="Sharp",Ue="Sony",ot="Viera",at="Xiaomi",_e="Zebra",Ze="Facebook",Te="Chromium OS",Ge="Mac OS",Ye=function(ve,Fe){var Ie={};for(var Me in ve)Fe[Me]&&Fe[Me].length%2==0?Ie[Me]=Fe[Me].concat(ve[Me]):Ie[Me]=ve[Me];return Ie},ut=function(ve){for(var Fe={},Ie=0;Ie<ve.length;Ie++)Fe[ve[Ie].toUpperCase()]=ve[Ie];return Fe},bt=function(ve,Fe){return typeof ve===h?nt(Fe).indexOf(nt(ve))!==-1:!1},nt=function(ve){return ve.toLowerCase()},be=function(ve){return typeof ve===h?ve.replace(/[^\d\.]/g,p).split(".")[0]:v},Xe=function(ve,Fe){if(typeof ve===h)return ve=ve.replace(/^\s\s*/,p),typeof Fe===d?ve:ve.substring(0,L)},Et=function(ve,Fe){for(var Ie=0,Me,We,lt,me,it,qe;Ie<Fe.length&&!it;){var ft=Fe[Ie],dt=Fe[Ie+1];for(Me=We=0;Me<ft.length&&!it&&ft[Me];)if(it=ft[Me++].exec(ve),it)for(lt=0;lt<dt.length;lt++)qe=it[++We],me=dt[lt],typeof me===f&&me.length>0?me.length===2?typeof me[1]==S?this[me[0]]=me[1].call(this,qe):this[me[0]]=me[1]:me.length===3?typeof me[1]===S&&!(me[1].exec&&me[1].test)?this[me[0]]=qe?me[1].call(this,qe,me[2]):v:this[me[0]]=qe?qe.replace(me[1],me[2]):v:me.length===4&&(this[me[0]]=qe?me[3].call(this,qe.replace(me[1],me[2])):v):this[me]=qe
|