18 lines
502 KiB
JavaScript
18 lines
502 KiB
JavaScript
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["lformdesign"]=e():t["lformdesign"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"014b":function(t,e,n){"use strict";var a=n("e53d"),r=n("07e3"),i=n("8e60"),o=n("63b6"),l=n("9138"),s=n("ebfd").KEY,c=n("294c"),u=n("dbdb"),d=n("45f2"),f=n("62a0"),p=n("5168"),h=n("ccb9"),m=n("6718"),b=n("47ee"),v=n("9003"),y=n("e4ae"),g=n("f772"),_=n("241e"),w=n("36c3"),x=n("1bc3"),O=n("aebd"),k=n("a159"),C=n("0395"),E=n("bf0b"),$=n("9aa9"),S=n("d9f6"),T=n("c3a1"),j=E.f,P=S.f,A=C.f,N=a.Symbol,L=a.JSON,D=L&&L.stringify,I="prototype",q=p("_hidden"),R=p("toPrimitive"),M={}.propertyIsEnumerable,B=u("symbol-registry"),F=u("symbols"),K=u("op-symbols"),U=Object[I],V="function"==typeof N&&!!$.f,W=a.QObject,z=!W||!W[I]||!W[I].findChild,H=i&&c((function(){return 7!=k(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(t,e,n){var a=j(U,e);a&&delete U[e],P(t,e,n),a&&t!==U&&P(U,e,a)}:P,G=function(t){var e=F[t]=k(N[I]);return e._k=t,e},Y=V&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},Z=function(t,e,n){return t===U&&Z(K,e,n),y(t),e=x(e,!0),y(n),r(F,e)?(n.enumerable?(r(t,q)&&t[q][e]&&(t[q][e]=!1),n=k(n,{enumerable:O(0,!1)})):(r(t,q)||P(t,q,O(1,{})),t[q][e]=!0),H(t,e,n)):P(t,e,n)},X=function(t,e){y(t);var n,a=b(e=w(e)),r=0,i=a.length;while(i>r)Z(t,n=a[r++],e[n]);return t},Q=function(t,e){return void 0===e?k(t):X(k(t),e)},J=function(t){var e=M.call(this,t=x(t,!0));return!(this===U&&r(F,t)&&!r(K,t))&&(!(e||!r(this,t)||!r(F,t)||r(this,q)&&this[q][t])||e)},tt=function(t,e){if(t=w(t),e=x(e,!0),t!==U||!r(F,e)||r(K,e)){var n=j(t,e);return!n||!r(F,e)||r(t,q)&&t[q][e]||(n.enumerable=!0),n}},et=function(t){var e,n=A(w(t)),a=[],i=0;while(n.length>i)r(F,e=n[i++])||e==q||e==s||a.push(e);return a},nt=function(t){var e,n=t===U,a=A(n?K:w(t)),i=[],o=0;while(a.length>o)!r(F,e=a[o++])||n&&!r(U,e)||i.push(F[e]);return i};V||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(K,n),r(this,q)&&r(this[q],t)&&(this[q][t]=!1),H(this,t,O(1,n))};return i&&z&&H(U,t,{configurable:!0,set:e}),G(t)},l(N[I],"toString",(function(){return this._k})),E.f=tt,S.f=Z,n("6abf").f=C.f=et,n("355d").f=J,$.f=nt,i&&!n("b8e3")&&l(U,"propertyIsEnumerable",J,!0),h.f=function(t){return G(p(t))}),o(o.G+o.W+o.F*!V,{Symbol:N});for(var at="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;at.length>rt;)p(at[rt++]);for(var it=T(p.store),ot=0;it.length>ot;)m(it[ot++]);o(o.S+o.F*!V,"Symbol",{for:function(t){return r(B,t+="")?B[t]:B[t]=N(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),o(o.S+o.F*!V,"Object",{create:Q,defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var lt=c((function(){$.f(1)}));o(o.S+o.F*lt,"Object",{getOwnPropertySymbols:function(t){return $.f(_(t))}}),L&&o(o.S+o.F*(!V||c((function(){var t=N();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))}))),"JSON",{stringify:function(t){var e,n,a=[t],r=1;while(arguments.length>r)a.push(arguments[r++]);if(n=e=a[1],(g(e)||void 0!==t)&&!Y(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),a[1]=e,D.apply(L,a)}}),N[I][R]||n("35e8")(N[I],R,N[I].valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(a.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var a=n("2d00"),r=n("5ca1"),i=n("2aba"),o=n("32e9"),l=n("84f2"),s=n("41a0"),c=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),f=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",m="values",b=function(){return this};t.exports=function(t,e,n,v,y,g,_){s(n,e,v);var w,x,O,k=function(t){if(!f&&t in S)return S[t];switch(t){case h:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",E=y==m,$=!1,S=t.prototype,T=S[d]||S[p]||y&&S[y],j=T||k(y),P=y?E?k("entries"):j:void 0,A="Array"==e&&S.entries||T;if(A&&(O=u(A.call(new t)),O!==Object.prototype&&O.next&&(c(O,C,!0),a||"function"==typeof O[d]||o(O,d,b))),E&&T&&T.name!==m&&($=!0,j=function(){return T.call(this)}),a&&!_||!f&&!$&&S[d]||o(S,d,j),l[e]=j,l[C]=b,y)if(w={values:E?j:k(m),keys:g?j:k(h),entries:P},_)for(x in w)x in S||i(S,x,w[x]);else r(r.P+r.F*(f||$),e,w);return w}},"0256":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myOptions},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-divider",[t._v(t._s(t.$t("选项")))]),n("div",{staticStyle:{"text-align":"center","margin-bottom":"16px"}},[n("el-radio-group",{attrs:{size:"mini"},on:{change:t.handleDataTypeChange},model:{value:t.data.dataType,callback:function(e){t.$set(t.data,"dataType",e)},expression:"data.dataType"}},[n("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("静态数据")))]),n("el-radio-button",{attrs:{label:"2"}},[t._v(t._s(t.$t("数据字典")))]),n("el-radio-button",{attrs:{label:"3"}},[t._v(t._s(t.$t("数据源")))])],1)],1),1==t.data.dataType?n("div",[n("draggable",{attrs:{list:t.data.options,group:{name:"dic"},"ghost-class":"set-item-ghost",handle:".drag-item"}},t._l(t.data.options,(function(e,a){return n("div",{key:a,staticClass:"set-item"},[n("i",{staticClass:"drag-item el-icon-rank"}),n("el-input",{staticStyle:{width:"49%","margin-right":"2%"},attrs:{size:"mini",placeholder:t.$t("选项名")},model:{value:e.label,callback:function(n){t.$set(e,"label",n)},expression:"item.label"}}),n("el-input",{staticStyle:{width:"49%"},attrs:{size:"mini",placeholder:t.$t("选项值")},model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"item.value"}}),t.data.options.length>1?n("el-button",{staticClass:"delete-item",staticStyle:{padding:"4px"},attrs:{circle:"",plain:"",type:"danger",size:"mini",icon:"el-icon-minus"},on:{click:function(e){return t.handleRemoveDatas(a)}}}):t._e()],1)})),0),n("div",{staticStyle:{"padding-left":"22px"}},[n("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-circle-plus-outline"},on:{click:t.handleAddDatas}},[t._v(t._s(t.$t("添加选项卡")))])],1)],1):2==t.data.dataType?n("div",[n("l-tree-select",{attrs:{options:t.dataItemClassifysTree,placeholder:t.$t("请选择"),size:"mini",parent:!1},on:{change:t.handleDataItemChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1):n("div",[n("el-form-item",{attrs:{label:t.$t("数据源")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.dataSource,labelKey:"f_Name",valueKey:"f_Code"},on:{change:t.handleDataSourceChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1),n("el-form-item",{attrs:{label:t.$t("值")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataValueKey,callback:function(e){t.$set(t.data,"dataValueKey",e)},expression:"data.dataValueKey"}})],1),n("el-form-item",{attrs:{label:t.$t("标签")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataLabelKey,callback:function(e){t.$set(t.data,"dataLabelKey",e)},expression:"data.dataLabelKey"}})],1),n("el-form-item",{attrs:{label:t.$t("上一级")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.componentOptions},model:{value:t.data.upCtrl,callback:function(e){t.$set(t.data,"upCtrl",e)},expression:"data.upCtrl"}})],1)],1),n("el-divider"),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i=n("7a14"),o={name:"config-select",mixins:[Object(i["a"])()],inject:["formDesign"],props:["data"],data:function(){return{}},created:function(){this.lr_loadDataItemClassifys&&this.lr_loadDataItemClassifys(),this.lr_loadDataSourceList&&this.lr_loadDataSourceList(),this.loadDataSourceCol()},computed:{dataItemClassifysTree:function(){return this.lr_dataItemClassifysTree?this.lr_dataItemClassifysTree:[]},dataSource:function(){return this.lr_dataSource?this.lr_dataSource:[]}},methods:{handleDataTypeChange:function(){this.data.dataCode="",this.data.dataValueKey="",this.data.dataLabelKey="",this.data.default=""},handleAddDatas:function(){this.data.options.push({label:"选项"+(this.data.options.length+1),value:this.data.options.length+1})},handleRemoveDatas:function(t){this.data.default==this.data.options[t].value&&(this.data.default=""),this.data.options.splice(t,1)},handleDataItemChange:function(){this.data.default="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataItem&&this.lr_loadDataItem(this.data.dataCode)},handleDataSourceChange:function(){this.data.default="",this.data.dataValueKey="",this.data.dataLabelKey="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataSourceColNames&&(this.lr_loadDataSourceColNames(this.data.dataCode),this.lr_loadDataSourceData(this.data.dataCode))},handleDataSourceKeyLabelChange:function(){this.data.default=""}}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["default"]=c.exports},"02f4":function(t,e,n){var a=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var i,o,l=String(r(e)),s=a(n),c=l.length;return s<0||s>=c?t?"":void 0:(i=l.charCodeAt(s),i<55296||i>56319||s+1===c||(o=l.charCodeAt(s+1))<56320||o>57343?t?l.charAt(s):i:t?l.slice(s,s+2):o-56320+(i-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var a=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?a(t,e).length:1)}},"0395":function(t,e,n){var a=n("36c3"),r=n("6abf").f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(t){try{return r(t)}catch(e){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==i.call(t)?l(t):r(a(t))}},"03dc":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-tree-select",{key:t.data.key,attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myOptions},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-divider",[t._v(t._s(t.$t("选项")))]),n("div",{staticStyle:{"text-align":"center","margin-bottom":"16px"}},[n("el-radio-group",{attrs:{size:"mini"},on:{change:t.handleDataTypeChange},model:{value:t.data.dataType,callback:function(e){t.$set(t.data,"dataType",e)},expression:"data.dataType"}},[n("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("静态数据")))]),n("el-radio-button",{attrs:{label:"2"}},[t._v(t._s(t.$t("数据字典")))]),n("el-radio-button",{attrs:{label:"3"}},[t._v(t._s(t.$t("数据源")))])],1)],1),1==t.data.dataType?n("div",[n("el-tree",{ref:"tree",attrs:{data:t.data.options,"default-expand-all":"",draggable:"","node-key":"value","expand-on-click-node":!1},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.node,r=e.data;return n("span",{staticClass:"custom-tree-node"},[n("span",[t._v(t._s(a.label))]),n("span",[n("el-button",{attrs:{type:"text",size:"mini",icon:"el-icon-plus"},on:{click:function(e){return t.handleNodeAdd(r)}}}),n("el-button",{staticClass:"danger",attrs:{type:"text",size:"mini",icon:"el-icon-delete"},on:{click:function(e){return t.handleNodeRemove(a,r)}}})],1)])}}],null,!1,2832353477)}),n("div",{staticStyle:{"margin-left":"22px"}},[n("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-circle-plus-outline"},on:{click:t.handleParentNodeAdd}},[t._v(t._s(t.$t("添加父级")))])],1)],1):2==t.data.dataType?n("div",[n("l-tree-select",{attrs:{options:t.dataItemClassifysTree,placeholder:t.$t("请选择"),size:"mini",parent:!1},on:{change:t.handleDataItemChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1):n("div",[n("el-form-item",{attrs:{label:t.$t("数据源")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.dataSource,labelKey:"f_Name",valueKey:"f_Code"},on:{change:t.handleDataSourceChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1),n("el-form-item",{attrs:{label:t.$t("值字段")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataValueKey,callback:function(e){t.$set(t.data,"dataValueKey",e)},expression:"data.dataValueKey"}})],1),n("el-form-item",{attrs:{label:t.$t("名字段")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataLabelKey,callback:function(e){t.$set(t.data,"dataLabelKey",e)},expression:"data.dataLabelKey"}})],1),n("el-form-item",{attrs:{label:"id"+t.$t("字段")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataIdKey,callback:function(e){t.$set(t.data,"dataIdKey",e)},expression:"data.dataIdKey"}})],1),n("el-form-item",{attrs:{label:"pid"+t.$t("字段")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataPIdKey,callback:function(e){t.$set(t.data,"dataPIdKey",e)},expression:"data.dataPIdKey"}})],1),n("el-form-item",{attrs:{label:t.$t("上一级")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.componentOptions},model:{value:t.data.upCtrl,callback:function(e){t.$set(t.data,"upCtrl",e)},expression:"data.upCtrl"}})],1)],1),n("el-divider"),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1),n("l-dialog",{attrs:{title:t.dialogTitle,visible:t.dialogVisible,height:200},on:{"update:visible":function(e){t.dialogVisible=e},close:t.closeDialog,ok:t.handleDialogAdd}},[n("div",{staticClass:"l-from-body"},[n("el-form",{ref:"dialogForm",attrs:{model:t.dialogForm,size:"mini",rules:t.dialogRules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:t.$t("选项名"),prop:"label"}},[n("el-input",{model:{value:t.dialogForm.label,callback:function(e){t.$set(t.dialogForm,"label",e)},expression:"dialogForm.label"}})],1),n("el-form-item",{attrs:{label:t.$t("选项值"),prop:"value"}},[n("el-input",{model:{value:t.dialogForm.value,callback:function(e){t.$set(t.dialogForm,"value",e)},expression:"dialogForm.value"}})],1)],1)],1)])],1)},r=[],i=(n("c5f6"),n("20d6"),n("7a14")),o={name:"config-treeselect",mixins:[Object(i["a"])()],inject:["formDesign"],props:["data"],data:function(){return{dialogTitle:this.$t("添加选项"),dialogVisible:!1,dialogForm:{},dialogRules:{label:{required:!0,message:this.$t("请输入"),trigger:"null"},value:{required:!0,message:this.$t("请输入"),trigger:"null"}},pData:void 0}},created:function(){this.lr_loadDataItemClassifys&&this.lr_loadDataItemClassifys(),this.lr_loadDataSourceList&&this.lr_loadDataSourceList(),this.loadDataSourceCol()},computed:{dataItemClassifysTree:function(){return this.lr_dataItemClassifysTree?this.lr_dataItemClassifysTree:[]},dataSource:function(){return this.lr_dataSource?this.lr_dataSource:[]}},methods:{handleDataTypeChange:function(){this.data.default="",this.data.dataIdKey="",this.data.dataPIdKey="",this.data.dataCode="",this.data.dataValueKey="",this.data.dataLabelKey=""},handleParentNodeAdd:function(){this.pData=void 0,this.dialogTitle=this.$t("添加父级选项"),this.dialogVisible=!0},handleNodeAdd:function(t){this.pData=t,this.dialogTitle="".concat(this.$t("添加"),"【").concat(t.label,"】").concat(this.$t("子选项")),this.dialogVisible=!0},handleNodeRemove:function(t,e){this.data.default="";var n=t.parent,a=n.data.children||n.data,r=a.findIndex((function(t){return t.id===e.id}));a.splice(r,1)},handleDialogAdd:function(){var t=this;this.$refs.dialogForm.validate((function(e){if(e){var n=t.dialogForm,a=n.label,r=n.value,i=t.$refs.tree.getNode(r);if(i)t.$message.error(t.$t("选项值重复"));else{var o=t.pData,l={label:a,value:"number"==t.dialogInputType?Number(r):r};o?(o.children||t.$set(o,"children",[]),o.children.push(l)):t.$set(t.data.options,t.data.options.length,l),t.dialogVisible=!1}}}))},closeDialog:function(){this.$refs.dialogForm.clearValidate(),this.dialogForm={}},handleDataItemChange:function(){this.data.default="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataItem&&this.lr_loadDataItem(this.data.dataCode)},handleDataSourceChange:function(){this.data.default="",this.data.dataValueKey="",this.data.dataLabelKey="",this.data.dataIdKey="",this.data.dataPIdKey="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataSourceColNames&&(this.lr_loadDataSourceData(this.data.dataCode),this.lr_loadDataSourceColNames(this.data.dataCode))},handleDataSourceKeyLabelChange:function(){this.data.default=""}}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["default"]=c.exports},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"09ee":function(t,e,n){"use strict";n("0d7d")},"0a49":function(t,e,n){var a=n("9b43"),r=n("626a"),i=n("4bf8"),o=n("9def"),l=n("cd1c");t.exports=function(t,e){var n=1==t,s=2==t,c=3==t,u=4==t,d=6==t,f=5==t||d,p=e||l;return function(e,l,h){for(var m,b,v=i(e),y=r(v),g=a(l,h,3),_=o(y.length),w=0,x=n?p(e,_):s?p(e,0):void 0;_>w;w++)if((f||w in y)&&(m=y[w],b=g(m,w,v),t))if(n)x[w]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(u)return!1;return d?-1:c||u?u:x}}},"0bfb":function(t,e,n){"use strict";var a=n("cb7c");t.exports=function(){var t=a(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var a=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return a(t,r)}},"0d7d":function(t,e,n){},"0e8a":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-config-container"},[n("el-form",{attrs:{"label-position":"left","label-width":"80px",size:"mini"}},[n("el-form-item",{attrs:{label:t.$t("表单尺寸")}},[n("el-radio-group",{model:{value:t.formInfo.size,callback:function(e){t.$set(t.formInfo,"size",e)},expression:"formInfo.size"}},[n("el-radio-button",{attrs:{label:"medium"}},[t._v(t._s(t.$t("中等")))]),n("el-radio-button",{attrs:{label:"small"}},[t._v(t._s(t.$t("较小")))]),n("el-radio-button",{attrs:{label:"mini"}},[t._v(t._s(t.$t("迷你")))])],1)],1),n("el-form-item",{attrs:{label:t.$t("标签对齐")}},[n("el-radio-group",{model:{value:t.formInfo.labelPosition,callback:function(e){t.$set(t.formInfo,"labelPosition",e)},expression:"formInfo.labelPosition"}},[n("el-radio-button",{attrs:{label:"right"}},[t._v(t._s(t.$t("右")))]),n("el-radio-button",{attrs:{label:"left"}},[t._v(t._s(t.$t("左")))]),n("el-radio-button",{attrs:{label:"top"}},[t._v(t._s(t.$t("顶部")))])],1)],1),n("el-form-item",{attrs:{label:t.$t("标题宽度")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入"),min:0},model:{value:t.formInfo.labelWidth,callback:function(e){t.$set(t.formInfo,"labelWidth",e)},expression:"formInfo.labelWidth"}})],1),n("el-form-item",{attrs:{label:t.$t("栅格间隔")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入"),min:0},model:{value:t.formInfo.gutter,callback:function(e){t.$set(t.formInfo,"gutter",e)},expression:"formInfo.gutter"}})],1),n("el-form-item",{attrs:{label:t.$t("打开方式")}},[n("l-select",{attrs:{options:[{value:"1",label:t.$t("弹窗")},{value:"2",label:t.$t("抽屉")}]},model:{value:t.formInfo.openType,callback:function(e){t.$set(t.formInfo,"openType",e)},expression:"formInfo.openType"}})],1),"1"==t.formInfo.openType?n("el-form-item",{attrs:{label:t.$t("弹窗宽度")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入"),min:0},model:{value:t.formInfo.dialogWidth,callback:function(e){t.$set(t.formInfo,"dialogWidth",e)},expression:"formInfo.dialogWidth"}})],1):t._e(),"1"==t.formInfo.openType?n("el-form-item",{attrs:{label:t.$t("弹窗高度")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入"),min:0},model:{value:t.formInfo.dialogHeight,callback:function(e){t.$set(t.formInfo,"dialogHeight",e)},expression:"formInfo.dialogHeight"}})],1):t._e(),"2"==t.formInfo.openType?n("el-form-item",{attrs:{label:t.$t("抽屉宽度")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入"),min:0},model:{value:t.formInfo.drawerWidth,callback:function(e){t.$set(t.formInfo,"drawerWidth",e)},expression:"formInfo.drawerWidth"}})],1):t._e(),n("el-form-item",{attrs:{label:t.$t("数据历史")}},[n("el-radio-group",{model:{value:t.formInfo.historyType,callback:function(e){t.$set(t.formInfo,"historyType",e)},expression:"formInfo.historyType"}},[n("el-radio-button",{attrs:{label:"0"}},[t._v(t._s(t.$t("无")))]),n("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("公用")))]),n("el-radio-button",{attrs:{label:"2"}},[t._v(t._s(t.$t("私有")))])],1)],1),n("el-divider",[t._v(t._s(t.$t("表单选项卡")))]),n("draggable",{attrs:{list:t.tabList,group:{name:"dic"},"ghost-class":"set-item-ghost",handle:".drag-item"}},t._l(t.tabList,(function(e,a){return n("div",{key:a,staticClass:"set-item"},[n("i",{staticClass:"drag-item el-icon-rank"}),n("el-input",{attrs:{size:"mini",placeholder:t.$t("选项卡名称")},model:{value:e.text,callback:function(n){t.$set(e,"text",n)},expression:"item.text"}}),t.tabList.length>1?n("el-button",{staticClass:"delete-item",staticStyle:{padding:"4px"},attrs:{circle:"",plain:"",type:"danger",size:"mini",icon:"el-icon-minus"},on:{click:function(e){return t.handleRemoveTabs(a)}}}):t._e()],1)})),0),n("div",{staticStyle:{"padding-left":"22px"}},[n("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-circle-plus-outline"},on:{click:t.handleAddTabs}},[t._v(t._s(t.$t("添加选项卡")))])],1),t.isNoScript?t._e():[n("el-divider",[t._v(t._s(t.$t("脚本")))]),n("div",{staticClass:"mt-8"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleBtnClick("beforeSetData","添加赋值前脚本")}}},[t._v("添加赋值前脚本")]),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleBtnClick("afterValidateForm","添加校验后脚本")}}},[t._v("添加校验后脚本")])],1),n("div",{staticClass:"mt-8"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleBtnClick("afterSaveEvent","添加保存后脚本")}}},[t._v("添加保存后脚本")]),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleBtnClick("changeDataEvent","添加数据改变脚本")}}},[t._v("添加数据改变脚本")])],1)]],2),n("l-dialog",{attrs:{title:t.formTitle,visible:t.formVisible,height:528,width:1e3},on:{"update:visible":function(e){t.formVisible=e},ok:t.handleCodeSave,opened:t.handleOpenedForm}},[n("l-layout",{attrs:{right:320},scopedSlots:t._u([{key:"right",fn:function(){return[n("div",{staticClass:"l-rblock",staticStyle:{padding:"8px",overflow:"auto"}},[n("el-alert",{attrs:{title:"脚本参数说明,只支持ES5语法(兼容小程序)",type:"warning",closable:!1}},[t._v(" prop:组件id; "),n("br"),t._v("data:组件改变数据; "),n("br"),t._v("rowIndex:子表行号; "),n("br"),t._v("isUpdate:表单状态,新增或更新; "),n("br"),t._v("get(path):获取数据方法, 如果想获取某一个组件值就设置path参数值为组件id, 如果是子表的一行数据值就设置子表id.行号, 如果是子表某一行某一列值就设置子表id.行号.子组件id; "),n("br"),t._v("set(path,value):设置值方法,path说明和get方法一致; "),n("br"),t._v("getLabel(prop):获取组件的显示值,prop为组件id; "),n("br"),t._v("setRequired(prop,isRequired):设置组件是否必填,prop为组件id,isRequired 默认值true,如果取消必填就设置成false "),n("br"),t._v("setDisabled(prop,isDisabled):设置组件是否只读,prop为组件id,isDisabled 默认值true,如果取消只读就设置成false "),n("br"),t._v("setHide(prop,isHide):设置组件是否隐藏,isHide 默认值true,如果取消隐藏就设置成false "),n("br"),t._v("httpGet(option):get请求方法 "),n("br"),t._v("httpPost(option):post请求方法 "),n("br"),t._v("httpDelete(option):delete请求方法 "),n("br"),t._v("httpPut(option):put请求方法 "),n("br"),t._v("option:上面四个请求方法参数描述:url:请求地址,data:提交数据(get方法不支持),params:url参数,errorTips:请求失败错误提示,callback请求回调方法 返回结果为请求数据 "),n("br"),t._v("loading:显示加载状态 "),n("br"),t._v("hideLoading:隐藏加载状态 "),n("br"),t._v("message:显示提示消息 "),n("br"),t._v("loginUser:当前登录者信息 "),n("br"),t._v("callback:回调方法,在脚本里使用了http方法后才需要使用 ")])],1)]},proxy:!0}])},[n("l-code-mirror",{attrs:{isHint:"",handleHint:t.handleHint,mode:"application/javascript"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}})],1)],1)],1)},r=[],i=(n("6d67"),n("d25f"),n("a481"),n("57e7"),{name:"form-config",components:{},inject:["formDesign"],data:function(){return{formTitle:"",formVisible:!1,code:"",type:""}},computed:{tabList:function(){return this.formDesign.formInfo.tabList},formInfo:function(){return this.formDesign.formInfo},isNoScript:function(){return this.formDesign.isNoScript}},methods:{handleAddTabs:function(){this.tabList.push({components:[],text:this.$t("新建选项卡")+this.tabList.length})},handleRemoveTabs:function(t){"tab".concat(t)==this.formDesign.formActiveName&&(this.formDesign.formActiveName="tab0"),this.tabList.splice(t,1)},handleBtnClick:function(t,e){this.type=t,this.formTitle=e,this.formVisible=!0},getEvent:function(t){return this.$validatenull(t)?{res:!0}:-1!=t.indexOf("=>")?(console.warn("当前脚本不支持ES6语法,只支持ES5语法"),{res:!1,msg:"脚本没有更新为最新的版本!"}):(t="(function(){function fn(learun) {".concat(t,"} return fn})()"),this.$getFunction(t))},handleCodeSave:function(){var t=this.getEvent(this.code),e=t.res,n=t.msg;e?(this.formInfo[this.type]=this.code,this.formVisible=!1):this.$message({type:"error",message:"".concat(this.$t("脚本错误"),":").concat(n)})},handleOpenedForm:function(){this.code=this.formInfo[this.type]},handleHint:function(t){t=t.replace(/'/g,""),t=t.replace(/"/g,"");var e=this.formDesign.nowComponentList.filter((function(e){return-1!=e.label.indexOf(t)||-1!=e.prop.indexOf(t)}));return e.map((function(t){return"/*".concat(t.label,'*/"').concat(t.prop,'"')}))}}}),o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"0fc9":function(t,e,n){var a=n("3a38"),r=Math.max,i=Math.min;t.exports=function(t,e){return t=a(t),t<0?r(t+e,0):i(t,e)}},1169:function(t,e,n){var a=n("2d95");t.exports=Array.isArray||function(t){return"Array"==a(t)}},1173:function(t,e){t.exports=function(t,e,n,a){if(!(t instanceof e)||void 0!==a&&a in t)throw TypeError(n+": incorrect invocation!");return t}},"11e9":function(t,e,n){var a=n("52a7"),r=n("4630"),i=n("6821"),o=n("6a99"),l=n("69a8"),s=n("c69a"),c=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?c:function(t,e){if(t=i(t),e=o(e,!0),s)try{return c(t,e)}catch(n){}if(l(t,e))return r(!a.f.call(t,e),t[e])}},1495:function(t,e,n){var a=n("86cc"),r=n("cb7c"),i=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,o=i(e),l=o.length,s=0;while(l>s)a.f(t,n=o[s++],e[n]);return t}},"14e1":function(t,e,n){},1557:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"component-config"},[this.data&&Object.keys(this.data).length>0?n("el-form",{attrs:{"label-width":"88px","label-position":"left",size:"mini"}},[n("el-form-item",{attrs:{label:"ID"}},[n("el-input",{attrs:{readonly:"readonly"},model:{value:t.data.prop,callback:function(e){t.$set(t.data,"prop",e)},expression:"data.prop"}})],1),t.hasTableSetting?n("el-form-item",{attrs:{label:t.$t("数据表")}},[n("el-select",{attrs:{placeholder:t.$t("请选择")},on:{change:t.handleTableChange},model:{value:t.data.table,callback:function(e){t.$set(t.data,"table",e)},expression:"data.table"}},t._l(t.dbTables,(function(t){return n("el-option",{key:t.name,attrs:{label:t.name,value:t.name}})})),1)],1):t._e(),["gridtable","divider","viewtable","card","btn"].includes(t.data.type)?t._e():n("el-form-item",{attrs:{label:t.$t("字段名")}},[n("l-select",{attrs:{options:t.getFields(t.data.table)},on:{change:t.handleFiledChange},model:{value:t.data.field,callback:function(e){t.$set(t.data,"field",e)},expression:"data.field"}})],1),["divider"].includes(t.data.type)?t._e():n("el-form-item",{attrs:{label:"btn"==t.data.type?t.$t("按钮名称"):t.$t("标题名")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.label,callback:function(e){t.$set(t.data,"label",e)},expression:"data.label"}})],1),["gridtable","divider","viewtable","card","btn"].includes(t.data.type)?t._e():n("el-form-item",{attrs:{label:t.data.subfield?t.$t("单元格宽度"):t.$t("标题宽度")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入"),min:0},model:{value:t.data.labelWidth,callback:function(e){t.$set(t.data,"labelWidth",e)},expression:"data.labelWidth"}})],1),["btn","card","gridtable","divider","texteditor","radio","timerange","datetimerange","upload","uploadimg","guid","rate","company","department","modifytime","modifyuser","createtime","createuser","viewtable"].includes(t.data.type)?t._e():n("el-form-item",{attrs:{label:t.$t("占位提示")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.placeholder,callback:function(e){t.$set(t.data,"placeholder",e)},expression:"data.placeholder"}})],1),["timerange","datetimerange"].includes(t.data.type)?n("el-form-item",{attrs:{label:t.$t("开始占位")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.startPlaceholder,callback:function(e){t.$set(t.data,"startPlaceholder",e)},expression:"data.startPlaceholder"}})],1):t._e(),["timerange","datetimerange"].includes(t.data.type)?n("el-form-item",{attrs:{label:t.$t("结束占位")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.endPlaceholder,callback:function(e){t.$set(t.data,"endPlaceholder",e)},expression:"data.endPlaceholder"}})],1):t._e(),t.data.subfield||["gridtable","texteditor","viewtable"].includes(t.data.type)?t._e():n("el-form-item",{attrs:{label:t.$t("表单栅格")}},[n("el-slider",{attrs:{step:6,min:6,max:24,"show-stops":""},model:{value:t.data.span,callback:function(e){t.$set(t.data,"span",e)},expression:"data.span"}})],1),n(t.getComponent,{tag:"component",attrs:{data:t.data}}),t.data.subfield||t.isNoScript?t._e():[["btn","radio","checkbox","select","selectMultiple","treeselect","layerselect","areaselect","companySelect","departmentSelect","userSelect","switch"].includes(t.data.type)?n("el-divider",[t._v("脚本")]):t._e(),["radio","checkbox","select","selectMultiple","treeselect","layerselect","areaselect","companySelect","departmentSelect","userSelect","switch"].includes(t.data.type)?n("div",{staticClass:"mt-8"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleBtnClick("changeCode","值改变脚本")}}},[t._v("值改变脚本")])],1):["btn"].includes(t.data.type)?n("div",{staticClass:"mt-8"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleBtnClick("clickCode","按钮点击脚本")}}},[t._v("点击脚本")])],1):t._e()]],2):n("div",{staticStyle:{width:"100%","text-align":"center","margin-top":"100%",color:"#909399"}},[t._v(" "+t._s(t.$t("请选中组件进行设置"))+"! ")]),n("l-dialog",{attrs:{title:t.$t(t.formTitle),visible:t.formVisible,height:528,width:1e3},on:{"update:visible":function(e){t.formVisible=e},ok:t.handleCodeSave,opened:t.handleOpenedForm}},[n("l-layout",{attrs:{right:320},scopedSlots:t._u([{key:"right",fn:function(){return[n("div",{staticClass:"l-rblock",staticStyle:{padding:"8px",overflow:"auto"}},[n("el-alert",{attrs:{title:"脚本参数说明,只支持ES5语法(兼容小程序)",type:"warning",closable:!1}},[t._v(" prop:组件id; "),n("br"),t._v("data:组件改变数据; "),n("br"),t._v("isUpdate:表单状态,新增或更新; "),n("br"),t._v("get(path):获取数据方法, 如果想获取某一个组件值就设置path参数值为组件id, 如果是子表的一行数据值就设置子表id.行号, 如果是子表某一行某一列值就设置子表id.行号.子组件id; "),n("br"),t._v("set(path,value):设置值方法,path说明和get方法一致; "),n("br"),t._v("getLabel(prop):获取组件的显示值,prop为组件id; "),n("br"),t._v("setRequired(prop,isRequired):设置组件是否必填,prop为组件id,isRequired 默认值true,如果取消必填就设置成false "),n("br"),t._v("setDisabled(prop,isDisabled):设置组件是否只读,prop为组件id,isDisabled 默认值true,如果取消只读就设置成false "),n("br"),t._v("setHide(prop,isHide):设置组件是否隐藏,isHide 默认值true,如果取消隐藏就设置成false "),n("br"),t._v("httpGet(option):get请求方法 "),n("br"),t._v("httpPost(option):post请求方法 "),n("br"),t._v("httpDelete(option):delete请求方法 "),n("br"),t._v("httpPut(option):put请求方法 "),n("br"),t._v("option:上面四个请求方法参数描述:url:请求地址,data:提交数据(get方法不支持),params:url参数,errorTips:请求失败错误提示,callback请求回调方法 返回结果为请求数据 "),n("br"),t._v("loading:显示加载状态 "),n("br"),t._v("hideLoading:隐藏加载状态 "),n("br"),t._v("message:显示提示消息 "),n("br"),t._v("loginUser:当前登录者信息 "),n("br"),t._v("callback:回调方法,在脚本里使用了http方法后才需要使用 ")])],1)]},proxy:!0}])},[n("l-code-mirror",{attrs:{isHint:"",handleHint:t.handleHint,mode:"application/javascript"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}})],1)],1)],1)},r=[],i=(n("1c01"),n("58b2"),n("8e6e"),n("456d"),n("a481"),n("57e7"),n("7f7f"),n("7514"),n("f3e2"),n("6762"),n("2fdb"),n("d25f"),n("bd86"));n("28a5"),n("ac6a"),n("cadf"),n("6d67");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(i["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var s=n("1588"),c={};s.keys().map((function(t){var e=t.split("/")[1].split(".")[0];"cascader"!=e&&(c["config-".concat(e)]=s(t).default)}));var u={name:"component-config",inject:["formDesign"],props:["data"],components:l({},c),computed:{config:function(){return this.data},getComponent:function(){var t="config-",e=this.data.type;return t+e},dbTables:function(){return"gridtable"==this.data.type?this.formDesign.dbTables.filter((function(t){return"chlid"==t.type})):this.formDesign.dbTables},hasTableSetting:function(){return!this.data.subfield&&!["divider","viewtable","card","btn"].includes(this.data.type)},isNoScript:function(){return this.formDesign.isNoScript}},data:function(){return{formVisible:!1,type:"",formTitle:"",code:""}},methods:{handleTableChange:function(t){"gridtable"==this.data.type&&this.data.children&&this.data.children.forEach((function(e){e.table=t}))},getFields:function(t){var e=this.formDesign.dbTables.find((function(e){return e.name==t}))||{},n=e.columns||[];return n.map((function(t){return l(l({},t),{},{value:t.name,label:t.coment?"".concat(t.name,"(").concat(t.coment,")"):t.name})}))},handleFiledChange:function(t){if(t){if(this.config.csType=t.csType,["switch"].includes(this.config.type))switch(this.config.csType){case"int":this.config.activeValue="1",this.config.inactiveValue="0",this.config.valueType="number";break;case"bool":this.config.activeValue="true",this.config.inactiveValue="false",this.config.valueType="boolean";break;default:this.config.valueType="string";break}}else this.config.csType="";t.coment&&(this.config.label=t.coment)},handleBtnClick:function(t,e){this.type=t,this.formTitle=e,this.formVisible=!0},getEvent:function(t){return this.$validatenull(t)?{res:!0}:-1!=t.indexOf("=>")?(console.warn("当前脚本不支持ES6语法,只支持ES5语法"),{res:!1,msg:"脚本没有更新为最新的版本!"}):(t="(function(){function fn(learun) {".concat(t,"} return fn})()"),this.$getFunction(t))},handleCodeSave:function(){var t=this.getEvent(this.code),e=t.res,n=t.msg;e?(this.data[this.type]=this.code,this.formVisible=!1):this.$message({type:"error",message:"脚本错误:".concat(n)})},handleOpenedForm:function(){this.code=this.data[this.type]||""},handleHint:function(t){t=t.replace(/'/g,""),t=t.replace(/"/g,"");var e=this.formDesign.nowComponentList.filter((function(e){return-1!=e.label.indexOf(t)||-1!=e.prop.indexOf(t)}));return e.map((function(t){return"/*".concat(t.label,'*/"').concat(t.prop,'"')}))}}},d=u,f=n("2877"),p=Object(f["a"])(d,a,r,!1,null,null,null);e["default"]=p.exports},"155b":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i={name:"config-modifyuser",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},1588:function(t,e,n){var a={"./areaselect.vue":"d399","./btn.vue":"7d5c","./card.vue":"1a56","./cascader.vue":"9bf8","./checkbox.vue":"9ed0","./color.vue":"6f7a","./company.vue":"1815","./companySelect.vue":"9469","./componentConfig.vue":"1557","./createtime.vue":"d808","./createuser.vue":"f25a","./datetime.vue":"4431","./datetimerange.vue":"daae","./department.vue":"cb4a","./departmentSelect.vue":"5683","./divider.vue":"342e","./encode.vue":"75c1","./formConfig.vue":"0e8a","./gridtable.vue":"aa6e","./guid.vue":"189c","./icon.vue":"5e44","./input.vue":"c49b","./layerbmap.vue":"edf8","./layerselect.vue":"835f","./modifytime.vue":"648f","./modifyuser.vue":"155b","./number.vue":"e568","./password.vue":"f251","./radio.vue":"f03c","./rate.vue":"4a11","./select.vue":"0256","./selectMultiple.vue":"c834","./slider.vue":"26b0","./switch.vue":"c7b3","./textarea.vue":"bfe4","./texteditor.vue":"30c4","./time.vue":"c523","./timerange.vue":"eb0c","./treeselect.vue":"03dc","./upload.vue":"f06f","./uploadimg.vue":"a667","./userSelect.vue":"94bc","./viewtable.vue":"ee83"};function r(t){var e=i(t);return n(e)}function i(t){if(!n.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}r.keys=function(){return Object.keys(a)},r.resolve=i,t.exports=r,r.id="1588"},1654:function(t,e,n){"use strict";var a=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=a(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1815:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i={name:"config-company",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"189c":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i={name:"config-guid",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"18d4":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",["texteditor"==t.data.type?n("l-editor",{attrs:{options:{theme:"snow",placeholder:t.$t("请输入内容...")}},model:{value:t.value2,callback:function(e){t.value2=e},expression:"value2"}}):n(t.getComponent(t.data.type),t._b({tag:"component",attrs:{placeholder:t.$t(t.data.placeholder),options:t.myOptions,size:t.data.subfield?"mini":t.data.size,activeValue:t.toValueType(t.data.valueType,t.data.activeValue),inactiveValue:t.toValueType(t.data.valueType,t.data.inactiveValue),disabled:t.disabled},on:{change:t.handleChange},scopedSlots:t._u([["input"].includes(t.data.type)&&t.data.prepend?{key:"prepend",fn:function(){return[t._v(" "+t._s(t.data.prepend)+" ")]},proxy:!0}:null,["input"].includes(t.data.type)&&t.data.append?{key:"append",fn:function(){return[t._v(" "+t._s(t.data.append)+" ")]},proxy:!0}:null],null,!0),model:{value:t.value2,callback:function(e){t.value2=e},expression:"value2"}},"component",t.data,!1),[t.data.html?n("span",{domProps:{innerHTML:t._s(t.data.html)}}):t._e()])],1)},r=[],i=(n("ac6a"),n("f3e2"),n("6762"),n("2fdb"),n("c5f6"),n("57e7"),n("7a14")),o={name:"viewer-form-item",mixins:[Object(i["a"])()],props:{value:{},data:{type:Object,default:function(){return{}}},formData:{type:Object,default:function(){return{}}},isForm:{type:Boolean,default:!1},upCtrls:{type:Object,default:function(){return{}}},isRead:{type:Boolean,default:!1}},computed:{value2:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},disabled:function(){if(this.isRead)return!0;if(this.data.subfield){var t=this.formData.abledList||[];if(this.formData.disabled&&-1==t.indexOf(this.data.prop))return!0}return this.data.disabled}},methods:{toValueType:function(t,e){if(!this.$validatenull(e)&&!this.$validatenull(t))switch(t){case"boolean":return"true"==e;case"string":return e;case"number":return Number(e)}},handleChange:function(t){var e=this;this.$nextTick((function(){["checkbox","radio","select","selectMultiple","treeselect","layerselect","companySelect","departmentSelect","userSelect"].includes(e.data.type)&&e.clearSubValue(e.data.prop),"layerbmap"==e.data.type&&(e.data.bindaddr&&(t?e.$set(e.formData,e.data.bindaddr,t.address):e.$set(e.formData,e.data.bindaddr,"")),e.data.bindaddrpoint&&(t?e.$set(e.formData,e.data.bindaddrpoint,"".concat(t.lng,",").concat(t.lat)):e.$set(e.formData,e.data.bindaddrpoint,""))),"layerselect"==e.data.type&&e.data.columns.forEach((function(n){n.valueKey&&(t?e.$set(e.formData,n.valueKey,t[n.prop]):e.$set(e.formData,n.valueKey,void 0))})),e.$emit("change",{prop:e.data.prop,obj:t})}))},clearSubValue:function(t){var e=this;this.upCtrls[t]&&this.upCtrls[t].forEach((function(t){e.$set(e.formData,t,""),e.clearSubValue(t)}))}}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["a"]=c.exports},1991:function(t,e,n){var a,r,i,o=n("9b43"),l=n("31f4"),s=n("fab2"),c=n("230e"),u=n("7726"),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,b=0,v={},y="onreadystatechange",g=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){g.call(t.data)};f&&p||(f=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return v[++b]=function(){l("function"==typeof t?t:Function(t),e)},a(b),b},p=function(t){delete v[t]},"process"==n("2d95")(d)?a=function(t){d.nextTick(o(g,t,1))}:m&&m.now?a=function(t){m.now(o(g,t,1))}:h?(r=new h,i=r.port2,r.port1.onmessage=_,a=o(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(a=function(t){u.postMessage(t+"","*")},u.addEventListener("message",_,!1)):a=y in c("script")?function(t){s.appendChild(c("script"))[y]=function(){s.removeChild(this),g.call(t)}}:function(t){setTimeout(o(g,t,1),0)}),t.exports={set:f,clear:p}},"1a56":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("显示阴影")}},[n("l-select",{attrs:{options:t.shadowOptions},model:{value:t.data.shadow,callback:function(e){t.$set(t.data,"shadow",e)},expression:"data.shadow"}})],1),n("el-form-item",{attrs:{label:t.$t("自定义类")}},[n("el-input",{model:{value:t.data.myclass,callback:function(e){t.$set(t.data,"myclass",e)},expression:"data.myclass"}})],1)],1)},r=[],i={name:"config-card",inject:["formDesign"],props:["data"],data:function(){return{shadowOptions:[{label:"总是",value:"always"},{label:"悬浮显示",value:"hover"},{label:"不显示",value:"never"}]}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"1af6":function(t,e,n){var a=n("63b6");a(a.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var a=n("f772");t.exports=function(t,e){if(!a(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!a(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!a(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!a(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"1c01":function(t,e,n){var a=n("5ca1");a(a.S+a.F*!n("9e1e"),"Object",{defineProperty:n("86cc").f})},"1c25":function(t,e,n){},"1ec9":function(t,e,n){var a=n("f772"),r=n("e53d").document,i=a(r)&&a(r.createElement);t.exports=function(t){return i?r.createElement(t):{}}},"1f66":function(t,e,n){},"1fa8":function(t,e,n){var a=n("cb7c");t.exports=function(t,e,n,r){try{return r?e(a(n)[0],n[1]):e(n)}catch(o){var i=t["return"];throw void 0!==i&&a(i.call(t)),o}}},"1fb5":function(t,e,n){"use strict";e.byteLength=u,e.toByteArray=f,e.fromByteArray=m;for(var a=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,s=o.length;l<s;++l)a[l]=o[l],r[o.charCodeAt(l)]=l;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var a=n===e?0:4-n%4;return[n,a]}function u(t){var e=c(t),n=e[0],a=e[1];return 3*(n+a)/4-a}function d(t,e,n){return 3*(e+n)/4-n}function f(t){var e,n,a=c(t),o=a[0],l=a[1],s=new i(d(t,o,l)),u=0,f=l>0?o-4:o;for(n=0;n<f;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],s[u++]=e>>16&255,s[u++]=e>>8&255,s[u++]=255&e;return 2===l&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,s[u++]=255&e),1===l&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,s[u++]=e>>8&255,s[u++]=255&e),s}function p(t){return a[t>>18&63]+a[t>>12&63]+a[t>>6&63]+a[63&t]}function h(t,e,n){for(var a,r=[],i=e;i<n;i+=3)a=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),r.push(p(a));return r.join("")}function m(t){for(var e,n=t.length,r=n%3,i=[],o=16383,l=0,s=n-r;l<s;l+=o)i.push(h(t,l,l+o>s?s:l+o));return 1===r?(e=t[n-1],i.push(a[e>>2]+a[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],i.push(a[e>>10]+a[e>>4&63]+a[e<<2&63]+"=")),i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"20d6":function(t,e,n){"use strict";var a=n("5ca1"),r=n("0a49")(6),i="findIndex",o=!0;i in[]&&Array(1)[i]((function(){o=!1})),a(a.P+a.F*o,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(i)},"20fd":function(t,e,n){"use strict";var a=n("d9f6"),r=n("aebd");t.exports=function(t,e,n){e in t?a.f(t,e,r(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var a=n("2aba"),r=n("32e9"),i=n("79e5"),o=n("be13"),l=n("2b4c"),s=n("520a"),c=l("species"),u=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=l(t),p=!i((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),h=p?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!e})):void 0;if(!p||!h||"replace"===t&&!u||"split"===t&&!d){var m=/./[f],b=n(o,f,""[t],(function(t,e,n,a,r){return e.exec===s?p&&!r?{done:!0,value:m.call(e,n,a)}:{done:!0,value:t.call(n,e,a)}:{done:!1}})),v=b[0],y=b[1];a(String.prototype,t,v),r(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},"230e":function(t,e,n){var a=n("d3f4"),r=n("7726").document,i=a(r)&&a(r.createElement);t.exports=function(t){return i?r.createElement(t):{}}},"23c6":function(t,e,n){var a=n("2d95"),r=n("2b4c")("toStringTag"),i="Arguments"==a(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,l;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),r))?n:i?a(e):"Object"==(l=a(e))&&"function"==typeof e.callee?"Arguments":l}},"241e":function(t,e,n){var a=n("25eb");t.exports=function(t){return Object(a(t))}},"24c5":function(t,e,n){"use strict";var a,r,i,o,l=n("b8e3"),s=n("e53d"),c=n("d864"),u=n("40c3"),d=n("63b6"),f=n("f772"),p=n("79aa"),h=n("1173"),m=n("a22a"),b=n("f201"),v=n("4178").set,y=n("aba2")(),g=n("656e"),_=n("4439"),w=n("bc13"),x=n("cd78"),O="Promise",k=s.TypeError,C=s.process,E=C&&C.versions,$=E&&E.v8||"",S=s[O],T="process"==u(C),j=function(){},P=r=g.f,A=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(j,j)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(j)instanceof e&&0!==$.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(a){}}(),N=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},L=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){var a=t._v,r=1==t._s,i=0,o=function(e){var n,i,o,l=r?e.ok:e.fail,s=e.resolve,c=e.reject,u=e.domain;try{l?(r||(2==t._h&&q(t),t._h=1),!0===l?n=a:(u&&u.enter(),n=l(a),u&&(u.exit(),o=!0)),n===e.promise?c(k("Promise-chain cycle")):(i=N(n))?i.call(n,s,c):s(n)):c(a)}catch(d){u&&!o&&u.exit(),c(d)}};while(n.length>i)o(n[i++]);t._c=[],t._n=!1,e&&!t._h&&D(t)}))}},D=function(t){v.call(s,(function(){var e,n,a,r=t._v,i=I(t);if(i&&(e=_((function(){T?C.emit("unhandledRejection",r,t):(n=s.onunhandledrejection)?n({promise:t,reason:r}):(a=s.console)&&a.error&&a.error("Unhandled promise rejection",r)})),t._h=T||I(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},q=function(t){v.call(s,(function(){var e;T?C.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),L(e,!0))},M=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=N(t))?y((function(){var a={_w:n,_d:!1};try{e.call(t,c(M,a,1),c(R,a,1))}catch(r){R.call(a,r)}})):(n._v=t,n._s=1,L(n,!1))}catch(a){R.call({_w:n,_d:!1},a)}}};A||(S=function(t){h(this,S,O,"_h"),p(t),a.call(this);try{t(c(M,this,1),c(R,this,1))}catch(e){R.call(this,e)}},a=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},a.prototype=n("5c95")(S.prototype,{then:function(t,e){var n=P(b(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=T?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new a;this.promise=t,this.resolve=c(M,t,1),this.reject=c(R,t,1)},g.f=P=function(t){return t===S||t===o?new i(t):r(t)}),d(d.G+d.W+d.F*!A,{Promise:S}),n("45f2")(S,O),n("4c95")(O),o=n("584a")[O],d(d.S+d.F*!A,O,{reject:function(t){var e=P(this),n=e.reject;return n(t),e.promise}}),d(d.S+d.F*(l||!A),O,{resolve:function(t){return x(l&&this===o?S:this,t)}}),d(d.S+d.F*!(A&&n("4ee1")((function(t){S.all(t)["catch"](j)}))),O,{all:function(t){var e=this,n=P(e),a=n.resolve,r=n.reject,i=_((function(){var n=[],i=0,o=1;m(t,!1,(function(t){var l=i++,s=!1;n.push(void 0),o++,e.resolve(t).then((function(t){s||(s=!0,n[l]=t,--o||a(n))}),r)})),--o||a(n)}));return i.e&&r(i.v),n.promise},race:function(t){var e=this,n=P(e),a=n.reject,r=_((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,a)}))}));return r.e&&a(r.v),n.promise}})},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"26b0":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("el-slider",t._b({model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}},"el-slider",t.$deepClone(t.data),!1))],1),n("el-form-item",{attrs:{label:t.$t("最小值")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.min,callback:function(e){t.$set(t.data,"min",e)},expression:"data.min"}})],1),n("el-form-item",{attrs:{label:"最大值"}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.max,callback:function(e){t.$set(t.data,"max",e)},expression:"data.max"}})],1),n("el-form-item",{attrs:{label:"步长"}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.step,callback:function(e){t.$set(t.data,"step",e)},expression:"data.step"}})],1),n("el-form-item",{attrs:{label:t.$t("输入框")}},[n("el-switch",{model:{value:t.data.showInput,callback:function(e){t.$set(t.data,"showInput",e)},expression:"data.showInput"}})],1),n("el-form-item",{attrs:{label:t.$t("输入框按钮")}},[n("el-switch",{model:{value:t.data.showInputControls,callback:function(e){t.$set(t.data,"showInputControls",e)},expression:"data.showInputControls"}})],1),n("el-form-item",{attrs:{label:t.$t("显示间断点")}},[n("el-switch",{model:{value:t.data.showStops,callback:function(e){t.$set(t.data,"showStops",e)},expression:"data.showStops"}})],1),n("el-form-item",{attrs:{label:t.$t("显示")+"tooltip"}},[n("el-switch",{model:{value:t.data.showTooltip,callback:function(e){t.$set(t.data,"showTooltip",e)},expression:"data.showTooltip"}})],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1)],1)},r=[],i={name:"config-slider",props:["data"],data:function(){return{}},computed:{},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"27ee":function(t,e,n){var a=n("23c6"),r=n("2b4c")("iterator"),i=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||i[a(t)]}},2877:function(t,e,n){"use strict";function a(t,e,n,a,r,i,o,l){var s,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),a&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=s):r&&(s=l?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),s)if(c.functional){c._injectStyles=s;var u=c.render;c.render=function(t,e){return s.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,s):[s]}return{exports:t,options:c}}n.d(e,"a",(function(){return a}))},"28a5":function(t,e,n){"use strict";var a=n("aae3"),r=n("cb7c"),i=n("ebd6"),o=n("0390"),l=n("9def"),s=n("5f1b"),c=n("520a"),u=n("79e5"),d=Math.min,f=[].push,p="split",h="length",m="lastIndex",b=4294967295,v=!u((function(){RegExp(b,"y")}));n("214f")("split",2,(function(t,e,n,u){var y;return y="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[h]||2!="ab"[p](/(?:ab)*/)[h]||4!="."[p](/(.?)(.?)/)[h]||"."[p](/()()/)[h]>1||""[p](/.?/)[h]?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!a(t))return n.call(r,t,e);var i,o,l,s=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,p=void 0===e?b:e>>>0,v=new RegExp(t.source,u+"g");while(i=c.call(v,r)){if(o=v[m],o>d&&(s.push(r.slice(d,i.index)),i[h]>1&&i.index<r[h]&&f.apply(s,i.slice(1)),l=i[0][h],d=o,s[h]>=p))break;v[m]===i.index&&v[m]++}return d===r[h]?!l&&v.test("")||s.push(""):s.push(r.slice(d)),s[h]>p?s.slice(0,p):s}:"0"[p](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,a){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r,a):y.call(String(r),n,a)},function(t,e){var a=u(y,t,this,e,y!==n);if(a.done)return a.value;var c=r(t),f=String(this),p=i(c,RegExp),h=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),g=new p(v?c:"^(?:"+c.source+")",m),_=void 0===e?b:e>>>0;if(0===_)return[];if(0===f.length)return null===s(g,f)?[f]:[];var w=0,x=0,O=[];while(x<f.length){g.lastIndex=v?x:0;var k,C=s(g,v?f:f.slice(x));if(null===C||(k=d(l(g.lastIndex+(v?0:x)),f.length))===w)x=o(f,x,h);else{if(O.push(f.slice(w,x)),O.length===_)return O;for(var E=1;E<=C.length-1;E++)if(O.push(C[E]),O.length===_)return O;x=w=k}}return O.push(f.slice(w)),O}]}))},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,n){var a=n("7726"),r=n("32e9"),i=n("69a8"),o=n("ca5a")("src"),l=n("fa5b"),s="toString",c=(""+l).split(s);n("8378").inspectSource=function(t){return l.call(t)},(t.exports=function(t,e,n,l){var s="function"==typeof n;s&&(i(n,"name")||r(n,"name",e)),t[e]!==n&&(s&&(i(n,o)||r(n,o,t[e]?""+t[e]:c.join(String(e)))),t===a?t[e]=n:l?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,s,(function(){return"function"==typeof this&&this[o]||l.call(this)}))},"2aeb":function(t,e,n){var a=n("cb7c"),r=n("1495"),i=n("e11e"),o=n("613b")("IE_PROTO"),l=function(){},s="prototype",c=function(){var t,e=n("230e")("iframe"),a=i.length,r="<",o=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),c=t.F;while(a--)delete c[s][i[a]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(l[s]=a(t),n=new l,l[s]=null,n[o]=t):n=c(),void 0===e?n:r(n,e)}},"2b4c":function(t,e,n){var a=n("5537")("wks"),r=n("ca5a"),i=n("7726").Symbol,o="function"==typeof i,l=t.exports=function(t){return a[t]||(a[t]=o&&i[t]||(o?i:r)("Symbol."+t))};l.store=a},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2f21":function(t,e,n){"use strict";var a=n("79e5");t.exports=function(t,e){return!!t&&a((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"2fdb":function(t,e,n){"use strict";var a=n("5ca1"),r=n("d2c8"),i="includes";a(a.P+a.F*n("5147")(i),"String",{includes:function(t){return!!~r(this,t,i).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},3024:function(t,e){t.exports=function(t,e,n){var a=void 0===n;switch(e.length){case 0:return a?t():t.call(n);case 1:return a?t(e[0]):t.call(n,e[0]);case 2:return a?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return a?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return a?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"30c4":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-texteditor",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"30f1":function(t,e,n){"use strict";var a=n("b8e3"),r=n("63b6"),i=n("9138"),o=n("35e8"),l=n("481b"),s=n("8f60"),c=n("45f2"),u=n("53e2"),d=n("5168")("iterator"),f=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",m="values",b=function(){return this};t.exports=function(t,e,n,v,y,g,_){s(n,e,v);var w,x,O,k=function(t){if(!f&&t in S)return S[t];switch(t){case h:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",E=y==m,$=!1,S=t.prototype,T=S[d]||S[p]||y&&S[y],j=T||k(y),P=y?E?k("entries"):j:void 0,A="Array"==e&&S.entries||T;if(A&&(O=u(A.call(new t)),O!==Object.prototype&&O.next&&(c(O,C,!0),a||"function"==typeof O[d]||o(O,d,b))),E&&T&&T.name!==m&&($=!0,j=function(){return T.call(this)}),a&&!_||!f&&!$&&S[d]||o(S,d,j),l[e]=j,l[C]=b,y)if(w={values:E?j:k(m),keys:g?j:k(h),entries:P},_)for(x in w)x in S||i(S,x,w[x]);else r(r.P+r.F*(f||$),e,w);return w}},"31f4":function(t,e){t.exports=function(t,e,n){var a=void 0===n;switch(e.length){case 0:return a?t():t.call(n);case 1:return a?t(e[0]):t.call(n,e[0]);case 2:return a?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return a?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return a?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"32e9":function(t,e,n){var a=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return a.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var a=n("e53d").document;t.exports=a&&a.documentElement},"335b":function(t,e,n){"use strict";n("1c25")},"335c":function(t,e,n){var a=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==a(t)?t.split(""):Object(t)}},"33a4":function(t,e,n){var a=n("84f2"),r=n("2b4c")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(a.Array===t||i[r]===t)}},"342e":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("文案")}},[n("el-input",{attrs:{placeholder:t.$t("请输入文案")},model:{value:t.data.html,callback:function(e){t.$set(t.data,"html",e)},expression:"data.html"}})],1),n("el-form-item",{attrs:{label:t.$t("文案对齐")}},[n("el-radio-group",{model:{value:t.data.contentPosition,callback:function(e){t.$set(t.data,"contentPosition",e)},expression:"data.contentPosition"}},[n("el-radio-button",{attrs:{label:"left"}},[t._v(t._s(t.$t("左")))]),n("el-radio-button",{attrs:{label:"center"}},[t._v(t._s(t.$t("中")))]),n("el-radio-button",{attrs:{label:"right"}},[t._v(t._s(t.$t("右")))])],1)],1)],1)},r=[],i={name:"config-divider",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var a=n("d9f6"),r=n("aebd");t.exports=n("8e60")?function(t,e,n){return a.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var a=n("335c"),r=n("25eb");t.exports=function(t){return a(r(t))}},3702:function(t,e,n){var a=n("481b"),r=n("5168")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(a.Array===t||i[r]===t)}},"38fd":function(t,e,n){var a=n("69a8"),r=n("4bf8"),i=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),a(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"3a38":function(t,e){var n=Math.ceil,a=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?a:n)(t)}},"3b8d":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var a=n("795b"),r=n.n(a);function i(t,e,n,a,i,o,l){try{var s=t[o](l),c=s.value}catch(u){return void n(u)}s.done?e(c):r.a.resolve(c).then(a,i)}function o(t){return function(){var e=this,n=arguments;return new r.a((function(a,r){var o=t.apply(e,n);function l(t){i(o,a,r,l,s,"next",t)}function s(t){i(o,a,r,l,s,"throw",t)}l(void 0)}))}}},"3c11":function(t,e,n){"use strict";var a=n("63b6"),r=n("584a"),i=n("e53d"),o=n("f201"),l=n("cd78");a(a.P+a.R,"Promise",{finally:function(t){var e=o(this,r.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return l(e,t()).then((function(){return n}))}:t,n?function(n){return l(e,t()).then((function(){throw n}))}:t)}})},"40c3":function(t,e,n){var a=n("6b4c"),r=n("5168")("toStringTag"),i="Arguments"==a(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,l;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),r))?n:i?a(e):"Object"==(l=a(e))&&"function"==typeof e.callee?"Arguments":l}},4178:function(t,e,n){var a,r,i,o=n("d864"),l=n("3024"),s=n("32fc"),c=n("1ec9"),u=n("e53d"),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,b=0,v={},y="onreadystatechange",g=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){g.call(t.data)};f&&p||(f=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return v[++b]=function(){l("function"==typeof t?t:Function(t),e)},a(b),b},p=function(t){delete v[t]},"process"==n("6b4c")(d)?a=function(t){d.nextTick(o(g,t,1))}:m&&m.now?a=function(t){m.now(o(g,t,1))}:h?(r=new h,i=r.port2,r.port1.onmessage=_,a=o(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(a=function(t){u.postMessage(t+"","*")},u.addEventListener("message",_,!1)):a=y in c("script")?function(t){s.appendChild(c("script"))[y]=function(){s.removeChild(this),g.call(t)}}:function(t){setTimeout(o(g,t,1),0)}),t.exports={set:f,clear:p}},"41a0":function(t,e,n){"use strict";var a=n("2aeb"),r=n("4630"),i=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=a(o,{next:r(1,n)}),i(t,e+" Iterator")}},"43fc":function(t,e,n){"use strict";var a=n("63b6"),r=n("656e"),i=n("4439");a(a.S,"Promise",{try:function(t){var e=r.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},4431:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-date",{attrs:{dateType:t.data.dateType,format:t.data.format,placeholder:t.$t("请选择")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("时间类型")}},[n("l-select",{attrs:{options:t.dateTypeOpions},on:{change:t.handleChange},model:{value:t.data.dateType,callback:function(e){t.$set(t.data,"dateType",e)},expression:"data.dateType"}})],1),n("el-form-item",{attrs:{label:t.$t("时间格式")}},[n("el-input",{model:{value:t.data.format,callback:function(e){t.$set(t.data,"format",e)},expression:"data.format"}})],1),n("el-form-item",{attrs:{label:t.$t("是否清空")}},[n("el-switch",{model:{value:t.data.clearable,callback:function(e){t.$set(t.data,"clearable",e)},expression:"data.clearable"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-datetime",props:["data"],data:function(){return{dateTypeOpions:[{value:"date",label:this.$t("日期")},{value:"month",label:this.$t("月")},{value:"year",label:this.$t("年")},{value:"datetime",label:this.$t("日期时间")}]}},methods:{handleChange:function(){switch(this.data.dateType){case"date":this.data.format="yyyy-MM-dd";break;case"month":this.data.format="yyyy-MM";break;case"year":this.data.format="yyyy";break;case"datetime":this.data.format="yyyy-MM-dd HH:mm:ss";break}}}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},4439:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"454f":function(t,e,n){n("46a7");var a=n("584a").Object;t.exports=function(t,e,n){return a.defineProperty(t,e,n)}},"456d":function(t,e,n){var a=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(t){return r(a(t))}}))},4588:function(t,e){var n=Math.ceil,a=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?a:n)(t)}},"45f2":function(t,e,n){var a=n("d9f6").f,r=n("07e3"),i=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,i)&&a(t,i,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"46a7":function(t,e,n){var a=n("63b6");a(a.S+a.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(t,e,n){var a=n("c3a1"),r=n("9aa9"),i=n("355d");t.exports=function(t){var e=a(t),n=r.f;if(n){var o,l=n(t),s=i.f,c=0;while(l.length>c)s.call(t,o=l[c++])&&e.push(o)}return e}},"481b":function(t,e){t.exports={}},"4a11":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("el-rate",{attrs:{max:t.data.max,allowHalf:t.data.allowHalf,lowThreshold:t.data.lowThreshold,highThreshold:t.data.highThreshold,colors:t.data.colors,voidColor:t.data.voidColor,disabledVoidColor:t.data.disabledVoidColor,iconClasses:t.data.iconClasses,voidIconClass:t.data.voidIconClass,disabledVoidIconClass:t.data.disabledVoidIconClass,showText:t.data.showText,showScore:t.data.showScore,textColor:t.data.textColor,texts:t.data.texts},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("最大分值")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.max,callback:function(e){t.$set(t.data,"max",e)},expression:"data.max"}})],1),n("el-form-item",{attrs:{label:t.$t("低分段")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.lowThreshold,callback:function(e){t.$set(t.data,"lowThreshold",e)},expression:"data.lowThreshold"}})],1),n("el-form-item",{attrs:{label:t.$t("高分段")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.highThreshold,callback:function(e){t.$set(t.data,"highThreshold",e)},expression:"data.highThreshold"}})],1),n("el-form-item",{attrs:{label:t.$t("未选择颜色")}},[n("l-input-color",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.voidColor,callback:function(e){t.$set(t.data,"voidColor",e)},expression:"data.voidColor"}})],1),n("el-form-item",{attrs:{label:t.$t("只读颜色")}},[n("l-input-color",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.disabledVoidColor,callback:function(e){t.$set(t.data,"disabledVoidColor",e)},expression:"data.disabledVoidColor"}})],1),n("el-form-item",{attrs:{label:t.$t("文字颜色")}},[n("l-input-color",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.textColor,callback:function(e){t.$set(t.data,"textColor",e)},expression:"data.textColor"}})],1),n("el-form-item",{attrs:{label:t.$t("未选择图标")}},[n("l-input-icon",{attrs:{iconList:t.iconList,placeholder:t.$t("请输入")},model:{value:t.data.voidIconClass,callback:function(e){t.$set(t.data,"voidIconClass",e)},expression:"data.voidIconClass"}})],1),n("el-form-item",{attrs:{label:t.$t("只读图标")}},[n("l-input-icon",{attrs:{iconList:t.iconList,placeholder:t.$t("请输入")},model:{value:t.data.disabledVoidIconClass,callback:function(e){t.$set(t.data,"disabledVoidIconClass",e)},expression:"data.disabledVoidIconClass"}})],1),n("el-form-item",{attrs:{label:t.$t("允许半选")}},[n("el-switch",{model:{value:t.data.allowHalf,callback:function(e){t.$set(t.data,"allowHalf",e)},expression:"data.allowHalf"}})],1),n("el-form-item",{attrs:{label:t.$t("显示文字")}},[n("el-switch",{model:{value:t.data.showText,callback:function(e){t.$set(t.data,"showText",e)},expression:"data.showText"}})],1),n("el-form-item",{attrs:{label:t.$t("显示分数")}},[n("el-switch",{model:{value:t.data.showScore,callback:function(e){t.$set(t.data,"showScore",e)},expression:"data.showScore"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1),n("el-divider",[t._v(t._s(t.$t("颜色组")))]),n("div",[n("draggable",{attrs:{list:t.data.colors,group:{name:"dic"},"ghost-class":"set-item-ghost",handle:".drag-item"}},t._l(t.data.colors,(function(e,a){return n("div",{key:a,staticClass:"set-item"},[n("i",{staticClass:"drag-item el-icon-rank"}),n("l-input-color",{staticStyle:{width:"100%"},attrs:{size:"mini",placeholder:t.$t("请选择")},model:{value:t.data.colors[a],callback:function(e){t.$set(t.data.colors,a,e)},expression:"data.colors[index]"}})],1)})),0)],1),n("el-divider",[t._v(t._s(t.$t("图标组")))]),n("div",[n("draggable",{attrs:{list:t.data.iconClasses,group:{name:"dic"},"ghost-class":"set-item-ghost",handle:".drag-item"}},t._l(t.data.iconClasses,(function(e,a){return n("div",{key:a,staticClass:"set-item"},[n("i",{staticClass:"drag-item el-icon-rank"}),n("l-input-icon",{staticStyle:{width:"100%"},attrs:{size:"mini",iconList:t.iconList},model:{value:t.data.iconClasses[a],callback:function(e){t.$set(t.data.iconClasses,a,e)},expression:"data.iconClasses[index]"}})],1)})),0)],1),n("el-divider",[t._v(t._s(t.$t("辅助文字数组")))]),n("div",[n("draggable",{attrs:{list:t.data.texts,group:{name:"dic"},"ghost-class":"set-item-ghost",handle:".drag-item"}},t._l(t.data.texts,(function(e,a){return n("div",{key:a,staticClass:"set-item"},[n("i",{staticClass:"drag-item el-icon-rank"}),n("el-input",{staticStyle:{width:"100%"},attrs:{size:"mini"},model:{value:t.data.texts[a],callback:function(e){t.$set(t.data.texts,a,e)},expression:"data.texts[index]"}})],1)})),0)],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1)],1)},r=[],i={name:"config-icon",props:["data"],data:function(){return{}},computed:{iconList:function(){return this.lr_icons?this.lr_icons:[]}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"4a59":function(t,e,n){var a=n("9b43"),r=n("1fa8"),i=n("33a4"),o=n("cb7c"),l=n("9def"),s=n("27ee"),c={},u={};e=t.exports=function(t,e,n,d,f){var p,h,m,b,v=f?function(){return t}:s(t),y=a(n,d,e?2:1),g=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(p=l(t.length);p>g;g++)if(b=e?y(o(h=t[g])[0],h[1]):y(t[g]),b===c||b===u)return b}else for(m=v.call(t);!(h=m.next()).done;)if(b=r(m,y,h.value,e),b===c||b===u)return b};e.BREAK=c,e.RETURN=u},"4bf8":function(t,e,n){var a=n("be13");t.exports=function(t){return Object(a(t))}},"4c95":function(t,e,n){"use strict";var a=n("e53d"),r=n("584a"),i=n("d9f6"),o=n("8e60"),l=n("5168")("species");t.exports=function(t){var e="function"==typeof r[t]?r[t]:a[t];o&&e&&!e[l]&&i.f(e,l,{configurable:!0,get:function(){return this}})}},"4ee1":function(t,e,n){var a=n("5168")("iterator"),r=!1;try{var i=[7][a]();i["return"]=function(){r=!0},Array.from(i,(function(){throw 2}))}catch(o){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var i=[7],l=i[a]();l.next=function(){return{done:n=!0}},i[a]=function(){return l},t(i)}catch(o){}return n}},"504c":function(t,e,n){var a=n("9e1e"),r=n("0d58"),i=n("6821"),o=n("52a7").f;t.exports=function(t){return function(e){var n,l=i(e),s=r(l),c=s.length,u=0,d=[];while(c>u)n=s[u++],a&&!o.call(l,n)||d.push(t?[n,l[n]]:l[n]);return d}}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var a=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[a]=!1,!"/./"[t](e)}catch(r){}}return!0}},5168:function(t,e,n){var a=n("dbdb")("wks"),r=n("62a0"),i=n("e53d").Symbol,o="function"==typeof i,l=t.exports=function(t){return a[t]||(a[t]=o&&i[t]||(o?i:r)("Symbol."+t))};l.store=a},"520a":function(t,e,n){"use strict";var a=n("0bfb"),r=RegExp.prototype.exec,i=String.prototype.replace,o=r,l="lastIndex",s=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[l]||0!==e[l]}(),c=void 0!==/()??/.exec("")[1],u=s||c;u&&(o=function(t){var e,n,o,u,d=this;return c&&(n=new RegExp("^"+d.source+"$(?!\\s)",a.call(d))),s&&(e=d[l]),o=r.call(d,t),s&&o&&(d[l]=d.global?o.index+o[0].length:e),c&&o&&o.length>1&&i.call(o[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o}),t.exports=o},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"53e2":function(t,e,n){var a=n("07e3"),r=n("241e"),i=n("5559")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),a(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"549b":function(t,e,n){"use strict";var a=n("d864"),r=n("63b6"),i=n("241e"),o=n("b0dc"),l=n("3702"),s=n("b447"),c=n("20fd"),u=n("7cd6");r(r.S+r.F*!n("4ee1")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,r,d,f=i(t),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,b=void 0!==m,v=0,y=u(f);if(b&&(m=a(m,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&l(y))for(e=s(f.length),n=new p(e);e>v;v++)c(n,v,b?m(f[v],v):f[v]);else for(d=y.call(f),n=new p;!(r=d.next()).done;v++)c(n,v,b?o(d,m,[r.value,v],!0):r.value);return n.length=v,n}})},"551c":function(t,e,n){"use strict";var a,r,i,o,l=n("2d00"),s=n("7726"),c=n("9b43"),u=n("23c6"),d=n("5ca1"),f=n("d3f4"),p=n("d8e8"),h=n("f605"),m=n("4a59"),b=n("ebd6"),v=n("1991").set,y=n("8079")(),g=n("a5b8"),_=n("9c80"),w=n("a25f"),x=n("bcaa"),O="Promise",k=s.TypeError,C=s.process,E=C&&C.versions,$=E&&E.v8||"",S=s[O],T="process"==u(C),j=function(){},P=r=g.f,A=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(j,j)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(j)instanceof e&&0!==$.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(a){}}(),N=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},L=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){var a=t._v,r=1==t._s,i=0,o=function(e){var n,i,o,l=r?e.ok:e.fail,s=e.resolve,c=e.reject,u=e.domain;try{l?(r||(2==t._h&&q(t),t._h=1),!0===l?n=a:(u&&u.enter(),n=l(a),u&&(u.exit(),o=!0)),n===e.promise?c(k("Promise-chain cycle")):(i=N(n))?i.call(n,s,c):s(n)):c(a)}catch(d){u&&!o&&u.exit(),c(d)}};while(n.length>i)o(n[i++]);t._c=[],t._n=!1,e&&!t._h&&D(t)}))}},D=function(t){v.call(s,(function(){var e,n,a,r=t._v,i=I(t);if(i&&(e=_((function(){T?C.emit("unhandledRejection",r,t):(n=s.onunhandledrejection)?n({promise:t,reason:r}):(a=s.console)&&a.error&&a.error("Unhandled promise rejection",r)})),t._h=T||I(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},q=function(t){v.call(s,(function(){var e;T?C.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),L(e,!0))},M=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=N(t))?y((function(){var a={_w:n,_d:!1};try{e.call(t,c(M,a,1),c(R,a,1))}catch(r){R.call(a,r)}})):(n._v=t,n._s=1,L(n,!1))}catch(a){R.call({_w:n,_d:!1},a)}}};A||(S=function(t){h(this,S,O,"_h"),p(t),a.call(this);try{t(c(M,this,1),c(R,this,1))}catch(e){R.call(this,e)}},a=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},a.prototype=n("dcbc")(S.prototype,{then:function(t,e){var n=P(b(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=T?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new a;this.promise=t,this.resolve=c(M,t,1),this.reject=c(R,t,1)},g.f=P=function(t){return t===S||t===o?new i(t):r(t)}),d(d.G+d.W+d.F*!A,{Promise:S}),n("7f20")(S,O),n("7a56")(O),o=n("8378")[O],d(d.S+d.F*!A,O,{reject:function(t){var e=P(this),n=e.reject;return n(t),e.promise}}),d(d.S+d.F*(l||!A),O,{resolve:function(t){return x(l&&this===o?S:this,t)}}),d(d.S+d.F*!(A&&n("5cc5")((function(t){S.all(t)["catch"](j)}))),O,{all:function(t){var e=this,n=P(e),a=n.resolve,r=n.reject,i=_((function(){var n=[],i=0,o=1;m(t,!1,(function(t){var l=i++,s=!1;n.push(void 0),o++,e.resolve(t).then((function(t){s||(s=!0,n[l]=t,--o||a(n))}),r)})),--o||a(n)}));return i.e&&r(i.v),n.promise},race:function(t){var e=this,n=P(e),a=n.reject,r=_((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,a)}))}));return r.e&&a(r.v),n.promise}})},5537:function(t,e,n){var a=n("8378"),r=n("7726"),i="__core-js_shared__",o=r[i]||(r[i]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:a.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var a=n("dbdb")("keys"),r=n("62a0");t.exports=function(t){return a[t]||(a[t]=r(t))}},5683:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("登录部门")}},[n("el-switch",{model:{value:t.data.isLogin,callback:function(e){t.$set(t.data,"isLogin",e)},expression:"data.isLogin"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-departmentSelect",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"57e7":function(t,e,n){"use strict";var a=n("5ca1"),r=n("c366")(!1),i=[].indexOf,o=!!i&&1/[1].indexOf(1,-0)<0;a(a.P+a.F*(o||!n("2f21")(i)),"Array",{indexOf:function(t){return o?i.apply(this,arguments)||0:r(this,t,arguments[1])}})},"584a":function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"58b2":function(t,e,n){var a=n("5ca1");a(a.S+a.F*!n("9e1e"),"Object",{defineProperties:n("1495")})},"5b4e":function(t,e,n){var a=n("36c3"),r=n("b447"),i=n("0fc9");t.exports=function(t){return function(e,n,o){var l,s=a(e),c=r(s.length),u=i(o,c);if(t&&n!=n){while(c>u)if(l=s[u++],l!=l)return!0}else for(;c>u;u++)if((t||u in s)&&s[u]===n)return t||u||0;return!t&&-1}}},"5c95":function(t,e,n){var a=n("35e8");t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:a(t,r,e[r]);return t}},"5ca1":function(t,e,n){var a=n("7726"),r=n("8378"),i=n("32e9"),o=n("2aba"),l=n("9b43"),s="prototype",c=function(t,e,n){var u,d,f,p,h=t&c.F,m=t&c.G,b=t&c.S,v=t&c.P,y=t&c.B,g=m?a:b?a[e]||(a[e]={}):(a[e]||{})[s],_=m?r:r[e]||(r[e]={}),w=_[s]||(_[s]={});for(u in m&&(n=e),n)d=!h&&g&&void 0!==g[u],f=(d?g:n)[u],p=y&&d?l(f,a):v&&"function"==typeof f?l(Function.call,f):f,g&&o(g,u,f,t&c.U),_[u]!=f&&i(_,u,p),v&&w[u]!=f&&(w[u]=f)};a.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"5cc5":function(t,e,n){var a=n("2b4c")("iterator"),r=!1;try{var i=[7][a]();i["return"]=function(){r=!0},Array.from(i,(function(){throw 2}))}catch(o){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var i=[7],l=i[a]();l.next=function(){return{done:n=!0}},i[a]=function(){return l},t(i)}catch(o){}return n}},"5d58":function(t,e,n){t.exports=n("d8d6")},"5dbc":function(t,e,n){var a=n("d3f4"),r=n("8b97").set;t.exports=function(t,e,n){var i,o=e.constructor;return o!==n&&"function"==typeof o&&(i=o.prototype)!==n.prototype&&a(i)&&r&&r(t,i),t}},"5e44":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-input-icon",{attrs:{iconList:t.iconList},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-icon",props:["data"],data:function(){return{}},computed:{iconList:function(){return this.lr_icons?this.lr_icons:[]}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"5eda":function(t,e,n){var a=n("5ca1"),r=n("8378"),i=n("79e5");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],o={};o[t]=e(n),a(a.S+a.F*i((function(){n(1)})),"Object",o)}},"5f1b":function(t,e,n){"use strict";var a=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var i=n.call(t,e);if("object"!==typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==a(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"613b":function(t,e,n){var a=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return a[t]||(a[t]=r(t))}},"626a":function(t,e,n){var a=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==a(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,a=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+a).toString(36))}},"63b6":function(t,e,n){var a=n("e53d"),r=n("584a"),i=n("d864"),o=n("35e8"),l=n("07e3"),s="prototype",c=function(t,e,n){var u,d,f,p=t&c.F,h=t&c.G,m=t&c.S,b=t&c.P,v=t&c.B,y=t&c.W,g=h?r:r[e]||(r[e]={}),_=g[s],w=h?a:m?a[e]:(a[e]||{})[s];for(u in h&&(n=e),n)d=!p&&w&&void 0!==w[u],d&&l(g,u)||(f=d?w[u]:n[u],g[u]=h&&"function"!=typeof w[u]?n[u]:v&&d?i(f,a):y&&w[u]==f?function(t){var e=function(e,n,a){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,a)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):b&&"function"==typeof f?i(Function.call,f):f,b&&((g.virtual||(g.virtual={}))[u]=f,t&c.R&&_&&!_[u]&&o(_,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"648f":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i={name:"config-modifytime",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"656e":function(t,e,n){"use strict";var a=n("79aa");function r(t){var e,n;this.promise=new t((function(t,a){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=a})),this.resolve=a(e),this.reject=a(n)}t.exports.f=function(t){return new r(t)}},6718:function(t,e,n){var a=n("e53d"),r=n("584a"),i=n("b8e3"),o=n("ccb9"),l=n("d9f6").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=i?{}:a.Symbol||{});"_"==t.charAt(0)||t in e||l(e,t,{value:o.f(t)})}},6762:function(t,e,n){"use strict";var a=n("5ca1"),r=n("c366")(!0);a(a.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67bb":function(t,e,n){t.exports=n("f921")},6821:function(t,e,n){var a=n("626a"),r=n("be13");t.exports=function(t){return a(r(t))}},"696e":function(t,e,n){n("c207"),n("1654"),n("6c1c"),n("24c5"),n("3c11"),n("43fc"),t.exports=n("584a").Promise},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d3":function(t,e,n){n("6718")("asyncIterator")},"6a99":function(t,e,n){var a=n("d3f4");t.exports=function(t,e){if(!a(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!a(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!a(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!a(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"6abf":function(t,e,n){var a=n("e6f3"),r=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,r)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6c1c":function(t,e,n){n("c367");for(var a=n("e53d"),r=n("35e8"),i=n("481b"),o=n("5168")("toStringTag"),l="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<l.length;s++){var c=l[s],u=a[c],d=u&&u.prototype;d&&!d[o]&&r(d,o,c),i[c]=i.Array}},"6d67":function(t,e,n){"use strict";var a=n("5ca1"),r=n("0a49")(1);a(a.P+a.F*!n("2f21")([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},"6f7a":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-input-color",{attrs:{placeholder:t.$t("请选择")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i={name:"config-color",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"71c1":function(t,e,n){var a=n("3a38"),r=n("25eb");t.exports=function(t){return function(e,n){var i,o,l=String(r(e)),s=a(n),c=l.length;return s<0||s>=c?t?"":void 0:(i=l.charCodeAt(s),i<55296||i>56319||s+1===c||(o=l.charCodeAt(s+1))<56320||o>57343?t?l.charAt(s):i:t?l.slice(s,s+2):o-56320+(i-55296<<10)+65536)}}},7514:function(t,e,n){"use strict";var a=n("5ca1"),r=n("0a49")(5),i="find",o=!0;i in[]&&Array(1)[i]((function(){o=!1})),a(a.P+a.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(i)},"759f":function(t,e,n){"use strict";var a=n("5ca1"),r=n("0a49")(3);a(a.P+a.F*!n("2f21")([].some,!0),"Array",{some:function(t){return r(this,t,arguments[1])}})},"75c1":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("单据编码")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.codeList},model:{value:t.data.code,callback:function(e){t.$set(t.data,"code",e)},expression:"data.code"}})],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i=(n("6d67"),{name:"config-encode",props:["data"],data:function(){return{}},computed:{codeList:function(){if(this.lr_codeList){var t=this.lr_codeList||[];return t.map((function(t){return{label:t.f_FullName,value:t.f_EnCode}}))}return[]}},created:function(){this.lr_loadCodeList&&this.lr_loadCodeList()},methods:{}}),o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"75fc":function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var a=n("a745"),r=n.n(a);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}function o(t){if(r()(t))return i(t)}var l=n("67bb"),s=n.n(l),c=n("5d58"),u=n.n(c),d=n("774e"),f=n.n(d);function p(t){if("undefined"!==typeof s.a&&null!=t[u.a]||null!=t["@@iterator"])return f()(t)}function h(t,e){if(t){if("string"===typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?f()(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}function m(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(t){return o(t)||p(t)||h(t)||m()}},"765d":function(t,e,n){n("6718")("observable")},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var a=n("4588"),r=Math.max,i=Math.min;t.exports=function(t,e){return t=a(t),t<0?r(t+e,0):i(t,e)}},"78ce":function(t,e,n){var a=n("5ca1");a(a.S,"Date",{now:function(){return(new Date).getTime()}})},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"795b":function(t,e,n){t.exports=n("696e")},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7a14":function(t,e,n){"use strict";n("20d6"),n("6762"),n("2fdb"),n("6d67"),n("759f"),n("d25f");var a=n("75fc");n("ac6a"),n("f3e2"),n("28a5");e["a"]=function(){return{computed:{dataCode:function(){return this.data.dataCode},dataType:function(){return this.data.dataType},myOptions:function(){var t=this;switch(this.dataType){case"1":return this.data.options;case"2":return this.lr_dataItem&&this.dataCode?"treeselect"==this.data.type?this.lr_dataItemTree(this.lr_dataItem[this.dataCode]):this.lr_dataItemOptions(this.lr_dataItem[this.dataCode]):[];case"3":if(this.lr_dataSourceData&&this.dataCode&&this.data.dataValueKey&&this.data.dataLabelKey){var e=[];if(this.data.upCtrl){if(this.formData&&this.formData[this.data.upCtrl]){var n=this.formData[this.data.upCtrl],r=n.split(",");r.forEach((function(n){var r;t.lr_loadDataSourceDataByParamter(t.dataCode,n);var i=t.lr_dataSourceDataByParamter["".concat(t.dataCode,"_").concat(n)]||[];(r=e).push.apply(r,Object(a["a"])(i.filter((function(n){return!e.some((function(e){return e[t.data.dataValueKey]===n[t.data.dataValueKey]}))}))))}))}}else e=this.lr_dataSourceData[this.dataCode];return"treeselect"==this.data.type?this.data.dataIdKey&&this.data.dataPIdKey?this.lr_DataSourceTree(e,this.data.dataIdKey,this.data.dataPIdKey,this.data.dataValueKey,this.data.dataLabelKey):[]:this.lr_DataSourceOptions(e,this.data.dataValueKey,this.data.dataLabelKey)}return[];default:return[]}},myColNameList:function(){if(this.lr_dataSourceCol&&!this.$validatenull(this.dataCode)){var t=this.lr_dataSourceCol[this.dataCode]||[];return t.map((function(t){return{value:t,label:t}}))}return[]},componentOptions:function(){var t=this,e=[];if(this.formDesign){var n=this.formDesign.toSaveData();this.data.subfield?n.tabList.forEach((function(n){n.components.forEach((function(n){["gridtable"].includes(n.type)&&-1!=n.children.findIndex((function(e){return e.prop==t.data.prop}))&&n.children.forEach((function(n){["checkbox","radio","select","selectMultiple","treeselect","layerselect","companySelect","departmentSelect","userSelect"].includes(n.type)&&n.prop!=t.data.prop&&n.prop!=t.data.prop&&e.push({value:n.prop,label:n.label})}))}))})):n.tabList.forEach((function(n){n.components.forEach((function(n){["checkbox","radio","select","selectMultiple","treeselect","layerselect","companySelect","departmentSelect","userSelect"].includes(n.type)&&n.prop!=t.data.prop&&e.push({value:n.prop,label:n.label})}))}))}return e}},created:function(){this.loadOptions()},methods:{loadOptions:function(){if("2"==this.dataType&&this.lr_loadDataItem&&this.dataCode)this.lr_loadDataItem(this.dataCode);else if("3"==this.dataType&&this.lr_loadDataSourceData&&this.dataCode)if(this.data.upCtrl){if(this.formData&&this.formData[this.data.upCtrl]){var t=this.formData[this.data.upCtrl];this.lr_loadDataSourceDataByParamter(this.dataCode,t)}}else this.lr_loadDataSourceData(this.dataCode)},loadDataSourceCol:function(){"3"==this.dataType&&this.lr_loadDataSourceData&&!this.$validatenull(this.dataCode)&&this.lr_loadDataSourceColNames(this.dataCode)},getComponent:function(t){var e="el-input";switch(t){case"divider":e="el-divider";break;case"input":case"textarea":case"password":e="el-input";break;case"number":e="el-input-number";break;case"radio":e="l-radio";break;case"checkbox":e="l-checkbox";break;case"select":case"selectMultiple":e="l-select";break;case"cascader":e="el-cascader";break;case"treeselect":e="l-tree-select";break;case"time":e="l-time";break;case"timerange":e="l-time";break;case"datetime":e="l-date";break;case"datetimerange":e="l-date";break;case"upload":e="l-upload";break;case"uploadimg":e="l-upload";break;case"guid":e="l-guid";break;case"companySelect":e="l-company-select";break;case"departmentSelect":e="l-department-select";break;case"userSelect":e="l-user-select";break;case"company":e="l-company";break;case"department":e="l-department";break;case"createuser":e="l-createuser";break;case"modifyuser":e="l-modifyuser";break;case"createtime":e="l-createtime";break;case"modifytime":e="l-modifytime";break;case"encode":e="l-code";break;case"icon":e="l-input-icon";break;case"rate":e="el-rate";break;case"switch":e="el-switch";break;case"slider":e="el-slider";break;case"color":e="l-input-color";break;case"areaselect":e="l-area-select";break;case"layerselect":e="l-layer-select";break;case"layerbmap":e="l-BMap-select";break}return e}}}}},"7a56":function(t,e,n){"use strict";var a=n("7726"),r=n("86cc"),i=n("9e1e"),o=n("2b4c")("species");t.exports=function(t){var e=a[t];i&&e&&!e[o]&&r.f(e,o,{configurable:!0,get:function(){return this}})}},"7cd6":function(t,e,n){var a=n("40c3"),r=n("5168")("iterator"),i=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||i[a(t)]}},"7d5c":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("按钮类型")}},[n("l-select",{attrs:{options:t.typeOptions},model:{value:t.data.myType,callback:function(e){t.$set(t.data,"myType",e)},expression:"data.myType"}})],1),n("el-form-item",{attrs:{label:t.$t("按钮尺寸")}},[n("el-radio-group",{model:{value:t.data.size,callback:function(e){t.$set(t.data,"size",e)},expression:"data.size"}},[n("el-radio-button",{attrs:{label:"medium"}},[t._v(t._s(t.$t("中等")))]),n("el-radio-button",{attrs:{label:"small"}},[t._v(t._s(t.$t("较小")))]),n("el-radio-button",{attrs:{label:"mini"}},[t._v(t._s(t.$t("迷你")))])],1)],1),n("el-form-item",{attrs:{label:t.$t("按钮图标")}},[n("l-input-icon",{attrs:{onlyFirst:""},model:{value:t.data.myIcon,callback:function(e){t.$set(t.data,"myIcon",e)},expression:"data.myIcon"}})],1),n("el-form-item",{attrs:{label:t.$t("朴素按钮")}},[n("el-switch",{model:{value:t.data.plain,callback:function(e){t.$set(t.data,"plain",e)},expression:"data.plain"}})],1),n("el-form-item",{attrs:{label:t.$t("圆角按钮")}},[n("el-switch",{model:{value:t.data.round,callback:function(e){t.$set(t.data,"round",e)},expression:"data.round"}})],1),n("el-form-item",{attrs:{label:t.$t("圆形按钮")}},[n("el-switch",{model:{value:t.data.circle,callback:function(e){t.$set(t.data,"circle",e)},expression:"data.circle"}})],1)],1)},r=[],i={name:"config-btn",inject:["formDesign"],props:["data"],data:function(){return{typeOptions:[{value:"primary",label:"primary"},{value:"success",label:"success"},{value:"warning",label:"warning"},{value:"danger",label:"danger"},{value:"info",label:"info"},{value:"text",label:"text"}]}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"7e90":function(t,e,n){var a=n("d9f6"),r=n("e4ae"),i=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){r(t);var n,o=i(e),l=o.length,s=0;while(l>s)a.f(t,n=o[s++],e[n]);return t}},"7f20":function(t,e,n){var a=n("86cc").f,r=n("69a8"),i=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,i)&&a(t,i,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var a=n("86cc").f,r=Function.prototype,i=/^\s*function ([^ (]*)/,o="name";o in r||n("9e1e")&&a(r,o,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},8079:function(t,e,n){var a=n("7726"),r=n("1991").set,i=a.MutationObserver||a.WebKitMutationObserver,o=a.process,l=a.Promise,s="process"==n("2d95")(o);t.exports=function(){var t,e,n,c=function(){var a,r;s&&(a=o.domain)&&a.exit();while(t){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,a&&a.enter()};if(s)n=function(){o.nextTick(c)};else if(!i||a.navigator&&a.navigator.standalone)if(l&&l.resolve){var u=l.resolve(void 0);n=function(){u.then(c)}}else n=function(){r.call(a,c)};else{var d=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(a){var r={fn:a,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},8096:function(t,e,n){},"835f":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-layer-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myOptions,multiple:t.data.multiple,columns:t.data.columns,isPage:t.data.isPage},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("是否分页")}},[n("el-switch",{model:{value:t.data.isPage,callback:function(e){t.$set(t.data,"isPage",e)},expression:"data.isPage"}})],1),n("el-form-item",{attrs:{label:t.$t("弹窗高")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.height,callback:function(e){t.$set(t.data,"height",e)},expression:"data.height"}})],1),n("el-form-item",{attrs:{label:t.$t("弹窗宽")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.width,callback:function(e){t.$set(t.data,"width",e)},expression:"data.width"}})],1),n("el-divider",[t._v(t._s(t.$t("数据")))]),n("div",{staticStyle:{"text-align":"center","margin-bottom":"16px"}},[n("el-radio-group",{attrs:{size:"mini"},on:{change:t.handleDataTypeChange},model:{value:t.data.dataType,callback:function(e){t.$set(t.data,"dataType",e)},expression:"data.dataType"}},[n("el-radio-button",{attrs:{label:"2"}},[t._v(t._s(t.$t("数据字典")))]),n("el-radio-button",{attrs:{label:"3"}},[t._v(t._s(t.$t("数据源")))])],1)],1),2==t.data.dataType?n("div",[n("l-tree-select",{attrs:{options:t.dataItemClassifysTree,placeholder:t.$t("请选择"),size:"mini",parent:!1},on:{change:t.handleDataItemChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1):n("div",[n("el-form-item",{attrs:{label:t.$t("数据源")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.dataSource,labelKey:"f_Name",valueKey:"f_Code"},on:{change:t.handleDataSourceChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1),n("el-form-item",{attrs:{label:t.$t("值")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataValueKey,callback:function(e){t.$set(t.data,"dataValueKey",e)},expression:"data.dataValueKey"}})],1),n("el-form-item",{attrs:{label:t.$t("标签")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataLabelKey,callback:function(e){t.$set(t.data,"dataLabelKey",e)},expression:"data.dataLabelKey"}})],1),n("el-form-item",{attrs:{label:t.$t("上一级")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.componentOptions},model:{value:t.data.upCtrl,callback:function(e){t.$set(t.data,"upCtrl",e)},expression:"data.upCtrl"}})],1)],1),n("el-divider",[t._v(t._s(t.$t("数据列")))]),t._l(t.data.columns,(function(e,a){return n("div",{key:a,staticClass:"reg-item"},[n("el-form-item",{staticStyle:{"margin-bottom":"8px"},attrs:{label:t.$t("列名")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:e.label,callback:function(n){t.$set(e,"label",n)},expression:"item.label"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"8px"},attrs:{label:t.$t("绑定字段")}},[n("l-select",{attrs:{options:2==t.data.dataType?[{value:"f_ItemValue",label:t.$t("值")},{value:"f_ItemName",label:t.$t("名")}]:t.myColNameList},model:{value:e.prop,callback:function(n){t.$set(e,"prop",n)},expression:"item.prop"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"8px"},attrs:{label:t.$t("赋值字段")}},[n("l-select",{attrs:{options:t.valueOptions,placeholder:t.$t("请输入")},model:{value:e.valueKey,callback:function(n){t.$set(e,"valueKey",n)},expression:"item.valueKey"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"8px"},attrs:{label:t.$t("宽度")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:e.width,callback:function(n){t.$set(e,"width",n)},expression:"item.width"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:t.$t("对齐")}},[n("l-select",{attrs:{options:t.alignOptions},model:{value:e.align,callback:function(n){t.$set(e,"align",n)},expression:"item.align"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:t.$t("隐藏")}},[n("el-switch",{model:{value:e.hidden,callback:function(n){t.$set(e,"hidden",n)},expression:"item.hidden"}})],1),n("el-button",{staticClass:"reg-item-delete",attrs:{title:t.$t("删除"),circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return t.handleRemoveCol(a)}}},[n("i",{staticClass:"el-icon-close"})])],1)})),n("div",{staticClass:"mt-8"},[n("el-button",{staticClass:"ml-8",attrs:{type:"primary",size:"mini"},on:{click:t.handleAddCol}},[t._v(t._s(t.$t("添加列")))])],1),n("el-divider"),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],2)},r=[],i=(n("20d6"),n("6762"),n("2fdb"),n("ac6a"),n("f3e2"),n("7a14")),o={name:"config-layerselect",mixins:[Object(i["a"])()],inject:["formDesign"],props:["data"],data:function(){return{alignOptions:[{value:"left",label:"靠左"},{value:"center",label:"居中"},{value:"right",label:"靠右"}]}},created:function(){this.lr_loadDataItemClassifys&&this.lr_loadDataItemClassifys(),this.lr_loadDataSourceList&&this.lr_loadDataSourceList(),this.loadDataSourceCol()},computed:{dataItemClassifysTree:function(){return this.lr_dataItemClassifysTree?this.lr_dataItemClassifysTree:[]},dataSource:function(){return this.lr_dataSource?this.lr_dataSource:[]},valueOptions:function(){var t=this,e=[],n=this.formDesign.toSaveData();return this.data.subfield?n.tabList.forEach((function(n){n.components.forEach((function(n){["gridtable"].includes(n.type)&&-1!=n.children.findIndex((function(e){return e.prop==t.data.prop}))&&n.children.forEach((function(n){n.prop!=t.data.prop&&e.push({value:n.prop,label:n.label})}))}))})):n.tabList.forEach((function(n){n.components.forEach((function(n){["divider","gridtable","card","btn"].includes(n.type)||n.prop==t.data.prop||e.push({value:n.prop,label:n.label})}))})),console.log(this.formDesign.formInfo,"test"),e}},methods:{handleDataTypeChange:function(){this.data.dataCode="",this.data.dataValueKey="",this.data.dataLabelKey="",this.data.default=""},handleAddDatas:function(){this.data.options.push({label:"选项"+(this.data.options.length+1),value:this.data.options.length+1})},handleRemoveDatas:function(t){this.data.default==this.data.options[t].value&&(this.data.default=""),this.data.options.splice(t,1)},handleDataItemChange:function(){this.data.default="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataItem&&this.lr_loadDataItem(this.data.dataCode)},handleDataSourceChange:function(){this.data.default="",this.data.dataValueKey="",this.data.dataLabelKey="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataSourceColNames&&(this.lr_loadDataSourceColNames(this.data.dataCode),this.lr_loadDataSourceData(this.data.dataCode))},handleDataSourceKeyLabelChange:function(){this.data.default=""},handleAddCol:function(){this.data.columns.push({label:"第".concat(this.data.columns.length,"列"),prop:"",valueKey:"",width:100,align:"left",hidden:!1})},handleRemoveCol:function(t){this.data.columns.splice(t,1)}}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["default"]=c.exports},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"84f2":function(t,e){t.exports={}},"85f2":function(t,e,n){t.exports=n("454f")},8615:function(t,e,n){var a=n("5ca1"),r=n("504c")(!1);a(a.S,"Object",{values:function(t){return r(t)}})},"86cc":function(t,e,n){var a=n("cb7c"),r=n("c69a"),i=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(a(t),e=i(e,!0),a(n),r)try{return o(t,e,n)}catch(l){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},8875:function(t,e,n){var a,r,i;(function(n,o){r=[],a=o,i="function"===typeof a?a.apply(e,r):a,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,a,r,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,l=i.exec(p.stack)||o.exec(p.stack),s=l&&l[1]||!1,c=l&&l[2]||!1,u=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");s===u&&(n=document.documentElement.outerHTML,a=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(a,"$1").trim());for(var f=0;f<d.length;f++){if("interactive"===d[f].readyState)return d[f];if(d[f].src===s)return d[f];if(s===u&&d[f].innerHTML&&d[f].innerHTML.trim()===r)return d[f]}return null}}return t}))},"8b97":function(t,e,n){var a=n("d3f4"),r=n("cb7c"),i=function(t,e){if(r(t),!a(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,a){try{a=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),a(t,[]),e=!(t instanceof Array)}catch(r){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:a(t,n),t}}({},!1):void 0),check:i}},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(t,e,n){var a=n("5ca1"),r=n("990b"),i=n("6821"),o=n("11e9"),l=n("f1ae");a(a.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,a=i(t),s=o.f,c=r(a),u={},d=0;while(c.length>d)n=s(a,e=c[d++]),void 0!==n&&l(u,e,n);return u}})},"8f60":function(t,e,n){"use strict";var a=n("a159"),r=n("aebd"),i=n("45f2"),o={};n("35e8")(o,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=a(o,{next:r(1,n)}),i(t,e+" Iterator")}},9003:function(t,e,n){var a=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==a(t)}},9093:function(t,e,n){var a=n("ce10"),r=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,r)}},9138:function(t,e,n){t.exports=n("35e8")},9152:function(t,e){
|
||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||
e.read=function(t,e,n,a,r){var i,o,l=8*r-a-1,s=(1<<l)-1,c=s>>1,u=-7,d=n?r-1:0,f=n?-1:1,p=t[e+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=l;u>0;i=256*i+t[e+d],d+=f,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=a;u>0;o=256*o+t[e+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===s)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,a),i-=c}return(p?-1:1)*o*Math.pow(2,i-a)},e.write=function(t,e,n,a,r,i){var o,l,s,c=8*i-r-1,u=(1<<c)-1,d=u>>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=a?0:i-1,h=a?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-o))<1&&(o--,s*=2),e+=o+d>=1?f/s:f*Math.pow(2,1-d),e*s>=2&&(o++,s/=2),o+d>=u?(l=0,o=u):o+d>=1?(l=(e*s-1)*Math.pow(2,r),o+=d):(l=e*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;t[n+p]=255&l,p+=h,l/=256,r-=8);for(o=o<<r|l,c+=r;c>0;t[n+p]=255&o,p+=h,o/=256,c-=8);t[n+p-h]|=128*m}},9224:function(t){t.exports=JSON.parse('{"name":"learun-form-design","version":"2.6.7","company":"力软信息技术(苏州)有限公司","description":"vue for form.","author":"cbb1127","main":"dist2/lformdesign.common.js","keywords":["vue","form-design","form-design-vue"],"license":"ISC","scripts":{"dev":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","test:unit":"vue-cli-service test:unit","prepublishOnly":"npm run lib","lib":"vue-cli-service build --target lib --name lformdesign --dest dist2 lib/index.js"},"dependencies":{"element-ui":"^2.15.0","vue":"^2.6.14","vue-quill-editor":"^3.0.6","vue-router":"^3.0.6"},"devDependencies":{"@vue/cli-plugin-babel":"^3.7.0","@vue/cli-plugin-eslint":"^3.7.0","@vue/cli-service":"^4.5.9","@vue/eslint-config-standard":"^4.0.0","@vue/test-utils":"^1.0.0-beta.29","babel-eslint":"^10.0.1","chai":"^4.2.0","core-js":"^2.6.5","css-loader":"^3.1.0","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","highlight.js":"^9.15.8","less":"^3.9.0","less-loader":"^5.0.0","markdown-it-chain":"^1.3.0","markdown-it-container":"^2.0.0","shelljs":"^0.8.3","style-loader":"^0.23.1","transliteration":"^2.1.4","vue-markdown-loader":"^2.4.1","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true,"browser":true},"extends":["plugin:vue/essential","eslint:recommended"],"rules":{"vue/no-reserved-keys":0,"no-empty":0,"no-useless-escape":0,"no-console":0},"parserOptions":{"parser":"babel-eslint"}},"eslintIgnore":["/src/docs","dist2"],"postcss":{"plugins":{"autoprefixer":{}}},"babel":{"presets":["@vue/app"]}}')},9339:function(t,e,n){(function(e){
|
||
/*!
|
||
* Quill Editor v1.3.7
|
||
* https://quilljs.com/
|
||
* Copyright (c) 2014, Jason Chen
|
||
* Copyright (c) 2013, salesforce.com
|
||
*/
|
||
(function(e,n){t.exports=n()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:a})},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(17),r=n(18),i=n(19),o=n(45),l=n(46),s=n(47),c=n(48),u=n(49),d=n(12),f=n(32),p=n(33),h=n(31),m=n(1),b={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:a.default,Format:r.default,Leaf:i.default,Embed:c.default,Scroll:o.default,Block:s.default,Inline:l.default,Text:u.default,Attributor:{Attribute:d.default,Class:f.default,Style:p.default,Store:h.default}};e.default=b},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return a(e,t),e}(Error);e.ParchmentError=r;var i,o={},l={},s={},c={};function u(t,e){var n=f(t);if(null==n)throw new r("Unable to create "+t+" blot");var a=n,i=t instanceof Node||t["nodeType"]===Node.TEXT_NODE?t:a.create(e);return new a(i,e)}function d(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?d(t.parentNode,n):null}function f(t,e){var n;if(void 0===e&&(e=i.ANY),"string"===typeof t)n=c[t]||o[t];else if(t instanceof Text||t["nodeType"]===Node.TEXT_NODE)n=c["text"];else if("number"===typeof t)t&i.LEVEL&i.BLOCK?n=c["block"]:t&i.LEVEL&i.INLINE&&(n=c["inline"]);else if(t instanceof HTMLElement){var a=(t.getAttribute("class")||"").split(/\s+/);for(var r in a)if(n=l[a[r]],n)break;n=n||s[t.tagName]}return null==n?null:e&i.LEVEL&n.scope&&e&i.TYPE&n.scope?n:null}function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map((function(t){return p(t)}));var n=t[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new r("Invalid definition");if("abstract"===n.blotName)throw new r("Cannot register abstract class");if(c[n.blotName||n.attrName]=n,"string"===typeof n.keyName)o[n.keyName]=n;else if(null!=n.className&&(l[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(t){return t.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var a=Array.isArray(n.tagName)?n.tagName:[n.tagName];a.forEach((function(t){null!=s[t]&&null!=n.className||(s[t]=n)}))}return n}e.DATA_KEY="__blot",function(t){t[t["TYPE"]=3]="TYPE",t[t["LEVEL"]=12]="LEVEL",t[t["ATTRIBUTE"]=13]="ATTRIBUTE",t[t["BLOT"]=14]="BLOT",t[t["INLINE"]=7]="INLINE",t[t["BLOCK"]=11]="BLOCK",t[t["BLOCK_BLOT"]=10]="BLOCK_BLOT",t[t["INLINE_BLOT"]=6]="INLINE_BLOT",t[t["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",t[t["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",t[t["ANY"]=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=u,e.find=d,e.query=f,e.register=p},function(t,e,n){var a=n(51),r=n(11),i=n(3),o=n(20),l=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},s.prototype["delete"]=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},s.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=i(!0,{},t),"object"===typeof n){if("number"===typeof t["delete"]&&"number"===typeof n["delete"])return this.ops[e-1]={delete:n["delete"]+t["delete"]},this;if("number"===typeof n["delete"]&&null!=t.insert&&(e-=1,n=this.ops[e-1],"object"!==typeof n))return this.ops.unshift(t),this;if(r(t.attributes,n.attributes)){if("string"===typeof t.insert&&"string"===typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"===typeof t.retain&&"number"===typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},s.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},s.prototype.filter=function(t){return this.ops.filter(t)},s.prototype.forEach=function(t){this.ops.forEach(t)},s.prototype.map=function(t){return this.ops.map(t)},s.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(a){var r=t(a)?e:n;r.push(a)})),[e,n]},s.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},s.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+o.length(e):e.delete?t-e.delete:t}),0)},s.prototype.length=function(){return this.reduce((function(t,e){return t+o.length(e)}),0)},s.prototype.slice=function(t,e){t=t||0,"number"!==typeof e&&(e=1/0);var n=[],a=o.iterator(this.ops),r=0;while(r<e&&a.hasNext()){var i;r<t?i=a.next(t-r):(i=a.next(e-r),n.push(i)),r+=o.length(i)}return new s(n)},s.prototype.compose=function(t){var e=o.iterator(this.ops),n=o.iterator(t.ops),a=[],i=n.peek();if(null!=i&&"number"===typeof i.retain&&null==i.attributes){var l=i.retain;while("insert"===e.peekType()&&e.peekLength()<=l)l-=e.peekLength(),a.push(e.next());i.retain-l>0&&n.next(i.retain-l)}var c=new s(a);while(e.hasNext()||n.hasNext())if("insert"===n.peekType())c.push(n.next());else if("delete"===e.peekType())c.push(e.next());else{var u=Math.min(e.peekLength(),n.peekLength()),d=e.next(u),f=n.next(u);if("number"===typeof f.retain){var p={};"number"===typeof d.retain?p.retain=u:p.insert=d.insert;var h=o.attributes.compose(d.attributes,f.attributes,"number"===typeof d.retain);if(h&&(p.attributes=h),c.push(p),!n.hasNext()&&r(c.ops[c.ops.length-1],p)){var m=new s(e.rest());return c.concat(m).chop()}}else"number"===typeof f["delete"]&&"number"===typeof d.retain&&c.push(f)}return c.chop()},s.prototype.concat=function(t){var e=new s(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},s.prototype.diff=function(t,e){if(this.ops===t.ops)return new s;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:l;var a=e===t?"on":"with";throw new Error("diff() called "+a+" non-document")})).join("")})),i=new s,c=a(n[0],n[1],e),u=o.iterator(this.ops),d=o.iterator(t.ops);return c.forEach((function(t){var e=t[1].length;while(e>0){var n=0;switch(t[0]){case a.INSERT:n=Math.min(d.peekLength(),e),i.push(d.next(n));break;case a.DELETE:n=Math.min(e,u.peekLength()),u.next(n),i["delete"](n);break;case a.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),e);var l=u.next(n),s=d.next(n);r(l.insert,s.insert)?i.retain(n,o.attributes.diff(l.attributes,s.attributes)):i.push(s)["delete"](n);break}e-=n}})),i.chop()},s.prototype.eachLine=function(t,e){e=e||"\n";var n=o.iterator(this.ops),a=new s,r=0;while(n.hasNext()){if("insert"!==n.peekType())return;var i=n.peek(),l=o.length(i)-n.peekLength(),c="string"===typeof i.insert?i.insert.indexOf(e,l)-l:-1;if(c<0)a.push(n.next());else if(c>0)a.push(n.next(c));else{if(!1===t(a,n.next(1).attributes||{},r))return;r+=1,a=new s}}a.length()>0&&t(a,{},r)},s.prototype.transform=function(t,e){if(e=!!e,"number"===typeof t)return this.transformPosition(t,e);var n=o.iterator(this.ops),a=o.iterator(t.ops),r=new s;while(n.hasNext()||a.hasNext())if("insert"!==n.peekType()||!e&&"insert"===a.peekType())if("insert"===a.peekType())r.push(a.next());else{var i=Math.min(n.peekLength(),a.peekLength()),l=n.next(i),c=a.next(i);if(l["delete"])continue;c["delete"]?r.push(c):r.retain(i,o.attributes.transform(l.attributes,c.attributes,e))}else r.retain(o.length(n.next()));return r.chop()},s.prototype.transformPosition=function(t,e){e=!!e;var n=o.iterator(this.ops),a=0;while(n.hasNext()&&a<=t){var r=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(a<t||!e)&&(t+=r),a+=r):t-=Math.min(r,t-a)}return t},t.exports=s},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)},l=function(t){if(!t||"[object Object]"!==a.call(t))return!1;var e,r=n.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!i)return!1;for(e in t);return"undefined"===typeof e||n.call(t,e)},s=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},c=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(i)return i(t,e).value}return t[e]};t.exports=function t(){var e,n,a,r,i,u,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"===typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});f<p;++f)if(e=arguments[f],null!=e)for(n in e)a=c(d,n),r=c(e,n),d!==r&&(h&&r&&(l(r)||(i=o(r)))?(i?(i=!1,u=a&&o(a)?a:[]):u=a&&l(a)?a:{},s(d,{name:n,newValue:t(h,u,r)})):"undefined"!==typeof r&&s(d,{name:n,newValue:r}));return d}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(3),o=v(i),l=n(2),s=v(l),c=n(0),u=v(c),d=n(16),f=v(d),p=n(6),h=v(p),m=n(7),b=v(m);function v(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function _(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var w=1,x=function(t){function e(){return y(this,e),g(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return _(e,t),a(e,[{key:"attach",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new u.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new s.default).insert(this.value(),(0,o.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=u.default.query(t,u.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,a){this.format(n,a)}},{key:"insertAt",value:function(t,n,a){if("string"===typeof n&&n.endsWith("\n")){var i=u.default.create(O.blotName);this.parent.insertBefore(i,0===t?this:this.next),i.insertAt(0,n.slice(0,-1))}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,a)}}]),e}(u.default.Embed);x.scope=u.default.Scope.BLOCK_BLOT;var O=function(t){function e(t){y(this,e);var n=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return _(e,t),a(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(u.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),k(e))}),new s.default).insert("\n",k(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,a,i){n<=0||(u.default.query(a,u.default.Scope.BLOCK)?t+n===this.length()&&this.format(a,i):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),a,i),this.cache={})}},{key:"insertAt",value:function(t,n,a){if(null!=a)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,a);if(0!==n.length){var i=n.split("\n"),o=i.shift();o.length>0&&(t<this.length()-1||null==this.children.tail?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),o):this.children.tail.insertAt(this.children.tail.length(),o),this.cache={});var l=this;i.reduce((function(t,e){return l=l.split(t,!0),l.insertAt(0,e),e.length}),t+o.length)}}},{key:"insertBefore",value:function(t,n){var a=this.children.head;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),a instanceof f.default&&a.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+w),this.cache.length}},{key:"moveChildren",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-w)){var a=this.clone();return 0===t?(this.parent.insertBefore(a,this),this):(this.parent.insertBefore(a,this.next),a)}var i=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},i}}]),e}(u.default.Block);function k(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"===typeof t.formats&&(e=(0,o.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:k(t.parent,e))}O.blotName="block",O.tagName="P",O.defaultChild="break",O.allowedChildren=[h.default,u.default.Embed,b.default],e.bubbleFormats=k,e.BlockEmbed=x,e.default=O},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}();n(50);var o=n(2),l=k(o),s=n(14),c=k(s),u=n(8),d=k(u),f=n(9),p=k(f),h=n(0),m=k(h),b=n(15),v=k(b),y=n(3),g=k(y),_=n(10),w=k(_),x=n(34),O=k(x);function k(t){return t&&t.__esModule?t:{default:t}}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var $=(0,w.default)("quill"),S=function(){function t(e){var n=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(E(this,t),this.options=T(e,a),this.container=this.options.container,null==this.container)return $.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new d.default,this.scroll=m.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new c.default(this.scroll),this.selection=new v.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(d.default.events.EDITOR_CHANGE,(function(t){t===d.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(d.default.events.SCROLL_UPDATE,(function(t,e){var a=n.selection.lastRange,r=a&&0===a.length?a.index:void 0;j.call(n,(function(){return n.editor.update(null,e,r)}),t)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),w.default.level(t)}},{key:"find",value:function(t){return t.__quill||m.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&$.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof t){var r=t.attrName||t.blotName;"string"===typeof r?this.register("formats/"+r,t,e):Object.keys(t).forEach((function(a){n.register(a,t[a],e)}))}else null==this.imports[t]||a||$.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?m.default.register(e):t.startsWith("modules")&&"function"===typeof e.register&&e.register()}}]),i(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof t){var n=t;t=document.createElement("div"),t.classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var a=this,i=P(t,e,n),o=r(i,4);return t=o[0],e=o[1],n=o[3],j.call(this,(function(){return a.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;return j.call(this,(function(){var a=n.getSelection(!0),r=new l.default;if(null==a)return r;if(m.default.query(t,m.default.Scope.BLOCK))r=n.editor.formatLine(a.index,a.length,C({},t,e));else{if(0===a.length)return n.selection.format(t,e),r;r=n.editor.formatText(a.index,a.length,C({},t,e))}return n.setSelection(a,d.default.sources.SILENT),r}),a)}},{key:"formatLine",value:function(t,e,n,a,i){var o=this,l=void 0,s=P(t,e,n,a,i),c=r(s,4);return t=c[0],e=c[1],l=c[2],i=c[3],j.call(this,(function(){return o.editor.formatLine(t,e,l)}),i,t,0)}},{key:"formatText",value:function(t,e,n,a,i){var o=this,l=void 0,s=P(t,e,n,a,i),c=r(s,4);return t=c[0],e=c[1],l=c[2],i=c[3],j.call(this,(function(){return o.editor.formatText(t,e,l)}),i,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var a=this.container.getBoundingClientRect();return{bottom:n.bottom-a.top,height:n.height,left:n.left-a.left,right:n.right-a.left,top:n.top-a.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=P(t,e),a=r(n,2);return t=a[0],e=a[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=P(t,e),a=r(n,2);return t=a[0],e=a[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,a){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return j.call(this,(function(){return r.editor.insertEmbed(e,n,a)}),i,e)}},{key:"insertText",value:function(t,e,n,a,i){var o=this,l=void 0,s=P(t,0,n,a,i),c=r(s,4);return t=c[0],l=c[2],i=c[3],j.call(this,(function(){return o.editor.insertText(t,e,l)}),i,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var a=this,i=P(t,e,n),o=r(i,4);return t=o[0],e=o[1],n=o[3],j.call(this,(function(){return a.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API;return j.call(this,(function(){t=new l.default(t);var n=e.getLength(),a=e.editor.deleteText(0,n),r=e.editor.applyDelta(t),i=r.ops[r.ops.length-1];null!=i&&"string"===typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),r.delete(1));var o=a.compose(r);return o}),n)}},{key:"setSelection",value:function(e,n,a){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var i=P(e,n,a),o=r(i,4);e=o[0],n=o[1],a=o[3],this.selection.setRange(new b.Range(e,n),a),a!==d.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API,n=(new l.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API;return j.call(this,(function(){return t=new l.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function T(t,e){if(e=(0,g.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e),e.theme&&e.theme!==S.DEFAULTS.theme){if(e.theme=S.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=O.default;var n=(0,g.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var a=Object.keys(n.modules).concat(Object.keys(e.modules)),r=a.reduce((function(t,e){var n=S.import("modules/"+e);return null==n?$.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,g.default)(!0,{},S.DEFAULTS,{modules:r},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"===typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function j(t,e,n,a){if(this.options.strict&&!this.isEnabled()&&e===d.default.sources.USER)return new l.default;var r=null==n?null:this.getSelection(),i=this.editor.delta,o=t();if(null!=r&&(!0===n&&(n=r.index),null==a?r=A(r,o,e):0!==a&&(r=A(r,n,a,e)),this.setSelection(r,d.default.sources.SILENT)),o.length()>0){var s,c,u=[d.default.events.TEXT_CHANGE,o,i,e];if((s=this.emitter).emit.apply(s,[d.default.events.EDITOR_CHANGE].concat(u)),e!==d.default.sources.SILENT)(c=this.emitter).emit.apply(c,u)}return o}function P(t,e,n,r,i){var o={};return"number"===typeof t.index&&"number"===typeof t.length?"number"!==typeof e?(i=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!==typeof e&&(i=r,r=n,n=e,e=0),"object"===("undefined"===typeof n?"undefined":a(n))?(o=n,i=r):"string"===typeof n&&(null!=r?o[n]=r:i=n),i=i||d.default.sources.API,[t,e,o,i]}function A(t,e,n,a){if(null==t)return null;var i=void 0,o=void 0;if(e instanceof l.default){var s=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,a!==d.default.sources.USER)})),c=r(s,2);i=c[0],o=c[1]}else{var u=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&a===d.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)})),f=r(u,2);i=f[0],o=f[1]}return new b.Range(i,o-i)}S.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},S.events=d.default.events,S.sources=d.default.sources,S.version="1.3.7",S.imports={delta:l.default,parchment:m.default,"core/module":p.default,"core/theme":O.default},e.expandConfig=T,e.overload=P,e.default=S},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(7),o=c(i),l=n(0),s=c(l);function c(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(){return u(this,e),d(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),a(e,[{key:"formatAt",value:function(t,n,a,i){if(e.compare(this.statics.blotName,a)<0&&s.default.query(a,s.default.Scope.BLOT)){var o=this.isolate(t,n);i&&o.wrap(a,i)}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,a,i)}},{key:"optimize",value:function(t){if(r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var a=e.order.indexOf(t),r=e.order.indexOf(n);return a>=0||r>=0?a-r:t===n?0:t<n?-1:1}}]),e}(s.default.Inline);p.allowedChildren=[p,s.default.Embed,o.default],p.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),r=i(a);function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(){return o(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(r.default.Text);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(54),o=c(i),l=n(10),s=c(l);function c(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=(0,s.default)("quill:events"),h=["selectionchange","mousedown","mouseup","click"];h.forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)}))}))}));var m=function(t){function e(){u(this,e);var t=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",p.error),t}return f(e,t),a(e,[{key:"emit",value:function(){p.log.apply(p,arguments),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];(this.listeners[t.type]||[]).forEach((function(e){var a=e.node,r=e.handler;(t.target===a||a.contains(t.target))&&r.apply(void 0,[t].concat(n))}))}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(o.default);m.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},m.sources={API:"api",SILENT:"silent",USER:"user"},e.default=m},function(t,e,n){"use strict";function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a(this,t),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=["error","warn","log","info"],r="warn";function i(t){if(a.indexOf(t)<=a.indexOf(r)){for(var e,n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(e=console)[t].apply(e,i)}}function o(t){return a.reduce((function(e,n){return e[n]=i.bind(console,n,t),e}),{})}i.level=o.level=function(t){r=t},e.default=o},function(t,e,n){var a=Array.prototype.slice,r=n(52),i=n(53),o=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:c(t,e,n))};function l(t){return null===t||void 0===t}function s(t){return!(!t||"object"!==typeof t||"number"!==typeof t.length)&&("function"===typeof t.copy&&"function"===typeof t.slice&&!(t.length>0&&"number"!==typeof t[0]))}function c(t,e,n){var c,u;if(l(t)||l(e))return!1;if(t.prototype!==e.prototype)return!1;if(i(t))return!!i(e)&&(t=a.call(t),e=a.call(e),o(t,e,n));if(s(t)){if(!s(e))return!1;if(t.length!==e.length)return!1;for(c=0;c<t.length;c++)if(t[c]!==e[c])return!1;return!0}try{var d=r(t),f=r(e)}catch(p){return!1}if(d.length!=f.length)return!1;for(d.sort(),f.sort(),c=d.length-1;c>=0;c--)if(d[c]!=f[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!o(t[u],e[u],n))return!1;return typeof t===typeof e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),r=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var r=a.Scope.TYPE&a.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&a.Scope.LEVEL|r:this.scope=a.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){var n=a.query(t,a.Scope.BLOT&(this.scope|a.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var a=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(2),l=b(o),s=n(0),c=b(s),u=n(4),d=b(u),f=n(6),p=b(f),h=n(7),m=b(h);function b(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function g(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _=function(t){function e(){return v(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return g(e,t),e}(p.default);_.blotName="code",_.tagName="CODE";var w=function(t){function e(){return v(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return g(e,t),r(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,n){return e.insert(n).insert("\n",t.formats())}),new l.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var r=this.descendant(m.default,this.length()-1),o=a(r,1),l=o[0];null!=l&&l.deleteAt(l.length()-1,1),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,a,r){if(0!==n&&null!=c.default.query(a,c.default.Scope.BLOCK)&&(a!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var i=this.newlineIndex(t);if(!(i<0||i>=t+n)){var o=this.newlineIndex(t,!0)+1,l=i-o+1,s=this.isolate(o,l),u=s.next;s.format(a,r),u instanceof e&&u.formatAt(0,t-o+n-l,a,r)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(m.default,t),i=a(r,2),o=i[0],l=i[1];o.insertAt(l,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(c.default.create("text","\n")),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=c.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof c.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(d.default);w.blotName="code-block",w.tagName="PRE",w.TAB=" ",e.Code=_,e.default=w},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=n(2),l=E(o),s=n(20),c=E(s),u=n(0),d=E(u),f=n(13),p=E(f),h=n(24),m=E(h),b=n(4),v=E(b),y=n(16),g=E(y),_=n(21),w=E(_),x=n(11),O=E(x),k=n(3),C=E(k);function E(t){return t&&t.__esModule?t:{default:t}}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var T=/^[ -~]*$/,j=function(){function t(e){S(this,t),this.scroll=e,this.delta=this.getDelta()}return i(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),t=A(t),t.reduce((function(t,o){var l=o.retain||o.delete||o.insert.length||1,s=o.attributes||{};if(null!=o.insert){if("string"===typeof o.insert){var u=o.insert;u.endsWith("\n")&&n&&(n=!1,u=u.slice(0,-1)),t>=i&&!u.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,u);var f=e.scroll.line(t),p=r(f,2),h=p[0],m=p[1],y=(0,C.default)({},(0,b.bubbleFormats)(h));if(h instanceof v.default){var g=h.descendant(d.default.Leaf,m),_=r(g,1),w=_[0];y=(0,C.default)(y,(0,b.bubbleFormats)(w))}s=c.default.attributes.diff(y,s)||{}}else if("object"===a(o.insert)){var x=Object.keys(o.insert)[0];if(null==x)return t;e.scroll.insertAt(t,x,o.insert[x])}i+=l}return Object.keys(s).forEach((function(n){e.scroll.formatAt(t,l,n,s[n])})),t+l}),0),t.reduce((function(t,n){return"number"===typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new l.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(a).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var i=n.scroll.lines(t,Math.max(e,1)),o=e;i.forEach((function(e){var i=e.length();if(e instanceof p.default){var l=t-e.offset(n.scroll),s=e.newlineIndex(l+o)-l+1;e.formatAt(l,s,r,a[r])}else e.format(r,a[r]);o-=i}))}})),this.scroll.optimize(),this.update((new l.default).retain(t).retain(e,(0,w.default)(a)))}},{key:"formatText",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(a).forEach((function(r){n.scroll.formatAt(t,e,r,a[r])})),this.update((new l.default).retain(t).retain(e,(0,w.default)(a)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new l.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],a=[];0===e?this.scroll.path(t).forEach((function(t){var e=r(t,1),i=e[0];i instanceof v.default?n.push(i):i instanceof d.default.Leaf&&a.push(i)})):(n=this.scroll.lines(t,e),a=this.scroll.descendants(d.default.Leaf,t,e));var i=[n,a].map((function(t){if(0===t.length)return{};var e=(0,b.bubbleFormats)(t.shift());while(Object.keys(e).length>0){var n=t.shift();if(null==n)return e;e=P((0,b.bubbleFormats)(n),e)}return e}));return C.default.apply(C.default,i)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"===typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new l.default).retain(t).insert($({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(a).forEach((function(r){n.scroll.formatAt(t,e.length,r,a[r])})),this.update((new l.default).retain(t).insert(e,(0,w.default)(a)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===v.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof g.default)}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),a=this.scroll.line(t+e),i=r(a,2),o=i[0],s=i[1],c=0,u=new l.default;null!=o&&(c=o instanceof p.default?o.newlineIndex(s)-s+1:o.length()-s,u=o.delta().slice(s,s+c-1).insert("\n"));var d=this.getContents(t,e+c),f=d.diff((new l.default).insert(n).concat(u)),h=(new l.default).retain(t).concat(f);return this.applyDelta(h)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(T)&&d.default.find(e[0].target)){var r=d.default.find(e[0].target),i=(0,b.bubbleFormats)(r),o=r.offset(this.scroll),s=e[0].oldValue.replace(m.default.CONTENTS,""),c=(new l.default).insert(s),u=(new l.default).insert(r.value()),f=(new l.default).retain(o).concat(c.diff(u,n));t=f.reduce((function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)}),new l.default),this.delta=a.compose(t)}else this.delta=this.getDelta(),t&&(0,O.default)(a.compose(t),this.delta)||(t=a.diff(this.delta,n));return t}}]),t}();function P(t,e){return Object.keys(e).reduce((function(n,a){return null==t[a]||(e[a]===t[a]?n[a]=e[a]:Array.isArray(e[a])?e[a].indexOf(t[a])<0&&(n[a]=e[a].concat([t[a]])):n[a]=[e[a],t[a]]),n}),{})}function A(t){return t.reduce((function(t,e){if(1===e.insert){var n=(0,w.default)(e.attributes);return delete n["image"],t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||(e=(0,w.default)(e),e.attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"===typeof e.insert){var a=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(a,e.attributes)}return t.push(e)}),new l.default)}e.default=j},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var a=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=n(0),o=m(i),l=n(21),s=m(l),c=n(11),u=m(c),d=n(8),f=m(d),p=n(10),h=m(p);function m(t){return t&&t.__esModule?t:{default:t}}function b(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var y=(0,h.default)("quill:selection"),g=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;v(this,t),this.index=e,this.length=n},_=function(){function t(e,n){var a=this;v(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create("cursor",this),this.lastRange=this.savedRange=new g(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){a.mouseDown||setTimeout(a.update.bind(a,f.default.sources.USER),1)})),this.emitter.on(f.default.events.EDITOR_CHANGE,(function(t,e){t===f.default.events.TEXT_CHANGE&&e.length()>0&&a.update(f.default.sources.SILENT)})),this.emitter.on(f.default.events.SCROLL_BEFORE_UPDATE,(function(){if(a.hasFocus()){var t=a.getNativeRange();null!=t&&t.start.node!==a.cursor.textNode&&a.emitter.once(f.default.events.SCROLL_UPDATE,(function(){try{a.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(e){}}))}})),this.emitter.on(f.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,r=n.startNode,i=n.startOffset,o=n.endNode,l=n.endOffset;a.setNativeRange(r,i,o,l)}})),this.update(f.default.sources.SILENT)}return r(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(f.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(t,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var a=o.default.find(n.start.node,!1);if(null==a)return;if(a instanceof o.default.Leaf){var r=a.split(n.start.offset);a.parent.insertBefore(this.cursor,r)}else a.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,i=this.scroll.leaf(t),o=a(i,2),l=o[0],s=o[1];if(null==l)return null;var c=l.position(s,!0),u=a(c,2);r=u[0],s=u[1];var d=document.createRange();if(e>0){d.setStart(r,s);var f=this.scroll.leaf(t+e),p=a(f,2);if(l=p[0],s=p[1],null==l)return null;var h=l.position(s,!0),m=a(h,2);return r=m[0],s=m[1],d.setEnd(r,s),d.getBoundingClientRect()}var b="left",v=void 0;return r instanceof Text?(s<r.data.length?(d.setStart(r,s),d.setEnd(r,s+1)):(d.setStart(r,s-1),d.setEnd(r,s),b="right"),v=d.getBoundingClientRect()):(v=l.domNode.getBoundingClientRect(),s>0&&(b="right")),{bottom:v.top+v.height,height:v.height,left:v[b],right:v[b],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return y.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();if(null==t)return[null,null];var e=this.normalizedToRange(t);return[e,t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map((function(t){var n=a(t,2),r=n[0],i=n[1],l=o.default.find(r,!0),s=l.offset(e.scroll);return 0===i?s:l instanceof o.default.Container?s+l.length():s+l.index(r,i)})),i=Math.min(Math.max.apply(Math,b(r)),this.scroll.length()-1),l=Math.min.apply(Math,[i].concat(b(r)));return new g(l,i-l)}},{key:"normalizeNative",value:function(t){if(!w(this.root,t.startContainer)||!t.collapsed&&!w(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){var e=t.node,n=t.offset;while(!(e instanceof Text)&&e.childNodes.length>0)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],i=this.scroll.length();return n.forEach((function(t,n){t=Math.min(i-1,t);var o=void 0,l=e.scroll.leaf(t),s=a(l,2),c=s[0],u=s[1],d=c.position(u,0!==n),f=a(d,2);o=f[0],u=f[1],r.push(o,u)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,i=this.scroll.line(Math.min(e.index,r)),o=a(i,1),l=o[0],s=l;if(e.length>0){var c=this.scroll.line(Math.min(e.index+e.length,r)),u=a(c,1);s=u[0]}if(null!=l&&null!=s){var d=t.getBoundingClientRect();n.top<d.top?t.scrollTop-=d.top-n.top:n.bottom>d.bottom&&(t.scrollTop+=n.bottom-d.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(y.info("setNativeRange",t,e,n,a),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var o=(this.getNativeRange()||{}).native;if(null==o||r||t!==o.startContainer||e!==o.startOffset||n!==o.endContainer||a!==o.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(a=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var l=document.createRange();l.setStart(t,e),l.setEnd(n,a),i.removeAllRanges(),i.addRange(l)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;if("string"===typeof e&&(n=e,e=!1),y.info("setRange",t),null!=t){var a=this.rangeToNative(t);this.setNativeRange.apply(this,b(a).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default.sources.USER,e=this.lastRange,n=this.getRange(),r=a(n,2),i=r[0],o=r[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,u.default)(e,this.lastRange)){var l;!this.composing&&null!=o&&o.native.collapsed&&o.start.node!==this.cursor.textNode&&this.cursor.restore();var c,d=[f.default.events.SELECTION_CHANGE,(0,s.default)(this.lastRange),(0,s.default)(e),t];if((l=this.emitter).emit.apply(l,[f.default.events.EDITOR_CHANGE].concat(d)),t!==f.default.sources.SILENT)(c=this.emitter).emit.apply(c,d)}}}]),t}();function w(t,e){try{e.parentNode}catch(n){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=g,e.default=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(0),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),a(e,[{key:"insertInto",value:function(t,n){0===t.children.length?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(o.default.Embed);d.blotName="break",d.tagName="BR",e.default=d},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(44),i=n(30),o=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return a(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new r.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var n=s(e);t.insertBefore(n,t.children.head||void 0)}catch(a){if(a instanceof o.ParchmentError)return;throw a}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,n){t.deleteAt(e,n)}))},e.prototype.descendant=function(t,n){var a=this.children.find(n),r=a[0],i=a[1];return null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t?[r,i]:r instanceof e?r.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,n,a){void 0===n&&(n=0),void 0===a&&(a=Number.MAX_VALUE);var r=[],i=a;return this.children.forEachAt(n,a,(function(n,a,o){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&r.push(n),n instanceof e&&(r=r.concat(n.descendants(t,a,i))),i-=o})),r},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,a){this.children.forEachAt(t,e,(function(t,e,r){t.formatAt(e,r,n,a)}))},e.prototype.insertAt=function(t,e,n){var a=this.children.find(t),r=a[0],i=a[1];if(r)r.insertAt(i,e,n);else{var l=null==n?o.create("text",e):o.create(e,n);this.appendChild(l)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new o.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(n){t.insertBefore(n,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=o.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var a=this.children.find(t,n),r=a[0],i=a[1],o=[[this,t]];return r instanceof e?o.concat(r.path(i,n)):(null!=r&&o.push([r,i]),o)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),(function(t,a,r){t=t.split(a,e),n.appendChild(t)})),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,a=[],r=[];t.forEach((function(t){t.target===n.domNode&&"childList"===t.type&&(a.push.apply(a,t.addedNodes),r.push.apply(r,t.removedNodes))})),r.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=o.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}})),a.filter((function(t){return t.parentNode==n.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=o.find(t.nextSibling));var a=s(t);a.next==e&&null!=a.next||(null!=a.parent&&a.parent.removeChild(n),n.insertBefore(a,e||void 0))}))},e}(i.default);function s(t){var e=o.find(t);if(null==e)try{e=o.create(t)}catch(n){e=o.create(o.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=l},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),i=n(31),o=n(17),l=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return a(e,t),e.formats=function(t){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=l.query(t);n instanceof r.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var a=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(a),a},e.prototype.update=function(e,n){var a=this;t.prototype.update.call(this,e,n),e.some((function(t){return t.target===a.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(n,a){var r=t.prototype.wrap.call(this,n,a);return r instanceof e&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},e}(o.default);e.default=s},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(30),i=n(1),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(r.default);e.default=o},function(t,e,n){var a=n(11),r=n(3),i={attributes:{compose:function(t,e,n){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var a=r(!0,{},e);for(var i in n||(a=Object.keys(a).reduce((function(t,e){return null!=a[e]&&(t[e]=a[e]),t}),{})),t)void 0!==t[i]&&void 0===e[i]&&(a[i]=t[i]);return Object.keys(a).length>0?a:void 0},diff:function(t,e){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,r){return a(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!==typeof t)return e;if("object"===typeof e){if(!n)return e;var a=Object.keys(e).reduce((function(n,a){return void 0===t[a]&&(n[a]=e[a]),n}),{});return Object.keys(a).length>0?a:void 0}}},iterator:function(t){return new o(t)},length:function(t){return"number"===typeof t["delete"]?t["delete"]:"number"===typeof t.retain?t.retain:"string"===typeof t.insert?t.insert.length:1}};function o(t){this.ops=t,this.index=0,this.offset=0}o.prototype.hasNext=function(){return this.peekLength()<1/0},o.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,a=i.length(e);if(t>=a-n?(t=a-n,this.index+=1,this.offset=0):this.offset+=t,"number"===typeof e["delete"])return{delete:t};var r={};return e.attributes&&(r.attributes=e.attributes),"number"===typeof e.retain?r.retain=t:"string"===typeof e.insert?r.insert=e.insert.substr(n,t):r.insert=e.insert,r}return{retain:1/0}},o.prototype.peek=function(){return this.ops[this.index]},o.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},o.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},o.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),a=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(a)}return[]},t.exports=i},function(t,n){var a=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var n,a,r;try{n=Map}catch(d){n=function(){}}try{a=Set}catch(d){a=function(){}}try{r=Promise}catch(d){r=function(){}}function i(o,l,s,c,d){"object"===typeof l&&(s=l.depth,c=l.prototype,d=l.includeNonEnumerable,l=l.circular);var f=[],p=[],h="undefined"!=typeof e;function m(o,s){if(null===o)return null;if(0===s)return o;var b,v;if("object"!=typeof o)return o;if(t(o,n))b=new n;else if(t(o,a))b=new a;else if(t(o,r))b=new r((function(t,e){o.then((function(e){t(m(e,s-1))}),(function(t){e(m(t,s-1))}))}));else if(i.__isArray(o))b=[];else if(i.__isRegExp(o))b=new RegExp(o.source,u(o)),o.lastIndex&&(b.lastIndex=o.lastIndex);else if(i.__isDate(o))b=new Date(o.getTime());else{if(h&&e.isBuffer(o))return b=e.allocUnsafe?e.allocUnsafe(o.length):new e(o.length),o.copy(b),b;t(o,Error)?b=Object.create(o):"undefined"==typeof c?(v=Object.getPrototypeOf(o),b=Object.create(v)):(b=Object.create(c),v=c)}if(l){var y=f.indexOf(o);if(-1!=y)return p[y];f.push(o),p.push(b)}for(var g in t(o,n)&&o.forEach((function(t,e){var n=m(e,s-1),a=m(t,s-1);b.set(n,a)})),t(o,a)&&o.forEach((function(t){var e=m(t,s-1);b.add(e)})),o){var _;v&&(_=Object.getOwnPropertyDescriptor(v,g)),_&&null==_.set||(b[g]=m(o[g],s-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(o);for(g=0;g<w.length;g++){var x=w[g],O=Object.getOwnPropertyDescriptor(o,x);(!O||O.enumerable||d)&&(b[x]=m(o[x],s-1),O.enumerable||Object.defineProperty(b,x,{enumerable:!1}))}}if(d){var k=Object.getOwnPropertyNames(o);for(g=0;g<k.length;g++){var C=k[g];O=Object.getOwnPropertyDescriptor(o,C);O&&O.enumerable||(b[C]=m(o[C],s-1),Object.defineProperty(b,C,{enumerable:!1}))}}return b}return"undefined"==typeof l&&(l=!0),"undefined"==typeof s&&(s=1/0),m(o,s)}function o(t){return Object.prototype.toString.call(t)}function l(t){return"object"===typeof t&&"[object Date]"===o(t)}function s(t){return"object"===typeof t&&"[object Array]"===o(t)}function c(t){return"object"===typeof t&&"[object RegExp]"===o(t)}function u(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return i.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},i.__objToStr=o,i.__isDate=l,i.__isArray=s,i.__isRegExp=c,i.__getRegExpFlags=u,i}();"object"===typeof t&&t.exports&&(t.exports=a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0),l=y(o),s=n(8),c=y(s),u=n(4),d=y(u),f=n(16),p=y(f),h=n(13),m=y(h),b=n(25),v=y(b);function y(t){return t&&t.__esModule?t:{default:t}}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function w(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function x(t){return t instanceof d.default||t instanceof u.BlockEmbed}var O=function(t){function e(t,n){g(this,e);var a=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.emitter=n.emitter,Array.isArray(n.whitelist)&&(a.whitelist=n.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),a.domNode.addEventListener("DOMNodeInserted",(function(){})),a.optimize(),a.enable(),a}return w(e,t),r(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var r=this.line(t),o=a(r,2),l=o[0],s=o[1],c=this.line(t+n),d=a(c,1),f=d[0];if(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=f&&l!==f&&s>0){if(l instanceof u.BlockEmbed||f instanceof u.BlockEmbed)return void this.optimize();if(l instanceof m.default){var h=l.newlineIndex(l.length(),!0);if(h>-1&&(l=l.split(h+1),l===f))return void this.optimize()}else if(f instanceof m.default){var b=f.newlineIndex(0);b>-1&&f.split(b+1)}var v=f.children.head instanceof p.default?null:f.children.head;l.moveChildren(f,v),l.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,a,r){(null==this.whitelist||this.whitelist[a])&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,a,r),this.optimize())}},{key:"insertAt",value:function(t,n,a){if(null==a||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==a||null==l.default.query(n,l.default.Scope.BLOCK)){var r=l.default.create(this.statics.defaultChild);this.appendChild(r),null==a&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,a)}else{var o=l.default.create(n,a);this.appendChild(o)}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,a);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===l.default.Scope.INLINE_BLOT){var a=l.default.create(this.statics.defaultChild);a.appendChild(t),t=a}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(x,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function t(e,n,a){var r=[],i=a;return e.children.forEachAt(n,a,(function(e,n,a){x(e)?r.push(e):e instanceof l.default.Container&&(r=r.concat(t(e,n,i))),i-=a})),r};return n(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=c.default.sources.USER;"string"===typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,n,t),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(c.default.events.SCROLL_UPDATE,n,t)}}}]),e}(l.default.Scroll);O.blotName="scroll",O.className="ql-editor",O.tagName="DIV",O.defaultChild="block",O.allowedChildren=[d.default,u.BlockEmbed,v.default],e.default=O},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=n(21),l=k(o),s=n(11),c=k(s),u=n(3),d=k(u),f=n(2),p=k(f),h=n(20),m=k(h),b=n(0),v=k(b),y=n(5),g=k(y),_=n(10),w=k(_),x=n(9),O=k(x);function k(t){return t&&t.__esModule?t:{default:t}}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function S(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var T=(0,w.default)("quill:keyboard"),j=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",P=function(t){function e(t,n){E(this,e);var a=$(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.bindings={},Object.keys(a.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist["list"])&&a.options.bindings[e]&&a.addBinding(a.options.bindings[e])})),a.addBinding({key:e.keys.ENTER,shiftKey:null},I),a.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(a.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},N),a.addBinding({key:e.keys.DELETE},{collapsed:!0},L)):(a.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},N),a.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},L)),a.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},D),a.addBinding({key:e.keys.DELETE},{collapsed:!1},D),a.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},N),a.listen(),a}return S(e,t),i(e,null,[{key:"match",value:function(t,e){return e=M(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!e[n]!==t[n]&&null!==e[n]}))&&e.key===(t.which||t.keyCode)}}]),i(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=M(t);if(null==a||null==a.key)return T.warn("Attempted to add invalid keyboard binding",a);"function"===typeof e&&(e={handler:e}),"function"===typeof n&&(n={handler:n}),a=(0,d.default)(a,e,n),this.bindings[a.key]=this.bindings[a.key]||[],this.bindings[a.key].push(a)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,o=(t.bindings[i]||[]).filter((function(t){return e.match(n,t)}));if(0!==o.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var s=t.quill.getLine(l.index),u=r(s,2),d=u[0],f=u[1],p=t.quill.getLeaf(l.index),h=r(p,2),m=h[0],b=h[1],y=0===l.length?[m,b]:t.quill.getLeaf(l.index+l.length),g=r(y,2),_=g[0],w=g[1],x=m instanceof v.default.Text?m.value().slice(0,b):"",O=_ instanceof v.default.Text?_.value().slice(w):"",k={collapsed:0===l.length,empty:0===l.length&&d.length()<=1,format:t.quill.getFormat(l),offset:f,prefix:x,suffix:O},C=o.some((function(e){if(null!=e.collapsed&&e.collapsed!==k.collapsed)return!1;if(null!=e.empty&&e.empty!==k.empty)return!1;if(null!=e.offset&&e.offset!==k.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==k.format[t]})))return!1}else if("object"===a(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=k.format[t]:!1===e.format[t]?null==k.format[t]:(0,c.default)(e.format[t],k.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(k.prefix))&&(!(null!=e.suffix&&!e.suffix.test(k.suffix))&&!0!==e.handler.call(t,l,k))}));C&&n.preventDefault()}}}}))}}]),e}(O.default);function A(t,e){var n,a=t===P.keys.LEFT?"prefix":"suffix";return n={key:t,shiftKey:e,altKey:null},C(n,a,/^$/),C(n,"handler",(function(n){var a=n.index;t===P.keys.RIGHT&&(a+=n.length+1);var i=this.quill.getLeaf(a),o=r(i,1),l=o[0];return!(l instanceof v.default.Embed)||(t===P.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,g.default.sources.USER):this.quill.setSelection(n.index-1,g.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,g.default.sources.USER):this.quill.setSelection(n.index+n.length+1,g.default.sources.USER),!1)})),n}function N(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),a=r(n,1),i=a[0],o={};if(0===e.offset){var l=this.quill.getLine(t.index-1),s=r(l,1),c=s[0];if(null!=c&&c.length()>1){var u=i.formats(),d=this.quill.getFormat(t.index-1,1);o=m.default.attributes.diff(u,d)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-f,f,g.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(t.index-f,f,o,g.default.sources.USER),this.quill.focus()}}function L(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var a={},i=0,o=this.quill.getLine(t.index),l=r(o,1),s=l[0];if(e.offset>=s.length()-1){var c=this.quill.getLine(t.index+1),u=r(c,1),d=u[0];if(d){var f=s.formats(),p=this.quill.getFormat(t.index,1);a=m.default.attributes.diff(f,p)||{},i=d.length()}}this.quill.deleteText(t.index,n,g.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(t.index+i-1,n,a,g.default.sources.USER)}}function D(t){var e=this.quill.getLines(t),n={};if(e.length>1){var a=e[0].formats(),r=e[e.length-1].formats();n=m.default.attributes.diff(r,a)||{}}this.quill.deleteText(t,g.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,g.default.sources.USER),this.quill.setSelection(t.index,g.default.sources.SILENT),this.quill.focus()}function I(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var a=Object.keys(e.format).reduce((function(t,n){return v.default.query(n,v.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",a,g.default.sources.USER),this.quill.setSelection(t.index+1,g.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==a[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],g.default.sources.USER))}))}function q(t){return{key:P.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=v.default.query("code-block"),a=e.index,i=e.length,o=this.quill.scroll.descendant(n,a),l=r(o,2),s=l[0],c=l[1];if(null!=s){var u=this.quill.getIndex(s),d=s.newlineIndex(c,!0)+1,f=s.newlineIndex(u+c+i),p=s.domNode.textContent.slice(d,f).split("\n");c=0,p.forEach((function(e,r){t?(s.insertAt(d+c,n.TAB),c+=n.TAB.length,0===r?a+=n.TAB.length:i+=n.TAB.length):e.startsWith(n.TAB)&&(s.deleteAt(d+c,n.TAB.length),c-=n.TAB.length,0===r?a-=n.TAB.length:i-=n.TAB.length),c+=e.length+1})),this.quill.update(g.default.sources.USER),this.quill.setSelection(a,i,g.default.sources.SILENT)}}}}function R(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],g.default.sources.USER)}}}function M(t){if("string"===typeof t||"number"===typeof t)return M({key:t});if("object"===("undefined"===typeof t?"undefined":a(t))&&(t=(0,l.default)(t,!1)),"string"===typeof t.key)if(null!=P.keys[t.key.toUpperCase()])t.key=P.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[j]=t.shortKey,delete t.shortKey),t}P.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},P.DEFAULTS={bindings:{bold:R("bold"),italic:R("italic"),underline:R("underline"),indent:{key:P.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",g.default.sources.USER)}},outdent:{key:P.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",g.default.sources.USER)}},"outdent backspace":{key:P.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",g.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,g.default.sources.USER)}},"indent code-block":q(!0),"outdent code-block":q(!1),"remove tab":{key:P.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,g.default.sources.USER)}},tab:{key:P.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new p.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,g.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,g.default.sources.SILENT)}},"list empty enter":{key:P.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,g.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,g.default.sources.USER)}},"checklist enter":{key:P.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),a=n[0],i=n[1],o=(0,d.default)({},a.formats(),{list:"checked"}),l=(new p.default).retain(t.index).insert("\n",o).retain(a.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,g.default.sources.USER),this.quill.setSelection(t.index+1,g.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:P.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),a=r(n,2),i=a[0],o=a[1],l=(new p.default).retain(t.index).insert("\n",e.format).retain(i.length()-o-1).retain(1,{header:null});this.quill.updateContents(l,g.default.sources.USER),this.quill.setSelection(t.index+1,g.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,a=this.quill.getLine(t.index),i=r(a,2),o=i[0],l=i[1];if(l>n)return!0;var s=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(t.index," ",g.default.sources.USER),this.quill.history.cutoff();var c=(new p.default).retain(t.index-l).delete(n+1).retain(o.length()-2-l).retain(1,{list:s});this.quill.updateContents(c,g.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,g.default.sources.SILENT)}},"code exit":{key:P.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),a=n[0],i=n[1],o=(new p.default).retain(t.index+a.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(o,g.default.sources.USER)}},"embed left":A(P.keys.LEFT,!1),"embed left shift":A(P.keys.LEFT,!0),"embed right":A(P.keys.RIGHT,!1),"embed right shift":A(P.keys.RIGHT,!0)}},e.default=P,e.SHORTKEY=j},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=n(0),l=u(o),s=n(7),c=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,n){d(this,e);var a=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.selection=n,a.textNode=document.createTextNode(e.CONTENTS),a.domNode.appendChild(a.textNode),a._length=0,a}return p(e,t),i(e,null,[{key:"value",value:function(){}}]),i(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);var a=this,i=0;while(null!=a&&a.statics.scope!==l.default.Scope.BLOCK_BLOT)i+=a.offset(a.parent),a=a.parent;null!=a&&(this._length=e.CONTENTS.length,a.optimize(),a.formatAt(i,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,i=void 0,o=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var s=[t,n.start.offset,n.end.offset];r=s[0],i=s[1],o=s[2]}while(null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var u=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof c.default?(r=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=e.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(l.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var d=[i,o].map((function(t){return Math.max(0,Math.min(r.data.length,t-1))})),f=a(d,2);return i=f[0],o=f[1],{startNode:r,startOffset:i,endNode:r,endOffset:o}}}}},{key:"update",value:function(t,e){var n=this;if(t.some((function(t){return"characterData"===t.type&&t.target===n.textNode}))){var a=this.restore();a&&(e.range=a)}}},{key:"value",value:function(){return""}}]),e}(l.default.Embed);h.blotName="cursor",h.className="ql-cursor",h.tagName="span",h.CONTENTS="\ufeff",e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),r=l(a),i=n(4),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),e}(r.default.Container);d.allowedChildren=[o.default,i.BlockEmbed,d],e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(0),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),a(e,[{key:"value",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):n}}]),e}(o.default.Attributor.Style),f=new o.default.Attributor.Class("color","ql-color",{scope:o.default.Scope.INLINE}),p=new d("color","color",{scope:o.default.Scope.INLINE});e.ColorAttributor=d,e.ColorClass=f,e.ColorStyle=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(6),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),a(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return f(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(o.default);function f(t,e){var n=document.createElement("a");n.href=t;var a=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(a)>-1}d.blotName="link",d.tagName="A",d.SANITIZED_URL="about:blank",d.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=d,e.sanitize=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=n(23),o=c(i),l=n(107),s=c(l);function c(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=0;function f(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var p=function(){function t(e){var n=this;u(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:n.togglePicker();break;case o.default.keys.ESCAPE:n.escape(),t.preventDefault();break;default:}})),this.select.addEventListener("change",this.update.bind(this))}return r(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),f(this.label,"aria-expanded"),f(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",(function(){e.selectItem(n,!0)})),n.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case o.default.keys.ESCAPE:e.escape(),t.preventDefault();break;default:}})),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=s.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+d,d+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(n){var a=t.buildItem(n);e.appendChild(a),!0===n.selected&&t.selectItem(a)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":a(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),r=T(a),i=n(5),o=T(i),l=n(4),s=T(l),c=n(16),u=T(c),d=n(25),f=T(d),p=n(24),h=T(p),m=n(35),b=T(m),v=n(6),y=T(v),g=n(22),_=T(g),w=n(7),x=T(w),O=n(55),k=T(O),C=n(42),E=T(C),$=n(23),S=T($);function T(t){return t&&t.__esModule?t:{default:t}}o.default.register({"blots/block":s.default,"blots/block/embed":l.BlockEmbed,"blots/break":u.default,"blots/container":f.default,"blots/cursor":h.default,"blots/embed":b.default,"blots/inline":y.default,"blots/scroll":_.default,"blots/text":x.default,"modules/clipboard":k.default,"modules/history":E.default,"modules/keyboard":S.default}),r.default.register(s.default,u.default,h.default,y.default,_.default,x.default),e.default=o.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),r=function(){function t(t){this.domNode=t,this.domNode[a.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new a.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"===typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"===typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return a.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[a.DATA_KEY]},t.prototype.deleteAt=function(t,e){var n=this.isolate(t,e);n.remove()},t.prototype.formatAt=function(t,e,n,r){var i=this.isolate(t,e);if(null!=a.query(n,a.Scope.BLOT)&&r)i.wrap(n,r);else if(null!=a.query(n,a.Scope.ATTRIBUTE)){var o=a.create(this.statics.scope);i.wrap(o),o.format(n,r)}},t.prototype.insertAt=function(t,e,n){var r=null==n?a.create("text",e):a.create(e,n),i=this.split(t);this.parent.insertBefore(r,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[a.DATA_KEY]&&delete this.domNode[a.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"===typeof t?a.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"===typeof t?a.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(12),r=n(32),i=n(33),o=n(1),l=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=a.default.keys(this.domNode),n=r.default.keys(this.domNode),l=i.default.keys(this.domNode);e.concat(n).concat(l).forEach((function(e){var n=o.query(e,o.Scope.ATTRIBUTE);n instanceof a.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var a=e.attributes[n].value(e.domNode);t.format(n,a)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=l},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);function i(t,e){var n=t.getAttribute("class")||"";return n.split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){var e=i(t,this.keyName);e.forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=i(t,this.keyName)[0]||"",n=e.slice(this.keyName.length+1);return this.canAdd(t,n)?n:""},e}(r.default);e.default=o},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);function i(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){var e=t.split(":");return e[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[i(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[i(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[i(this.keyName)];return this.canAdd(t,e)?e:""},e}(r.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,n){r(this,t),this.quill=e,this.options=n,this.modules={}}return a(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();i.DEFAULTS={modules:{}},i.themes={default:i},e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(0),o=c(i),l=n(7),s=c(l);function c(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p="\ufeff",h=function(t){function e(t){u(this,e);var n=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(t){n.contentNode.appendChild(t)})),n.leftGuard=document.createTextNode(p),n.rightGuard=document.createTextNode(p),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return f(e,t),a(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,a=t.data.split(p).join("");if(t===this.leftGuard)if(this.prev instanceof s.default){var r=this.prev.length();this.prev.insertAt(r,a),e={startNode:this.prev.domNode,startOffset:r+a.length}}else n=document.createTextNode(a),this.parent.insertBefore(o.default.create(n),this),e={startNode:n,startOffset:a.length};else t===this.rightGuard&&(this.next instanceof s.default?(this.next.insertAt(0,a),e={startNode:this.next.domNode,startOffset:a.length}):(n=document.createTextNode(a),this.parent.insertBefore(o.default.create(n),this.next),e={startNode:n,startOffset:a.length}));return t.data=p,e}},{key:"update",value:function(t,e){var n=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var a=n.restore(t.target);a&&(e.range=a)}}))}}]),e}(o.default.Embed);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var a=n(0),r=i(a);function i(t){return t&&t.__esModule?t:{default:t}}var o={scope:r.default.Scope.BLOCK,whitelist:["right","center","justify"]},l=new r.default.Attributor.Attribute("align","align",o),s=new r.default.Attributor.Class("align","ql-align",o),c=new r.default.Attributor.Style("align","text-align",o);e.AlignAttribute=l,e.AlignClass=s,e.AlignStyle=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var a=n(0),r=o(a),i=n(26);function o(t){return t&&t.__esModule?t:{default:t}}var l=new r.default.Attributor.Class("background","ql-bg",{scope:r.default.Scope.INLINE}),s=new i.ColorAttributor("background","background-color",{scope:r.default.Scope.INLINE});e.BackgroundClass=l,e.BackgroundStyle=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var a=n(0),r=i(a);function i(t){return t&&t.__esModule?t:{default:t}}var o={scope:r.default.Scope.BLOCK,whitelist:["rtl"]},l=new r.default.Attributor.Attribute("direction","dir",o),s=new r.default.Attributor.Class("direction","ql-direction",o),c=new r.default.Attributor.Style("direction","direction",o);e.DirectionAttribute=l,e.DirectionClass=s,e.DirectionStyle=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(0),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d={scope:o.default.Scope.INLINE,whitelist:["serif","monospace"]},f=new o.default.Attributor.Class("font","ql-font",d),p=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),a(e,[{key:"value",value:function(t){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(o.default.Attributor.Style),h=new p("font","font-family",d);e.FontStyle=h,e.FontClass=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var a=n(0),r=i(a);function i(t){return t&&t.__esModule?t:{default:t}}var o=new r.default.Attributor.Class("size","ql-size",{scope:r.default.Scope.INLINE,whitelist:["small","large","huge"]}),l=new r.default.Attributor.Style("size","font-size",{scope:r.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=o,e.SizeStyle=l},function(t,e,n){"use strict";t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=n(0),i=u(r),o=n(5),l=u(o),s=n(9),c=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,n){d(this,e);var a=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.lastRecorded=0,a.ignoreChange=!1,a.clear(),a.quill.on(l.default.events.EDITOR_CHANGE,(function(t,e,n,r){t!==l.default.events.TEXT_CHANGE||a.ignoreChange||(a.options.userOnly&&r!==l.default.sources.USER?a.transform(e):a.record(e,n))})),a.quill.keyboard.addBinding({key:"Z",shortKey:!0},a.undo.bind(a)),a.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},a.redo.bind(a)),/Win/i.test(navigator.platform)&&a.quill.keyboard.addBinding({key:"Y",shortKey:!0},a.redo.bind(a)),a}return p(e,t),a(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],l.default.sources.USER),this.ignoreChange=!1;var a=b(n[t]);this.quill.setSelection(a)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),a=Date.now();if(this.lastRecorded+this.options.delay>a&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),t=r.redo.compose(t)}else this.lastRecorded=a;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(c.default);function m(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"===typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=i.default.query(t,i.default.Scope.BLOCK)})))}function b(t){var e=t.reduce((function(t,e){return t+=e.delete||0,t}),0),n=t.length()-e;return m(t)&&(n-=1),n}h.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=h,e.getLastChangeIndex=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(3),o=O(i),l=n(2),s=O(l),c=n(8),u=O(c),d=n(23),f=O(d),p=n(34),h=O(p),m=n(59),b=O(m),v=n(60),y=O(v),g=n(28),_=O(g),w=n(61),x=O(w);function O(t){return t&&t.__esModule?t:{default:t}}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function E(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $=[!1,"center","right","justify"],S=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],T=[!1,"serif","monospace"],j=["1","2","3",!1],P=["small",!1,"large","huge"],A=function(t){function e(t,n){k(this,e);var a=C(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n)),r=function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==a.tooltip||a.tooltip.root.contains(n.target)||document.activeElement===a.tooltip.textbox||a.quill.hasFocus()||a.tooltip.hide(),null!=a.pickers&&a.pickers.forEach((function(t){t.container.contains(n.target)||t.close()}))};return t.emitter.listenDOM("click",document.body,r),a}return E(e,t),a(e,[{key:"addModule",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){var n=t.getAttribute("class")||"";n.split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n]["rtl"];else if("string"===typeof e[n])t.innerHTML=e[n];else{var a=t.value||"";null!=a&&e[n][a]&&(t.innerHTML=e[n][a])}}))}))}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&D(t,$),new y.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&D(t,S,"background"===n?"#ffffff":"#000000"),new b.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?D(t,T):t.classList.contains("ql-header")?D(t,j):t.classList.contains("ql-size")&&D(t,P)),new _.default(t)}));var a=function(){n.pickers.forEach((function(t){t.update()}))};this.quill.on(u.default.events.EDITOR_CHANGE,a)}}]),e}(h.default);A.DEFAULTS=(0,o.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&(e=document.createElement("input"),e.setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var a=t.quill.getSelection(!0);t.quill.updateContents((new s.default).retain(a.index).delete(a.length).insert({image:n.target.result}),u.default.sources.USER),t.quill.setSelection(a.index+1,u.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var N=function(t){function e(t,n){k(this,e);var a=C(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.textbox=a.root.querySelector('input[type="text"]'),a.listen(),a}return E(e,t),a(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){f.default.match(e,"enter")?(t.save(),e.preventDefault()):f.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,u.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,u.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=L(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var a=n.index+n.length;this.quill.insertEmbed(a,this.root.getAttribute("data-mode"),t,u.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(a+1," ",u.default.sources.USER),this.quill.setSelection(a+2,u.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),e}(x.default);function L(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function D(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var a=document.createElement("option");e===n?a.setAttribute("selected","selected"):a.setAttribute("value",e),t.appendChild(a)}))}e.BaseTooltip=N,e.default=A},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){var e,n=this.iterator();while(e=n())if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){var e=0,n=this.head;while(null!=n){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);var n,a=this.iterator();while(n=a()){var r=n.length();if(t<r||e&&t===r&&(null==n.next||0!==n.next.length()))return[n,t];t-=r}return[null,0]},t.prototype.forEach=function(t){var e,n=this.iterator();while(e=n())t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0)){var a,r=this.find(t),i=r[0],o=r[1],l=t-o,s=this.iterator(i);while((a=s())&&l<t+e){var c=a.length();t>l?n(a,t-l,Math.min(e,l+c-t)):n(a,0,Math.min(c,t+e-l)),l+=c}}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){var n,a=this.iterator();while(n=a())e=t(e,n);return e},t}();e.default=a},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),i=n(1),o={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=100,s=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,o),n.attach(),n}return a(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,a,r){this.update(),t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.insertAt=function(e,n,a){this.update(),t.prototype.insertAt.call(this,e,n,a)},e.prototype.optimize=function(e,n){var a=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);var o=[].slice.call(this.observer.takeRecords());while(o.length>0)e.push(o.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==a&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&s(t.parent))},c=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof r.default&&t.children.forEach(c),t.optimize(n))},u=e,d=0;u.length>0;d+=1){if(d>=l)throw new Error("[Parchment] Maximum optimize iterations reached");u.forEach((function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=i.find(t,!1);s(e,!1),e instanceof r.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(c),u=[].slice.call(this.observer.takeRecords()),o=u.slice();while(o.length>0)e.push(o.pop())}},e.prototype.update=function(e,n){var a=this;void 0===n&&(n={}),e=e||this.observer.takeRecords(),e.map((function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==a&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)})),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(r.default);e.default=s},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),i=n(1);function o(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,a){var i=this;n!==this.statics.blotName||a?t.prototype.format.call(this,n,a):(this.children.forEach((function(t){t instanceof r.default||(t=t.wrap(e.blotName,!0)),i.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,a,r){if(null!=this.formats()[a]||i.query(a,i.Scope.ATTRIBUTE)){var o=this.isolate(e,n);o.format(a,r)}else t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var a=this.formats();if(0===Object.keys(a).length)return this.unwrap();var r=this.next;r instanceof e&&r.prev===this&&o(a,r.formats())&&(r.moveChildren(this),r.remove())},e.blotName="inline",e.scope=i.Scope.INLINE_BLOT,e.tagName="SPAN",e}(r.default);e.default=l},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),i=n(1),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.formats=function(n){var a=i.query(e.blotName).tagName;if(n.tagName!==a)return t.formats.call(this,n)},e.prototype.format=function(n,a){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||a?t.prototype.format.call(this,n,a):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,a,r){null!=i.query(a,i.Scope.BLOCK)?this.format(a,r):t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.insertAt=function(e,n,a){if(null==a||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,a);else{var r=this.split(e),o=i.create(n,a);r.parent.insertBefore(o,r)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(r.default);e.default=o},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,a,r){0===e&&n===this.length()?this.format(a,r):t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(r.default);e.default=i},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),i=n(1),o=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return a(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e["normalize"]&&(e=e["normalize"]()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,a){null==a?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,a)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(r.default);e.default=o},function(t,e,n){"use strict";var a=document.createElement("div");if(a.classList.toggle("test-class",!1),a.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)===!e?e:r.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!==typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var a=n.indexOf(t,e);return-1!==a&&a===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),a=n.length>>>0,r=arguments[1],i=0;i<a;i++)if(e=n[i],t.call(r,e,i,n))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var n=-1,a=1,r=0;function i(t,e,n){if(t==e)return t?[[r,t]]:[];(n<0||t.length<n)&&(n=null);var a=c(t,e),i=t.substring(0,a);t=t.substring(a),e=e.substring(a),a=u(t,e);var l=t.substring(t.length-a);t=t.substring(0,t.length-a),e=e.substring(0,e.length-a);var s=o(t,e);return i&&s.unshift([r,i]),l&&s.push([r,l]),f(s),null!=n&&(s=m(s,n)),s=b(s),s}function o(t,e){var o;if(!t)return[[a,e]];if(!e)return[[n,t]];var s=t.length>e.length?t:e,c=t.length>e.length?e:t,u=s.indexOf(c);if(-1!=u)return o=[[a,s.substring(0,u)],[r,c],[a,s.substring(u+c.length)]],t.length>e.length&&(o[0][0]=o[2][0]=n),o;if(1==c.length)return[[n,t],[a,e]];var f=d(t,e);if(f){var p=f[0],h=f[1],m=f[2],b=f[3],v=f[4],y=i(p,m),g=i(h,b);return y.concat([[r,v]],g)}return l(t,e)}function l(t,e){for(var r=t.length,i=e.length,o=Math.ceil((r+i)/2),l=o,c=2*o,u=new Array(c),d=new Array(c),f=0;f<c;f++)u[f]=-1,d[f]=-1;u[l+1]=0,d[l+1]=0;for(var p=r-i,h=p%2!=0,m=0,b=0,v=0,y=0,g=0;g<o;g++){for(var _=-g+m;_<=g-b;_+=2){var w=l+_;$=_==-g||_!=g&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1;var x=$-_;while($<r&&x<i&&t.charAt($)==e.charAt(x))$++,x++;if(u[w]=$,$>r)b+=2;else if(x>i)m+=2;else if(h){var O=l+p-_;if(O>=0&&O<c&&-1!=d[O]){var k=r-d[O];if($>=k)return s(t,e,$,x)}}}for(var C=-g+v;C<=g-y;C+=2){O=l+C;k=C==-g||C!=g&&d[O-1]<d[O+1]?d[O+1]:d[O-1]+1;var E=k-C;while(k<r&&E<i&&t.charAt(r-k-1)==e.charAt(i-E-1))k++,E++;if(d[O]=k,k>r)y+=2;else if(E>i)v+=2;else if(!h){w=l+p-C;if(w>=0&&w<c&&-1!=u[w]){var $=u[w];x=l+$-w;if(k=r-k,$>=k)return s(t,e,$,x)}}}}return[[n,t],[a,e]]}function s(t,e,n,a){var r=t.substring(0,n),o=e.substring(0,a),l=t.substring(n),s=e.substring(a),c=i(r,o),u=i(l,s);return c.concat(u)}function c(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;var n=0,a=Math.min(t.length,e.length),r=a,i=0;while(n<r)t.substring(i,r)==e.substring(i,r)?(n=r,i=n):a=r,r=Math.floor((a-n)/2+n);return r}function u(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;var n=0,a=Math.min(t.length,e.length),r=a,i=0;while(n<r)t.substring(t.length-r,t.length-i)==e.substring(e.length-r,e.length-i)?(n=r,i=n):a=r,r=Math.floor((a-n)/2+n);return r}function d(t,e){var n=t.length>e.length?t:e,a=t.length>e.length?e:t;if(n.length<4||2*a.length<n.length)return null;function r(t,e,n){var a,r,i,o,l=t.substring(n,n+Math.floor(t.length/4)),s=-1,d="";while(-1!=(s=e.indexOf(l,s+1))){var f=c(t.substring(n),e.substring(s)),p=u(t.substring(0,n),e.substring(0,s));d.length<p+f&&(d=e.substring(s-p,s)+e.substring(s,s+f),a=t.substring(0,n-p),r=t.substring(n+f),i=e.substring(0,s-p),o=e.substring(s+f))}return 2*d.length>=t.length?[a,r,i,o,d]:null}var i,o,l,s,d,f=r(n,a,Math.ceil(n.length/4)),p=r(n,a,Math.ceil(n.length/2));if(!f&&!p)return null;i=p?f&&f[4].length>p[4].length?f:p:f,t.length>e.length?(o=i[0],l=i[1],s=i[2],d=i[3]):(s=i[0],d=i[1],o=i[2],l=i[3]);var h=i[4];return[o,l,s,d,h]}function f(t){t.push([r,""]);var e,i=0,o=0,l=0,s="",d="";while(i<t.length)switch(t[i][0]){case a:l++,d+=t[i][1],i++;break;case n:o++,s+=t[i][1],i++;break;case r:o+l>1?(0!==o&&0!==l&&(e=c(d,s),0!==e&&(i-o-l>0&&t[i-o-l-1][0]==r?t[i-o-l-1][1]+=d.substring(0,e):(t.splice(0,0,[r,d.substring(0,e)]),i++),d=d.substring(e),s=s.substring(e)),e=u(d,s),0!==e&&(t[i][1]=d.substring(d.length-e)+t[i][1],d=d.substring(0,d.length-e),s=s.substring(0,s.length-e))),0===o?t.splice(i-l,o+l,[a,d]):0===l?t.splice(i-o,o+l,[n,s]):t.splice(i-o-l,o+l,[n,s],[a,d]),i=i-o-l+(o?1:0)+(l?1:0)+1):0!==i&&t[i-1][0]==r?(t[i-1][1]+=t[i][1],t.splice(i,1)):i++,l=0,o=0,s="",d="";break}""===t[t.length-1][1]&&t.pop();var p=!1;i=1;while(i<t.length-1)t[i-1][0]==r&&t[i+1][0]==r&&(t[i][1].substring(t[i][1].length-t[i-1][1].length)==t[i-1][1]?(t[i][1]=t[i-1][1]+t[i][1].substring(0,t[i][1].length-t[i-1][1].length),t[i+1][1]=t[i-1][1]+t[i+1][1],t.splice(i-1,1),p=!0):t[i][1].substring(0,t[i+1][1].length)==t[i+1][1]&&(t[i-1][1]+=t[i+1][1],t[i][1]=t[i][1].substring(t[i+1][1].length)+t[i+1][1],t.splice(i+1,1),p=!0)),i++;p&&f(t)}var p=i;function h(t,e){if(0===e)return[r,t];for(var a=0,i=0;i<t.length;i++){var o=t[i];if(o[0]===n||o[0]===r){var l=a+o[1].length;if(e===l)return[i+1,t];if(e<l){t=t.slice();var s=e-a,c=[o[0],o[1].slice(0,s)],u=[o[0],o[1].slice(s)];return t.splice(i,1,c,u),[i+1,t]}a=l}}throw new Error("cursor_pos is out of bounds!")}function m(t,e){var n=h(t,e),a=n[1],i=n[0],o=a[i],l=a[i+1];if(null==o)return t;if(o[0]!==r)return t;if(null!=l&&o[1]+l[1]===l[1]+o[1])return a.splice(i,2,l,o),v(a,i,2);if(null!=l&&0===l[1].indexOf(o[1])){a.splice(i,2,[l[0],o[1]],[0,o[1]]);var s=l[1].slice(o[1].length);return s.length>0&&a.splice(i+2,0,[l[0],s]),v(a,i,3)}return t}function b(t){for(var e=!1,i=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},o=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},l=2;l<t.length;l+=1)t[l-2][0]===r&&o(t[l-2][1])&&t[l-1][0]===n&&i(t[l-1][1])&&t[l][0]===a&&i(t[l][1])&&(e=!0,t[l-1][1]=t[l-2][1].slice(-1)+t[l-1][1],t[l][1]=t[l-2][1].slice(-1)+t[l][1],t[l-2][1]=t[l-2][1].slice(0,-1));if(!e)return t;var s=[];for(l=0;l<t.length;l+=1)t[l][1].length>0&&s.push(t[l]);return s}function v(t,e,n){for(var a=e+n-1;a>=0&&a>=e-1;a--)if(a+1<t.length){var r=t[a],i=t[a+1];r[0]===i[1]&&t.splice(a,2,[r[0],r[1]+i[1]])}return t}p.INSERT=a,p.DELETE=n,p.EQUAL=r,t.exports=p},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}e=t.exports="function"===typeof Object.keys?Object.keys:n,e.shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function a(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function r(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}e=t.exports=n?a:r,e.supported=a,e.unsupported=r},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,a="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(a=!1)),o.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(a?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},o.prototype.listeners=function(t,e){var n=a?a+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,l=new Array(o);i<o;i++)l[i]=r[i].fn;return l},o.prototype.emit=function(t,e,n,r,i,o){var l=a?a+t:t;if(!this._events[l])return!1;var s,c,u=this._events[l],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,n),!0;case 4:return u.fn.call(u.context,e,n,r),!0;case 5:return u.fn.call(u.context,e,n,r,i),!0;case 6:return u.fn.call(u.context,e,n,r,i,o),!0}for(c=1,s=new Array(d-1);c<d;c++)s[c-1]=arguments[c];u.fn.apply(u.context,s)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(t,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,e);break;case 3:u[c].fn.call(u[c].context,e,n);break;case 4:u[c].fn.call(u[c].context,e,n,r);break;default:if(!s)for(f=1,s=new Array(d-1);f<d;f++)s[f-1]=arguments[f];u[c].fn.apply(u[c].context,s)}}return!0},o.prototype.on=function(t,e,n){var r=new i(e,n||this),o=a?a+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},o.prototype.once=function(t,e,n){var r=new i(e,n||this,!0),o=a?a+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},o.prototype.removeListener=function(t,e,n,i){var o=a?a+t:t;if(!this._events[o])return this;if(!e)return 0===--this._eventsCount?this._events=new r:delete this._events[o],this;var l=this._events[o];if(l.fn)l.fn!==e||i&&!l.once||n&&l.context!==n||(0===--this._eventsCount?this._events=new r:delete this._events[o]);else{for(var s=0,c=[],u=l.length;s<u;s++)(l[s].fn!==e||i&&!l[s].once||n&&l[s].context!==n)&&c.push(l[s]);c.length?this._events[o]=1===c.length?c[0]:c:0===--this._eventsCount?this._events=new r:delete this._events[o]}return this},o.prototype.removeAllListeners=function(t){var e;return t?(e=a?a+t:t,this._events[e]&&(0===--this._eventsCount?this._events=new r:delete this._events[e])):(this._events=new r,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prototype.setMaxListeners=function(){return this},o.prefixed=a,o.EventEmitter=o,"undefined"!==typeof t&&(t.exports=o)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=n(3),l=E(o),s=n(2),c=E(s),u=n(0),d=E(u),f=n(5),p=E(f),h=n(10),m=E(h),b=n(9),v=E(b),y=n(36),g=n(37),_=n(13),w=E(_),x=n(26),O=n(38),k=n(39),C=n(40);function E(t){return t&&t.__esModule?t:{default:t}}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function j(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var P=(0,m.default)("quill:clipboard"),A="__ql-matcher",N=[[Node.TEXT_NODE,X],[Node.TEXT_NODE,G],["br",W],[Node.ELEMENT_NODE,G],[Node.ELEMENT_NODE,V],[Node.ELEMENT_NODE,Y],[Node.ELEMENT_NODE,U],[Node.ELEMENT_NODE,Z],["li",H],["b",K.bind(K,"bold")],["i",K.bind(K,"italic")],["style",z]],L=[y.AlignAttribute,O.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),D=[y.AlignStyle,g.BackgroundStyle,x.ColorStyle,O.DirectionStyle,k.FontStyle,C.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),I=function(t){function e(t,n){S(this,e);var a=T(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.root.addEventListener("paste",a.onPaste.bind(a)),a.container=a.quill.addContainer("ql-clipboard"),a.container.setAttribute("contenteditable",!0),a.container.setAttribute("tabindex",-1),a.matchers=[],N.concat(a.options.matchers).forEach((function(t){var e=r(t,2),i=e[0],o=e[1];(n.matchVisual||o!==Y)&&a.addMatcher(i,o)})),a}return j(e,t),i(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"===typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[w.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new c.default).insert(n,$({},w.default.blotName,e[w.default.blotName]))}var a=this.prepareMatching(),i=r(a,2),o=i[0],l=i[1],s=F(this.container,o,l);return M(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new c.default).retain(s.length()-1).delete(1))),P.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.default.sources.API;if("string"===typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,p.default.sources.SILENT);else{var a=this.convert(e);this.quill.updateContents((new c.default).retain(t).concat(a),n),this.quill.setSelection(t+a.length(),p.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),a=(new c.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(p.default.sources.SILENT),setTimeout((function(){a=a.concat(e.convert()).delete(n.length),e.quill.updateContents(a,p.default.sources.USER),e.quill.setSelection(a.length()-n.length,p.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=r,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(a){var i=r(a,2),o=i[0],l=i[1];switch(o){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:e.push(l);break;default:[].forEach.call(t.container.querySelectorAll(o),(function(t){t[A]=t[A]||[],t[A].push(l)}));break}})),[e,n]}}]),e}(v.default);function q(t,e,n){return"object"===("undefined"===typeof e?"undefined":a(e))?Object.keys(e).reduce((function(t,n){return q(t,n,e[n])}),t):t.reduce((function(t,a){return a.attributes&&a.attributes[e]?t.push(a):t.insert(a.insert,(0,l.default)({},$({},e,n),a.attributes))}),new c.default)}function R(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function M(t,e){for(var n="",a=t.ops.length-1;a>=0&&n.length<e.length;--a){var r=t.ops[a];if("string"!==typeof r.insert)break;n=r.insert+n}return n.slice(-1*e.length)===e}function B(t){if(0===t.childNodes.length)return!1;var e=R(t);return["block","list-item"].indexOf(e.display)>-1}function F(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new c.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(a,r){var i=F(r,e,n);return r.nodeType===t.ELEMENT_NODE&&(i=e.reduce((function(t,e){return e(r,t)}),i),i=(r[A]||[]).reduce((function(t,e){return e(r,t)}),i)),a.concat(i)}),new c.default):new c.default}function K(t,e,n){return q(n,t,!0)}function U(t,e){var n=d.default.Attributor.Attribute.keys(t),a=d.default.Attributor.Class.keys(t),r=d.default.Attributor.Style.keys(t),i={};return n.concat(a).concat(r).forEach((function(e){var n=d.default.query(e,d.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(t),i[n.attrName])||(n=L[e],null==n||n.attrName!==e&&n.keyName!==e||(i[n.attrName]=n.value(t)||void 0),n=D[e],null==n||n.attrName!==e&&n.keyName!==e||(n=D[e],i[n.attrName]=n.value(t)||void 0))})),Object.keys(i).length>0&&(e=q(e,i)),e}function V(t,e){var n=d.default.query(t);if(null==n)return e;if(n.prototype instanceof d.default.Embed){var a={},r=n.value(t);null!=r&&(a[n.blotName]=r,e=(new c.default).insert(a,n.formats(t)))}else"function"===typeof n.formats&&(e=q(e,n.blotName,n.formats(t)));return e}function W(t,e){return M(e,"\n")||e.insert("\n"),e}function z(){return new c.default}function H(t,e){var n=d.default.query(t);if(null==n||"list-item"!==n.blotName||!M(e,"\n"))return e;var a=-1,r=t.parentNode;while(!r.classList.contains("ql-clipboard"))"list"===(d.default.query(r)||{}).blotName&&(a+=1),r=r.parentNode;return a<=0?e:e.compose((new c.default).retain(e.length()-1).retain(1,{indent:a}))}function G(t,e){return M(e,"\n")||(B(t)||e.length()>0&&t.nextSibling&&B(t.nextSibling))&&e.insert("\n"),e}function Y(t,e){if(B(t)&&null!=t.nextElementSibling&&!M(e,"\n\n")){var n=t.offsetHeight+parseFloat(R(t).marginTop)+parseFloat(R(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function Z(t,e){var n={},a=t.style||{};return a.fontStyle&&"italic"===R(t).fontStyle&&(n.italic=!0),a.fontWeight&&(R(t).fontWeight.startsWith("bold")||parseInt(R(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=q(e,n)),parseFloat(a.textIndent||0)>0&&(e=(new c.default).insert("\t").concat(e)),e}function X(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!R(t.parentNode).whiteSpace.startsWith("pre")){var a=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,a.bind(a,!0)),(null==t.previousSibling&&B(t.parentNode)||null!=t.previousSibling&&B(t.previousSibling))&&(n=n.replace(/^\s+/,a.bind(a,!1))),(null==t.nextSibling&&B(t.parentNode)||null!=t.nextSibling&&B(t.nextSibling))&&(n=n.replace(/\s+$/,a.bind(a,!1)))}return e.insert(n)}I.DEFAULTS={matchers:[],matchVisual:!0},e.default=I,e.matchAttributor=U,e.matchBlot=V,e.matchNewline=G,e.matchSpacing=Y,e.matchText=X},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(6),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),a(e,[{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(o.default);d.blotName="bold",d.tagName=["STRONG","B"],e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var a=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=n(2),o=m(i),l=n(0),s=m(l),c=n(5),u=m(c),d=n(10),f=m(d),p=n(9),h=m(p);function m(t){return t&&t.__esModule?t:{default:t}}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function g(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _=(0,f.default)("quill:toolbar"),w=function(t){function e(t,n){v(this,e);var r,i=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(i.options.container)){var o=document.createElement("div");O(o,i.options.container),t.container.parentNode.insertBefore(o,t.container),i.container=o}else"string"===typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(t){i.addHandler(t,i.options.handlers[t])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(t){i.attach(t)})),i.quill.on(u.default.events.EDITOR_CHANGE,(function(t,e){t===u.default.events.SELECTION_CHANGE&&i.update(e)})),i.quill.on(u.default.events.SCROLL_OPTIMIZE,(function(){var t=i.quill.selection.getRange(),e=a(t,1),n=e[0];i.update(n)})),i):(r=_.error("Container required for toolbar",i.options),y(i,r))}return g(e,t),r(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void _.warn("ignoring attaching to disabled format",n,t);if(null==s.default.query(n))return void _.warn("ignoring attaching to nonexistent format",n,t)}var r="SELECT"===t.tagName?"change":"click";t.addEventListener(r,(function(r){var i=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var l=t.options[t.selectedIndex];i=!l.hasAttribute("selected")&&(l.value||!1)}else i=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),r.preventDefault();e.quill.focus();var c=e.quill.selection.getRange(),d=a(c,1),f=d[0];if(null!=e.handlers[n])e.handlers[n].call(e,i);else if(s.default.query(n).prototype instanceof s.default.Embed){if(i=prompt("Enter "+n),!i)return;e.quill.updateContents((new o.default).retain(f.index).delete(f.length).insert(b({},n,i)),u.default.sources.USER)}else e.quill.format(n,i,u.default.sources.USER);e.update(f)})),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(n){var r=a(n,2),i=r[0],o=r[1];if("SELECT"===o.tagName){var l=void 0;if(null==t)l=null;else if(null==e[i])l=o.querySelector("option[selected]");else if(!Array.isArray(e[i])){var s=e[i];"string"===typeof s&&(s=s.replace(/\"/g,'\\"')),l=o.querySelector('option[value="'+s+'"]')}null==l?(o.value="",o.selectedIndex=-1):l.selected=!0}else if(null==t)o.classList.remove("ql-active");else if(o.hasAttribute("value")){var c=e[i]===o.getAttribute("value")||null!=e[i]&&e[i].toString()===o.getAttribute("value")||null==e[i]&&!o.getAttribute("value");o.classList.toggle("ql-active",c)}else o.classList.toggle("ql-active",null!=e[i])}))}}]),e}(h.default);function x(t,e,n){var a=document.createElement("button");a.setAttribute("type","button"),a.classList.add("ql-"+e),null!=n&&(a.value=n),t.appendChild(a)}function O(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((function(t){if("string"===typeof t)x(n,t);else{var e=Object.keys(t)[0],a=t[e];Array.isArray(a)?k(n,e,a):x(n,e,a)}})),t.appendChild(n)}))}function k(t,e,n){var a=document.createElement("select");a.classList.add("ql-"+e),n.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),a.appendChild(e)})),t.appendChild(a)}w.DEFAULTS={},w.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(e){null!=s.default.query(e,s.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,u.default.sources.USER)},direction:function(t){var e=this.quill.getFormat()["align"];"rtl"===t&&null==e?this.quill.format("align","right",u.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,u.default.sources.USER),this.quill.format("direction",t,u.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),a=parseInt(n.indent||0);if("+1"===t||"-1"===t){var r="+1"===t?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",a+r,u.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,u.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n["list"]||"unchecked"===n["list"]?this.quill.format("list",!1,u.default.sources.USER):this.quill.format("list","unchecked",u.default.sources.USER):this.quill.format("list",t,u.default.sources.USER)}}},e.default=w,e.addControls=O},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(28),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(t,n){s(this,e);var a=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.label.innerHTML=n,a.container.classList.add("ql-color-picker"),[].slice.call(a.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),a}return u(e,t),a(e,[{key:"buildItem",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var a=this.label.querySelector(".ql-color-label"),i=t&&t.getAttribute("data-value")||"";a&&("line"===a.tagName?a.style.stroke=i:a.style.fill=i)}}]),e}(o.default);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(28),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(t,n){s(this,e);var a=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.container.classList.add("ql-icon-picker"),[].forEach.call(a.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=n[t.getAttribute("data-value")||""]})),a.defaultItem=a.container.querySelector(".ql-selected"),a.selectItem(a.defaultItem),a}return u(e,t),a(e,[{key:"selectItem",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(o.default);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,n){var a=this;r(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){a.root.style.marginTop=-1*a.quill.root.scrollTop+"px"})),this.hide()}return a(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var a=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),i=0;if(r.right>a.right&&(i=a.right-r.right,this.root.style.left=e+i+"px"),r.left<a.left&&(i=a.left-r.left,this.root.style.left=e+i+"px"),r.bottom>a.bottom){var o=r.bottom-r.top,l=t.bottom-t.top+o;this.root.style.top=n-l+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done);a=!0)if(n.push(o.value),e&&n.length===e)break}catch(s){r=!0,i=s}finally{try{!a&&l["return"]&&l["return"]()}finally{if(r)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=n(3),l=v(o),s=n(8),c=v(s),u=n(43),d=v(u),f=n(27),p=v(f),h=n(15),m=n(41),b=v(m);function v(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function _(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var w=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],x=function(t){function e(t,n){y(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=w);var a=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.container.classList.add("ql-snow"),a}return _(e,t),i(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),b.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),b.default),this.tooltip=new O(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,n){t.handlers["link"].call(t,!n.format.link)}))}}]),e}(d.default);x.DEFAULTS=(0,l.default)(!0,{},d.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n);var a=this.quill.theme.tooltip;a.edit("link",n)}else this.quill.format("link",!1)}}}}});var O=function(t){function e(t,n){y(this,e);var a=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.preview=a.root.querySelector("a.ql-preview"),a}return _(e,t),i(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,c.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(c.default.events.SELECTION_CHANGE,(function(e,n,r){if(null!=e){if(0===e.length&&r===c.default.sources.USER){var i=t.quill.scroll.descendant(p.default,e.index),o=a(i,2),l=o[0],s=o[1];if(null!=l){t.linkRange=new h.Range(e.index-s,l.length());var u=p.default.formats(l.domNode);return t.preview.textContent=u,t.preview.setAttribute("href",u),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(u.BaseTooltip);O.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(29),r=nt(a),i=n(36),o=n(38),l=n(64),s=n(65),c=nt(s),u=n(66),d=nt(u),f=n(67),p=nt(f),h=n(37),m=n(26),b=n(39),v=n(40),y=n(56),g=nt(y),_=n(68),w=nt(_),x=n(27),O=nt(x),k=n(69),C=nt(k),E=n(70),$=nt(E),S=n(71),T=nt(S),j=n(72),P=nt(j),A=n(73),N=nt(A),L=n(13),D=nt(L),I=n(74),q=nt(I),R=n(75),M=nt(R),B=n(57),F=nt(B),K=n(41),U=nt(K),V=n(28),W=nt(V),z=n(59),H=nt(z),G=n(60),Y=nt(G),Z=n(61),X=nt(Z),Q=n(108),J=nt(Q),tt=n(62),et=nt(tt);function nt(t){return t&&t.__esModule?t:{default:t}}r.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":i.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":v.SizeClass,"attributors/style/align":i.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":v.SizeStyle},!0),r.default.register({"formats/align":i.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":l.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":b.FontClass,"formats/size":v.SizeClass,"formats/blockquote":c.default,"formats/code-block":D.default,"formats/header":d.default,"formats/list":p.default,"formats/bold":g.default,"formats/code":L.Code,"formats/italic":w.default,"formats/link":O.default,"formats/script":C.default,"formats/strike":$.default,"formats/underline":T.default,"formats/image":P.default,"formats/video":N.default,"formats/list/item":f.ListItem,"modules/formula":q.default,"modules/syntax":M.default,"modules/toolbar":F.default,"themes/bubble":J.default,"themes/snow":et.default,"ui/icons":U.default,"ui/picker":W.default,"ui/icon-picker":Y.default,"ui/color-picker":H.default,"ui/tooltip":X.default},!0),e.default=r.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(0),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),a(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var a=this.value(t)||0;n="+1"===n?a+1:a-1}return 0===n?(this.remove(t),!0):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(o.default.Attributor.Class),f=new d("indent","ql-indent",{scope:o.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(4),r=i(a);function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(){return o(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(r.default);c.blotName="blockquote",c.tagName="blockquote",e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=n(4),i=o(r);function o(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return l(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),a(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(i.default);u.blotName="header",u.tagName=["H1","H2","H3","H4","H5","H6"],e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(0),o=d(i),l=n(4),s=d(l),c=n(25),u=d(c);function d(t){return t&&t.__esModule?t:{default:t}}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=function(t){function e(){return p(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),a(e,[{key:"format",value:function(t,n){t!==v.blotName||n?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(o.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:r(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(s.default);b.blotName="list-item",b.tagName="LI";var v=function(t){function e(t){p(this,e);var n=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),a=function(e){if(e.target.parentNode===t){var a=n.statics.formats(t),r=o.default.find(e.target);"checked"===a?r.format("list","unchecked"):"unchecked"===a&&r.format("list","checked")}};return t.addEventListener("touchstart",a),t.addEventListener("mousedown",a),n}return m(e,t),a(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",a=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||a.setAttribute("data-checked","checked"===t),a}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),a(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return f({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,n){if(t instanceof b)r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var a=null==n?this.length():n.offset(this),i=this.split(a);i.parent.insertBefore(t,i)}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=o.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(u.default);v.blotName="list",v.scope=o.default.Scope.BLOCK_BLOT,v.tagName=["OL","UL"],v.defaultChild="list-item",v.allowedChildren=[b],e.ListItem=b,e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(56),r=i(a);function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(){return o(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(r.default);c.blotName="italic",c.tagName=["EM","I"],e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(6),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),a(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(o.default);d.blotName="script",d.tagName=["SUB","SUP"],e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(6),r=i(a);function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(){return o(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(r.default);c.blotName="strike",c.tagName="S",e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(6),r=i(a);function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(){return o(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(r.default);c.blotName="underline",c.tagName="U",e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(0),o=s(i),l=n(27);function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=["alt","height","width"],p=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),a(e,[{key:"format",value:function(t,n){f.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(o.default.Embed);p.blotName="image",p.tagName="IMG",e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(4),o=n(27),l=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=["height","width"],p=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),a(e,[{key:"format",value:function(t,n){f.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return l.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(i.BlockEmbed);p.blotName="video",p.className="ql-video",p.tagName="IFRAME",e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(35),o=d(i),l=n(5),s=d(l),c=n(9),u=d(c);function d(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=function(t){function e(){return f(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),a(e,null,[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(o.default);m.blotName="formula",m.className="ql-formula",m.tagName="SPAN";var b=function(t){function e(){f(this,e);var t=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return h(e,t),a(e,null,[{key:"register",value:function(){s.default.register(m,!0)}}]),e}(u.default);e.FormulaBlot=m,e.default=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=n(0),o=p(i),l=n(5),s=p(l),c=n(9),u=p(c),d=n(13),f=p(d);function p(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function b(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return h(this,e),m(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return b(e,t),a(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(f.default);v.className="ql-syntax";var y=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),g=function(t){function e(t,n){h(this,e);var a=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!==typeof a.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return a.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){a.highlight(),r=null}),a.options.interval)})),a.highlight(),a}return b(e,t),a(e,null,[{key:"register",value:function(){s.default.register(y,!0),s.default.register(v,!0)}}]),a(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(s.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(v).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(s.default.sources.SILENT),null!=e&&this.quill.setSelection(e,s.default.sources.SILENT)}}}]),e}(u.default);g.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){var e=window.hljs.highlightAuto(t);return e.value}}(),interval:1e3},e.CodeBlock=v,e.CodeToken=y,e.default=g},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var a=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=n(3),o=h(i),l=n(8),s=h(l),c=n(43),u=h(c),d=n(15),f=n(41),p=h(f);function h(t){return t&&t.__esModule?t:{default:t}}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function v(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(t){function e(t,n){m(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=y);var a=b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.container.classList.add("ql-bubble"),a}return v(e,t),r(e,[{key:"extendToolbar",value:function(t){this.tooltip=new _(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),p.default)}}]),e}(u.default);g.DEFAULTS=(0,o.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var _=function(t){function e(t,n){m(this,e);var a=b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e,n,r){if(t===s.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&r===s.default.sources.USER){a.show(),a.root.style.left="0px",a.root.style.width="",a.root.style.width=a.root.offsetWidth+"px";var i=a.quill.getLines(e.index,e.length);if(1===i.length)a.position(a.quill.getBounds(e));else{var o=i[i.length-1],l=a.quill.getIndex(o),c=Math.min(o.length()-1,e.index+e.length-l),u=a.quill.getBounds(new d.Range(l,c));a.position(u)}}else document.activeElement!==a.textbox&&a.quill.hasFocus()&&a.hide()})),a}return v(e,t),r(e,[{key:"listen",value:function(){var t=this;a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(c.BaseTooltip);_.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=_,e.default=g},function(t,e,n){t.exports=n(63)}])["default"]}))}).call(this,n("b639").Buffer)},9469:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("登录公司")}},[n("el-switch",{model:{value:t.data.isLogin,callback:function(e){t.$set(t.data,"isLogin",e)},expression:"data.isLogin"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-companySelect",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"94bc":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("登录者")}},[n("el-switch",{model:{value:t.data.isLogin,callback:function(e){t.$set(t.data,"isLogin",e)},expression:"data.isLogin"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-userSelect",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},"953d":function(t,e,n){!function(e,a){t.exports=a(n("9339"))}(0,(function(t){return function(t){function e(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,a){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=2)}([function(e,n){e.exports=t},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(4),r=n.n(a),i=n(6),o=n(5),l=o(r.a,i.a,!1,null,null,null);e.default=l.exports},function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.quillEditor=e.Quill=void 0;var r=n(0),i=a(r),o=n(1),l=a(o),s=window.Quill||i.default,c=function(t,e){e&&(l.default.props.globalOptions.default=function(){return e}),t.component(l.default.name,l.default)},u={Quill:s,quillEditor:l.default,install:c};e.default=u,e.Quill=s,e.quillEditor=l.default,e.install=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(t,e,n){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=a(r),o=n(3),l=a(o),s=window.Quill||i.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])}return n},writable:!0,configurable:!0}),e.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:l.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var t=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new s(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",(function(e){e?t.$emit("focus",t.quill):t.$emit("blur",t.quill)})),this.quill.on("text-change",(function(e,n,a){var r=t.$refs.editor.children[0].innerHTML,i=t.quill,o=t.quill.getText();"<p><br></p>"===r&&(r=""),t._content=r,t.$emit("input",t._content),t.$emit("change",{html:r,text:o,quill:i})})),this.$emit("ready",this.quill))}},watch:{content:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},value:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},disabled:function(t,e){this.quill&&this.quill.enable(!t)}}}},function(t,e){t.exports=function(t,e,n,a,r,i){var o,l=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,l=t.default);var c,u="function"==typeof l?l.options:l;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),i?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=c):a&&(c=a),c){var d=u.functional,f=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(t,e){return c.call(e),f(t,e)}):u.beforeCreate=f?[].concat(f,c):[c]}return{esModule:o,exports:l,options:u}}},function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"quill-editor"},[t._t("toolbar"),t._v(" "),n("div",{ref:"editor"})],2)},r=[],i={render:a,staticRenderFns:r};e.a=i}])}))},"96cf":function(t,e){!function(e){"use strict";var n,a=Object.prototype,r=a.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag",c="object"===typeof t,u=e.regeneratorRuntime;if(u)c&&(t.exports=u);else{u=e.regeneratorRuntime=c?t.exports:{},u.wrap=_;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={},b={};b[o]=function(){return this};var v=Object.getPrototypeOf,y=v&&v(v(A([])));y&&y!==a&&r.call(y,o)&&(b=y);var g=k.prototype=x.prototype=Object.create(b);O.prototype=g.constructor=k,k.constructor=O,k[s]=O.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===O||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(g),t},u.awrap=function(t){return{__await:t}},C(E.prototype),E.prototype[l]=function(){return this},u.AsyncIterator=E,u.async=function(t,e,n,a){var r=new E(_(t,e,n,a));return u.isGeneratorFunction(e)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},C(g),g[s]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var a=e.pop();if(a in t)return n.value=a,n.done=!1,n}return n.done=!0,n}},u.values=A,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function a(a,r){return l.type="throw",l.arg=t,e.next=a,r&&(e.method="next",e.arg=n),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],l=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var a=n.completion;if("throw"===a.type){var r=a.arg;j(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,a){return this.delegate={iterator:A(t),resultName:e,nextLoc:a},"next"===this.method&&(this.arg=n),m}}}function _(t,e,n,a){var r=e&&e.prototype instanceof x?e:x,i=Object.create(r.prototype),o=new P(a||[]);return i._invoke=$(t,n,o),i}function w(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(a){return{type:"throw",arg:a}}}function x(){}function O(){}function k(){}function C(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function E(t){function e(n,a,i,o){var l=w(t[n],t,a);if("throw"!==l.type){var s=l.arg,c=s.value;return c&&"object"===typeof c&&r.call(c,"__await")?Promise.resolve(c.__await).then((function(t){e("next",t,i,o)}),(function(t){e("throw",t,i,o)})):Promise.resolve(c).then((function(t){s.value=t,i(s)}),o)}o(l.arg)}var n;function a(t,a){function r(){return new Promise((function(n,r){e(t,a,n,r)}))}return n=n?n.then(r,r):r()}this._invoke=a}function $(t,e,n){var a=d;return function(r,i){if(a===p)throw new Error("Generator is already running");if(a===h){if("throw"===r)throw i;return N()}n.method=r,n.arg=i;while(1){var o=n.delegate;if(o){var l=S(o,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=p;var s=w(t,e,n);if("normal"===s.type){if(a=n.done?h:f,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=h,n.method="throw",n.arg=s.arg)}}}function S(t,e){var a=t.iterator[e.method];if(a===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,S(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=w(a,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,m;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,m):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(t){if(t){var e=t[o];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function e(){while(++a<t.length)if(r.call(t,a))return e.value=t[a],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}return{next:N}}function N(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},"990b":function(t,e,n){var a=n("9093"),r=n("2621"),i=n("cb7c"),o=n("7726").Reflect;t.exports=o&&o.ownKeys||function(t){var e=a.f(i(t)),n=r.f;return n?e.concat(n(t)):e}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var a=n("d8e8");t.exports=function(t,e,n){if(a(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,a){return t.call(e,n,a)};case 3:return function(n,a,r){return t.call(e,n,a,r)}}return function(){return t.apply(e,arguments)}}},"9bf8":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("el-cascader",{key:t.data.key,attrs:{placeholder:t.$t("请选择"),size:"mini",props:{multiple:!0},options:t.data.options},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1),n("el-divider",[t._v(t._s(t.$t("选项")))]),n("div",{staticStyle:{"text-align":"center","margin-bottom":"16px"}},[n("el-radio-group",{attrs:{size:"mini"},on:{change:t.handleDataTypeChange},model:{value:t.data.dataType,callback:function(e){t.$set(t.data,"dataType",e)},expression:"data.dataType"}},[n("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("静态数据")))]),n("el-radio-button",{attrs:{label:"2"}},[t._v(t._s(t.$t("数据字典")))]),n("el-radio-button",{attrs:{label:"3"}},[t._v(t._s(t.$t("数据源")))])],1)],1),1==t.data.dataType?n("div",[n("el-tree",{ref:"tree",attrs:{data:t.data.options,"default-expand-all":"",draggable:"","node-key":"value","expand-on-click-node":!1},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.node,r=e.data;return n("span",{staticClass:"custom-tree-node"},[n("span",[t._v(t._s(a.label))]),n("span",[n("el-button",{attrs:{type:"text",size:"mini",icon:"el-icon-plus"},on:{click:function(e){return t.handleNodeAdd(r)}}}),n("el-button",{staticClass:"danger",attrs:{type:"text",size:"mini",icon:"el-icon-delete"},on:{click:function(e){return t.handleNodeRemove(a,r)}}})],1)])}}],null,!1,2832353477)}),n("div",{staticStyle:{"margin-left":"22px"}},[n("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-circle-plus-outline"},on:{click:t.handleParentNodeAdd}},[t._v(" "+t._s(t.$t("添加父级"))+" ")])],1)],1):2==t.data.dataType?n("div",[n("l-tree-select",{attrs:{data:t.dataItemClassifysTree,placeholder:t.$t("请选择"),size:"mini",parent:!1},on:{change:t.handleDataItemChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1):n("div",[n("el-form-item",{attrs:{label:t.$t("数据源")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.lr_dataSource,labelKey:"f_Name",valueKey:"f_Code"},on:{change:t.handleDataSourceChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1),n("el-form-item",{attrs:{label:t.$t("值字段")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.colNames},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataValueKey,callback:function(e){t.$set(t.data,"dataValueKey",e)},expression:"data.dataValueKey"}})],1),n("el-form-item",{attrs:{label:t.$t("名字段")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.colNames},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataLabelKey,callback:function(e){t.$set(t.data,"dataLabelKey",e)},expression:"data.dataLabelKey"}})],1),n("el-form-item",{attrs:{label:"id "+t.$t("字段")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.colNames},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataIdKey,callback:function(e){t.$set(t.data,"dataIdKey",e)},expression:"data.dataIdKey"}})],1),n("el-form-item",{attrs:{label:"pid "+t.$t("字段")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.colNames},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataPIdKey,callback:function(e){t.$set(t.data,"dataPIdKey",e)},expression:"data.dataPIdKey"}})],1)],1),n("el-divider"),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1),n("l-dialog",{attrs:{title:t.dialogTitle,visible:t.dialogVisible,height:200},on:{"update:visible":function(e){t.dialogVisible=e},close:t.closeDialog,ok:t.handleDialogAdd}},[n("div",{staticClass:"l-from-body"},[n("el-form",{ref:"dialogForm",attrs:{model:t.dialogForm,size:"mini",rules:t.dialogRules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:t.$t("选项名"),prop:"label"}},[n("el-input",{model:{value:t.dialogForm.label,callback:function(e){t.$set(t.dialogForm,"label",e)},expression:"dialogForm.label"}})],1),n("el-form-item",{attrs:{label:t.$t("选项值"),prop:"value"}},[n("el-input",{model:{value:t.dialogForm.value,callback:function(e){t.$set(t.dialogForm,"value",e)},expression:"dialogForm.value"}})],1)],1)],1)])],1)},r=[],i=(n("ac6a"),n("f3e2"),n("c5f6"),n("20d6"),{name:"config-cascader",props:["data"],data:function(){return{dialogTitle:this.$t("添加选项"),dialogVisible:!1,dialogForm:{},dialogRules:{label:{required:!0,message:this.$t("请输入"),trigger:"null"},value:{required:!0,message:this.$t("请输入"),trigger:"null"}},selectData:void 0,colNames:[],dataSourceData:[],value:[]}},computed:{dataItemClassifysTree:function(){return this.$toTree(this.lr_dataItemClassifys,"f_ItemId","f_ParentId","f_ItemCode","f_ItemName")}},watch:{value:function(t){console.log(t)}},methods:{clearValue:function(){this.$set(this.data,"default",[]),this.data.key++},handleDataTypeChange:function(){this.clearValue(),this.data.dataCode=void 0,this.data.dataIdKey=void 0,this.data.dataPIdKey=void 0,this.data.dataValueKey=void 0,this.data.dataLabelKey=void 0,this.data.options=[],this.dataSourceData=[]},handleParentNodeAdd:function(){this.selectData=void 0,this.dialogTitle=this.$t("添加父级选项"),this.dialogVisible=!0},handleNodeAdd:function(t){console.log(t),this.selectData=t,this.dialogTitle="".concat(this.$t("添加"),"【").concat(t.label,"】").concat(this.$t("子选项")),this.dialogVisible=!0},handleNodeRemove:function(t,e){this.clearValue();var n=t.parent,a=n.data.children||n.data,r=a.findIndex((function(t){return t.id===e.id}));a.splice(r,1)},handleDialogAdd:function(){var t=this;this.$refs.dialogForm.validate((function(e){if(e){var n=t.dialogForm,a=n.label,r=n.value,i=t.$refs.tree.getNode(r);if(i)t.$message.error("".concat(t.$t("选项值重复")));else{var o=t.selectData,l={label:a,value:"number"==t.dialogInputType?Number(r):r};o?(o.children||t.$set(o,"children",[]),o.children.push(l)):t.$set(t.data.options,t.data.options.length,l),t.dialogVisible=!1}}}))},closeDialog:function(){this.$refs.dialogForm.clearValidate(),this.dialogForm={}},handleDataItemChange:function(t){var e=this;t&&(this.clearValue(),this.lr_updateDataItemDetails(t).then((function(t){e.data.options=e.$toTree(t,"f_ItemDetailId","f_ParentId","f_ItemValue","f_ItemName")})))},handleDataSourceChange:function(t){var e=this;t&&(this.clearValue(),this.lr_updateDataSourceColName(t).then((function(n){var a=[];n.forEach((function(t){var e={value:t,label:t};a.push(e)})),e.colNames=a,e.data.dataValueKey=n[0],e.data.dataLabelKey=n[0],e.data.dataIdKey=n[0],e.data.dataPIdKey=n[0],e.lr_updateDataSourceData(t).then((function(t){e.data.options=e.$toTree(t,n[0],n[0],n[0],n[0]),e.dataSourceData=t}))})))},handleDataSourceKeyLabelChange:function(){console.log("test"),this.data.options=this.$toTree(this.dataSourceData,this.data.dataIdKey,this.data.dataPIdKey,this.data.dataValueKey,this.data.dataLabelKey)}}}),o=i,l=(n("09ee"),n("2877")),s=Object(l["a"])(o,a,r,!1,null,"ac137f38",null);e["default"]=s.exports},"9c6c":function(t,e,n){var a=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[a]&&n("32e9")(r,a,{}),t.exports=function(t){r[a][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"9def":function(t,e,n){var a=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(a(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"9ed0":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myOptions,multiple:!0},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-divider",[t._v(t._s(t.$t("选项")))]),n("div",{staticStyle:{"text-align":"center","margin-bottom":"16px"}},[n("el-radio-group",{attrs:{size:"mini"},on:{change:t.handleDataTypeChange},model:{value:t.data.dataType,callback:function(e){t.$set(t.data,"dataType",e)},expression:"data.dataType"}},[n("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("静态数据")))]),n("el-radio-button",{attrs:{label:"2"}},[t._v(t._s(t.$t("数据字典")))]),n("el-radio-button",{attrs:{label:"3"}},[t._v(t._s(t.$t("数据源")))])],1)],1),1==t.data.dataType?n("div",[n("draggable",{attrs:{list:t.data.options,group:{name:"dic"},"ghost-class":"set-item-ghost",handle:".drag-item"}},t._l(t.data.options,(function(e,a){return n("div",{key:a,staticClass:"set-item"},[n("i",{staticClass:"drag-item el-icon-rank"}),n("el-input",{staticStyle:{width:"49%","margin-right":"2%"},attrs:{size:"mini",placeholder:t.$t("选项名")},model:{value:e.label,callback:function(n){t.$set(e,"label",n)},expression:"item.label"}}),n("el-input",{staticStyle:{width:"49%"},attrs:{size:"mini",placeholder:t.$t("选项值")},model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"item.value"}}),n("el-button",{staticClass:"delete-item",staticStyle:{padding:"4px"},attrs:{circle:"",plain:"",type:"danger",size:"mini",icon:"el-icon-minus"},on:{click:function(e){return t.handleRemoveDatas(a)}}})],1)})),0),n("div",{staticStyle:{"padding-left":"22px"}},[n("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-circle-plus-outline"},on:{click:t.handleAddDatas}},[t._v(t._s(t.$t("添加选项卡")))])],1)],1):2==t.data.dataType?n("div",[n("l-tree-select",{attrs:{options:t.dataItemClassifysTree,placeholder:t.$t("请选择"),size:"mini",parent:!1},on:{change:t.handleDataItemChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1):n("div",[n("el-form-item",{attrs:{label:t.$t("数据源")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.dataSource,labelKey:"f_Name",valueKey:"f_Code"},on:{change:t.handleDataSourceChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1),n("el-form-item",{attrs:{label:t.$t("值")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataValueKey,callback:function(e){t.$set(t.data,"dataValueKey",e)},expression:"data.dataValueKey"}})],1),n("el-form-item",{attrs:{label:t.$t("标签")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataLabelKey,callback:function(e){t.$set(t.data,"dataLabelKey",e)},expression:"data.dataLabelKey"}})],1),n("el-form-item",{attrs:{label:t.$t("上一级")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.componentOptions},model:{value:t.data.upCtrl,callback:function(e){t.$set(t.data,"upCtrl",e)},expression:"data.upCtrl"}})],1)],1),n("el-divider"),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i=(n("57e7"),n("28a5"),n("7a14")),o={name:"config-checkbox",mixins:[Object(i["a"])()],inject:["formDesign"],props:["data"],data:function(){return{}},created:function(){this.lr_loadDataItemClassifys&&this.lr_loadDataItemClassifys(),this.lr_loadDataSourceList&&this.lr_loadDataSourceList(),this.loadDataSourceCol()},computed:{dataItemClassifysTree:function(){return this.lr_dataItemClassifysTree?this.lr_dataItemClassifysTree:[]},dataSource:function(){return this.lr_dataSource?this.lr_dataSource:[]}},methods:{handleDataTypeChange:function(){this.data.dataCode="",this.data.dataValueKey="",this.data.dataLabelKey="",this.data.default=""},handleAddDatas:function(){this.data.options.push({label:"选项"+(this.data.options.length+1),value:this.data.options.length+1})},handleRemoveDatas:function(t){var e=this.data.default.split(","),n=e.indexOf(this.data.options[t].value);-1!=n&&(e.splice(n,1),this.data.default=String(e)),this.data.options.splice(t,1)},handleDataItemChange:function(){this.data.default="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataItem&&this.lr_loadDataItem(this.data.dataCode)},handleDataSourceChange:function(){this.data.default="",this.data.dataValueKey="",this.data.dataLabelKey="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataSourceColNames&&(this.lr_loadDataSourceColNames(this.data.dataCode),this.lr_loadDataSourceData(this.data.dataCode))},handleDataSourceKeyLabelChange:function(){this.data.default=""}}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["default"]=c.exports},a159:function(t,e,n){var a=n("e4ae"),r=n("7e90"),i=n("1691"),o=n("5559")("IE_PROTO"),l=function(){},s="prototype",c=function(){var t,e=n("1ec9")("iframe"),a=i.length,r="<",o=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),c=t.F;while(a--)delete c[s][i[a]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(l[s]=a(t),n=new l,l[s]=null,n[o]=t):n=c(),void 0===e?n:r(n,e)}},a22a:function(t,e,n){var a=n("d864"),r=n("b0dc"),i=n("3702"),o=n("e4ae"),l=n("b447"),s=n("7cd6"),c={},u={};e=t.exports=function(t,e,n,d,f){var p,h,m,b,v=f?function(){return t}:s(t),y=a(n,d,e?2:1),g=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(p=l(t.length);p>g;g++)if(b=e?y(o(h=t[g])[0],h[1]):y(t[g]),b===c||b===u)return b}else for(m=v.call(t);!(h=m.next()).done;)if(b=r(m,y,h.value,e),b===c||b===u)return b};e.BREAK=c,e.RETURN=u},a25f:function(t,e,n){var a=n("7726"),r=a.navigator;t.exports=r&&r.userAgent||""},a481:function(t,e,n){"use strict";var a=n("cb7c"),r=n("4bf8"),i=n("9def"),o=n("4588"),l=n("0390"),s=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,h=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,m){return[function(a,r){var i=t(this),o=void 0==a?void 0:a[e];return void 0!==o?o.call(a,i,r):n.call(String(i),a,r)},function(t,e){var r=m(n,t,this,e);if(r.done)return r.value;var d=a(t),f=String(this),p="function"===typeof e;p||(e=String(e));var v=d.global;if(v){var y=d.unicode;d.lastIndex=0}var g=[];while(1){var _=s(d,f);if(null===_)break;if(g.push(_),!v)break;var w=String(_[0]);""===w&&(d.lastIndex=l(f,i(d.lastIndex),y))}for(var x="",O=0,k=0;k<g.length;k++){_=g[k];for(var C=String(_[0]),E=c(u(o(_.index),f.length),0),$=[],S=1;S<_.length;S++)$.push(h(_[S]));var T=_.groups;if(p){var j=[C].concat($,E,f);void 0!==T&&j.push(T);var P=String(e.apply(void 0,j))}else P=b(C,f,E,$,T,e);E>=O&&(x+=f.slice(O,E)+P,O=E+C.length)}return x+f.slice(O)}];function b(t,e,a,i,o,l){var s=a+t.length,c=i.length,u=p;return void 0!==o&&(o=r(o),u=f),n.call(l,u,(function(n,r){var l;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,a);case"'":return e.slice(s);case"<":l=o[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===i[f-1]?r.charAt(1):i[f-1]+r.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},a5b8:function(t,e,n){"use strict";var a=n("d8e8");function r(t){var e,n;this.promise=new t((function(t,a){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=a})),this.resolve=a(e),this.reject=a(n)}t.exports.f=function(t){return new r(t)}},a667:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("文件大小")}},[n("el-input",{attrs:{type:"number"},model:{value:t.data.maxSize,callback:function(e){t.$set(t.data,"maxSize",e)},expression:"data.maxSize"}},[n("el-select",{staticClass:"s-w-72",attrs:{slot:"append",placeholder:t.$t("请选择")},slot:"append",model:{value:t.data.sizeType,callback:function(e){t.$set(t.data,"sizeType",e)},expression:"data.sizeType"}},[n("el-option",{attrs:{label:"KB",value:"KB"}}),n("el-option",{attrs:{label:"MB",value:"MB"}}),n("el-option",{attrs:{label:"GB",value:"GB"}})],1)],1)],1),n("el-form-item",{attrs:{label:t.$t("最大上传数")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.limit,callback:function(e){t.$set(t.data,"limit",e)},expression:"data.limit"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-uploadimg",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},a745:function(t,e,n){t.exports=n("f410")},a753:function(t,e,n){},aa6e:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("排序字段")}},[n("el-select",{attrs:{filterable:"",placeholder:t.$t("请选择")},model:{value:t.data.orderId,callback:function(e){t.$set(t.data,"orderId",e)},expression:"data.orderId"}},t._l(t.getFields(t.data.table),(function(t){return n("el-option",{key:t.name,attrs:{label:t.coment?t.name+"("+t.coment+")":t.name,value:t.name}})})),1)],1),t.data.table?n("el-form-item",{attrs:{label:t.$t("是否倒序")}},[n("el-switch",{model:{value:t.data.isDESC,callback:function(e){t.$set(t.data,"isDESC",e)},expression:"data.isDESC"}})],1):t._e(),n("el-form-item",{attrs:{label:t.$t("添加按钮")}},[n("el-switch",{model:{value:t.data.isAddBtn,callback:function(e){t.$set(t.data,"isAddBtn",e)},expression:"data.isAddBtn"}})],1),n("el-form-item",{attrs:{label:t.$t("按钮文本")}},[n("el-input",{model:{value:t.data.addBtnText,callback:function(e){t.$set(t.data,"addBtnText",e)},expression:"data.addBtnText"}})],1),n("el-form-item",{attrs:{label:t.$t("删除按钮")}},[n("el-switch",{model:{value:t.data.isRemoveBtn,callback:function(e){t.$set(t.data,"isRemoveBtn",e)},expression:"data.isRemoveBtn"}})],1),n("el-form-item",{attrs:{label:t.$t("序号列")}},[n("el-switch",{model:{value:t.data.isShowNum,callback:function(e){t.$set(t.data,"isShowNum",e)},expression:"data.isShowNum"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1),t.isNoScript?t._e():n("div",{staticClass:"mt-8"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleBtnClick("changeDataEvent","添加行数据改变脚本")}}},[t._v("添加行数据改变脚本")])],1),n("l-dialog",{attrs:{title:t.formTitle,visible:t.formVisible,height:528,width:1e3},on:{"update:visible":function(e){t.formVisible=e},ok:t.handleCodeSave,opened:t.handleOpenedForm}},[n("l-layout",{attrs:{right:320},scopedSlots:t._u([{key:"right",fn:function(){return[n("div",{staticClass:"l-rblock",staticStyle:{padding:"8px",overflow:"auto"}},[n("el-alert",{attrs:{title:"脚本参数说明,只支持ES5语法(兼容小程序)",type:"warning",closable:!1}},[t._v(" prop:组件id; "),n("br"),t._v("data:组件改变数据; "),n("br"),t._v("rowIndex:子表行号; "),n("br"),t._v("isUpdate:表单状态,新增或更新; "),n("br"),t._v("get(path):获取数据方法, 如果想获取某一个组件值就设置path参数值为组件id, 如果是子表的一行数据值就设置子表id.行号, 如果是子表某一行某一列值就设置子表id.行号.子组件id; "),n("br"),t._v("set(path,value):设置值方法,path说明和get方法一致; "),n("br"),t._v("getLabel(prop):获取组件的显示值,prop为组件id; "),n("br"),t._v("setRequired(prop,isRequired):设置组件是否必填,prop为组件id,isRequired 默认值true,如果取消必填就设置成false "),n("br"),t._v("setDisabled(prop,isDisabled):设置组件是否只读,prop为组件id,isDisabled 默认值true,如果取消只读就设置成false "),n("br"),t._v("setHide(prop,isHide):设置组件是否隐藏,isHide 默认值true,如果取消隐藏就设置成false "),n("br"),t._v("httpGet(option):get请求方法 "),n("br"),t._v("httpPost(option):post请求方法 "),n("br"),t._v("httpDelete(option):delete请求方法 "),n("br"),t._v("httpPut(option):put请求方法 "),n("br"),t._v("option:上面四个请求方法参数描述:url:请求地址,data:提交数据(get方法不支持),params:url参数,errorTips:请求失败错误提示,callback请求回调方法 返回结果为请求数据 "),n("br"),t._v("loading:显示加载状态 "),n("br"),t._v("hideLoading:隐藏加载状态 "),n("br"),t._v("message:显示提示消息 "),n("br"),t._v("loginUser:当前登录者信息 "),n("br"),t._v("callback:回调方法,在脚本里使用了http方法后才需要使用 ")])],1)]},proxy:!0}])},[n("l-code-mirror",{attrs:{isHint:"",handleHint:t.handleHint,mode:"application/javascript"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}})],1)],1)],1)},r=[],i=(n("6d67"),n("75fc")),o=(n("d25f"),n("a481"),n("7f7f"),n("7514"),n("57e7"),{name:"config-gridtable",inject:["formDesign"],props:["data"],data:function(){return{formTitle:"",formVisible:!1,code:"",type:""}},computed:{isNoScript:function(){return this.formDesign.isNoScript}},methods:{handleBtnClick:function(t,e){this.type=t,this.formTitle=e,this.formVisible=!0},getEvent:function(t){return this.$validatenull(t)?{res:!0}:-1!=t.indexOf("=>")?(console.warn("当前脚本不支持ES6语法,只支持ES5语法"),{res:!1,msg:"脚本没有更新为最新的版本!"}):(t="(function(){function fn(learun) {".concat(t,"} return fn})()"),this.$getFunction(t))},handleCodeSave:function(){var t=this.getEvent(this.code),e=t.res,n=t.msg;e?(this.data[this.type]=this.code,this.formVisible=!1):this.$message({type:"error",message:"".concat(this.$t("脚本错误"),":").concat(n)})},handleOpenedForm:function(){this.code=this.data[this.type]||""},getFields:function(t){var e=this.formDesign.dbTables.find((function(e){return e.name==t}))||{};return e.columns||[]},handleHint:function(t){var e=this;t=t.replace(/'/g,""),t=t.replace(/"/g,"");var n=this.formDesign.nowComponentList.filter((function(n){return n.pprop==e.data.prop&&(-1!=n.label.indexOf(t)||-1!=n.prop.indexOf(t))})),a=this.formDesign.nowComponentList.filter((function(n){return n.pprop!=e.data.prop&&(-1!=n.label.indexOf(t)||-1!=n.prop.indexOf(t))}));return n.push.apply(n,Object(i["a"])(a)),n.map((function(t){return"/*".concat(t.label,'*/"').concat(t.prop,'"')}))}}}),l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["default"]=c.exports},aa77:function(t,e,n){var a=n("5ca1"),r=n("be13"),i=n("79e5"),o=n("fdef"),l="["+o+"]",s="
",c=RegExp("^"+l+l+"*"),u=RegExp(l+l+"*$"),d=function(t,e,n){var r={},l=i((function(){return!!o[t]()||s[t]()!=s})),c=r[t]=l?e(f):o[t];n&&(r[n]=c),a(a.P+a.F*l,"String",r)},f=d.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},aae3:function(t,e,n){var a=n("d3f4"),r=n("2d95"),i=n("2b4c")("match");t.exports=function(t){var e;return a(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==r(t))}},aba2:function(t,e,n){var a=n("e53d"),r=n("4178").set,i=a.MutationObserver||a.WebKitMutationObserver,o=a.process,l=a.Promise,s="process"==n("6b4c")(o);t.exports=function(){var t,e,n,c=function(){var a,r;s&&(a=o.domain)&&a.exit();while(t){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,a&&a.enter()};if(s)n=function(){o.nextTick(c)};else if(!i||a.navigator&&a.navigator.standalone)if(l&&l.resolve){var u=l.resolve(void 0);n=function(){u.then(c)}}else n=function(){r.call(a,c)};else{var d=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(a){var r={fn:a,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},ac6a:function(t,e,n){for(var a=n("cadf"),r=n("0d58"),i=n("2aba"),o=n("7726"),l=n("32e9"),s=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),f=s.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=r(p),m=0;m<h.length;m++){var b,v=h[m],y=p[v],g=o[v],_=g&&g.prototype;if(_&&(_[u]||l(_,u,f),_[d]||l(_,d,v),s[v]=f,y))for(b in a)_[b]||i(_,b,a[b],!0)}},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b0c5:function(t,e,n){"use strict";var a=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:a!==/./.exec},{exec:a})},b0dc:function(t,e,n){var a=n("e4ae");t.exports=function(t,e,n,r){try{return r?e(a(n)[0],n[1]):e(n)}catch(o){var i=t["return"];throw void 0!==i&&a(i.call(t)),o}}},b447:function(t,e,n){var a=n("3a38"),r=Math.min;t.exports=function(t){return t>0?r(a(t),9007199254740991):0}},b639:function(t,e,n){"use strict";(function(t){
|
||
/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <http://feross.org>
|
||
* @license MIT
|
||
*/
|
||
var a=n("1fb5"),r=n("9152"),i=n("e3db");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function l(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(l()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=c.prototype):(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return u(this,t,e,n)}function u(t,e,n,a){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?b(t,e,n,a):"string"===typeof e?h(t,e,n):v(t,e)}function d(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e,n,a){return d(e),e<=0?s(t,e):void 0!==n?"string"===typeof a?s(t,e).fill(n,a):s(t,e).fill(n):s(t,e)}function p(t,e){if(d(e),t=s(t,e<0?0:0|y(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var a=0|_(e,n);t=s(t,a);var r=t.write(e,n);return r!==a&&(t=t.slice(0,r)),t}function m(t,e){var n=e.length<0?0:0|y(e.length);t=s(t,n);for(var a=0;a<n;a+=1)t[a]=255&e[a];return t}function b(t,e,n,a){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(a||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===a?new Uint8Array(e):void 0===a?new Uint8Array(e,n):new Uint8Array(e,n,a),c.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=c.prototype):t=m(t,e),t}function v(t,e){if(c.isBuffer(e)){var n=0|y(e.length);return t=s(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?s(t,0):m(t,e);if("Buffer"===e.type&&i(e.data))return m(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),c.alloc(+t)}function _(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(a)return Z(t).length;e=(""+e).toLowerCase(),a=!0}}function w(t,e,n){var a=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return q(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return D(this,e,n);case"latin1":case"binary":return I(this,e,n);case"base64":return P(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function x(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}function O(t,e,n,a,r){if(0===t.length)return-1;if("string"===typeof n?(a=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=c.from(e,a)),c.isBuffer(e))return 0===e.length?-1:k(t,e,n,a,r);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):k(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function k(t,e,n,a,r){var i,o=1,l=t.length,s=e.length;if(void 0!==a&&(a=String(a).toLowerCase(),"ucs2"===a||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(t.length<2||e.length<2)return-1;o=2,l/=2,s/=2,n/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var u=-1;for(i=n;i<l;i++)if(c(t,i)===c(e,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===s)return u*o}else-1!==u&&(i-=i-u),u=-1}else for(n+s>l&&(n=l-s),i=n;i>=0;i--){for(var d=!0,f=0;f<s;f++)if(c(t,i+f)!==c(e,f)){d=!1;break}if(d)return i}return-1}function C(t,e,n,a){n=Number(n)||0;var r=t.length-n;a?(a=Number(a),a>r&&(a=r)):a=r;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");a>i/2&&(a=i/2);for(var o=0;o<a;++o){var l=parseInt(e.substr(2*o,2),16);if(isNaN(l))return o;t[n+o]=l}return o}function E(t,e,n,a){return tt(Z(e,t.length-n),t,n,a)}function $(t,e,n,a){return tt(X(e),t,n,a)}function S(t,e,n,a){return $(t,e,n,a)}function T(t,e,n,a){return tt(J(e),t,n,a)}function j(t,e,n,a){return tt(Q(e,t.length-n),t,n,a)}function P(t,e,n){return 0===e&&n===t.length?a.fromByteArray(t):a.fromByteArray(t.slice(e,n))}function A(t,e,n){n=Math.min(t.length,n);var a=[],r=e;while(r<n){var i,o,l,s,c=t[r],u=null,d=c>239?4:c>223?3:c>191?2:1;if(r+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:i=t[r+1],128===(192&i)&&(s=(31&c)<<6|63&i,s>127&&(u=s));break;case 3:i=t[r+1],o=t[r+2],128===(192&i)&&128===(192&o)&&(s=(15&c)<<12|(63&i)<<6|63&o,s>2047&&(s<55296||s>57343)&&(u=s));break;case 4:i=t[r+1],o=t[r+2],l=t[r+3],128===(192&i)&&128===(192&o)&&128===(192&l)&&(s=(15&c)<<18|(63&i)<<12|(63&o)<<6|63&l,s>65535&&s<1114112&&(u=s))}null===u?(u=65533,d=1):u>65535&&(u-=65536,a.push(u>>>10&1023|55296),u=56320|1023&u),a.push(u),r+=d}return L(a)}e.Buffer=c,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:o(),e.kMaxLength=l(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return u(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return f(null,t,e,n)},c.allocUnsafe=function(t){return p(null,t)},c.allocUnsafeSlow=function(t){return p(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,a=e.length,r=0,i=Math.min(n,a);r<i;++r)if(t[r]!==e[r]){n=t[r],a=e[r];break}return n<a?-1:a<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var a=c.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var o=t[n];if(!c.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(a,r),r+=o.length}return a},c.byteLength=_,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)x(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)x(this,e,e+3),x(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)x(this,e,e+7),x(this,e+1,e+6),x(this,e+2,e+5),x(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?A(this,0,t):w.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,a,r){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===a&&(a=0),void 0===r&&(r=this.length),e<0||n>t.length||a<0||r>this.length)throw new RangeError("out of range index");if(a>=r&&e>=n)return 0;if(a>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,a>>>=0,r>>>=0,this===t)return 0;for(var i=r-a,o=n-e,l=Math.min(i,o),s=this.slice(a,r),u=t.slice(e,n),d=0;d<l;++d)if(s[d]!==u[d]){i=s[d],o=u[d];break}return i<o?-1:o<i?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return O(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return O(this,t,e,n,!1)},c.prototype.write=function(t,e,n,a){if(void 0===e)a="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)a=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===a&&(a="utf8")):(a=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var i=!1;;)switch(a){case"hex":return C(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":return $(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return T(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var N=4096;function L(t){var e=t.length;if(e<=N)return String.fromCharCode.apply(String,t);var n="",a=0;while(a<e)n+=String.fromCharCode.apply(String,t.slice(a,a+=N));return n}function D(t,e,n){var a="";n=Math.min(t.length,n);for(var r=e;r<n;++r)a+=String.fromCharCode(127&t[r]);return a}function I(t,e,n){var a="";n=Math.min(t.length,n);for(var r=e;r<n;++r)a+=String.fromCharCode(t[r]);return a}function q(t,e,n){var a=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>a)&&(n=a);for(var r="",i=e;i<n;++i)r+=Y(t[i]);return r}function R(t,e,n){for(var a=t.slice(e,n),r="",i=0;i<a.length;i+=2)r+=String.fromCharCode(a[i]+256*a[i+1]);return r}function M(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function B(t,e,n,a,r,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<i)throw new RangeError('"value" argument is out of bounds');if(n+a>t.length)throw new RangeError("Index out of range")}function F(t,e,n,a){e<0&&(e=65535+e+1);for(var r=0,i=Math.min(t.length-n,2);r<i;++r)t[n+r]=(e&255<<8*(a?r:1-r))>>>8*(a?r:1-r)}function K(t,e,n,a){e<0&&(e=4294967295+e+1);for(var r=0,i=Math.min(t.length-n,4);r<i;++r)t[n+r]=e>>>8*(a?r:3-r)&255}function U(t,e,n,a,r,i){if(n+a>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(t,e,n,a,i){return i||U(t,e,n,4,34028234663852886e22,-34028234663852886e22),r.write(t,e,n,a,23,4),n+4}function W(t,e,n,a,i){return i||U(t,e,n,8,17976931348623157e292,-17976931348623157e292),r.write(t,e,n,a,52,8),n+8}c.prototype.slice=function(t,e){var n,a=this.length;if(t=~~t,e=void 0===e?a:~~e,t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a),e<0?(e+=a,e<0&&(e=0)):e>a&&(e=a),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=c.prototype;else{var r=e-t;n=new c(r,void 0);for(var i=0;i<r;++i)n[i]=this[i+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);var a=this[t],r=1,i=0;while(++i<e&&(r*=256))a+=this[t+i]*r;return a},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);var a=this[t+--e],r=1;while(e>0&&(r*=256))a+=this[t+--e]*r;return a},c.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);var a=this[t],r=1,i=0;while(++i<e&&(r*=256))a+=this[t+i]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*e)),a},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);var a=e,r=1,i=this[t+--a];while(a>0&&(r*=256))i+=this[t+--a]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),r.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),r.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),r.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),r.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,a){if(t=+t,e|=0,n|=0,!a){var r=Math.pow(2,8*n)-1;B(this,t,e,n,r,0)}var i=1,o=0;this[e]=255&t;while(++o<n&&(i*=256))this[e+o]=t/i&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,a){if(t=+t,e|=0,n|=0,!a){var r=Math.pow(2,8*n)-1;B(this,t,e,n,r,0)}var i=n-1,o=1;this[e+i]=255&t;while(--i>=0&&(o*=256))this[e+i]=t/o&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):K(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):K(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,a){if(t=+t,e|=0,!a){var r=Math.pow(2,8*n-1);B(this,t,e,n,r-1,-r)}var i=0,o=1,l=0;this[e]=255&t;while(++i<n&&(o*=256))t<0&&0===l&&0!==this[e+i-1]&&(l=1),this[e+i]=(t/o>>0)-l&255;return e+n},c.prototype.writeIntBE=function(t,e,n,a){if(t=+t,e|=0,!a){var r=Math.pow(2,8*n-1);B(this,t,e,n,r-1,-r)}var i=n-1,o=1,l=0;this[e+i]=255&t;while(--i>=0&&(o*=256))t<0&&0===l&&0!==this[e+i+1]&&(l=1),this[e+i]=(t/o>>0)-l&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):K(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):K(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return V(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return V(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return W(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return W(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,a){if(n||(n=0),a||0===a||(a=this.length),e>=t.length&&(e=t.length),e||(e=0),a>0&&a<n&&(a=n),a===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),t.length-e<a-n&&(a=t.length-e+n);var r,i=a-n;if(this===t&&n<e&&e<a)for(r=i-1;r>=0;--r)t[r+e]=this[r+n];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r<i;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),e);return i},c.prototype.fill=function(t,e,n,a){if("string"===typeof t){if("string"===typeof e?(a=e,e=0,n=this.length):"string"===typeof n&&(a=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==a&&"string"!==typeof a)throw new TypeError("encoding must be a string");if("string"===typeof a&&!c.isEncoding(a))throw new TypeError("Unknown encoding: "+a)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(i=e;i<n;++i)this[i]=t;else{var o=c.isBuffer(t)?t:Z(new c(t,a).toString()),l=o.length;for(i=0;i<n-e;++i)this[i+e]=o[i%l]}return this};var z=/[^+\/0-9A-Za-z-_]/g;function H(t){if(t=G(t).replace(z,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function G(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Y(t){return t<16?"0"+t.toString(16):t.toString(16)}function Z(t,e){var n;e=e||1/0;for(var a=t.length,r=null,i=[],o=0;o<a;++o){if(n=t.charCodeAt(o),n>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(o+1===a){(e-=3)>-1&&i.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&i.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function X(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function Q(t,e){for(var n,a,r,i=[],o=0;o<t.length;++o){if((e-=2)<0)break;n=t.charCodeAt(o),a=n>>8,r=n%256,i.push(r),i.push(a)}return i}function J(t){return a.toByteArray(H(t))}function tt(t,e,n,a){for(var r=0;r<a;++r){if(r+n>=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("c8ba"))},b8e3:function(t,e){t.exports=!0},ba6a:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-card",{class:t.data.myclass,attrs:{header:t.data.label,shadow:t.data.shadow}},[t._l(t.data.children,(function(e){return[["gridtable"].includes(e.type)?n("el-col",{key:e.prop,staticStyle:{"margin-bottom":"16px"},attrs:{span:24}},[t.$validatenull(e.label)?t._e():n("div",{staticClass:"l-title"},[t._v(t._s(t.$t(e.label)))]),n("l-edit-table",{ref:e.prop,refInFor:!0,attrs:{required:e.required,addBtnText:e.addBtnText,isAddBtn:e.isAddBtn,isRemoveBtn:e.isRemoveBtn,isShowNum:e.isShowNum,columns:t.getTableColumns(e.children),dataSource:t.formData[e.prop],filterDeleteBtn:t.filterTableDeleteBtn,isRead:t.isRead},on:{addRow:function(n){return t.handleAddRow(e)},deleteRow:function(n){return t.handleDeleteRow(n,e)}},scopedSlots:t._u([t._l(e.children,(function(a){return{key:a.prop,fn:function(r){return[n("viewer-form-item",{key:a.prop,attrs:{isRead:t.isRead,upCtrls:t.upCtrls,formData:r.row,data:a},on:{change:function(n){return t.handleItemChange(n,e,r.$index,r.row)}},model:{value:r.row[a.prop],callback:function(e){t.$set(r.row,a.prop,e)},expression:"scope.row[column.prop]"}})]}}}))],null,!0)})],1):["viewtable"].includes(e.type)?n("el-col",{key:e.prop,staticStyle:{"margin-bottom":"16px"},attrs:{span:24}},[t.$validatenull(e.label)?t._e():n("div",{staticClass:"l-title"},[t._v(t._s(t.$t(e.label)))]),n("l-view-table",{attrs:{paramFiled:t.formData[e.paramFiled],columns:e.columns,code:e.dataCode}})],1):["gridtable"].includes(e.type)?t._e():n("el-col",{key:e.prop,attrs:{span:e.span}},["divider"==e.type?n("viewer-form-item",{attrs:{data:e}}):"card"==e.type?n("card-viewer",{attrs:{data:e}}):"btn"==e.type?n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.display&&!t.isRead,expression:"col.display && !isRead"}],attrs:{labelWidth:"0px"}},[n("el-button",{attrs:{size:e.size,plain:e.plain,round:e.round,circle:e.circle,icon:e.myIcon,type:e.myType,disabled:e.disabled},on:{click:function(n){return t.componentBtnClick(e)}}},[t._v(t._s(e.label))])],1):n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.display,expression:"col.display"}],attrs:{label:e.label,labelWidth:void 0==e.labelWidth?void 0:e.labelWidth+"px",prop:e.prop}},[n("viewer-form-item",{attrs:{isRead:t.isRead,upCtrls:t.upCtrls,isForm:!0,data:e,formData:t.formData},on:{change:t.handleItemChange},model:{value:t.formData[e.prop],callback:function(n){t.$set(t.formData,e.prop,n)},expression:"formData[col.prop]"}})],1)],1)]}))],2)},r=[],i=n("18d4"),o={name:"card-viewer",components:{viewerFormItem:i["a"]},inject:["formViewer"],props:{data:{type:Object,default:function(){return{}}}},data:function(){return{}},computed:{formData:function(){return this.formViewer.formData},upCtrls:function(){return this.formViewer.upCtrls},isRead:function(){return this.formViewer.isRead}},methods:{getTableColumns:function(t){return this.formViewer.getTableColumns(t)},handleAddRow:function(t){return this.formViewer.handleAddRow(t)},handleDeleteRow:function(t,e){return this.formViewer.handleDeleteRow(t,e)},componentBtnClick:function(t){return this.formViewer.componentBtnClick(t)},filterTableDeleteBtn:function(t){return this.formViewer.filterTableDeleteBtn(t)},handleItemChange:function(t,e,n,a){return this.formViewer.handleItemChange(t,e,n,a)}}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["a"]=c.exports},bc13:function(t,e,n){var a=n("e53d"),r=a.navigator;t.exports=r&&r.userAgent||""},bcaa:function(t,e,n){var a=n("cb7c"),r=n("d3f4"),i=n("a5b8");t.exports=function(t,e){if(a(t),r(e)&&e.constructor===t)return e;var n=i.f(t),o=n.resolve;return o(e),n.promise}},bd00:function(t,e,n){},bd86:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var a=n("85f2"),r=n.n(a);function i(t,e,n){return e in t?r()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},bf0b:function(t,e,n){var a=n("355d"),r=n("aebd"),i=n("36c3"),o=n("1bc3"),l=n("07e3"),s=n("794b"),c=Object.getOwnPropertyDescriptor;e.f=n("8e60")?c:function(t,e){if(t=i(t),e=o(e,!0),s)try{return c(t,e)}catch(n){}if(l(t,e))return r(!a.f.call(t,e),t[e])}},bfe4:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("行数")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.rows,callback:function(e){t.$set(t.data,"rows",e)},expression:"data.rows"}})],1),n("el-form-item",{attrs:{label:t.$t("最大长度")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.maxlength,callback:function(e){t.$set(t.data,"maxlength",e)},expression:"data.maxlength"}})],1),n("el-form-item",{attrs:{label:t.$t("显示计数")}},[n("el-switch",{model:{value:t.data.showWordLimit,callback:function(e){t.$set(t.data,"showWordLimit",e)},expression:"data.showWordLimit"}})],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-textarea",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},c207:function(t,e){},c366:function(t,e,n){var a=n("6821"),r=n("9def"),i=n("77f1");t.exports=function(t){return function(e,n,o){var l,s=a(e),c=r(s.length),u=i(o,c);if(t&&n!=n){while(c>u)if(l=s[u++],l!=l)return!0}else for(;c>u;u++)if((t||u in s)&&s[u]===n)return t||u||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var a=n("8436"),r=n("50ed"),i=n("481b"),o=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},c3a1:function(t,e,n){var a=n("e6f3"),r=n("1691");t.exports=Object.keys||function(t){return a(t,r)}},c49b:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("前缀")}},[n("el-input",{attrs:{placeholder:t.$t("前缀")},model:{value:t.data.prepend,callback:function(e){t.$set(t.data,"prepend",e)},expression:"data.prepend"}})],1),n("el-form-item",{attrs:{label:t.$t("后缀")}},[n("el-input",{attrs:{placeholder:t.$t("后缀")},model:{value:t.data.append,callback:function(e){t.$set(t.data,"append",e)},expression:"data.append"}})],1),n("el-form-item",{attrs:{label:t.$t("前图标")}},[n("l-input-icon",{attrs:{onlyFirst:""},model:{value:t.data.prefixIcon,callback:function(e){t.$set(t.data,"prefixIcon",e)},expression:"data.prefixIcon"}})],1),n("el-form-item",{attrs:{label:t.$t("后图标")}},[n("l-input-icon",{attrs:{onlyFirst:""},model:{value:t.data.suffixIcon,callback:function(e){t.$set(t.data,"suffixIcon",e)},expression:"data.suffixIcon"}})],1),n("el-form-item",{attrs:{label:t.$t("最大长度")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.maxlength,callback:function(e){t.$set(t.data,"maxlength",e)},expression:"data.maxlength"}})],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1),t._l(t.data.patterns,(function(e,a){return n("div",{key:a,staticClass:"reg-item"},[n("el-form-item",{attrs:{label:t.$t("表达式")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:e.reg,callback:function(n){t.$set(e,"reg",n)},expression:"item.reg"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:t.$t("错误提示")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:e.msg,callback:function(n){t.$set(e,"msg",n)},expression:"item.msg"}})],1),n("el-button",{staticClass:"reg-item-delete",attrs:{title:t.$t("删除"),circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return t.handleRemovePatterns(a)}}},[n("i",{staticClass:"el-icon-close"})])],1)})),n("div",{staticClass:"mt-8"},[n("el-dropdown",{on:{command:t.handleValidatorSelect}},[n("el-button",{attrs:{type:"primary",size:"mini"}},[t._v(" "+t._s(t.$t("添加常用校验"))),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.validatorRules,(function(e){return n("el-dropdown-item",{key:e.name,attrs:{command:e}},[t._v(t._s(e.name))])})),1)],1),n("el-button",{staticClass:"ml-8",attrs:{type:"primary",size:"mini"},on:{click:t.handleCustmerReg}},[t._v(t._s(t.$t("自定义规则")))])],1)],2)},r=[],i=(n("7f7f"),{name:"config-input",props:["data"],data:function(){return{}},computed:{validatorRules:function(){return this.lr_validatorRules?this.lr_validatorRules:[]}},methods:{handleValidatorSelect:function(t){this.data.patterns.push({msg:"".concat(this.$t("请输入")).concat(t.name),reg:t.reg})},handleCustmerReg:function(){this.data.patterns.push({msg:"",reg:""})},handleRemovePatterns:function(t){this.data.patterns.splice(t,1)}}}),o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},c523:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-time",{attrs:{format:t.data.format,selectableRange:t.data.selectableRange,placeholder:t.$t("请输入")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("时间格式")}},[n("el-input",{model:{value:t.data.format,callback:function(e){t.$set(t.data,"format",e)},expression:"data.format"}})],1),n("el-form-item",{attrs:{label:t.$t("时间范围")}},[n("l-time",{attrs:{"is-range":"","start-placeholder":t.$t("开始时间"),"end-placeholder":t.$t("结束时间")},model:{value:t.data.selectableRange,callback:function(e){t.$set(t.data,"selectableRange",e)},expression:"data.selectableRange"}})],1),n("el-form-item",{attrs:{label:t.$t("是否清空")}},[n("el-switch",{model:{value:t.data.clearable,callback:function(e){t.$set(t.data,"clearable",e)},expression:"data.clearable"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-time",props:["data"],data:function(){return{formatOptions:[{value:"HH:mm:ss",label:"HH:mm:ss"},{value:"HH:mm",label:"HH:mm"}]}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},c5f6:function(t,e,n){"use strict";var a=n("7726"),r=n("69a8"),i=n("2d95"),o=n("5dbc"),l=n("6a99"),s=n("79e5"),c=n("9093").f,u=n("11e9").f,d=n("86cc").f,f=n("aa77").trim,p="Number",h=a[p],m=h,b=h.prototype,v=i(n("2aeb")(b))==p,y="trim"in String.prototype,g=function(t){var e=l(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():f(e,3);var n,a,r,i=e.charCodeAt(0);if(43===i||45===i){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:a=2,r=49;break;case 79:case 111:a=8,r=55;break;default:return+e}for(var o,s=e.slice(2),c=0,u=s.length;c<u;c++)if(o=s.charCodeAt(c),o<48||o>r)return NaN;return parseInt(s,a)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(v?s((function(){b.valueOf.call(n)})):i(n)!=p)?o(new m(g(e)),n,h):g(e)};for(var _,w=n("9e1e")?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)r(m,_=w[x])&&!r(h,_)&&d(h,_,u(m,_));h.prototype=b,b.constructor=h,n("2aba")(a,p,h)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c7b3:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("el-switch",t._b({model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}},"el-switch",t.$deepClone(t.data),!1))],1),n("el-form-item",{attrs:{label:t.$t("宽度(像素)")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.width,callback:function(e){t.$set(t.data,"width",e)},expression:"data.width"}})],1),n("el-form-item",{attrs:{label:t.$t("打开图标")}},[n("l-input-icon",{attrs:{iconList:t.iconList,placeholder:t.$t("请选择")},model:{value:t.data.activeIconClass,callback:function(e){t.$set(t.data,"activeIconClass",e)},expression:"data.activeIconClass"}})],1),n("el-form-item",{attrs:{label:t.$t("关闭图标")}},[n("l-input-icon",{attrs:{iconList:t.iconList,placeholder:t.$t("请选择")},model:{value:t.data.inactiveIconClass,callback:function(e){t.$set(t.data,"inactiveIconClass",e)},expression:"data.inactiveIconClass"}})],1),n("el-form-item",{attrs:{label:t.$t("打开文字")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.activeText,callback:function(e){t.$set(t.data,"activeText",e)},expression:"data.activeText"}})],1),n("el-form-item",{attrs:{label:t.$t("关闭文字")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.inactiveText,callback:function(e){t.$set(t.data,"inactiveText",e)},expression:"data.inactiveText"}})],1),n("el-form-item",{attrs:{label:t.$t("打开值")}},[n("el-input",{model:{value:t.data.activeValue,callback:function(e){t.$set(t.data,"activeValue",e)},expression:"data.activeValue"}})],1),n("el-form-item",{attrs:{label:t.$t("关闭值")}},[n("el-input",{model:{value:t.data.inactiveValue,callback:function(e){t.$set(t.data,"inactiveValue",e)},expression:"data.inactiveValue"}})],1),n("el-form-item",{attrs:{label:t.$t("打开颜色")}},[n("l-input-color",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.activeColor,callback:function(e){t.$set(t.data,"activeColor",e)},expression:"data.activeColor"}})],1),n("el-form-item",{attrs:{label:t.$t("关闭颜色")}},[n("l-input-color",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.inactiveColor,callback:function(e){t.$set(t.data,"inactiveColor",e)},expression:"data.inactiveColor"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1),n("el-form-item",{attrs:{label:t.$t("是否禁用")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i={name:"config-switch",props:["data"],data:function(){return{}},computed:{iconList:function(){return this.lr_icons?this.lr_icons:[]}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},c834:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",collapseTags:t.data.collapseTags,multiple:!0,options:t.myOptions},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-divider",[t._v(t._s(t.$t("选项")))]),n("div",{staticStyle:{"text-align":"center","margin-bottom":"16px"}},[n("el-radio-group",{attrs:{size:"mini"},on:{change:t.handleDataTypeChange},model:{value:t.data.dataType,callback:function(e){t.$set(t.data,"dataType",e)},expression:"data.dataType"}},[n("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("静态数据")))]),n("el-radio-button",{attrs:{label:"2"}},[t._v(t._s(t.$t("数据字典")))]),n("el-radio-button",{attrs:{label:"3"}},[t._v(t._s(t.$t("数据源")))])],1)],1),1==t.data.dataType?n("div",[n("draggable",{attrs:{list:t.data.options,group:{name:"dic"},"ghost-class":"set-item-ghost",handle:".drag-item"}},t._l(t.data.options,(function(e,a){return n("div",{key:a,staticClass:"set-item"},[n("i",{staticClass:"drag-item el-icon-rank"}),n("el-input",{staticStyle:{width:"49%","margin-right":"2%"},attrs:{size:"mini",placeholder:t.$t("选项名")},model:{value:e.label,callback:function(n){t.$set(e,"label",n)},expression:"item.label"}}),n("el-input",{staticStyle:{width:"49%"},attrs:{size:"mini",placeholder:t.$t("选项值")},model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"item.value"}}),t.data.options.length>1?n("el-button",{staticClass:"delete-item",staticStyle:{padding:"4px"},attrs:{circle:"",plain:"",type:"danger",size:"mini",icon:"el-icon-minus"},on:{click:function(e){return t.handleRemoveDatas(a)}}}):t._e()],1)})),0),n("div",{staticStyle:{"padding-left":"22px"}},[n("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-circle-plus-outline"},on:{click:t.handleAddDatas}},[t._v(t._s(t.$t("添加选项卡")))])],1)],1):2==t.data.dataType?n("div",[n("l-tree-select",{attrs:{options:t.dataItemClassifysTree,placeholder:t.$t("请选择"),size:"mini",parent:!1},on:{change:t.handleDataItemChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1):n("div",[n("el-form-item",{attrs:{label:t.$t("数据源")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.dataSource,labelKey:"f_Name",valueKey:"f_Code"},on:{change:t.handleDataSourceChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1),n("el-form-item",{attrs:{label:"值"}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataValueKey,callback:function(e){t.$set(t.data,"dataValueKey",e)},expression:"data.dataValueKey"}})],1),n("el-form-item",{attrs:{label:t.$t("标签")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataLabelKey,callback:function(e){t.$set(t.data,"dataLabelKey",e)},expression:"data.dataLabelKey"}})],1),n("el-form-item",{attrs:{label:t.$t("上一级")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.componentOptions},model:{value:t.data.upCtrl,callback:function(e){t.$set(t.data,"upCtrl",e)},expression:"data.upCtrl"}})],1)],1),n("el-divider"),n("el-form-item",{attrs:{label:t.$t("合并文字")}},[n("el-switch",{model:{value:t.data.collapseTags,callback:function(e){t.$set(t.data,"collapseTags",e)},expression:"data.collapseTags"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i=n("7a14"),o={name:"config-selectMultiple",mixins:[Object(i["a"])()],inject:["formDesign"],props:["data"],data:function(){return{}},created:function(){this.lr_loadDataItemClassifys&&this.lr_loadDataItemClassifys(),this.lr_loadDataSourceList&&this.lr_loadDataSourceList(),this.loadDataSourceCol()},computed:{dataItemClassifysTree:function(){return this.lr_dataItemClassifysTree?this.lr_dataItemClassifysTree:[]},dataSource:function(){return this.lr_dataSource?this.lr_dataSource:[]}},methods:{handleDataTypeChange:function(){this.data.dataCode="",this.data.dataValueKey="",this.data.dataLabelKey="",this.data.default=""},handleAddDatas:function(){this.data.options.push({label:"选项"+(this.data.options.length+1),value:this.data.options.length+1})},handleRemoveDatas:function(t){this.data.default==this.data.options[t].value&&(this.data.default=""),this.data.options.splice(t,1)},handleDataItemChange:function(){this.data.default="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataItem&&this.lr_loadDataItem(this.data.dataCode)},handleDataSourceChange:function(){this.data.default="",this.data.dataValueKey="",this.data.dataLabelKey="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataSourceColNames&&(this.lr_loadDataSourceData(this.data.dataCode),this.lr_loadDataSourceColNames(this.data.dataCode))},handleDataSourceKeyLabelChange:function(){this.data.default=""}}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["default"]=c.exports},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(a){"object"===typeof window&&(n=window)}t.exports=n},ca2b:function(t,e,n){t.exports=n.p+"img/widget-empty.9eb8ae16.png"},ca5a:function(t,e){var n=0,a=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+a).toString(36))}},cadf:function(t,e,n){"use strict";var a=n("9c6c"),r=n("d53b"),i=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},cb4a:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i={name:"config-department",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},cb7c:function(t,e,n){var a=n("d3f4");t.exports=function(t){if(!a(t))throw TypeError(t+" is not an object!");return t}},ccb9:function(t,e,n){e.f=n("5168")},cd1c:function(t,e,n){var a=n("e853");t.exports=function(t,e){return new(a(t))(e)}},cd78:function(t,e,n){var a=n("e4ae"),r=n("f772"),i=n("656e");t.exports=function(t,e){if(a(t),r(e)&&e.constructor===t)return e;var n=i.f(t),o=n.resolve;return o(e),n.promise}},ce10:function(t,e,n){var a=n("69a8"),r=n("6821"),i=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,l=r(t),s=0,c=[];for(n in l)n!=o&&a(l,n)&&c.push(n);while(e.length>s)a(l,n=e[s++])&&(~i(c,n)||c.push(n));return c}},d25f:function(t,e,n){"use strict";var a=n("5ca1"),r=n("0a49")(2);a(a.P+a.F*!n("2f21")([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},d2c8:function(t,e,n){var a=n("aae3"),r=n("be13");t.exports=function(t,e,n){if(a(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},d399:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-area-select",{model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-areaselect",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d808:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i={name:"config-createtime",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},d864:function(t,e,n){var a=n("79aa");t.exports=function(t,e,n){if(a(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,a){return t.call(e,n,a)};case 3:return function(n,a,r){return t.call(e,n,a,r)}}return function(){return t.apply(e,arguments)}}},d8d6:function(t,e,n){n("1654"),n("6c1c"),t.exports=n("ccb9").f("iterator")},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,n){var a=n("e4ae"),r=n("794b"),i=n("1bc3"),o=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(a(t),e=i(e,!0),a(n),r)try{return o(t,e,n)}catch(l){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},daae:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-date",{attrs:{clearable:"",dateType:t.data.dateType,format:t.data.format,startPlaceholder:t.data.startPlaceholder,endPlaceholder:t.data.endPlaceholder,placeholder:t.$t("请选择")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("时间类型")}},[n("l-select",{attrs:{options:t.dateTypeOpions},on:{change:t.handleChange},model:{value:t.data.dateType,callback:function(e){t.$set(t.data,"dateType",e)},expression:"data.dateType"}})],1),n("el-form-item",{attrs:{label:t.$t("时间格式")}},[n("el-input",{model:{value:t.data.format,callback:function(e){t.$set(t.data,"format",e)},expression:"data.format"}})],1),n("el-form-item",{attrs:{label:t.$t("是否清空")}},[n("el-switch",{model:{value:t.data.clearable,callback:function(e){t.$set(t.data,"clearable",e)},expression:"data.clearable"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-datetimerange",props:["data"],data:function(){return{dateTypeOpions:[{value:"daterange",label:this.$t("日期范围")},{value:"monthrange",label:this.$t("月范围")},{value:"datetimerange",label:this.$t("日期时间范围")}]}},methods:{handleChange:function(t){var e=t.value;switch(e){case"daterange":this.data.format="yyyy-MM-dd";break;case"monthrange":this.data.format="yyyy-MM";break;case"datetimerange":this.data.format="yyyy-MM-dd HH:mm:ss";break}}}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},dbdb:function(t,e,n){var a=n("584a"),r=n("e53d"),i="__core-js_shared__",o=r[i]||(r[i]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:a.version,mode:n("b8e3")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},dcbc:function(t,e,n){var a=n("2aba");t.exports=function(t,e,n){for(var r in e)a(t,r,e[r],n);return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e4ae:function(t,e,n){var a=n("f772");t.exports=function(t){if(!a(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e568:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("最小值")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.min,callback:function(e){t.$set(t.data,"min",e)},expression:"data.min"}})],1),n("el-form-item",{attrs:{label:t.$t("最大值")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.max,callback:function(e){t.$set(t.data,"max",e)},expression:"data.max"}})],1),n("el-form-item",{attrs:{label:t.$t("精度")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.precision,callback:function(e){t.$set(t.data,"precision",e)},expression:"data.precision"}})],1),n("el-form-item",{attrs:{label:t.$t("步长")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.step,callback:function(e){t.$set(t.data,"step",e)},expression:"data.step"}})],1),n("el-form-item",{attrs:{label:t.$t("步长倍数")}},[n("el-switch",{model:{value:t.data.stepStrictly,callback:function(e){t.$set(t.data,"stepStrictly",e)},expression:"data.stepStrictly"}})],1),n("el-form-item",{attrs:{label:t.$t("按钮位置")}},[n("el-radio-group",{model:{value:t.data.controlsPosition,callback:function(e){t.$set(t.data,"controlsPosition",e)},expression:"data.controlsPosition"}},[n("el-radio-button",{attrs:{label:"default"}},[t._v(t._s(t.$t("默认")))]),n("el-radio-button",{attrs:{label:"right"}},[t._v(t._s(t.$t("右侧")))])],1)],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-number",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},e6f3:function(t,e,n){var a=n("07e3"),r=n("36c3"),i=n("5b4e")(!1),o=n("5559")("IE_PROTO");t.exports=function(t,e){var n,l=r(t),s=0,c=[];for(n in l)n!=o&&a(l,n)&&c.push(n);while(e.length>s)a(l,n=e[s++])&&(~i(c,n)||c.push(n));return c}},e781:function(t,e,n){"use strict";n("1f66")},e853:function(t,e,n){var a=n("d3f4"),r=n("1169"),i=n("2b4c")("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),a(e)&&(e=e[i],null===e&&(e=void 0))),void 0===e?Array:e}},eb0c:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-time",{attrs:{isRange:"",clearable:"",format:t.data.format,startPlaceholder:t.data.startPlaceholder,endPlaceholder:t.data.endPlaceholder,placeholder:t.$t("请选择")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("时间格式")}},[n("el-input",{model:{value:t.data.format,callback:function(e){t.$set(t.data,"format",e)},expression:"data.format"}})],1),n("el-form-item",{attrs:{label:t.$t("是否清空")}},[n("el-switch",{model:{value:t.data.clearable,callback:function(e){t.$set(t.data,"clearable",e)},expression:"data.clearable"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-timerange",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},ebb7:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es6_array_filter__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("d25f"),core_js_modules_es6_array_filter__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es6_array_filter__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_array_index_of__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("57e7"),core_js_modules_es6_array_index_of__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_array_index_of__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("c5f6"),core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("551c"),core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_3__),regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("96cf"),regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_4__),_Users_tobin_work_learun_opendev_learun_form_node_modules_babel_runtime_corejs2_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("3b8d"),core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("20d6"),core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es7_array_includes__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("6762"),core_js_modules_es7_array_includes__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es7_array_includes__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es6_string_includes__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("2fdb"),core_js_modules_es6_string_includes__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es6_string_includes__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("28a5"),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es6_array_for_each__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("f3e2"),core_js_modules_es6_array_for_each__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es6_array_for_each__WEBPACK_IMPORTED_MODULE_11__),_viewerFormItem__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("18d4"),_cardViewer_vue__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("ba6a");__webpack_exports__["a"]={name:"l-form-viewer",components:{viewerFormItem:_viewerFormItem__WEBPACK_IMPORTED_MODULE_12__["a"],cardViewer:_cardViewer_vue__WEBPACK_IMPORTED_MODULE_13__["a"]},provide:function(){return{formViewer:this}},props:{formInfo:{type:Object,default:function(){return{}}},isAuth:{type:Boolean,default:!1},isRead:{type:Boolean,default:!1}},data:function(){return{formActiveName:"tab0",formData:{},oldFormData:null,originalTabList:[],myFormInfo:{},gridtables:[],rules:{},components:{},isUpdate:!1,loadingObj:null,upCtrls:{},ready:!1}},computed:{tabList:function(){var t=this;if(this.isAuth&&this.lr_pageAuthInfo&&this.lr_pageAuthInfo.isAuth){var e=[],n=this.lr_pageAuthInfo.data.forms,a={};n.forEach((function(t){var e=t.split(","),n=e[0].split("|");n.length>1?(a[n[0]]=a[n[0]]||{},a[n[0]][n[1]]=e[1]):a[e[0]]=e[1]}));var r,i=[];if(this.originalTabList&&this.originalTabList.forEach((function(t){var n={text:t.text,components:[]};t.components.forEach((function(t){["gridtable","card"].includes(t.type)?["gridtable"].includes(t.type)?(a["".concat(t.prop,"_add")]&&("2"==a["".concat(t.prop,"_add")]?t.isAddBtn=!0:t.isAddBtn=!1),a["".concat(t.prop,"_remove")]&&("2"==a["".concat(t.prop,"_remove")]?t.isRemoveBtn=!0:t.isRemoveBtn=!1),a[t.prop]&&(n.components.push(t),t.children.forEach((function(e){a[t.prop][e.prop]?"2"!=a[t.prop][e.prop]&&(e.disabled=!0):e.display=!1})))):(a[t.prop]||["card"].includes(t.type))&&n.components.push(t):t.display?a[t.prop]?("2"!=a[t.prop]&&(t.disabled=!0),n.components.push(t)):["guid","company","department","createuser","modifyuser","createtime","modifytime",""].includes(t.type)&&(t.display=!1,i.push(t)):i.push(t)})),n.components.length>0&&e.push(n)})),e.length>0)(r=e[0].components).push.apply(r,i);return e}if(this.isWfForm){var o,l=[],s=[];if(this.originalTabList&&this.originalTabList.forEach((function(e){var n={text:e.text,components:[]};e.components.forEach((function(e){["gridtable","card"].includes(e.type)?["gridtable"].includes(e.type)?(t.authFieldsMap["".concat(e.prop,"_add")]&&(t.authFieldsMap["".concat(e.prop,"_add")].isEdit?e.isAddBtn=!0:e.isAddBtn=!1),t.authFieldsMap["".concat(e.prop,"_remove")]&&(t.authFieldsMap["".concat(e.prop,"_remove")].isEdit?e.isRemoveBtn=!0:e.isRemoveBtn=!1),t.authFieldsMap["".concat(e.prop,"_required")]&&(t.authFieldsMap["".concat(e.prop,"_required")].required?e.required=!0:e.required=!1),e.children.forEach((function(a){t.authFieldsMap[a.prop]&&(t.authFieldsMap[a.prop].isEdit||t.authFieldsMap[a.prop].isLook)?(t.authFieldsMap[a.prop].isEdit||(a.disabled=!0),-1==n.components.findIndex((function(t){return t.prop==e.prop}))&&n.components.push(e)):a.display=!1}))):(["card"].includes(e.type)||t.authFieldsMap[e.prop]&&(t.authFieldsMap[e.prop].isEdit||t.authFieldsMap[e.prop].isLook))&&n.components.push(e):e.display?t.authFieldsMap[e.prop]&&(t.authFieldsMap[e.prop].isEdit||t.authFieldsMap[e.prop].isLook)?(t.authFieldsMap[e.prop].isEdit||(e.disabled=!0),n.components.push(e)):["guid","company","department","createuser","modifyuser","createtime","modifytime",""].includes(e.type)&&(e.display=!1,s.push(e)):s.push(e)})),n.components.length>0&&l.push(n)})),l.length>0)(o=l[0].components).push.apply(o,s);return l}return this.originalTabList||[]},showTabList:function(){return this.toShowData(this.tabList)}},mounted:function(){},methods:{init:function(){var _init=Object(_Users_tobin_work_learun_opendev_learun_form_node_modules_babel_runtime_corejs2_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_5__["a"])(regeneratorRuntime.mark((function _callee(postData){var _this2=this,gridtables,rules,components,formInfo;return regeneratorRuntime.wrap((function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:return this.ready=!1,this.isUpdate=!this.$validatenull(postData),this.myFormInfo={},this.oldFormData=null,this.formData={},gridtables=[],rules={},components={},formInfo=this.$deepClone(this.formInfo),formInfo.tabList&&formInfo.tabList.forEach((function(tab){tab.components.forEach((function(component){["viewtable","card","btn"].includes(component.type)?components[component.prop]=component:(_this2.$set(_this2.formData,component.prop,_this2.getFormDataValue(component,postData||{},_this2.isUpdate)),["gridtable"].includes(component.type)?(gridtables.push(component),components[component.prop]=component,component.children.forEach((function(t){components[t.prop]=t,t.upCtrl&&(_this2.upCtrls[t.upCtrl]=_this2.upCtrls[t.upCtrl]||[],_this2.upCtrls[t.upCtrl].push(t.prop))}))):(components[component.prop]=component,component.upCtrl&&(_this2.upCtrls[component.upCtrl]=_this2.upCtrls[component.upCtrl]||[],_this2.upCtrls[component.upCtrl].push(component.prop))),["gridtable","viewtable","card","btn"].includes(component.type)||(component.required&&(rules[component.prop]=[],rules[component.prop].push({required:!0,message:"请输入".concat(component.label),trigger:"blur"})),component.patterns&&component.patterns.length>0&&(rules[component.prop]=rules[component.prop]||[],component.patterns.forEach((function(pattern){rules[component.prop].push({pattern:eval(pattern.reg),message:pattern.msg,trigger:"blur"})})))))}))})),this.gridtables=gridtables,this.rules=rules,this.components=components,this.myFormInfo=formInfo,this.originalTabList=formInfo.tabList,this.formActiveName="tab0",_context.next=18,this.beforeFormSetData();case 18:this.isUpdate&&(this.oldFormData=this.$deepClone(this.formData)),this.$nextTick((function(){_this2.ready=!0}));case 20:case"end":return _context.stop()}}),_callee,this)})));function init(t){return _init.apply(this,arguments)}return init}(),resetFormData:function(){this.ready=!1},validateForm:function(){var t=this;return new Promise((function(e){t.$refs.form.validate(function(){var n=Object(_Users_tobin_work_learun_opendev_learun_form_node_modules_babel_runtime_corejs2_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_5__["a"])(regeneratorRuntime.mark((function n(a){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!a){n.next=11;break}r=t.gridtables,i=!0;try{r.forEach((function(e){if(i=t.$refs[e.prop][0].validate(),!i)throw new Error}))}catch(o){}if(!i){n.next=8;break}return n.next=7,t.validateEvent();case 7:i=n.sent;case 8:e(i),n.next=13;break;case 11:t.$message({type:"error",message:t.$t("表单有未正确填写项,请检查!")}),e(!1);case 13:case"end":return n.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}())}))},getForm:function(){return this.$deepClone(this.formData)},setForm:function(){var t=Object(_Users_tobin_work_learun_opendev_learun_form_node_modules_babel_runtime_corejs2_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_5__["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this.init(e));case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),getDiffFormData:function(){var t=[];if(null==this.oldFormData)return t;for(var e in this.oldFormData){var n=this.components[e],a=this.oldFormData[e],r=this.formData[e];if(n&&!["gridtable","divider","upload","uploadimg","company","department","createuser","modifyuser","createtime","modifytime","viewtable","card","btn"].includes(n.type)&&a!=r){var i={table_Name:n.table,tableField:n.field,formColumn:n.label,oldVal:a,newVal:r,oldShowVal:"",newShowVal:"",creator:this.loginInfo.f_RealName+"/"+this.loginInfo.f_Account};i.oldShowVal=this.getLabel(e,this.oldFormData),i.newShowVal=this.getLabel(e,this.formData),t.push(i)}}return t},findTreeItem:function(t,e){var n=this;t.forEach((function(t){e.push({value:t.value,label:t.label}),t.children&&n.findTreeItem(t.children,e)}))},toShowData:function(t){var e=this.$deepClone(t),n={};return e.forEach((function(t){var e=[];t.components.forEach((function(t){["card"].includes(t.type)&&(n[t.prop]||(n[t.prop]=[]),t.children=n[t.prop]),"card"==t.ptype?(n[t.pid]||(n[t.pid]=[]),n[t.pid].push(t),delete t.pid,delete t.ptype):e.push(t)})),t.components=e})),this.toFilterCard(e),e},toFilterCard:function(t){var e=this;t.forEach((function(t){var n=[];t.components.forEach((function(t){["card"].includes(t.type)?(t.children=e.toFilterCardSub(t.children),t.children.length>0&&n.push(t)):n.push(t)})),t.components=n}))},toFilterCardSub:function(t){var e=this,n=[];return t.forEach((function(t){"card"!=t.type?n.push(t):(t.children=e.toFilterCardSub(t.children),t.children.length>0&&n.push(t))})),n},getFormDataValue:function(t,e,n){var a,r=[];if("gridtable"==t.type){for(var i=e[t.table]||[],o=0,l=i.length;o<l;o++){for(var s=i[o],c={},u=0,d=t.children.length;u<d;u++){var f=t.children[u],p=s[f.field.toLowerCase()];this.$validatenull(p)||(["slider","rate"].includes(f.type)&&(p=parseInt(p),isNaN(p)&&(p=0)),c[f.prop]=p)}r.push(c)}return r}if(e[t.table]&&e[t.table][0])a=e[t.table][0][t.field.toLowerCase()];else if(!n&&(a=t.default,t.isLogin&&this.loginInfo))switch(t.type){case"companySelect":a=this.loginInfo.f_CompanyId;break;case"departmentSelect":a=this.loginInfo.f_DepartmentId;break;case"userSelect":a=this.loginInfo.f_UserId;break}return["switch"].includes(t.type)?a=this.toValueType(t.valueType,a)||this.toValueType(t.valueType,t.inactiveValue):["select","radio","checkbox","treeselect","layerselect"].includes(t.type)&&"2"==t.dataType&&!this.$validatenull(a)?a+="":["slider","rate"].includes(t.type)&&!this.$validatenull(a)&&(a=parseInt(a),isNaN(a)&&(a=0)),a},toValueType:function(t,e){if(!this.$validatenull(e)&&!this.$validatenull(t))switch(t){case"boolean":return"true"==e;case"string":return e;case"number":return Number(e)}},getTableColumns:function(t){var e=[];return t.forEach((function(t){e.push({id:t.prop,isHidden:!t.display,prop:t.prop,label:t.label,width:t.labelWidth,required:t.required,patterns:t.patterns})})),e},handleAddRow:function(t){var e=this,n={};t.children.forEach((function(t){if(["guid","createtime","modifytime","company","department","createuser","modifyuser"].includes(t.type)?n[t.prop]="":n[t.prop]=t.default||void 0,!t.display)switch(t.type){case"guid":n[t.prop]=e.$uuid();break;case"company":e.loginInfo&&(n[t.prop]=e.loginInfo.f_CompanyId);break;case"department":e.loginInfo&&(n[t.prop]=e.loginInfo.f_DepartmentId);break;case"createuser":e.loginInfo&&(n[t.prop]=e.loginInfo.f_UserId);break;case"modifyuser":e.loginInfo&&(n[t.prop]=e.loginInfo.f_UserId);break;case"createtime":n[t.prop]=e.$getDayTime();break;case"modifytime":n[t.prop]=e.$getDayTime();break}})),this.formData[t.prop].push(n)},handleDeleteRow:function(t,e){this.formData[e.prop].splice(t.index,1)},filterTableDeleteBtn:function(t){return!t.hasNoDeleteBtn},getEventParams:function(t){var e=this,n=t.prop,a=t.data,r=t.tableProp,i=t.tableIndex,o=t.tableRow,l=t.callback,s=this.loginInfo,c={prop:n,data:a,tableProp:r,tableIndex:i,isUpdate:this.isUpdate,get:this.getValue,set:this.setValue,getLabel:this.getLabel,setRequired:this.setRequired,setDisabled:this.setDisabled,setHide:this.setHide,loading:this.showLoading,hideLoading:this.hideLoading,message:this.showMessage,httpGet:this.httpGet,httpPost:this.httpPost,httpDelete:this.httpDelete,httpPut:this.httpPut,loginUser:s,callback:l};return r&&(c.getLabel=function(t){return e.getLabel(t,o)}),c},getEvent:function(t){return this.$validatenull(t)?{res:!1,msg:"没设置脚本函数!"}:-1!=t.indexOf("=>")?(console.warn("当前脚本不支持ES6语法,只支持ES5语法"),{res:!1,msg:"脚本没有更新为最新的版本!"}):(t="(function(){function fn(learun) {".concat(t,"} return fn})()"),this.$getFunction(t))},beforeFormSetData:function(){var t=this;return new Promise((function(e){var n=t.getEvent(t.myFormInfo.beforeSetData);if(n.res){var a=n.fn(t.getEventParams({callback:function(t){e(t)}}));"callback"!=a&&e(a)}else e(!0)}))},afterSaveEvent:function(t){var e=this;return new Promise((function(n){var a=e.getEvent(e.myFormInfo.afterSaveEvent);if(a.res){e.formData=e.COPY(t);var r=a.fn(e.getEventParams({callback:function(t){n(t)}}));"callback"!=r&&n(r)}else n(!0)}))},validateEvent:function(){var t=this;return new Promise((function(e){var n=t.getEvent(t.myFormInfo.afterValidateForm);if(n.res){var a=n.fn(t.getEventParams({callback:function(t){e(t)}}));"callback"!=a&&e(a)}else e(!0)}))},formDataChangeEvent:function(t,e){var n=this.getEvent(this.myFormInfo.changeDataEvent);n.res&&n.fn(this.getEventParams({prop:t,data:e}))},tableDataChangeEvent:function(t,e,n,a,r){if(n){var i=this.getEvent(n.changeDataEvent);i.res&&i.fn(this.getEventParams({prop:t,data:e,tableProp:n.prop,tableIndex:a,tableRow:r}))}},componentDataChangeEvent:function(t,e){var n=this.components[t];if(n){var a=this.getEvent(n.changeCode);a.res&&a.fn(this.getEventParams({prop:t,data:e}))}},componentBtnClick:function(t){var e=this.getEvent(t.clickCode);e.res&&e.fn(this.getEventParams({}))},getValue:function(t){for(var e=t.split("."),n=this.formData,a=0,r=e.length;a<r;a++)n=n[e[a]];return n},setValue:function(t){var e=t.path,n=t.value,a=t.type;if("addTable"==a)this.formData[e].push(n);else if("deleteTable"==a){var r=e.split(".");this.formData[r[0]].splice(r[1],1)}else{var i=e.split(".");2==i.length?this.$set(this.formData[i[0]],i[1],n):3==i.length&&this.formData[i[0]]?(console.log(i,n,"setValue"),this.$set(this.formData[i[0]][i[1]],i[2],n)):this.$set(this.formData,e,n)}},getLabel:function(t,e){null==e&&(e=this.formData);var n=e[t],a=this.components[t];switch(a.type){case"radio":case"select":case"treeselect":case"layerselect":case"checkbox":case"selectMultiple":if("3"!=a.dataType){if("2"==a.dataType)return this.lr_dataItemName(this.lr_dataItem[a.dataCode],n);var r=[];return this.findTreeItem(a.options,r),this.lr_dataSourceName(r,n,"value","label")}if(!a.upCtrl)return this.lr_dataSourceName(this.lr_dataSourceData[a.dataCode],n,a.dataValueKey,a.dataLabelKey);if(e&&e[a.upCtrl]){var i=e[a.upCtrl];return this.lr_dataSourceName(this.lr_dataSourceDataByParamter["".concat(a.dataCode,"_").concat(i)],n,a.dataValueKey,a.dataLabelKey)}break;case"companySelect":return this.lr_loadCompanyName(n);case"departmentSelect":return this.lr_departmentNameByOne(n);case"userSelect":return this.lr_userName(n);case"areaselect":return this.lr_areasName(n)}return n},setRequired:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.components[t];if(n&&(this.$set(n,"required",e),!n.subfield)){var a=(this.rules[t]||[]).filter((function(t){return!t.required}));e&&a.push({required:!0,message:"请输入".concat(n.label),trigger:"blur"}),this.$set(this.rules,n.prop,a)}},setDisabled:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.components[t];n&&this.$set(n,"disabled",e)},setHide:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.components[t];n&&this.$set(n,"display",!e)},showLoading:function(t){this.loadingObj=this.$loading({lock:!0,text:t||"加载中",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.4)"})},hideLoading:function(){this.loadingObj&&this.loadingObj.close()},showMessage:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warning";this.$message({type:e,message:t})},httpGet:function(){var t=Object(_Users_tobin_work_learun_opendev_learun_form_node_modules_babel_runtime_corejs2_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_5__["a"])(regeneratorRuntime.mark((function t(e){var n,a,r,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.url,a=e.params,r=e.callback,t.next=3,this.$awaitWraper(window.$axios({url:"".concat(n),method:"get",params:a}));case 3:i=t.sent,r&&r(i);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),httpPost:function(){var t=Object(_Users_tobin_work_learun_opendev_learun_form_node_modules_babel_runtime_corejs2_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_5__["a"])(regeneratorRuntime.mark((function t(e){var n,a,r,i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.url,a=e.params,r=e.data,i=e.callback,t.next=3,this.$awaitWraper(window.$axios({url:"".concat(n),method:"post",params:a,data:r}));case 3:o=t.sent,i&&i(o);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),httpPut:function(){var t=Object(_Users_tobin_work_learun_opendev_learun_form_node_modules_babel_runtime_corejs2_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_5__["a"])(regeneratorRuntime.mark((function t(e){var n,a,r,i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.url,a=e.params,r=e.data,i=e.callback,t.next=3,this.$awaitWraper(window.$axios({url:"".concat(n),method:"put",params:a,data:r}));case 3:o=t.sent,i&&i(o);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),httpDelete:function(){var t=Object(_Users_tobin_work_learun_opendev_learun_form_node_modules_babel_runtime_corejs2_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_5__["a"])(regeneratorRuntime.mark((function t(e){var n,a,r,i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.url,a=e.params,r=e.data,i=e.callback,t.next=3,this.$awaitWraper(window.$axios({url:"".concat(n),method:"delete",params:a,data:r}));case 3:o=t.sent,i&&i(o);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),handleItemChange:function(t,e,n,a){var r=t.prop,i=t.obj;e?this.tableDataChangeEvent(r,i,e,n,a):(this.componentDataChangeEvent(r,i),this.formDataChangeEvent(r,i))}}}},ebd6:function(t,e,n){var a=n("cb7c"),r=n("d8e8"),i=n("2b4c")("species");t.exports=function(t,e){var n,o=a(t).constructor;return void 0===o||void 0==(n=a(o)[i])?e:r(n)}},ebfd:function(t,e,n){var a=n("62a0")("meta"),r=n("f772"),i=n("07e3"),o=n("d9f6").f,l=0,s=Object.isExtensible||function(){return!0},c=!n("294c")((function(){return s(Object.preventExtensions({}))})),u=function(t){o(t,a,{value:{i:"O"+ ++l,w:{}}})},d=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,a)){if(!s(t))return"F";if(!e)return"E";u(t)}return t[a].i},f=function(t,e){if(!i(t,a)){if(!s(t))return!0;if(!e)return!1;u(t)}return t[a].w},p=function(t){return c&&h.NEED&&s(t)&&!i(t,a)&&u(t),t},h=t.exports={KEY:a,NEED:!1,fastKey:d,getWeak:f,onFreeze:p}},edf8:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("弹窗高")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.height,callback:function(e){t.$set(t.data,"height",e)},expression:"data.height"}})],1),n("el-form-item",{attrs:{label:t.$t("弹窗宽")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.width,callback:function(e){t.$set(t.data,"width",e)},expression:"data.width"}})],1),n("el-divider",[t._v(t._s(t.$t("字段绑定")))]),n("el-form-item",{staticStyle:{"margin-bottom":"8px"},attrs:{label:t.$t("地址字段")}},[n("l-select",{attrs:{options:t.valueOptions,placeholder:t.$t("请输入")},model:{value:t.data.bindaddr,callback:function(e){t.$set(t.data,"bindaddr",e)},expression:"data.bindaddr"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"8px"},attrs:{label:t.$t("经纬度字段")}},[n("l-select",{attrs:{options:t.valueOptions,placeholder:t.$t("请输入")},model:{value:t.data.bindaddrpoint,callback:function(e){t.$set(t.data,"bindaddrpoint",e)},expression:"data.bindaddrpoint"}})],1),n("el-divider"),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i=(n("20d6"),n("6762"),n("2fdb"),n("ac6a"),n("f3e2"),n("7a14")),o={name:"config-layerbmap",mixins:[Object(i["a"])()],inject:["formDesign"],props:["data"],data:function(){return{}},created:function(){},computed:{valueOptions:function(){var t=this,e=[],n=this.formDesign.toSaveData();return this.data.subfield?n.tabList.forEach((function(n){n.components.forEach((function(n){["gridtable"].includes(n.type)&&-1!=n.children.findIndex((function(e){return e.prop==t.data.prop}))&&n.children.forEach((function(n){n.prop!=t.data.prop&&e.push({value:n.prop,label:n.label})}))}))})):n.tabList.forEach((function(n){n.components.forEach((function(n){["divider","gridtable"].includes(n.type)||n.prop==t.data.prop||e.push({value:n.prop,label:n.label})}))})),e}},methods:{}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["default"]=c.exports},ee83:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("数据")))]),n("el-form-item",{attrs:{label:t.$t("数据源")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.dataSource,labelKey:"f_Name",valueKey:"f_Code"},on:{change:t.handleDataSourceChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1),n("el-form-item",{attrs:{label:t.$t("关联字段")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.componentParamOptions},model:{value:t.data.paramFiled,callback:function(e){t.$set(t.data,"paramFiled",e)},expression:"data.paramFiled"}})],1),n("el-divider",[t._v(t._s(t.$t("数据列")))]),t._l(t.data.columns,(function(e,a){return n("div",{key:a,staticClass:"reg-item"},[n("el-form-item",{staticStyle:{"margin-bottom":"8px"},attrs:{label:t.$t("列名")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:e.label,callback:function(n){t.$set(e,"label",n)},expression:"item.label"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"8px"},attrs:{label:t.$t("字段")}},[n("l-select",{attrs:{options:t.myColNameList},model:{value:e.prop,callback:function(n){t.$set(e,"prop",n)},expression:"item.prop"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"8px"},attrs:{label:t.$t("宽度")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:e.width,callback:function(n){t.$set(e,"width",n)},expression:"item.width"}})],1),n("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:t.$t("对齐")}},[n("l-select",{attrs:{options:t.alignOptions},model:{value:e.align,callback:function(n){t.$set(e,"align",n)},expression:"item.align"}})],1),n("el-button",{staticClass:"reg-item-delete",attrs:{title:t.$t("删除"),circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return t.handleRemoveCol(a)}}},[n("i",{staticClass:"el-icon-close"})])],1)})),n("div",{staticClass:"mt-8"},[n("el-button",{staticClass:"ml-8",attrs:{type:"primary",size:"mini"},on:{click:t.handleAddCol}},[t._v(t._s(t.$t("添加列")))])],1)],2)},r=[],i=(n("6762"),n("2fdb"),n("ac6a"),n("f3e2"),n("7a14")),o={name:"config-viewtable",mixins:[Object(i["a"])()],inject:["formDesign"],props:["data"],data:function(){return{alignOptions:[{value:"left",label:"靠左"},{value:"center",label:"居中"},{value:"right",label:"靠右"}]}},created:function(){this.lr_loadDataSourceList&&this.lr_loadDataSourceList(),this.loadDataSourceCol()},computed:{dataSource:function(){return this.lr_dataSource?this.lr_dataSource:[]},componentParamOptions:function(){var t=this,e=[];if(this.formDesign){var n=this.formDesign.toSaveData();n.tabList.forEach((function(n){n.components.forEach((function(n){["gridtable","divider","viewtable","card","btn"].includes(n.type)||n.prop==t.data.prop||e.push({value:n.prop,label:n.label})}))}))}return e}},methods:{handleDataSourceChange:function(){!this.$validatenull(this.data.dataCode)&&this.lr_loadDataSourceColNames&&(this.lr_loadDataSourceColNames(this.data.dataCode),this.lr_loadDataSourceData(this.data.dataCode))},handleAddCol:function(){this.data.columns.push({label:"第".concat(this.data.columns.length,"列"),prop:"",width:100,align:"left",hidden:!1})},handleRemoveCol:function(t){this.data.columns.splice(t,1)}}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["default"]=c.exports},f03c:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myOptions},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-divider",[t._v(t._s(t.$t("选项")))]),n("div",{staticStyle:{"text-align":"center","margin-bottom":"16px"}},[n("el-radio-group",{attrs:{size:"mini"},on:{change:t.handleDataTypeChange},model:{value:t.data.dataType,callback:function(e){t.$set(t.data,"dataType",e)},expression:"data.dataType"}},[n("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("静态数据")))]),n("el-radio-button",{attrs:{label:"2"}},[t._v(t._s(t.$t("数据字典")))]),n("el-radio-button",{attrs:{label:"3"}},[t._v(t._s(t.$t("数据源")))])],1)],1),1==t.data.dataType?n("div",[n("draggable",{attrs:{list:t.data.options,group:{name:"dic"},"ghost-class":"set-item-ghost",handle:".drag-item"}},t._l(t.data.options,(function(e,a){return n("div",{key:a,staticClass:"set-item"},[n("i",{staticClass:"drag-item el-icon-rank"}),n("el-input",{staticStyle:{width:"49%","margin-right":"2%"},attrs:{size:"mini",placeholder:t.$t("选项名")},model:{value:e.label,callback:function(n){t.$set(e,"label",n)},expression:"item.label"}}),n("el-input",{staticStyle:{width:"49%"},attrs:{size:"mini",placeholder:t.$t("选项值")},model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"item.value"}}),n("el-button",{staticClass:"delete-item",staticStyle:{padding:"4px"},attrs:{circle:"",plain:"",type:"danger",size:"mini",icon:"el-icon-minus"},on:{click:function(e){return t.handleRemoveDatas(a)}}})],1)})),0),n("div",{staticStyle:{"padding-left":"22px"}},[n("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-circle-plus-outline"},on:{click:t.handleAddDatas}},[t._v(t._s(t.$t("添加选项")))])],1)],1):2==t.data.dataType?n("div",[n("l-tree-select",{attrs:{options:t.dataItemClassifysTree,placeholder:t.$t("请选择"),size:"mini",parent:!1},on:{change:t.handleDataItemChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1):n("div",[n("el-form-item",{attrs:{label:t.$t("数据源")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.dataSource,labelKey:"f_Name",valueKey:"f_Code"},on:{change:t.handleDataSourceChange},model:{value:t.data.dataCode,callback:function(e){t.$set(t.data,"dataCode",e)},expression:"data.dataCode"}})],1),n("el-form-item",{attrs:{label:t.$t("值")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataValueKey,callback:function(e){t.$set(t.data,"dataValueKey",e)},expression:"data.dataValueKey"}})],1),n("el-form-item",{attrs:{label:t.$t("标签")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.myColNameList},on:{change:t.handleDataSourceKeyLabelChange},model:{value:t.data.dataLabelKey,callback:function(e){t.$set(t.data,"dataLabelKey",e)},expression:"data.dataLabelKey"}})],1),n("el-form-item",{attrs:{label:t.$t("上一级")}},[n("l-select",{attrs:{placeholder:t.$t("请选择"),size:"mini",options:t.componentOptions},model:{value:t.data.upCtrl,callback:function(e){t.$set(t.data,"upCtrl",e)},expression:"data.upCtrl"}})],1)],1),n("el-divider"),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.disabled,callback:function(e){t.$set(t.data,"disabled",e)},expression:"data.disabled"}})],1),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i=n("7a14"),o={name:"config-radio",mixins:[Object(i["a"])()],inject:["formDesign"],props:["data"],data:function(){return{}},created:function(){this.lr_loadDataItemClassifys&&this.lr_loadDataItemClassifys(),this.lr_loadDataSourceList&&this.lr_loadDataSourceList(),this.loadDataSourceCol()},computed:{dataItemClassifysTree:function(){return this.lr_dataItemClassifysTree?this.lr_dataItemClassifysTree:[]},dataSource:function(){return this.lr_dataSource?this.lr_dataSource:[]}},methods:{handleDataTypeChange:function(){this.data.dataCode="",this.data.dataValueKey="",this.data.dataLabelKey="",this.data.default=""},handleAddDatas:function(){this.data.options.push({label:"选项"+(this.data.options.length+1),value:this.data.options.length+1})},handleRemoveDatas:function(t){this.data.default==this.data.options[t].value&&(this.data.default=""),this.data.options.splice(t,1)},handleDataItemChange:function(){this.data.default="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataItem&&this.lr_loadDataItem(this.data.dataCode)},handleDataSourceChange:function(){this.data.default="",this.data.dataValueKey="",this.data.dataLabelKey="",!this.$validatenull(this.data.dataCode)&&this.lr_loadDataSourceColNames&&(this.lr_loadDataSourceColNames(this.data.dataCode),this.lr_loadDataSourceData(this.data.dataCode))},handleDataSourceKeyLabelChange:function(){this.data.default=""}}},l=o,s=n("2877"),c=Object(s["a"])(l,a,r,!1,null,null,null);e["default"]=c.exports},f06f:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("文件类型")}},[n("l-select",{attrs:{options:t.acceptOpions},model:{value:t.data.accept,callback:function(e){t.$set(t.data,"accept",e)},expression:"data.accept"}})],1),n("el-form-item",{attrs:{label:t.$t("文件大小")}},[n("el-input",{attrs:{type:"number"},model:{value:t.data.maxSize,callback:function(e){t.$set(t.data,"maxSize",e)},expression:"data.maxSize"}},[n("el-select",{staticClass:"s-w-72",attrs:{slot:"append",placeholder:t.$t("请选择")},slot:"append",model:{value:t.data.sizeType,callback:function(e){t.$set(t.data,"sizeType",e)},expression:"data.sizeType"}},[n("el-option",{attrs:{label:"KB",value:"KB"}}),n("el-option",{attrs:{label:"MB",value:"MB"}}),n("el-option",{attrs:{label:"GB",value:"GB"}})],1)],1)],1),n("el-form-item",{attrs:{label:t.$t("最大上传数")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.limit,callback:function(e){t.$set(t.data,"limit",e)},expression:"data.limit"}})],1),n("el-form-item",{attrs:{label:t.$t("显示提示")}},[n("el-switch",{model:{value:t.data.isTip,callback:function(e){t.$set(t.data,"isTip",e)},expression:"data.isTip"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-upload",props:["data"],data:function(){return{acceptOpions:[{value:".xls,.xlsx",label:"Excel"},{value:".doc,.docx",label:"Word"},{value:".pdf",label:"Pdf"},{value:".txt",label:"txt"},{value:"image/*",label:this.$t("图片")},{value:"video/*",label:this.$t("视频")},{value:"audio/*",label:this.$t("音频")}],sizeTypeOpions:[]}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},f1ae:function(t,e,n){"use strict";var a=n("86cc"),r=n("4630");t.exports=function(t,e,n){e in t?a.f(t,e,r(0,n)):t[e]=n}},f201:function(t,e,n){var a=n("e4ae"),r=n("79aa"),i=n("5168")("species");t.exports=function(t,e){var n,o=a(t).constructor;return void 0===o||void 0==(n=a(o)[i])?e:r(n)}},f251:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-divider",[t._v(t._s(t.$t("私有属性")))]),n("el-form-item",{attrs:{label:t.$t("默认值")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}})],1),n("el-form-item",{attrs:{label:t.$t("前缀")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.prepend,callback:function(e){t.$set(t.data,"prepend",e)},expression:"data.prepend"}})],1),n("el-form-item",{attrs:{label:t.$t("后缀")}},[n("el-input",{attrs:{placeholder:t.$t("请输入")},model:{value:t.data.append,callback:function(e){t.$set(t.data,"append",e)},expression:"data.append"}})],1),n("el-form-item",{attrs:{label:t.$t("前图标")}},[n("l-input-icon",{attrs:{iconList:t.iconList},model:{value:t.data.prefixIcon,callback:function(e){t.$set(t.data,"prefixIcon",e)},expression:"data.prefixIcon"}})],1),n("el-form-item",{attrs:{label:t.$t("后图标")}},[n("l-input-icon",{attrs:{iconList:t.iconList},model:{value:t.data.suffixIcon,callback:function(e){t.$set(t.data,"suffixIcon",e)},expression:"data.suffixIcon"}})],1),n("el-form-item",{attrs:{label:t.$t("最大长度")}},[n("el-input-number",{attrs:{"controls-position":"right",placeholder:t.$t("请输入")},model:{value:t.data.maxlength,callback:function(e){t.$set(t.data,"maxlength",e)},expression:"data.maxlength"}})],1),n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1),n("el-form-item",{attrs:{label:t.$t("是否只读")}},[n("el-switch",{model:{value:t.data.readonly,callback:function(e){t.$set(t.data,"readonly",e)},expression:"data.readonly"}})],1),n("el-divider",[t._v(t._s(t.$t("校验")))]),n("el-form-item",{attrs:{label:t.$t("是否必填")}},[n("el-switch",{model:{value:t.data.required,callback:function(e){t.$set(t.data,"required",e)},expression:"data.required"}})],1)],1)},r=[],i={name:"config-password",props:["data"],data:function(){return{}},computed:{iconList:function(){return this.lr_icons?this.lr_icons:[]}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},f25a:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-form-item",{attrs:{label:t.$t("是否可见")}},[n("el-switch",{model:{value:t.data.display,callback:function(e){t.$set(t.data,"display",e)},expression:"data.display"}})],1)],1)},r=[],i={name:"config-createuser",props:["data"],data:function(){return{}},methods:{}},o=i,l=n("2877"),s=Object(l["a"])(o,a,r,!1,null,null,null);e["default"]=s.exports},f3e2:function(t,e,n){"use strict";var a=n("5ca1"),r=n("0a49")(0),i=n("2f21")([].forEach,!0);a(a.P+a.F*!i,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f605:function(t,e){t.exports=function(t,e,n,a){if(!(t instanceof e)||void 0!==a&&a in t)throw TypeError(n+": incorrect invocation!");return t}},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},f921:function(t,e,n){n("014b"),n("c207"),n("69d3"),n("765d"),t.exports=n("584a").Symbol},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var a=n("7726").document;t.exports=a&&a.documentElement},fb15:function(t,e,n){"use strict";if(n.r(e),n.d(e,"components",(function(){return ct})),"undefined"!==typeof window){var a=window.document.currentScript,r=n("8875");a=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var i=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("1c01"),n("58b2"),n("8e6e"),n("d25f");var o=n("bd86"),l=(n("7f7f"),n("456d"),n("f3e2"),n("ac6a"),n("cadf"),n("8615"),n("6d67"),n("bd00"),n("953d")),s=n.n(l),c=(n("a753"),n("8096"),n("14e1"),s.a),u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("l-layout",{staticClass:"l-form-design",attrs:{leftMove:!1,rightMove:!1,left:280,right:344},scopedSlots:t._u([{key:"left",fn:function(){return[n("l-panel",{style:{"padding-right":0,"padding-top":t.isNotTopPadding?0:void 0,"padding-bottom":t.isNotBottomPadding?0:void 0}},t._l(t.myComponents,(function(e,a){return n("div",{key:a},[n("div",{staticClass:"l-form-design--myComponent-title"},[t._v(t._s(t.$t(e.title)))]),n("draggable",{staticClass:"myComponent-item-draggable",attrs:{list:e.list,group:{name:"form",pull:"clone",put:!1},"ghost-class":"ghost",sort:!1}},t._l(e.list,(function(e,a){return n("div",{key:a,staticClass:"myComponent-item",on:{click:function(n){return t.handleClick(e)}}},[n("div",{staticClass:"myComponent-item-body"},[n("i",{staticClass:"myComponent-item-icon",class:e.icon}),n("span",[t._v(t._s(t.$t(e.title||e.label)))])])])})),0)],1)})),0)]},proxy:!0},{key:"right",fn:function(){return[n("l-panel",{style:{"padding-left":0,"padding-top":t.isNotTopPadding?0:void 0,"padding-bottom":t.isNotBottomPadding?0:void 0}},[n("div",{staticClass:"l-auto-window"},[n("el-tabs",{attrs:{stretch:!0},model:{value:t.configActiveName,callback:function(e){t.configActiveName=e},expression:"configActiveName"}},[n("el-tab-pane",{attrs:{label:""+t.$t("组件属性")+t.componentName,name:"tab01"}},[n("component-config",{attrs:{data:t.dragFormSelect}})],1),n("el-tab-pane",{attrs:{label:t.$t("表单属性"),name:"tab02"}},[n("form-config")],1)],1)],1)])]},proxy:!0}])},[n("l-panel",{style:{"padding-left":0,"padding-right":0,"padding-top":t.isNotTopPadding?0:void 0,"padding-bottom":t.isNotBottomPadding?0:void 0},scopedSlots:t._u([{key:"title",fn:function(){return[n("el-button",{attrs:{plain:"",size:"mini",type:"danger",icon:"el-icon-delete"},on:{click:t.handleClear}},[t._v(t._s(t.$t("清空")))]),n("el-button",{attrs:{plain:"",size:"mini",type:"primary",icon:"el-icon-video-play"},on:{click:t.handleViewer}},[t._v(t._s(t.$t("预览")))])]},proxy:!0}])},[n("div",{staticClass:"l-rblock",staticStyle:{padding:"11px"}},[n("div",{class:["l-auto-window",{"only-tabs":1==t.formInfo.tabList.length}]},[n("el-tabs",{attrs:{type:"card"},model:{value:t.formActiveName,callback:function(e){t.formActiveName=e},expression:"formActiveName"}},t._l(t.formInfo.tabList,(function(e,a){return n("el-tab-pane",{key:a,attrs:{label:e.text,name:"tab"+a}},[n("div",{staticClass:"l-rblock",style:{background:0==e.components.length?"url("+t.imgUrl+") no-repeat 50%":""}},[n("drag-form",{ref:"dragForm",refInFor:!0,attrs:{myTabsIndex:a,select:t.dragFormSelect},on:{"update:select":function(e){t.dragFormSelect=e}}})],1)])})),1)],1)])]),"2"!=t.formInfo.openType?n("l-dialog",{attrs:{title:t.$t("表单预览"),visible:t.viewerVisible,height:t.formInfo.dialogHeight||600,width:t.formInfo.dialogWidth||800},on:{"update:visible":function(e){t.viewerVisible=e},opened:t.handleFormOpened,ok:t.handleCloseViewer}},[n("l-form-viewer",{ref:"formViewer",attrs:{formInfo:t.viewerFormInfo}})],1):n("l-drawer",{attrs:{title:t.$t("表单预览"),visible:t.viewerVisible,width:t.formInfo.drawerWidth||600},on:{"update:visible":function(e){t.viewerVisible=e},opened:t.handleFormOpened,ok:t.handleCloseViewer}},[n("l-form-viewer",{ref:"formViewer",attrs:{formInfo:t.viewerFormInfo}})],1)],1)},d=[],f=(n("96cf"),n("3b8d")),p=(n("a481"),n("6762"),n("2fdb"),n("7514"),[{title:"布局组件",list:[{type:"gridtable",label:"设计子表",icon:"learun-icon-layout-design-child-table",span:24,isAddBtn:!0,addBtnText:"新增一行",isRemoveBtn:!0,isShowNum:!0,dataSource:[],children:[],changeDataEvent:"",isDESC:!1},{type:"card",label:"卡片布局",icon:"learun-icon-layout-card-layout",span:24,children:[],shadow:""},{type:"divider",label:"分割线",html:"分割线",contentPosition:"center",icon:"learun-icon-layout-divider",span:24,labelWidth:0,display:!0}]},{title:"输入组件",list:[{type:"input",label:"单行文本",icon:"learun-icon-input-textfield",placeholder:"请输入",span:24,patterns:[],display:!0,default:""},{type:"textarea",label:"多行文本",icon:"learun-icon-input-multiline-text",placeholder:"请输入",span:24,display:!0,default:""},{type:"texteditor",label:"编辑器",icon:"learun-icon-input-editor",span:24,display:!0,default:""},{type:"number",label:"计数器",icon:"learun-icon-input-counter",placeholder:"请输入",controlsPosition:"default",controls:!0,span:24,display:!0,default:"",disabled:!1},{type:"password",label:"密码",icon:"learun-icon-input-password",placeholder:"请输入",span:24,display:!0,default:""}]},{title:"选择组件",list:[{type:"radio",label:"单选框组",icon:"learun-icon-choose-single-selection-box",span:24,display:!0,default:"1",dataType:"1",dataCode:"",dataValueKey:"",dataLabelKey:"",upCtrl:"",options:[{value:"1",label:"选项1"},{value:"2",label:"选项2"},{value:"3",label:"选项3"}]},{type:"checkbox",label:"多选框组",icon:"learun-icon-choose-multiple-selection-box",span:24,display:!0,default:"",dataType:"1",dataCode:"",dataValueKey:"",dataLabelKey:"",upCtrl:"",options:[{value:"1",label:"选项1"},{value:"2",label:"选项2"},{value:"3",label:"选项3"}]},{type:"select",label:"下拉选择",icon:"learun-icon-choose-pull-down-box",span:24,display:!0,placeholder:"请选择",default:"",dataType:"1",dataCode:"",dataValueKey:"",dataLabelKey:"",upCtrl:"",options:[{value:"1",label:"选项1"},{value:"2",label:"选项2"},{value:"3",label:"选项3"}]},{type:"selectMultiple",label:"下拉多选",icon:"learun-icon-choose-drop-down-box",span:24,display:!0,multiple:!0,placeholder:"请选择",default:"",dataType:"1",dataCode:"",dataValueKey:"",dataLabelKey:"",upCtrl:"",collapseTags:!1,options:[{value:"1",label:"选项1"},{value:"2",label:"选项2"},{value:"3",label:"选项3"}]},{key:1,type:"treeselect",label:"树形选择",icon:"learun-icon-choose-tree-selection",span:24,display:!0,placeholder:"请选择",default:"",dataType:"1",dataCode:"",dataValueKey:"",dataLabelKey:"",dataIdKey:"",dataPIdKey:"",upCtrl:"",options:[{label:"选项一",value:"0",children:[{label:"选项1-1",value:"11"},{label:"选项1-2",value:"12"}]},{label:"选项二",value:"1"},{label:"选项三",value:"2"}]},{type:"layerselect",label:"弹窗选择",icon:"learun-icon-choose-popup-window",span:24,placeholder:"请选择",display:!0,multiple:!1,isPage:!0,columns:[],height:504,width:960,default:"",dataType:"2",dataCode:"",dataValueKey:"",dataLabelKey:"",upCtrl:""},{type:"time",label:"时间选择",icon:"learun-icon-choose-time-selection",span:24,display:!0,default:"",placeholder:"选择时间",format:"HH:mm:ss",readonly:!1,clearable:!0,selectableRange:""},{type:"timerange",label:"时间范围",icon:"learun-icon-choose-time-range",span:24,display:!0,startPlaceholder:"开始时间",endPlaceholder:"结束时间",format:"HH:mm:ss",default:"",readonly:!1,clearable:!0,isRange:!0},{type:"datetime",label:"日期选择",icon:"learun-icon-choose-date-selection",span:24,display:!0,dateType:"date",format:"yyyy-MM-dd",readonly:!1,clearable:!0,placeholder:"选择日期",default:""},{type:"datetimerange",label:"日期范围",icon:"learun-icon-choose-date-selection",span:24,display:!0,isRange:!0,dateType:"daterange",startPlaceholder:"开始时间",endPlaceholder:"结束时间",format:"yyyy-MM-dd",readonly:!1,clearable:!0,default:""},{type:"areaselect",label:"省市区",icon:"learun-icon-choose-provinces",span:24,placeholder:"请选择",display:!0,default:""},{type:"layerbmap",label:"地图选择",icon:"learun-icon-choose-nextmap-choose",span:24,placeholder:"请输入地址",display:!0,bindaddr:"",bindaddrpoint:"",height:504,width:960}]},{title:"上传组件",list:[{type:"upload",label:"文件上传",icon:"learun-icon-upload-file-upload",span:24,display:!0,maxSize:"2",sizeType:"MB",limit:1,default:""},{type:"uploadimg",label:"图片上传",icon:"learun-icon-upload-image-upload",span:24,display:!0,listType:"picture-card",maxSize:"2",sizeType:"MB",limit:9,default:""}]},{title:"系统组件",list:[{type:"guid",label:"GUID主键",icon:"learun-icon-system-guid",span:24,display:!1,default:""},{type:"companySelect",label:"公司选择",icon:"learun-icon-system-companies-choose",span:24,display:!0,isLogin:!1,default:""},{type:"departmentSelect",label:"部门选择",icon:"learun-icon-department-of-management",span:24,display:!0,isLogin:!1,default:""},{type:"userSelect",label:"人员选择",icon:"learun-icon-system-personnel-selection",span:24,display:!0,isLogin:!1,default:""},{type:"company",label:"所属公司",icon:"learun-icon-system-subordinate-companies",span:24,display:!1,default:""},{type:"department",label:"所属部门",icon:"learun-icon-system-department",span:24,display:!1,default:""},{type:"createuser",label:"创建人员",icon:"learun-icon-system-create-personnel",span:24,display:!1,default:""},{type:"modifyuser",label:"修改人员",icon:"learun-icon-system-modify-staff",span:24,display:!1,default:""},{type:"createtime",label:"创建时间",icon:"learun-icon-system-creation-time",span:24,display:!1,default:""},{type:"modifytime",label:"修改时间",icon:"learun-icon-system-Modify-time",span:24,display:!1,default:""},{type:"encode",label:"单据编码",icon:"learun-icon-documents-coding",span:24,display:!0,default:"",code:""}]},{title:"视图组件",list:[{type:"viewtable",label:"视图表格",icon:"learun-icon-view-view-form",span:24,display:!0,paramFiled:"",dataCode:"",columns:[]}]},{title:"操作组件",list:[{type:"btn",label:"按钮组件",icon:"learun-icon-handle-button",span:24,display:!0,size:"mini",plain:!1,round:!1,circle:!1,myIcon:"",myType:""}]},{title:"其它组件",list:[{type:"icon",label:"图标",icon:"learun-icon-other-icon",span:24,display:!0,default:""},{type:"rate",label:"评分",icon:"learun-icon-other-score",span:24,display:!0,max:5,disabled:!1,allowHalf:!1,lowThreshold:2,highThreshold:4,colors:["#F7BA2A","#F7BA2A","#F7BA2A"],voidColor:"#C6D1DE",disabledVoidColor:"#EFF2F7",iconClasses:["el-icon-star-on","el-icon-star-on","el-icon-star-on"],voidIconClass:"el-icon-star-off",disabledVoidIconClass:"el-icon-star-on",showText:!1,showScore:!1,textColor:"#1F2D3D",texts:["极差","失望","一般","满意","惊喜"],default:0},{type:"switch",label:"开关",icon:"learun-icon-other-on-off",span:24,display:!0,disabled:!1,width:40,default:!1,activeIconClass:"",inactiveIconClass:"",activeText:"",inactiveText:"",valueType:"boolean",activeValue:"true",inactiveValue:"false",activeColor:"#409EFF",inactiveColor:"#C0CCDA"},{type:"slider",label:"滑块",icon:"learun-icon-other-slider",span:24,display:!0,default:0,min:0,max:100,step:1,showInput:!1,showInputControls:!0,showStops:!1,showTooltip:!0},{type:"color",label:"颜色选择",icon:"learun-icon-other-color-choices",span:24,default:"",display:!0,disabled:!1}]}]),h=n("0e8a"),m=n("1557"),b=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"drag-form-container l-tabs-container"},[n("el-form",{attrs:{"label-position":t.formInfo.labelPosition||"left","label-width":t.formInfo.labelWidth?t.formInfo.labelWidth+"px":"80px",size:t.formInfo.size||"mini",model:t.form}},[n("input",{staticStyle:{display:"none"},attrs:{type:"text"}}),n("el-row",[n("draggable",{class:["drag-form-list"],attrs:{list:t.formComponents,group:{name:"form"},"ghost-class":"ghost",animation:300},on:{add:t.handleFormAdd}},[t._l(t.formComponents,(function(e,a){return["gridtable"==e.type?n("div",{key:e.prop,staticClass:"drag-form-table",class:{active:t.selectWidget.prop==e.prop},on:{click:function(e){return t.handleSelectWidget(a)}}},[n("div",{staticClass:"drag-form-table__title"},[t._v(t._s(t.$t(e.label)))]),n("drag-form-table",{ref:e.prop,refInFor:!0,attrs:{tableComponent:e,index:a,select:t.selectWidget,plist:t.formComponents},on:{"update:select":function(e){t.selectWidget=e},change:function(e){return t.$emit("change")}}})],1):"viewtable"==e.type?n("div",{key:e.prop,staticClass:"drag-form-table viewtable",class:{active:t.selectWidget.prop==e.prop},on:{click:function(e){return t.handleSelectWidget(a)}}},[n("div",{staticClass:"drag-form-table__title"},[t._v(t._s(t.$t(e.label)))]),n("l-table",{attrs:{columns:e.columns}}),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-clone",attrs:{title:"复制",circle:"",plain:"",size:"mini",type:"primary"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetClone(a)}}},[n("i",{staticClass:"el-icon-copy-document"})]):t._e(),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-delete",attrs:{title:"删除",circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetDelete(a)}}},[n("i",{staticClass:"el-icon-delete"})]):t._e()],1):n("el-col",{key:e.prop,attrs:{md:e.span||12,xs:24,offset:e.offset||0}},["card"==e.type?n("div",{key:e.prop,staticClass:"drag-form-table",class:{active:t.selectWidget.prop==e.prop},on:{click:function(e){return t.handleSelectWidget(a)}}},[n("div",{staticClass:"drag-form-table__title"},[t._v(t._s(t.$t(e.label)))]),n("drag-form-card",{ref:e.prop,refInFor:!0,attrs:{tableComponent:e,index:a,plist:t.formComponents,select:t.selectWidget},on:{"update:select":function(e){t.selectWidget=e},change:function(e){return t.$emit("change")}}})],1):"btn"==e.type?n("div",{key:e.prop,staticClass:"drag-form-table drag-form-btn",class:{active:t.selectWidget.prop==e.prop},on:{click:function(e){return t.handleSelectWidget(a)}}},[n("el-button",{attrs:{size:e.size,plain:e.plain,round:e.round,circle:e.circle,icon:e.myIcon,type:e.myType}},[t._v(t._s(e.label))]),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-clone",attrs:{title:"复制",circle:"",plain:"",size:"mini",type:"primary"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetClone(a)}}},[n("i",{staticClass:"el-icon-copy-document"})]):t._e(),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-delete",attrs:{title:"删除",circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetDelete(a)}}},[n("i",{staticClass:"el-icon-delete"})]):t._e()],1):n("el-form-item",{staticClass:"widget-form-item",class:{active:t.selectWidget.prop==e.prop,required:e.required},attrs:{label:"divider"!=e.type?e.label:"",labelWidth:void 0==e.labelWidth?void 0:e.labelWidth+"px",prop:e.prop,required:e.required,"show-message":!1},nativeOn:{click:function(e){return t.handleSelectWidget(a)}}},[n("drag-form-item",{attrs:{data:e}}),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-clone",attrs:{title:"复制",circle:"",plain:"",size:"mini",type:"primary"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetClone(a)}}},[n("i",{staticClass:"el-icon-copy-document"})]):t._e(),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-delete",attrs:{title:"删除",circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetDelete(a)}}},[n("i",{staticClass:"el-icon-delete"})]):t._e()],1)],1)]}))],2)],1)],1)],1)},v=[],y=(n("78ce"),n("c5f6"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("draggable",{staticClass:"drag-form-table__content",attrs:{list:t.tableComponent.children,group:{name:"form"},"ghost-class":"ghost",animation:200,handle:".drag-form-table__item"},on:{add:function(e){return t.handleWidgetTableAdd(e,t.tableComponent)},end:function(e){return t.$emit("change")}}},[t.tableComponent.children.length>0?t._l(t.tableComponent.children,(function(e,a){return n("div",{key:a,staticClass:"drag-form-table__item",on:{click:function(e){return e.stopPropagation(),t.handleSelectTableWidget(a)}}},[n("el-form-item",{class:{active:t.selectWidget.prop==e.prop,required:e.required},attrs:{label:e.label,prop:e.prop,required:e.required,"show-message":!1}},[n("drag-form-item",{attrs:{data:e}}),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-clone",attrs:{title:"复制",circle:"",plain:"",size:"mini",type:"primary"},on:{click:function(n){return n.stopPropagation(),t.handleWidgetTableClone(e)}}},[n("i",{staticClass:"el-icon-copy-document"})]):t._e(),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-delete",attrs:{title:"删除",circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetTableDelete(a)}}},[n("i",{staticClass:"el-icon-delete"})]):t._e()],1)],1)})):t._e()],2),t.selectWidget.prop==t.tableComponent.prop?n("el-button",{staticClass:"drag-table-action-clone",attrs:{title:"复制",circle:"",plain:"",size:"mini",type:"primary"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetCloneTable(t.index)}}},[n("i",{staticClass:"el-icon-copy-document"})]):t._e(),t.selectWidget.prop==t.tableComponent.prop?n("el-button",{staticClass:"drag-table-action-delete",attrs:{title:"删除",circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetDeleteTable(t.index)}}},[n("i",{staticClass:"el-icon-delete"})]):t._e()],1)}),g=[],_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",["texteditor"==t.data.type?n("l-editor",{attrs:{options:{theme:"snow",placeholder:t.$t("请输入内容...")}},model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}}):n(t.getComponent(t.data.type),t._b({tag:"component",attrs:{placeholder:t.data.placeholder,options:t.myOptions},scopedSlots:t._u([["input"].includes(t.data.type)&&t.data.prepend?{key:"prepend",fn:function(){return[t._v(" "+t._s(t.data.prepend)+" ")]},proxy:!0}:null,["input"].includes(t.data.type)&&t.data.append?{key:"append",fn:function(){return[t._v(" "+t._s(t.data.append)+" ")]},proxy:!0}:null],null,!0),model:{value:t.data.default,callback:function(e){t.$set(t.data,"default",e)},expression:"data.default"}},"component",t.$deepClone(t.data),!1),[t.data.html?n("span",{domProps:{innerHTML:t._s(t.data.html)}}):t._e()])],1)},w=[],x=n("7a14"),O={name:"drag-form-item",mixins:[Object(x["a"])()],inject:["formDesign"],props:{data:{type:Object,default:function(){return{}}}},data:function(){return{}},methods:{toValueType:function(t,e){if(!this.$validatenull(e)&&!this.$validatenull(t))switch(t){case"boolean":return"true"==e;case"string":return e;case"number":return Number(e)}}}},k=O,C=n("2877"),E=Object(C["a"])(k,_,w,!1,null,null,null),$=E.exports;function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach((function(e){Object(o["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var j={name:"drag-form-table",props:["tableComponent","select","index","plist"],components:{dragFormItem:$},inject:["formDesign"],data:function(){return{form:{}}},computed:{selectWidget:{get:function(){return this.select},set:function(t){this.$emit("update:select",t)}},formComponents:function(){return this.plist||[]}},methods:{handleSelectWidget:function(t){this.selectWidget=this.formComponents[t]},handleWidgetDeleteTable:function(t){var e=this;this.formComponents.length-1===t?0===t?this.selectWidget={}:this.handleSelectWidget(t-1):this.handleSelectWidget(t+1),this.$nextTick((function(){e.formComponents.splice(t,1),e.$emit("change")}))},handleWidgetCloneTable:function(t){var e=this,n=this.$deepClone(this.tableComponent);n.prop=Date.now()+"_"+Math.ceil(99999*Math.random()),n.children.forEach((function(t){t.prop=Date.now()+"_"+Math.ceil(99999*Math.random())})),n.table="",this.formComponents.splice(t,0,n),this.$nextTick((function(){e.handleSelectWidget(t+1),e.$emit("change")}))},handleSelectTableWidget:function(t){this.selectWidget=this.tableComponent.children[t]},handleFormClickAdd:function(t){this.tableComponent.children.push(t),this.handleWidgetTableAdd({newIndex:this.tableComponent.children.length-1},this.tableComponent,!0)},handleWidgetTableAdd:function(t,e,n){var a=t.newIndex;1==a&&a>e.children.length-1&&(a=0);var r=this.$deepClone(e.children[a]);["gridtable","divider","texteditor","upload","uploadimg","viewtable","card","btn"].includes(r.type)?e.children.splice(a,1):(r.prop||(r.prop=Date.now()+"_"+Math.ceil(99999*Math.random())),r.subfield||"layerselect"!=r.type||r.columns.forEach((function(t){t.valueKey=""})),r.subfield=!0,e.table?r.table=e.table:r.table="",delete r.icon,this.$set(e.children,a,T({},r)),n||(this.selectWidget=e.children[a]),this.$emit("change"))},handleWidgetTableClone:function(t){var e=this,n=this.$deepClone(t);n.prop=Date.now()+"_"+Math.ceil(99999*Math.random()),n.table="",n.field="",this.$set(this.tableComponent.children,this.tableComponent.children.length,T({},n)),this.$nextTick((function(){e.selectWidget=e.tableComponent.children[e.tableComponent.children.length-1],e.$emit("change")}))},handleWidgetTableDelete:function(t){var e=this;this.tableComponent.children.length-1==t?this.selectWidget=0==t?this.tableComponent:this.tableComponent.children[t-1]:this.selectWidget=this.tableComponent.children[t+1],this.$nextTick((function(){e.tableComponent.children.splice(t,1),e.$emit("change")}))}}},P=j,A=Object(C["a"])(P,y,g,!1,null,null,null),N=A.exports,L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-row",[n("draggable",{staticClass:"drag-form-table__content",attrs:{list:t.tableComponent.children,group:{name:"form"},"ghost-class":"ghost",animation:200,handle:".drag-form-table__item"},on:{add:function(e){return t.handleWidgetTableAdd(e,t.tableComponent)},end:function(e){return t.$emit("change")}}},[t._l(t.tableComponent.children,(function(e,a){return["gridtable"==e.type?n("div",{key:e.prop,staticClass:"drag-form-table__item drag-form-table",class:{active:t.selectWidget.prop==e.prop},on:{click:function(e){return e.stopPropagation(),t.handleSelectTableWidget(a)}}},[n("div",{staticClass:"drag-form-table__title"},[t._v(t._s(t.$t(e.label)))]),n("drag-form-table",{ref:e.prop,refInFor:!0,attrs:{tableComponent:e,index:a,select:t.selectWidget,plist:t.tableComponent.children},on:{"update:select":function(e){t.selectWidget=e},change:function(e){return t.$emit("change")}}})],1):"viewtable"==e.type?n("div",{key:e.prop,staticClass:"drag-form-table__item drag-form-table viewtable",class:{active:t.selectWidget.prop==e.prop},on:{click:function(e){return e.stopPropagation(),t.handleSelectTableWidget(a)}}},[n("div",{staticClass:"drag-form-table__title"},[t._v(t._s(t.$t(e.label)))]),n("l-table",{attrs:{columns:e.columns}}),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-clone",attrs:{title:"复制",circle:"",plain:"",size:"mini",type:"primary"},on:{click:function(n){return n.stopPropagation(),t.handleWidgetTableClone(e)}}},[n("i",{staticClass:"el-icon-copy-document"})]):t._e(),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-delete",attrs:{title:"删除",circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetTableDelete(a)}}},[n("i",{staticClass:"el-icon-delete"})]):t._e()],1):n("el-col",{key:e.prop,staticClass:"drag-form-table__item",attrs:{md:e.span||12,xs:24,offset:e.offset||0}},["card"==e.type?n("div",{key:e.prop,staticClass:"drag-form-table",class:{active:t.selectWidget.prop==e.prop},on:{click:function(e){return e.stopPropagation(),t.handleSelectTableWidget(a)}}},[n("div",{staticClass:"drag-form-table__title"},[t._v(t._s(t.$t(e.label)))]),n("drag-form-card",{ref:e.prop,refInFor:!0,attrs:{tableComponent:e,index:a,select:t.selectWidget,plist:t.tableComponent.children},on:{"update:select":function(e){t.selectWidget=e},change:function(e){return t.$emit("change")}}})],1):"btn"==e.type?n("div",{key:e.prop,staticClass:"drag-form-table drag-form-btn",class:{active:t.selectWidget.prop==e.prop},on:{click:function(e){return e.stopPropagation(),t.handleSelectTableWidget(a)}}},[n("el-button",{attrs:{size:e.size,plain:e.plain,round:e.round,circle:e.circle,icon:e.myIcon,type:e.myType}},[t._v(t._s(e.label))]),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-clone",attrs:{title:"复制",circle:"",plain:"",size:"mini",type:"primary"},on:{click:function(n){return n.stopPropagation(),t.handleWidgetTableClone(e)}}},[n("i",{staticClass:"el-icon-copy-document"})]):t._e(),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-delete",attrs:{title:"删除",circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetTableDelete(a)}}},[n("i",{staticClass:"el-icon-delete"})]):t._e()],1):n("div",{on:{click:function(e){return e.stopPropagation(),t.handleSelectTableWidget(a)}}},[n("el-form-item",{class:{active:t.selectWidget.prop==e.prop,required:e.required},attrs:{label:e.label,prop:e.prop,required:e.required,"show-message":!1}},[n("drag-form-item",{attrs:{data:e}}),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-clone",attrs:{title:"复制",circle:"",plain:"",size:"mini",type:"primary"},on:{click:function(n){return n.stopPropagation(),t.handleWidgetTableClone(e)}}},[n("i",{staticClass:"el-icon-copy-document"})]):t._e(),t.selectWidget.prop==e.prop?n("el-button",{staticClass:"drag-action-delete",attrs:{title:"删除",circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetTableDelete(a)}}},[n("i",{staticClass:"el-icon-delete"})]):t._e()],1)],1)])]}))],2)],1),t.selectWidget.prop==t.tableComponent.prop?n("el-button",{staticClass:"drag-table-action-clone",attrs:{title:"复制",circle:"",plain:"",size:"mini",type:"primary"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetCloneTable(t.index)}}},[n("i",{staticClass:"el-icon-copy-document"})]):t._e(),t.selectWidget.prop==t.tableComponent.prop?n("el-button",{staticClass:"drag-table-action-delete",attrs:{title:"删除",circle:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.handleWidgetDeleteTable(t.index)}}},[n("i",{staticClass:"el-icon-delete"})]):t._e()],1)},D=[];function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){Object(o["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var R={name:"drag-form-card",props:["tableComponent","select","index","plist"],components:{dragFormTable:N,dragFormItem:$},inject:["formDesign"],data:function(){return{form:{}}},computed:{selectWidget:{get:function(){return this.select},set:function(t){this.$emit("update:select",t)}},formComponents:function(){return this.plist||[]},dbTables:function(){return this.formDesign.dbTables}},methods:{handleSelectWidget:function(t){this.selectWidget=this.formComponents[t]},handleWidgetDeleteTable:function(t){var e=this;this.formComponents.length-1===t?0===t?this.selectWidget={}:this.handleSelectWidget(t-1):this.handleSelectWidget(t+1),this.$nextTick((function(){e.formComponents.splice(t,1),e.$emit("change")}))},handleWidgetCloneTable:function(t){var e=this,n=this.$deepClone(this.tableComponent);n.prop=Date.now()+"_"+Math.ceil(99999*Math.random()),n.table="",n.field="",this.setAllProp(n.children),this.formComponents.splice(t,0,n),this.$nextTick((function(){e.handleSelectWidget(t+1),e.$emit("change")}))},setAllProp:function(t){var e=this;t.forEach((function(t){t.prop=Date.now()+"_"+Math.ceil(99999*Math.random()),t.children&&t.children.length>0&&e.setAllProp(t.children)}))},handleSelectTableWidget:function(t){this.selectWidget=this.tableComponent.children[t]},handleFormClickAdd:function(t){this.tableComponent.children.push(t),this.handleWidgetTableAdd({newIndex:this.tableComponent.children.length-1},this.tableComponent,!0)},handleWidgetTableAdd:function(t,e,n){var a=t.newIndex;1==a&&a>e.children.length-1&&(a=0);var r=this.$deepClone(e.children[a]);if(r.prop||(r.prop=Date.now()+"_"+Math.ceil(99999*Math.random())),r.subfield&&(r.table="",r.field=""),"gridtable"==r.type){var i=this.formDesign.dbTables.filter((function(t){return"chlid"==t.type}));1==i.length&&(r.table=i[0].name)}else["divider","viewtable","card","btn"].includes(r.type)||1==this.dbTables.length&&(r.table=this.dbTables[0].name);r.subfield&&"layerselect"==r.type&&r.columns.forEach((function(t){t.valueKey=""})),delete r.icon,delete r.subfield,this.$set(e.children,a,q({},r)),n||(this.selectWidget=e.children[a]),this.$emit("change")},handleWidgetTableClone:function(t){var e=this,n=this.$deepClone(t);n.prop=Date.now()+"_"+Math.ceil(99999*Math.random()),this.$set(this.tableComponent.children,this.tableComponent.children.length,q({},n)),this.$nextTick((function(){e.selectWidget=e.tableComponent.children[e.tableComponent.children.length-1],e.$emit("change")}))},handleWidgetTableDelete:function(t){var e=this;this.tableComponent.children.length-1==t?this.selectWidget=0==t?this.tableComponent:this.tableComponent.children[t-1]:this.selectWidget=this.tableComponent.children[t+1],this.$nextTick((function(){e.tableComponent.children.splice(t,1),e.$emit("change")}))}}},M=R,B=Object(C["a"])(M,L,D,!1,null,null,null),F=B.exports,K={name:"drag-form",components:{dragFormTable:N,dragFormCard:F,dragFormItem:$},inject:["formDesign"],props:{select:Object,myTabsIndex:Number},computed:{formInfo:function(){return this.formDesign.formInfo},formComponents:function(){return this.formDesign.formInfo.tabList[this.myTabsIndex].components||[]},selectWidget:{get:function(){return this.select},set:function(t){this.$emit("update:select",t)}},dbTables:function(){return this.formDesign.dbTables}},data:function(){return{form:{}}},methods:{handleSelectWidget:function(t){this.selectWidget=this.formComponents[t]},handleGetVueComponent:function(t,e){var n=t[e];if(!n)for(var a in t)if(n=this.handleGetVueComponent(t[a][0].$refs,e),n)break;return n},handleFormClickAdd:function(t){["card","gridtable"].includes(this.selectWidget.type)?this.handleGetVueComponent(this.$refs,this.selectWidget.prop)[0].handleFormClickAdd(t):(this.formComponents.push(t),this.handleFormAdd({newIndex:this.formComponents.length-1}))},handleFormAdd:function(t){var e=t.newIndex,n=this.$deepClone(this.formComponents[e]);if("guid"==n.type&&(n.default=""),n.prop||(n.prop=Date.now()+"_"+Math.ceil(99999*Math.random())),n.subfield&&(n.table="",n.field=""),"gridtable"==n.type){var a=this.dbTables.filter((function(t){return"chlid"==t.type}));1==a.length&&(n.table=a[0].name)}else["divider","viewtable","card","btn"].includes(n.type)||1==this.dbTables.length&&(n.table=this.dbTables[0].name);n.subfield&&"layerselect"==n.type&&n.columns.forEach((function(t){t.valueKey=""})),delete n.icon,delete n.subfield,this.$set(this.formComponents,e,n),this.handleSelectWidget(e),this.$emit("change")},handleWidgetDelete:function(t){var e=this;this.formComponents.length-1===t?0===t?this.selectWidget={}:this.handleSelectWidget(t-1):this.handleSelectWidget(t+1),this.$nextTick((function(){e.formComponents.splice(t,1),e.$emit("change")}))},handleWidgetClone:function(t){var e=this,n=this.$deepClone(this.formComponents[t]);"guid"==n.type&&(n.default=""),n.prop=Date.now()+"_"+Math.ceil(99999*Math.random()),n.table="",n.field="",this.formComponents.splice(t,0,n),this.$nextTick((function(){e.handleSelectWidget(t+1),e.$emit("change")}))}}},U=K,V=Object(C["a"])(U,b,v,!1,null,null,null),W=V.exports,z={name:"l-form-design",components:{FormConfig:h["default"],ComponentConfig:m["default"],DragForm:W},provide:function(){return{formDesign:this}},props:{dbTables:{type:Array,default:function(){return[]}},isNoScript:{type:Boolean,default:!1},isNotTopPadding:Boolean,isNotBottomPadding:Boolean},data:function(){return{imgUrl:n("ca2b"),myComponents:p,configActiveName:"tab01",formActiveName:"tab0",formInfo:{size:"mini",labelPosition:"right",labelWidth:80,gutter:0,openType:"1",dialogWidth:800,dialogHeight:600,drawerWidth:600,historyType:"0",beforeSetData:"",afterValidateForm:"",changeDataEvent:"",afterSaveEvent:"",tabList:[{components:[],text:"主表信息"}]},dragFormSelect:{},viewerVisible:!1,viewerFormInfo:{}}},computed:{componentName:function(){var t=this,e="";if(this.dragFormSelect&&this.dragFormSelect.type)for(var n=this.myComponents.length,a=0;a<n;a++){var r=this.myComponents[a].list,i=r.find((function(e){return e.type==t.dragFormSelect.type}));if(i){e="(".concat(i.label,")");break}}return e},nowComponentList:function(){var t=this.getData(),e=[];return t.tabList.forEach((function(t){t.components.forEach((function(t){["gridtable"].includes(t.type)?(e.push(t),t.children.forEach((function(n){n.label="".concat(t.label,"_").concat(n.label),n.pprop=t.prop,e.push(n)}))):e.push(t)}))})),e}},methods:{handleClear:function(){this.dragFormSelect={},this.formInfo.tabList[parseInt(this.formActiveName.replace("tab",""))].components=[]},handleViewer:function(){this.viewerFormInfo=this.toSaveData(),this.viewerVisible=!0},handleCloseViewer:function(){this.viewerVisible=!1},handleFormOpened:function(){var t=Object(f["a"])(regeneratorRuntime.mark((function t(e,n){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e("加载中..."),t.next=3,this.$refs.formViewer.init();case 3:n();case 4:case"end":return t.stop()}}),t,this)})));function e(e,n){return t.apply(this,arguments)}return e}(),clear:function(){this.formInfo={size:"mini",labelPosition:"right",labelWidth:80,gutter:0,openType:"1",dialogWidth:600,dialogHeight:400,drawerWidth:600,tabList:[{components:[],text:"主表信息"}]},this.configActiveName="tab01",this.formActiveName="tab0",this.dragFormSelect={},this.viewerVisible=!1,this.viewerFormInfo={}},validate:function(){var t=this,e="",n={},a={},r=!0,i=this.getData();return i.tabList.forEach((function(o){if(i.tabList.length>1&&(e="【".concat(o.text,"】")),o.components.forEach((function(i){if(!["viewtable","card","btn","divider"].includes(i.type)){if(["gridtable"].includes(i.type)){if(a[i.table])return t.$message({type:"error",message:"".concat(e,"【").concat(i.table,"】子表单绑定表重复!")}),r=!1,!1;a[i.table]=1}else if(!i.subfield){if(1==a[i.table])return t.$message({type:"error",message:"".concat(e,"【").concat(i.table,"】子表单绑定表重复!")}),r=!1,!1;a[i.table]=2}if(!i.subfield&&t.$validatenull(i.table))return t.$message({type:"error",message:"请".concat(e,"【").concat(i.label,"】绑定数据表!")}),r=!1,!1;if(!["gridtable"].includes(i.type)){if(t.$validatenull(i.field))return t.$message({type:"error",message:"请".concat(e,"【").concat(i.label,"】绑定数据表字段!")}),r=!1,!1;if(n["".concat(i.table,"-").concat(i.field)])return t.$message({type:"error",message:"".concat(e,"【").concat(i.label,"】绑定数据表字段重复!")}),r=!1,!1;n["".concat(i.table,"-").concat(i.field)]=!0}if(["gridtable"].includes(i.type)){var o={};i.children.forEach((function(n){return t.$validatenull(n.field)?(t.$message({type:"error",message:"请".concat(e,"子表中【").concat(n.label,"】绑定数据表字段!")}),r=!1,!1):o[n.field]?(t.$message({type:"error",message:"".concat(e,"子表中【").concat(i.label,"】绑定数据表字段重复!")}),r=!1,!1):void(o[n.field]=!0)}))}if(["2","3"].includes(i.dataType)&&(i.dataCode||(t.$message({type:"error",message:"请".concat(e,"【").concat(i.label,"】选择").concat("2"==i.dataType?"数据字典":"数据源","!")}),r=!1)),["encode"].includes(i.type)&&t.$validatenull(i.code)&&(t.$message({type:"error",message:"请".concat(e,"【").concat(i.label,"】选择单据编码!")}),r=!1),["layerselect"].includes(i.type)&&i.columns.length<=0&&(t.$message({type:"error",message:"请".concat(e,"【").concat(i.label,"】选择设置列!")}),r=!1),!r)return!1}})),!r)return!1})),r},getData:function(){var t=this.toSaveData();return t},setData:function(t){this.formInfo=this.toShowData(t)},handleClick:function(t){var e=parseInt(this.formActiveName.replace("tab",""));this.$refs.dragForm[e].handleFormClickAdd(t)},updateTable:function(){var t=this;this.formInfo.tabList.forEach((function(e){e.components.forEach((function(e){if(!t.$validatenull(e.table)){var n=t.dbTables.find((function(t){return t.name==e.table}));if(t.$validatenull(n))e.table="",["gridtable"].includes(e.type)?e.children.forEach((function(t){t.field="",t.csType=""})):(e.field="",e.csType="");else if(["gridtable"].includes(e.type))e.children.forEach((function(e){var a=n.columns.find((function(t){return t.name==e.field}));if(t.$validatenull(a))e.field="",e.csType="";else if(e.csType=a.csType,["switch"].includes(e.type))switch(e.csType){case"int":e.activeValue="1",e.inactiveValue="0",e.valueType="number";break;case"bool":e.activeValue="true",e.inactiveValue="false",e.valueType="boolean";break;default:e.valueType="string";break}}));else{var a=n.columns.find((function(t){return t.name==e.field}));t.$validatenull(a)?(e.field="",e.csType=""):e.csType=a.csType}}if(["switch"].includes(e.type)&&!t.$validatenull(e.csType))switch(e.csType){case"int":e.activeValue="1",e.inactiveValue="0",e.valueType="number";break;case"bool":e.activeValue="true",e.inactiveValue="false",e.valueType="boolean";break;default:e.valueType="string";break}}))}))},toSaveData:function(){var t=this,e=this.$deepClone(this.formInfo);return e.tabList&&e.tabList.forEach((function(e){var n=[];e.components.forEach((function(e){["card"].includes(e.type)?(t.addChildren(e.children,n,e.prop,"card"),delete e.children,n.push(e)):(["guid","createuser","modifyuser","createtime","modifytime","encode","company","department","userSelect","departmentSelect","companySelect"].includes(e.type)?e.default="":"gridtable"==e.type&&e.children.forEach((function(t){["guid","createuser","modifyuser","createtime","modifytime","encode","company","department","userSelect","departmentSelect","companySelect"].includes(e.type)&&(t.default="")})),n.push(e))})),e.components=n})),e},addChildren:function(t,e,n,a){var r=this;t.forEach((function(t){t.pid=n,t.ptype=a,["card"].includes(t.type)?(r.addChildren(t.children,e,t.prop,"card"),delete t.children,e.push(t)):(["guid","createuser","modifyuser","createtime","modifytime","encode","company","department","userSelect","departmentSelect","companySelect"].includes(t.type)?t.default="":"gridtable"==t.type&&t.children.forEach((function(e){["guid","createuser","modifyuser","createtime","modifytime","encode","company","department","userSelect","departmentSelect","companySelect"].includes(t.type)&&(e.default="")})),e.push(t))}))},toShowData:function(t){var e=this.$deepClone(t);void 0==e.historyType&&(e.historyType="0");var n={};return e.tabList&&e.tabList.forEach((function(t){var e=[];t.components.forEach((function(t){["card"].includes(t.type)&&(n[t.prop]||(n[t.prop]=[]),t.children=n[t.prop]),"card"==t.ptype?(n[t.pid]||(n[t.pid]=[]),n[t.pid].push(t),delete t.pid,delete t.ptype):e.push(t)})),t.components=e})),e}}},H=z,G=(n("335b"),Object(C["a"])(H,u,d,!1,null,null,null)),Y=G.exports;Y.install=function(t){t.component(Y.name,Y)};var Z=Y,X=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.ready?n("div",{staticClass:"l-rblock l-form-viewer",staticStyle:{padding:"8px 8px 0 8px"}},[n("el-form",{ref:"form",attrs:{model:t.formData,rules:t.rules,size:t.myFormInfo.size,labelPosition:t.myFormInfo.labelPosition,"label-width":t.myFormInfo.labelWidth?t.myFormInfo.labelWidth+"px":"80px"}},[n("input",{staticStyle:{display:"none"},attrs:{type:"text"}}),n("div",{class:["l-auto-window",{"only-tabs":t.showTabList.length<=1}]},[n("el-tabs",{attrs:{type:"card"},model:{value:t.formActiveName,callback:function(e){t.formActiveName=e},expression:"formActiveName"}},t._l(t.showTabList,(function(e,a){return n("el-tab-pane",{key:a,staticClass:"l-tabs-container",attrs:{label:e.text,name:"tab"+a}},[n("el-row",{attrs:{gutter:t.myFormInfo.gutter}},[n("div",{staticClass:"l-rblock"},[t._l(e.components,(function(e){return[["gridtable"].includes(e.type)?n("el-col",{key:e.prop,staticStyle:{"margin-bottom":"16px"},attrs:{span:24}},[t.$validatenull(e.label)?t._e():n("div",{staticClass:"l-title"},[t._v(t._s(t.$t(e.label)))]),n("l-edit-table",{ref:e.prop,refInFor:!0,attrs:{required:e.required,addBtnText:e.addBtnText,isAddBtn:e.isAddBtn,isRemoveBtn:e.isRemoveBtn,isShowNum:e.isShowNum,columns:t.getTableColumns(e.children),dataSource:t.formData[e.prop],filterDeleteBtn:t.filterTableDeleteBtn,isRead:t.isRead},on:{addRow:function(n){return t.handleAddRow(e)},deleteRow:function(n){return t.handleDeleteRow(n,e)}},scopedSlots:t._u([t._l(e.children,(function(a){return{key:a.prop,fn:function(r){return[n("viewer-form-item",{key:a.prop,attrs:{isRead:t.isRead,upCtrls:t.upCtrls,formData:r.row,data:a},on:{change:function(n){return t.handleItemChange(n,e,r.$index,r.row)}},model:{value:r.row[a.prop],callback:function(e){t.$set(r.row,a.prop,e)},expression:"scope.row[column.prop]"}})]}}}))],null,!0)})],1):["viewtable"].includes(e.type)?n("el-col",{key:e.prop,staticStyle:{"margin-bottom":"16px"},attrs:{span:24}},[t.$validatenull(e.label)?t._e():n("div",{staticClass:"l-title"},[t._v(t._s(t.$t(e.label)))]),n("l-view-table",{attrs:{paramFiled:t.formData[e.paramFiled],columns:e.columns,code:e.dataCode}})],1):["gridtable"].includes(e.type)?t._e():n("el-col",{key:e.prop,attrs:{span:e.span}},["divider"==e.type?n("viewer-form-item",{attrs:{data:e}}):"card"==e.type?n("card-viewer",{attrs:{data:e}}):"btn"==e.type?n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.display&&!t.isRead,expression:"col.display && !isRead"}],attrs:{labelWidth:"0px"}},[n("el-button",{attrs:{size:e.size,plain:e.plain,round:e.round,circle:e.circle,icon:e.myIcon,type:e.myType,disabled:e.disabled},on:{click:function(n){return t.componentBtnClick(e)}}},[t._v(t._s(e.label))])],1):n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.display,expression:"col.display"}],attrs:{label:e.label,labelWidth:void 0==e.labelWidth?void 0:e.labelWidth+"px",prop:e.prop}},[n("viewer-form-item",{attrs:{isRead:t.isRead,isForm:!0,upCtrls:t.upCtrls,data:e,formData:t.formData},on:{change:t.handleItemChange},model:{value:t.formData[e.prop],callback:function(n){t.$set(t.formData,e.prop,n)},expression:"formData[col.prop]"}})],1)],1)]}))],2)])],1)})),1)],1)])],1):t._e()},Q=[],J=n("ebb7"),tt=J["a"],et=(n("e781"),Object(C["a"])(tt,X,Q,!1,null,null,null)),nt=et.exports,at=n("18d4");nt.install=function(t){t.component(nt.name,nt),t.component(at["a"].name,at["a"])};var rt=nt,it=n("9224");function ot(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ot(Object(n),!0).forEach((function(e){Object(o["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var st={},ct={editor:c,formDesign:Z,formViewer:rt},ut=function t(e){t.installed||(Object.values(ct).map((function(t){e.use(t)})),Object.keys(st).forEach((function(t){e.prototype["$"+t]=st[t]})),e.component("l-editor",e.component("quill-editor")))};"undefined"!==typeof window&&window.Vue&&(ut(window.Vue),window.learun_form={name:it.name,version:it.version,company:it.company});var dt=lt({install:ut},ct);e["default"]=dt},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}})}));
|
||
//# sourceMappingURL=lformdesign.umd.min.js.map
|