st-comp 0.0.172 → 0.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/es/ChartLayout.js +3 -3
  2. package/es/Dialog.js +14 -14
  3. package/es/FactorWarning.cjs +1 -1
  4. package/es/FactorWarning.js +337 -817
  5. package/es/Kline.js +16 -16
  6. package/es/KlineBasic.js +26 -26
  7. package/es/KlineConfig.cjs +1 -1
  8. package/es/KlineConfig.js +41 -40
  9. package/es/KlineNew.js +14 -14
  10. package/es/KlinePlus.cjs +3 -3
  11. package/es/KlinePlus.js +458 -465
  12. package/es/Pagination.js +19 -19
  13. package/es/PasswordPrompt.js +3 -3
  14. package/es/Table.js +21 -21
  15. package/es/User.js +39 -39
  16. package/es/VarSelectDialog.cjs +2 -2
  17. package/es/VarSelectDialog.js +146 -144
  18. package/es/VarietySearch.cjs +16 -1
  19. package/es/VarietySearch.js +4283 -1144
  20. package/es/VirtualTable.js +494 -494
  21. package/es/{_initCloneObject-a9305c1e.js → _initCloneObject-da90eef0.js} +3 -3
  22. package/es/{base-4bcd2756.js → base-d9284bf0.js} +23 -23
  23. package/es/{castArray-681d750b.js → castArray-b0ab0165.js} +1 -1
  24. package/es/{config-provider-93846ae3.js → config-provider-f0151e9f.js} +10 -10
  25. package/es/{debounce-51046b06.js → debounce-3cec4646.js} +1 -1
  26. package/es/{dropdown-65e74de8.js → dropdown-82b80e8b.js} +6 -6
  27. package/es/{el-button-d39472d3.js → el-button-34665425.js} +9 -9
  28. package/es/{el-dialog-f45ec2a1.js → el-dialog-a412484e.js} +17 -17
  29. package/es/{el-divider-7cf13678.js → el-divider-fd2b4e2e.js} +4 -4
  30. package/es/{el-empty-64b2ea8a.js → el-empty-412fc297.js} +2 -2
  31. package/es/{el-form-item-b31e7a98.js → el-form-item-668ba024.js} +65 -65
  32. package/es/{el-input-42315ac4.js → el-input-22e66e37.js} +22 -22
  33. package/es/{el-input-number-ebd64e22.js → el-input-number-481e21c5.js} +26 -26
  34. package/es/{el-loading-5d29f26d.js → el-loading-d4e403ab.js} +5 -5
  35. package/es/{el-menu-item-d62e0a3f.js → el-menu-item-404c10e5.js} +8 -8
  36. package/es/el-message-box-41f39f6d.js +558 -0
  37. package/es/el-message-box-6694f827.cjs +1 -0
  38. package/es/{el-message-bd1d2c82.js → el-message-ef506caa.js} +24 -24
  39. package/es/{el-overlay-690b50aa.js → el-overlay-4a9fa4e1.js} +30 -30
  40. package/es/{el-popconfirm-88bbd066.js → el-popconfirm-7b9183aa.js} +6 -6
  41. package/es/{el-popper-85365d5b.js → el-popper-e73466eb.js} +5 -5
  42. package/es/{el-scrollbar-bcf29780.js → el-scrollbar-45318df0.js} +8 -8
  43. package/es/el-segmented-3ba6d664.cjs +1 -0
  44. package/es/el-segmented-41820018.js +135 -0
  45. package/es/{el-select-d3bce4d1.js → el-select-d7a00294.js} +13 -13
  46. package/es/{el-table-column-9691b26d.js → el-table-column-a2d0c635.js} +122 -122
  47. package/es/{el-tag-6036f51c.js → el-tag-7f391090.js} +32 -32
  48. package/es/{index-d3c37134.js → index-1c41bd56.js} +3 -3
  49. package/es/index-3120be08.js +14 -0
  50. package/es/{index-fbe85773.js → index-85a32a00.js} +15 -15
  51. package/es/{index-21fb27eb.js → index-94f38460.js} +19 -19
  52. package/es/{index-ef7c4392.js → index-a8e9ec0f.js} +23 -23
  53. package/es/{index-cb8157f2.js → index-d577b81b.js} +2 -2
  54. package/es/{index-8ee89b40.js → index-d99fdc6d.js} +8 -8
  55. package/es/{index-3425f2f0.js → index-ee1cebbc.js} +5 -5
  56. package/es/{raf-36faa519.js → raf-bfbf42e4.js} +1 -1
  57. package/es/{scroll-0277d145.js → scroll-e3cb691f.js} +2 -2
  58. package/es/style.css +1 -1
  59. package/es/{use-form-common-props-54c31983.js → use-form-common-props-cc347a83.js} +36 -36
  60. package/es/{use-global-config-946f61a4.js → use-global-config-c7f0a7e3.js} +3 -3
  61. package/es/validator-10fa54fe.js +5 -0
  62. package/es/validator-af488a9a.cjs +1 -0
  63. package/es/{vnode-dfc92f20.js → vnode-6be33bb1.js} +1 -1
  64. package/es/{zh-cn-5066f5e9.js → zh-cn-d883afa8.js} +2 -2
  65. package/lib/bundle.js +1 -1
  66. package/lib/bundle.umd.cjs +234 -219
  67. package/lib/{index-d9f6d2bc.js → index-c5c93747.js} +32971 -29838
  68. package/lib/{python-e8bc0c16.js → python-1b054f75.js} +1 -1
  69. package/lib/style.css +1 -1
  70. package/package.json +2 -1
  71. package/packages/KlinePlus/index.vue +1 -2
  72. package/packages/KlinePlus/utils.js +22 -49
  73. package/packages/VarSelectDialog/index.vue +3 -1
  74. package/packages/VarietySearch/components/FactorScreen/FactorDescription.vue +54 -20
  75. package/packages/VarietySearch/components/FactorScreen/index.vue +79 -54
  76. package/src/pages/KlinePlus/index.vue +20 -4
  77. package/src/pages/KlinePlus/tradeLogMock.js +1927 -0
  78. package/es/el-checkbox-group-020b49f5.cjs +0 -1
  79. package/es/el-checkbox-group-779f353a.js +0 -67
  80. package/es/el-segmented-84707138.js +0 -136
  81. package/es/el-segmented-bccd9f2a.cjs +0 -1
  82. package/es/index-c45ac024.js +0 -14
@@ -1 +1,16 @@
1
- "use strict";const I=require("./base-bdc10baa.cjs");require("./el-tag-8d49d4d2.cjs");const P=require("./el-select-1d2309a1.cjs");require("./el-scrollbar-8bf765f2.cjs");const re=require("./el-popper-14a9d493.cjs"),Ve=require("./el-checkbox-group-020b49f5.cjs"),Z=require("./el-table-column-be9a76bb.cjs"),e=require("vue"),X=require("./el-dialog-cd484c1f.cjs");require("./el-overlay-e5d318c3.cjs");const ae=require("./el-form-item-e1c3104b.cjs"),ue=require("./el-input-5163bda3.cjs"),ie=require("./el-input-number-eb54cde4.cjs");require("./el-tooltip-0ea8fbf8.cjs");const se=require("./el-button-960edd49.cjs"),j=require("./index-19fa1fcf.cjs"),be=require("./index.vue_vue_type_script_setup_true_lang-4024853c.cjs"),U=require("./el-message-ad87b9dd.cjs"),ee=require("./_plugin-vue_export-helper-f246444f.cjs"),ce=require("./index-a99a5307.cjs"),xe=require("./index-b90c746b.cjs"),G=require("./use-form-common-props-592797e2.cjs"),H=require("./index-d94bae37.cjs"),_e=require("./index-8d3c5e96.cjs"),he=require("./index-02ca0096.cjs");require("./castArray-37eb9980.cjs");require("./index-5b81f4da.cjs");require("./scroll-4769a65d.cjs");require("./debounce-9e323221.cjs");require("./use-global-config-584b62f1.cjs");require("./_initCloneObject-9ccbb113.cjs");require("./raf-07cb6953.cjs");require("./vnode-1b827c99.cjs");require("./typescript-b63f8e83.cjs");require("./index-eea0bcb3.cjs");require("./config-provider-ec6b09df.cjs");require("./dropdown-b2dab5bb.cjs");const de=I.buildProps({modelValue:{type:[String,Number,Boolean],default:void 0},size:G.useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Ne=I.buildProps({...de,border:Boolean}),pe={[H.UPDATE_MODEL_EVENT]:m=>I.isString(m)||I.isNumber(m)||I.isBoolean(m),[H.CHANGE_EVENT]:m=>I.isString(m)||I.isNumber(m)||I.isBoolean(m)},me=Symbol("radioGroupKey"),ve=(m,h)=>{const g=e.ref(),u=e.inject(me,void 0),k=e.computed(()=>!!u),E=e.computed(()=>I.isPropAbsent(m.value)?m.label:m.value),w=e.computed({get(){return k.value?u.modelValue:m.modelValue},set(p){k.value?u.changeEvent(p):h&&h(H.UPDATE_MODEL_EVENT,p),g.value.checked=m.modelValue===E.value}}),N=G.useFormSize(e.computed(()=>u==null?void 0:u.size)),f=G.useFormDisabled(e.computed(()=>u==null?void 0:u.disabled)),t=e.ref(!1),S=e.computed(()=>f.value||k.value&&w.value!==E.value?-1:0);return _e.useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},e.computed(()=>k.value&&I.isPropAbsent(m.value))),{radioRef:g,isGroup:k,radioGroup:u,focus:t,size:N,disabled:f,tabIndex:S,modelValue:w,actualValue:E}},we=e.defineComponent({name:"ElRadio"}),Ee=e.defineComponent({...we,props:Ne,emits:pe,setup(m,{emit:h}){const g=m,u=I.useNamespace("radio"),{radioRef:k,radioGroup:E,focus:w,size:N,disabled:f,modelValue:t,actualValue:S}=ve(g,h);function p(){e.nextTick(()=>h("change",t.value))}return(i,C)=>{var O;return e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass([e.unref(u).b(),e.unref(u).is("disabled",e.unref(f)),e.unref(u).is("focus",e.unref(w)),e.unref(u).is("bordered",i.border),e.unref(u).is("checked",e.unref(t)===e.unref(S)),e.unref(u).m(e.unref(N))])},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(u).e("input"),e.unref(u).is("disabled",e.unref(f)),e.unref(u).is("checked",e.unref(t)===e.unref(S))])},[e.withDirectives(e.createElementVNode("input",{ref_key:"radioRef",ref:k,"onUpdate:modelValue":$=>e.isRef(t)?t.value=$:null,class:e.normalizeClass(e.unref(u).e("original")),value:e.unref(S),name:i.name||((O=e.unref(E))==null?void 0:O.name),disabled:e.unref(f),checked:e.unref(t)===e.unref(S),type:"radio",onFocus:$=>w.value=!0,onBlur:$=>w.value=!1,onChange:p,onClick:e.withModifiers(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[e.vModelRadio,e.unref(t)]]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(u).e("inner"))},null,2)],2),e.createElementVNode("span",{class:e.normalizeClass(e.unref(u).e("label")),onKeydown:e.withModifiers(()=>{},["stop"])},[e.renderSlot(i.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(i.label),1)])],42,["onKeydown"])],2)}}});var Ce=I._export_sfc(Ee,[["__file","radio.vue"]]);const Be=I.buildProps({...de}),Te=e.defineComponent({name:"ElRadioButton"}),Oe=e.defineComponent({...Te,props:Be,setup(m){const h=m,g=I.useNamespace("radio"),{radioRef:u,focus:k,size:E,disabled:w,modelValue:N,radioGroup:f,actualValue:t}=ve(h),S=e.computed(()=>({backgroundColor:(f==null?void 0:f.fill)||"",borderColor:(f==null?void 0:f.fill)||"",boxShadow:f!=null&&f.fill?`-1px 0 0 0 ${f.fill}`:"",color:(f==null?void 0:f.textColor)||""}));return(p,i)=>{var C;return e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass([e.unref(g).b("button"),e.unref(g).is("active",e.unref(N)===e.unref(t)),e.unref(g).is("disabled",e.unref(w)),e.unref(g).is("focus",e.unref(k)),e.unref(g).bm("button",e.unref(E))])},[e.withDirectives(e.createElementVNode("input",{ref_key:"radioRef",ref:u,"onUpdate:modelValue":O=>e.isRef(N)?N.value=O:null,class:e.normalizeClass(e.unref(g).be("button","original-radio")),value:e.unref(t),type:"radio",name:p.name||((C=e.unref(f))==null?void 0:C.name),disabled:e.unref(w),onFocus:O=>k.value=!0,onBlur:O=>k.value=!1,onClick:e.withModifiers(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[e.vModelRadio,e.unref(N)]]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(g).be("button","inner")),style:e.normalizeStyle(e.unref(N)===e.unref(t)?e.unref(S):{}),onKeydown:e.withModifiers(()=>{},["stop"])},[e.renderSlot(p.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(p.label),1)])],46,["onKeydown"])],2)}}});var fe=I._export_sfc(Oe,[["__file","radio-button.vue"]]);const $e=I.buildProps({id:{type:String,default:void 0},size:G.useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...re.useAriaProps(["ariaLabel"])}),Ie=pe,Se=e.defineComponent({name:"ElRadioGroup"}),qe=e.defineComponent({...Se,props:$e,emits:Ie,setup(m,{emit:h}){const g=m,u=I.useNamespace("radio"),k=he.useId(),E=e.ref(),{formItem:w}=G.useFormItem(),{inputId:N,isLabeledByFormItem:f}=G.useFormItemInputId(g,{formItemContext:w}),t=p=>{h(H.UPDATE_MODEL_EVENT,p),e.nextTick(()=>h("change",p))};e.onMounted(()=>{const p=E.value.querySelectorAll("[type=radio]"),i=p[0];!Array.from(p).some(C=>C.checked)&&i&&(i.tabIndex=0)});const S=e.computed(()=>g.name||k.value);return e.provide(me,e.reactive({...e.toRefs(g),changeEvent:t,name:S})),e.watch(()=>g.modelValue,()=>{g.validateEvent&&(w==null||w.validate("change").catch(p=>I.debugWarn(p)))}),(p,i)=>(e.openBlock(),e.createElementBlock("div",{id:e.unref(N),ref_key:"radioGroupRef",ref:E,class:e.normalizeClass(e.unref(u).b("group")),role:"radiogroup","aria-label":e.unref(f)?void 0:p.ariaLabel||"radio-group","aria-labelledby":e.unref(f)?e.unref(w).labelId:void 0},[e.renderSlot(p.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}});var ke=I._export_sfc(qe,[["__file","radio-group.vue"]]);const te=I.withInstall(Ce,{RadioButton:fe,RadioGroup:ke}),le=I.withNoopInstall(ke),ye=I.withNoopInstall(fe);const ne={varietyMarket:{show:!0,options:[]},commonOption:{show:!0,options:[]},marketIds:{show:!0,options:[]},customTag:{show:!0,options:[]},jcTranslate:{show:!0,jcOptions:[{label:"恒指",value:"HZCFJC"},{label:"恒生科技",value:"HSKJJC"},{label:"上证50",value:"SZ50CFJC"},{label:"沪深300",value:"HS300CFJC"},{label:"中证500",value:"ZZ500CFJC"},{label:"中证1000",value:"ZZ1000JC"}]},factorScreen:{show:!0,sqlShow:!1,cycleShow:!0,cycleDefault:null,cycleOptions:[],factorOptions:[],factorDescriptions:[]},commonIndicator:{show:!0,options:[{key:"marketCapital",label:"总市值",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,10],unit:["亿","亿"],text:"≤10亿"},{range:[null,25],unit:["亿","亿"],text:"≤25亿"},{range:[null,50],unit:["亿","亿"],text:"≤50亿"},{range:[20,50],unit:["亿","亿"],text:"20亿~50亿"},{range:[100,null],unit:["亿","亿"],text:"≥100亿"},{range:[200,null],unit:["亿","亿"],text:"≥200亿"},{range:[500,null],unit:["亿","亿"],text:"≥500亿"},{range:[1e3,null],unit:["亿","亿"],text:"≥1000亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"]},{key:"floatMarketCapital",label:"流通市值",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,5],unit:["亿","亿"],text:"≤5亿"},{range:[null,20],unit:["亿","亿"],text:"≤20亿"},{range:[null,50],unit:["亿","亿"],text:"≤50亿"},{range:[null,100],unit:["亿","亿"],text:"≤100亿"},{range:[100,null],unit:["亿","亿"],text:"≥100亿"},{range:[200,null],unit:["亿","亿"],text:"≥200亿"},{range:[500,null],unit:["亿","亿"],text:"≥500亿"},{range:[1e3,null],unit:["亿","亿"],text:"≥1000亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"]},{key:"totalShares",label:"总股本",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,5],unit:["亿","亿"],text:"≤5亿"},{range:[null,10],unit:["亿","亿"],text:"≤10亿"},{range:[null,75],unit:["亿","亿"],text:"≤75亿"},{range:[10,75],unit:["亿","亿"],text:"10亿~75亿"},{range:[100,null],unit:["亿","亿"],text:"≥100亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"]},{key:"freeFloatShares",label:"流通股本",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,5],unit:["千万","千万"],text:"≤5千万"},{range:[5,3],unit:["千万","亿"],text:"5千万~3亿"},{range:[null,5],unit:["亿","亿"],text:"≤5亿"},{range:[null,10],unit:["亿","亿"],text:"≤10亿"},{range:[8,30],unit:["亿","亿"],text:"8亿~30亿"},{range:[30,null],unit:["亿","亿"],text:"≥30亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"]},{key:"turnoverRate",label:"换手率(实)",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,1],unit:["%","%"],text:"≤1%"},{range:[1,5],unit:["%","%"],text:"1%~5%"},{range:[5,10],unit:["%","%"],text:"5%~10%"},{range:[10,null],unit:["%","%"],text:"≥10%"}],defaultUnit:["%","%"],unitOptions:["%"]},{key:"peTtm",label:"市盈率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,0],unit:[],text:"亏损"},{range:[0,null],unit:[],text:"≥0"},{range:[0,20],unit:[],text:"0~20"},{range:[20,40],unit:[],text:"20~40"},{range:[40,100],unit:[],text:"40~100"},{range:[100,null],unit:[],text:"≥100"}],defaultUnit:[],unitOptions:[]},{key:"eps",label:"每股净收益",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,0],unit:["元","元"],text:"≤0"},{range:[0,null],unit:["元","元"],text:"≥0"},{range:[.2,null],unit:["元","元"],text:"≥0.2元"},{range:[.5,null],unit:["元","元"],text:"≥0.5元"},{range:[1,null],unit:["元","元"],text:"≥1元"},{range:[2,null],unit:["元","元"],text:"≥2元"}],defaultUnit:["元","元"],unitOptions:["元"]},{key:"st",label:"是否ST",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"pb",label:"市净率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[0,null],unit:[],text:"≥0"},{range:[0,1],unit:[],text:"0~1"},{range:[1,2],unit:[],text:"1~2"},{range:[0,3],unit:[],text:"0~3"},{range:[3,null],unit:[],text:"≥3"}],defaultUnit:[],unitOptions:[]},{key:"mnShr",label:"成交额",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[0,1],unit:["亿","亿"],text:"0~1亿"},{range:[0,5],unit:["亿","亿"],text:"0~5亿"},{range:[0,10],unit:["亿","亿"],text:"0~10亿"},{range:[10,null],unit:["亿","亿"],text:"≥10亿"},{range:[50,null],unit:["亿","亿"],text:"≥50亿"},{range:[100,null],unit:["亿","亿"],text:"≥100亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"],showRankType:!0,defaultRadioType:"1",defaultRankRange:[0,25]},{key:"perVolumn",label:"成交量",type:"custom",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]}},{key:"roe",label:"净资产收益率roe",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,0],unit:["%","%"],text:"<0"},{range:[0,null],unit:["%","%"],text:">0"},{range:[10,null],unit:["%","%"],text:">10%"},{range:[15,null],unit:["%","%"],text:">15%"},{range:[20,null],unit:["%","%"],text:">20%"},{range:[30,null],unit:["%","%"],text:">30%"}],defaultUnit:["%","%"],unitOptions:["%"]},{key:"tFeaturelncomes",label:"净利润",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"dividendYield",label:"股息率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,1],unit:["%","%"],text:"≤1%"},{range:[1,5],unit:["%","%"],text:"1%~5%"},{range:[5,10],unit:["%","%"],text:"5%~10%"},{range:[10,null],unit:["%","%"],text:"≥10%"}],defaultUnit:["%","%"],unitOptions:["%"]},{key:"priceLevels",label:"股价分位",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"peTtmLevels",label:"市盈率分位",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"mainFlow",label:"主力净流入资金",type:"custom",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]}},{key:"incrementRevenueLyr",label:"营业收入增长率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},defaultUnit:["%","%"],unitOptions:["%"]},{key:"netProfitGrowthRatioLyr",label:"净利润增长率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},defaultUnit:["%","%"],unitOptions:["%"]},{key:"fiveYearRoe",label:"5年净资产收益率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},defaultUnit:["%","%"],unitOptions:["%"]},{key:"auditOpinionType",label:"年报审计意见",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"expireDays",label:"过期天数",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["天","天"],unitOptions:["天"]},{key:"virtualRealDegree",label:"虚实度",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["%","%"],unitOptions:["%"]},{key:"yearProfitRate",label:"年化收益率",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["%","%"],unitOptions:["%"]},{key:"impliedVolatility",label:"隐含波动率",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["%","%"],unitOptions:["%"]},{key:"levelMultiplier",label:"杠杆率",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:[],unitOptions:[]},{key:"turnover",label:"成交额(期权)",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["万","万"],unitOptions:["万"],showRankType:!0,defaultRadioType:"1",defaultRankRange:[0,25]},{key:"volume",label:"成交量(期权)",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:[],unitOptions:[],showRankType:!0,defaultRadioType:"1",defaultRankRange:[0,25]},{key:"openInterest",label:"持仓量",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:[],unitOptions:[],showRankType:!0,defaultRadioType:"1",defaultRankRange:[0,25]},{key:"optionsCpType",label:"认沽认购",parent:{varietyMarketIds:[8],commonOptionIds:[11]},type:"custom"},{key:"optionGear",label:"期权档位",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:[],unitOptions:[]}]}};const Me=(m,h,g)=>{!h[0]&&h[0]!==0&&!h[1]&&h[1]!==0?g(new Error("至少填写一个分数")):g()},oe=m=>{const h=/(条件(\d+))/g;return m.match(h)||[]},Re={__name:"FactorDescription",props:e.mergeModels({data:{type:Array,default:[]}},{visible:{default:!1},visibleModifiers:{}}),emits:["update:visible"],setup(m){const h=e.useModel(m,"visible");return(g,u)=>{const k=Z.ElTableColumn,E=Z.ElTable,w=X.ElDialog;return e.openBlock(),e.createBlock(w,{modelValue:h.value,"onUpdate:modelValue":u[0]||(u[0]=N=>h.value=N),title:"因子使用说明",width:"1000","align-center":"","destroy-on-close":""},{default:e.withCtx(()=>[e.createVNode(E,{data:m.data,border:"",height:"500"},{default:e.withCtx(()=>[e.createVNode(k,{prop:"factorName",label:"因子名称",width:"200"}),e.createVNode(k,{prop:"factorDesc",label:"因子说明"}),e.createVNode(k,{prop:"factorScoreDefine",label:"分值定义"})]),_:1},8,["data"])]),_:1},8,["modelValue"])}}};const ge=m=>(e.pushScopeId("data-v-28dc31e2"),m=m(),e.popScopeId(),m),Ue={class:"factor-screen"},Fe={style:{"white-space":"pre-line"}},De={class:"custom-header"},Le=["id"],ze={key:0,style:{flex:"1","text-align":"right"}},je={class:"form-row"},Pe={class:"index"},Ge={style:{display:"flex","align-items":"center",width:"100%",height:"24px"}},Ye=ge(()=>e.createElementVNode("span",null,"~",-1)),Ae=ge(()=>e.createElementVNode("span",null,"&&代表and,||代表or",-1)),Je={class:"dialog-footer"},Ke={__name:"index",props:e.mergeModels({config:{type:Object,default:{sqlShow:!1,cycleShow:!0,cycleDefault:null,cycleOptions:[],factorOptions:[],factorDescriptions:[]}}},{data:{default:{list:[],sqlEnable:0,sqlValue:null}},dataModifiers:{}}),emits:["update:data"],setup(m){const h=m,g=e.useModel(m,"data"),u=e.ref(),k=e.ref(),E=e.ref(!1),w=e.ref(!1),N=e.ref("模版"),f=e.ref(null),t=e.ref({list:[{cycle:h.config.cycleDefault??null,factor:null,score:[null,null]}],sqlEnable:0,sqlValue:null,factorSelectExpr:""});e.watch(()=>[N.value,E.value],()=>{(N.value==="模版"||E.value===!1)&&k.value.close()},{deep:!0});const S=()=>{const{list:l,sqlEnable:d,sqlValue:c,factorSelectExpr:r}=g.value;t.value={list:JSON.parse(JSON.stringify(l)),sqlEnable:d,sqlValue:c,factorSelectExpr:r},t.value.list.length||C(),E.value=!0,e.nextTick(()=>{r?(N.value="脚本",u.value.setValue(r)):N.value="模版",u.value.resize()})},p=()=>{if(N.value==="模版")f.value.validate(l=>{const{list:d,sqlEnable:c,sqlValue:r}=t.value;if(l){if(c){if(!r)return U.ElMessage.error("SQL语句不能为空");const v=oe(r),o=d.map((n,b)=>`条件${b+1}`),_=v.filter(n=>!o.includes(n));if(_.length)return U.ElMessage.error(`请检查SQL语句, 不存在[${_}]`)}g.value={list:JSON.parse(JSON.stringify(d)),sqlEnable:c,sqlValue:r,factorSelectExpr:""},E.value=!1}});else{const l=u.value.getValue();if(!l)return U.ElMessage.error("请输入脚本语句");g.value={list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:l},E.value=!1}},i=l=>{t.value.list.splice(l,1)},C=l=>{switch(l){case"compare":{t.value.list.push({key:"compare",cycle:h.config.cycleDefault??null,factor:null,compareType:">",cycle2:h.config.cycleDefault??null,factor2:null});break}default:{t.value.list.push({cycle:h.config.cycleDefault??null,factor:null,score:[null,null]});break}}},O=()=>{f.value.validate(l=>{if(l)if(t.value.sqlValue){const d=oe(t.value.sqlValue);t.value.sqlValue=t.value.list.reduce((c,r,v)=>(d.includes(`条件${v+1}`)||(c+=`&& 条件${v+1} `),c),t.value.sqlValue)}else t.value.sqlValue=t.value.list.reduce((d,c,r)=>(r===0?d+=`条件${r+1} `:d+=`&& 条件${r+1} `,d),"")})},$=l=>{switch(l.key){case"compare":{const{cycle:d,factor:c,compareType:r,cycle2:v,factor2:o}=l;let _="";return _+=` ${h.config.cycleOptions.find(({value:n})=>n===d).label}`,_+=` ${h.config.factorOptions.find(({value:n})=>n===c).label}`,_+=` ${r}`,_+=` ${h.config.cycleOptions.find(({value:n})=>n===v).label}`,_+=` ${h.config.factorOptions.find(({value:n})=>n===o).label}`,_}default:{const{cycle:d,factor:c,score:r}=l;let v="";return v+=` ${h.config.cycleOptions.find(({value:o})=>o===d).label}`,v+=` ${h.config.factorOptions.find(({value:o})=>o===c).label}`,v+=` ${r[0]||r[0]===0?`${r[0]}分`:"∞"}`,v+=" ~",v+=` ${r[1]||r[1]===0?`${r[1]}分`:"∞"}`,v}}},F=(l,d)=>{switch(l){case"sqlTag":{g.value={list:[],sqlEnable:0,sqlValue:null};break}case"factorTag":{g.value.list.splice(d,1);break}case"scriptTag":{g.value={list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:""};break}}},y=()=>{var d,c,r;const l=(r=(c=(d=document.getElementsByClassName("factor-dialog"))==null?void 0:d[0])==null?void 0:c.style)==null?void 0:r.zIndex;console.log(l),k.value.open(u.value,l)};return(l,d)=>{var M;const c=Ve.ElText,r=ce.ElTag,v=xe.ElPopover,o=se.ElButton,_=j.ElIcon,n=re.ElTooltip,b=ye,s=le,B=P.ElOption,T=P.ElSelect,a=ae.ElFormItem,L=ie.ElInputNumber,A=te,K=ue.ElInput,Q=ae.ElForm,J=X.ElDialog,R=e.resolveComponent("st-varSelectDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Ue,[e.createElementVNode("div",null,[g.value.sqlEnable&&g.value.sqlValue?(e.openBlock(),e.createBlock(r,{key:0,closable:"",type:"info",title:g.value.sqlValue,onClose:d[0]||(d[0]=x=>F("sqlTag"))},{default:e.withCtx(()=>[e.createVNode(c,{type:"info",truncated:"",style:{"max-width":"500px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.value.sqlValue),1)]),_:1})]),_:1},8,["title"])):e.createCommentVNode("",!0),!g.value.sqlEnable&&g.value.list.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(g.value.list,(x,D)=>(e.openBlock(),e.createBlock(r,{closable:"",type:"info",onClose:V=>F("factorTag",D)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString($(x)),1)]),_:2},1032,["onClose"]))),256)):e.createCommentVNode("",!0),g.value.factorSelectExpr?(e.openBlock(),e.createBlock(v,{key:2,width:"500",placement:"bottom-start"},{reference:e.withCtx(()=>[e.createVNode(r,{closable:"",type:"info",onClose:d[1]||(d[1]=x=>F("scriptTag"))},{default:e.withCtx(()=>[e.createTextVNode(" 脚本模式 ")]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",Fe,e.toDisplayString(g.value.factorSelectExpr),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(o,{class:"screen-btn",type:"primary",plain:"",size:"small",icon:e.unref(j.plus_default),onClick:S},{default:e.withCtx(()=>[e.createTextVNode(" 添加因子 ")]),_:1},8,["icon"])]),e.createVNode(J,{"modal-class":"factor-dialog",modelValue:E.value,"onUpdate:modelValue":d[7]||(d[7]=x=>E.value=x),width:"1000","align-center":"","destroy-on-close":""},{header:e.withCtx(({titleId:x,titleClass:D})=>[e.createElementVNode("div",De,[e.createElementVNode("span",{id:x,class:e.normalizeClass(D)}," 因子筛选 ",10,Le),e.createVNode(n,{effect:"dark",content:"点击查看: 因子使用说明",placement:"right"},{default:e.withCtx(()=>[e.createVNode(_,{onClick:d[2]||(d[2]=V=>w.value=!0)},{default:e.withCtx(()=>[e.createVNode(e.unref(j.info_filled_default))]),_:1})]),_:1}),e.createVNode(s,{modelValue:N.value,"onUpdate:modelValue":d[3]||(d[3]=V=>N.value=V),size:"small",style:{"margin-left":"12px"}},{default:e.withCtx(()=>[e.createVNode(b,{label:"模版",value:"模版"}),e.createVNode(b,{label:"脚本",value:"脚本"})]),_:1},8,["modelValue"]),N.value==="脚本"?(e.openBlock(),e.createElementBlock("div",ze,[e.createVNode(o,{size:"small",type:"primary",onClick:y},{default:e.withCtx(()=>[e.createTextVNode("变量选择器")]),_:1})])):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",Je,[e.createVNode(o,{type:"primary",onClick:p},{default:e.withCtx(()=>[e.createTextVNode("确定")]),_:1})])]),default:e.withCtx(()=>[N.value==="模版"?(e.openBlock(),e.createBlock(Q,{key:0,ref_key:"dialogFormRef",ref:f,model:t.value},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.list,(x,D)=>(e.openBlock(),e.createElementBlock("div",je,[e.createElementVNode("span",Pe,e.toDisplayString(`条件${D+1}`),1),x.key==="compare"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[m.config.cycleShow?(e.openBlock(),e.createBlock(a,{key:0,prop:"list."+D+".cycle",rules:{required:!0,message:"周期不能为空",trigger:"blur"},style:{width:"100px","margin-right":"10px"}},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:x.cycle,"onUpdate:modelValue":V=>x.cycle=V,placeholder:"选择周期",size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.config.cycleOptions,({label:V,value:q})=>(e.openBlock(),e.createBlock(B,{label:V,value:q,key:q},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):e.createCommentVNode("",!0),e.createVNode(a,{prop:"list."+D+".factor",rules:{required:!0,message:"因子不能为空",trigger:"blur"},style:{width:"132px","margin-right":"10px"}},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:x.factor,"onUpdate:modelValue":V=>x.factor=V,placeholder:"选择因子",filterable:"",size:"small","no-match-text":"无匹配数据"},{default:e.withCtx(()=>{var V;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=m.config.factorOptions)==null?void 0:V.filter(q=>[4].includes(q.type)),({label:q,value:z})=>(e.openBlock(),e.createBlock(B,{label:q,value:z,key:z},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),e.createVNode(a,{style:{width:"52px","margin-right":"10px"}},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:x.compareType,"onUpdate:modelValue":V=>x.compareType=V,size:"small"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([">",">=","<","<="],V=>e.createVNode(B,{label:V,value:V,key:V},null,8,["label","value"])),64))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),m.config.cycleShow?(e.openBlock(),e.createBlock(a,{key:1,prop:"list."+D+".cycle2",rules:{required:!0,message:"周期不能为空",trigger:"blur"},style:{width:"100px","margin-right":"10px"}},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:x.cycle2,"onUpdate:modelValue":V=>x.cycle2=V,placeholder:"选择周期",size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.config.cycleOptions,({label:V,value:q})=>(e.openBlock(),e.createBlock(B,{label:V,value:q,key:q},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):e.createCommentVNode("",!0),e.createVNode(a,{prop:"list."+D+".factor2",rules:{required:!0,message:"因子不能为空",trigger:"blur"},style:{width:"132px","margin-right":"10px"}},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:x.factor2,"onUpdate:modelValue":V=>x.factor2=V,placeholder:"选择因子",filterable:"",size:"small","no-match-text":"无匹配数据"},{default:e.withCtx(()=>{var V;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=m.config.factorOptions)==null?void 0:V.filter(q=>[4].includes(q.type)),({label:q,value:z})=>(e.openBlock(),e.createBlock(B,{label:q,value:z,key:z},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.config.cycleShow?(e.openBlock(),e.createBlock(a,{key:0,prop:"list."+D+".cycle",rules:{required:!0,message:"周期不能为空",trigger:"blur"},style:{width:"100px","margin-right":"10px"}},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:x.cycle,"onUpdate:modelValue":V=>x.cycle=V,placeholder:"选择周期",size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.config.cycleOptions,({label:V,value:q})=>(e.openBlock(),e.createBlock(B,{label:V,value:q,key:q},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):e.createCommentVNode("",!0),e.createVNode(a,{prop:"list."+D+".factor",rules:{required:!0,message:"因子不能为空",trigger:"blur"},style:{width:"194px","margin-right":"10px"}},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:x.factor,"onUpdate:modelValue":V=>x.factor=V,placeholder:"选择因子",filterable:"",size:"small","no-match-text":"无匹配数据"},{default:e.withCtx(()=>{var V;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=m.config.factorOptions)==null?void 0:V.filter(q=>[1,3].includes(q.type)),({label:q,value:z})=>(e.openBlock(),e.createBlock(B,{label:q,value:z,key:z},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),e.createVNode(a,{prop:"list."+D+".score",rules:{validator:e.unref(Me),trigger:"blur"},style:{width:"200px","margin-right":"10px"}},{default:e.withCtx(()=>[e.createElementVNode("div",Ge,[e.createVNode(L,{modelValue:x.score[0],"onUpdate:modelValue":V=>x.score[0]=V,size:"small","controls-position":"right"},null,8,["modelValue","onUpdate:modelValue"]),Ye,e.createVNode(L,{modelValue:x.score[1],"onUpdate:modelValue":V=>x.score[1]=V,size:"small","controls-position":"right"},null,8,["modelValue","onUpdate:modelValue"])])]),_:2},1032,["prop","rules"])],64)),e.createVNode(_,{onClick:V=>i(D)},{default:e.withCtx(()=>[e.createVNode(e.unref(j.circle_close_filled_default))]),_:2},1032,["onClick"])]))),256)),e.createVNode(o,{type:"primary",plain:"",size:"small",icon:e.unref(j.plus_default),onClick:C,style:{"margin-bottom":"10px"}},{default:e.withCtx(()=>[e.createTextVNode("添加因子")]),_:1},8,["icon"]),e.createVNode(o,{type:"primary",plain:"",size:"small",icon:e.unref(j.plus_default),onClick:d[4]||(d[4]=x=>C("compare")),style:{"margin-bottom":"10px"}},{default:e.withCtx(()=>[e.createTextVNode("添加因子对比")]),_:1},8,["icon"]),m.config.sqlShow?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(a,{label:"SQL功能: "},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.sqlEnable,"onUpdate:modelValue":d[5]||(d[5]=x=>t.value.sqlEnable=x)},{default:e.withCtx(()=>[e.createVNode(A,{label:"关闭",value:0}),e.createVNode(A,{label:"启用",value:1})]),_:1},8,["modelValue"]),t.value.sqlEnable?(e.openBlock(),e.createBlock(o,{key:0,type:"primary",size:"small",onClick:O,style:{"margin-left":"auto"}},{default:e.withCtx(()=>[e.createTextVNode("生成SQL")]),_:1})):e.createCommentVNode("",!0)]),_:1}),t.value.sqlEnable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(K,{modelValue:t.value.sqlValue,"onUpdate:modelValue":d[6]||(d[6]=x=>t.value.sqlValue=x),autosize:{minRows:4},type:"textarea",style:{"margin-bottom":"10px"}},null,8,["modelValue"]),Ae],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]),_:1},8,["model"])):e.createCommentVNode("",!0),e.createElementVNode("div",{style:e.normalizeStyle([{width:"968px",height:"400px"},N.value==="脚本"?null:{position:"fixed",top:"-400px",zIndex:-1}])},[e.createVNode(be._sfc_main,{ref_key:"monacoEditorRef",ref:u,language:"lua"},null,512)],4)]),_:1},8,["modelValue"])]),e.createVNode(Re,{visible:w.value,"onUpdate:visible":d[8]||(d[8]=x=>w.value=x),data:(M=m.config.factorDescriptions)==null?void 0:M.filter(x=>[1,3].includes(x.type))},null,8,["visible","data"]),e.createVNode(R,{ref_key:"stVarSelectDialogRef",ref:k},null,512)],64)}}},Qe=ee._export_sfc(Ke,[["__scopeId","data-v-28dc31e2"]]);const W=m=>(e.pushScopeId("data-v-3e69da40"),m=m(),e.popScopeId(),m),Ze={key:0,class:"common-indicator"},He={class:"indicator"},We=W(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("span",null,"常用指标: "),e.createElementVNode("span",null,"不限")],-1)),Xe={class:"options"},et=["onClick"],tt={class:"tags"},lt=["onClick"],at={style:{"font-size":"18px"}},nt={key:0,class:"out-box"},ot=W(()=>e.createElementVNode("span",null,"自定义: ",-1)),rt={key:0,class:"convenient-option-box"},ut={class:"out-box"},it=W(()=>e.createElementVNode("span",null,"自定义: ",-1)),st={key:0},ct={key:0},dt={key:0},pt={key:1},mt={class:"tFeaturelncomes-option-box"},vt={class:"tFeaturelncomes-out-box"},ft=W(()=>e.createElementVNode("span",null,"自定义: ",-1)),kt={key:2},yt={key:3},gt={key:4},Vt={key:5},bt={key:6},xt={style:{display:"flex","align-items":"center"}},_t={key:7},ht={class:"dialog-footer"},Nt={__name:"index",props:e.mergeModels({config:{type:Object,default:()=>{}},varietyMarket:{type:Number,default:()=>null},commonOption:{type:Array,default:()=>[]}},{data:{default:[]},dataModifiers:{}}),emits:["update:data"],setup(m){const h=[{label:"近2周",value:"1"},{label:"近1个月",value:"2"},{label:"近3个月",value:"3"},{label:"近6个月",value:"4"},{label:"近1年",value:"5"}],g=[{label:"无保留意见",value:1},{label:"保留意见",value:2},{label:"否定意见",value:3},{label:"无法表示意见",value:4}],u=e.useModel(m,"data"),k=m,E=e.ref(!1),w=e.computed(()=>{var y;return(y=k.data.find(l=>l.radioType==="1"))==null?void 0:y.key}),N=e.computed(()=>{let y=[];return k.varietyMarket===null&&!k.commonOption.length?y=k.config.options:(y=k.config.options,k.varietyMarket&&(y=y.filter(({parent:l})=>l.varietyMarketIds.includes(k.varietyMarket))),k.commonOption.length&&(y=y.filter(({parent:l})=>{const{commonOptionIds:d}=l;return[...new Set([...d,...k.commonOption])].length!==[...d,...k.commonOption].length}))),y}),f=e.ref({}),t=e.ref({}),S=y=>{f.value=y;const l={key:y.key,type:y.type,label:y.label};switch(y.key){case"st":{t.value={...l,st:null};break}case"tFeaturelncomes":{t.value={...l,rule:1,withFewYears:null,yearsCount:null,netProfit:null};break}case"priceLevels":{t.value={...l,priceLevels:null};break}case"peTtmLevels":{t.value={...l,peTtmLevels:null};break}case"optionsCpType":{t.value={...l,optionsCpType:null};break}case"perVolumn":{t.value={...l,radio:null,levels:[]};break}case"mainFlow":{t.value={...l,radioType:"0",rankRange:[null,null]};break}case"auditOpinionType":{t.value={...l,enumType:null};break}default:t.value={...l,range:[null,null],unit:y.defaultUnit.length?[...y.defaultUnit]:[null,null],radioType:w.value&&w.value!==y.key?"0":y.defaultRadioType,rankRange:y.defaultRankRange||[null,null]}}E.value=!0},p=()=>{var l,d;switch(t.value.key){case"st":{const{label:c,st:r}=t.value;if(r===null)return U.ElMessage.warning("格式错误: 请至少选择一个值");t.value.tagText=`${c}: ${r?"是":"否"}`;break}case"tFeaturelncomes":{const{label:c,rule:r,withFewYears:v,yearsCount:o,netProfit:_}=t.value;if(["",null].includes(v)||["",null].includes(o)||["",null].includes(_))return U.ElMessage.warning("格式错误: 请填写完整");t.value.tagText=`${c}: ${v}年内${o}年以上盈利${r===1?"超":"跌"}过${_}亿`;break}case"priceLevels":{const{label:c,priceLevels:r}=t.value;if(!r||r.length===0)return U.ElMessage.warning("格式错误: 请至少选择一个值");t.value.tagText=`${c}: 已选${r}分位`;break}case"peTtmLevels":{const{label:c,peTtmLevels:r}=t.value;if(!r||r.length===0)return U.ElMessage.warning("格式错误: 请至少选择一个值");t.value.tagText=`${c}: 已选${r}分位`;break}case"optionsCpType":{const{label:c,optionsCpType:r}=t.value;if(r===null)return U.ElMessage.warning("格式错误: 请至少选择一个值");t.value.tagText=`${c}: ${r===1?"看涨":"看跌"}`;break}case"perVolumn":{const{label:c,radio:r,levels:v}=t.value;if(!r)return U.ElMessage.warning("格式错误: 请选择时间");if(!(v!=null&&v.length))return U.ElMessage.warning("格式错误: 请选择分位");t.value.tagText=`${c}: ${(l=h.find(o=>o.value===r))==null?void 0:l.label}${v.map(o=>`${o}分位`).join("、")}`;break}case"mainFlow":{const{label:c,radioType:r,radio:v,rankRange:o}=t.value,_=n=>{if(n===""||n===null||n===void 0)return!1;const b=Number(n);return!isNaN(b)};if(!v)return U.ElMessage.warning("格式错误: 请选择时间");if(!_(o[0])&&!_(o[1]))return U.ElMessage.warning(`格式错误: 请填写${r==="0"?"涨幅范围":"排名范围"}`);!["",null].includes(o[0])&&!["",null].includes(o[1])?t.value.tagText=`${c}: ${v}日${r==="0"?"涨幅范围":"排名范围"}: ${o[0]}${r==="0"?"%":""} ~ ${o[1]}${r==="0"?"%":""}`:["",null].includes(o[0])?t.value.tagText=`${c}: ${v}日${r==="0"?"涨幅范围":"排名范围"}: ≤${o[1]}${r==="0"?"%":""}`:t.value.tagText=`${c}: ${v}日${r==="0"?"涨幅范围":"排名范围"}: ≥${o[0]}${r==="0"?"%":""}`;break}case"auditOpinionType":{const{label:c,enumType:r}=t.value;if(r===null)return U.ElMessage.warning("格式错误: 请至少选择一个值");t.value.tagText=`${c}: ${(d=g.find(v=>v.value===r))==null?void 0:d.label}`;break}default:{const{label:c,unit:r,radioType:v}=t.value,o=v==="1"?t.value.rankRange:t.value.range;if(["",null].includes(o[0])&&["",null].includes(o[1]))return U.ElMessage.warning("格式错误: 请至少填写一个值");if(v==="1"){const b=Number(o[0]),s=Number(o[1]);if(isNaN(b)||isNaN(s))return U.ElMessage.warning("格式错误: 请填写数字");if(b<0||s<0)return U.ElMessage.warning("格式错误: 请填写大于0的数字");if(b>s)return U.ElMessage.warning("格式错误: 请填写正确的排名范围")}const _=v==="1"?"":r[0]??"",n=v==="1"?"":r[1]??"";!["",null].includes(o[0])&&!["",null].includes(o[1])?t.value.tagText=`${c}${v==="1"?"排名":""}: ${o[0]}${_} ~ ${o[1]}${n}`:["",null].includes(o[0])?t.value.tagText=`${c}${v==="1"?"排名":""}: ≤${o[1]}${n}`:t.value.tagText=`${c}${v==="1"?"排名":""}: ≥${o[0]}${_}`}}const y=u.value.findIndex(({key:c})=>c===t.value.key);y===-1?u.value.push(t.value):u.value.splice(y,1,t.value),E.value=!1},i=y=>{f.value=N.value.find(({key:l})=>l===y.key),t.value=JSON.parse(JSON.stringify(y)),E.value=!0},C=y=>{u.value.splice(y,1)},O=y=>{t.value.range=[...y.range],t.value.unit=[...y.unit]},$=y=>{switch(y){case"≤0":Object.assign(t.value,{rule:2,withFewYears:1,yearsCount:1,netProfit:0});break;case"≥0":Object.assign(t.value,{rule:1,withFewYears:1,yearsCount:1,netProfit:0});break;case"五年内有四年以上盈利超过5千万":Object.assign(t.value,{rule:1,withFewYears:5,yearsCount:4,netProfit:.5});break;case"≥10亿":Object.assign(t.value,{rule:1,withFewYears:1,yearsCount:1,netProfit:10});break;case"≥20亿":Object.assign(t.value,{rule:1,withFewYears:1,yearsCount:1,netProfit:20});break}};e.watch(()=>N.value,()=>{u.value.length&&(u.value=u.value.filter(({key:y})=>N.value.find(l=>l.key===y)))});const F=()=>{t.value.radio=null,t.value.rankRange=[null,null]};return(y,l)=>{const d=ce.ElTag,c=ye,r=le,v=ue.ElInput,o=se.ElButton,_=P.ElOption,n=P.ElSelect,b=te,s=ie.ElInputNumber,B=X.ElDialog;return m.config.show&&N.value.length?(e.openBlock(),e.createElementBlock("div",Ze,[e.createElementVNode("div",He,[We,e.createElementVNode("div",Xe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,T=>(e.openBlock(),e.createElementBlock("span",{key:T.key,onClick:a=>S(T)},e.toDisplayString(T.label),9,et))),128))])]),e.createElementVNode("div",tt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(T,a)=>(e.openBlock(),e.createBlock(d,{closable:"",type:"info",onClose:L=>C(a)},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(T.tagText),1),e.createElementVNode("span",{class:"edit",onClick:L=>i(T)},"编辑",8,lt)]),_:2},1032,["onClose"]))),256))]),e.createVNode(B,{modelValue:E.value,"onUpdate:modelValue":l[26]||(l[26]=T=>E.value=T),title:f.value.label,width:"600","align-center":"","destroy-on-close":""},e.createSlots({footer:e.withCtx(()=>[e.createElementVNode("div",ht,[e.createVNode(o,{type:"primary",onClick:p},{default:e.withCtx(()=>[e.createTextVNode("确定")]),_:1})])]),default:e.withCtx(()=>{var T;return[f.value.type===void 0&&t.value.radioType==="1"?(e.openBlock(),e.createElementBlock("div",nt,[ot,e.createVNode(v,{modelValue:t.value.rankRange[0],"onUpdate:modelValue":l[2]||(l[2]=a=>t.value.rankRange[0]=a),style:{flex:"1"}},null,8,["modelValue"]),e.createTextVNode(" ~ "),e.createVNode(v,{modelValue:t.value.rankRange[1],"onUpdate:modelValue":l[3]||(l[3]=a=>t.value.rankRange[1]=a),style:{flex:"1"}},null,8,["modelValue"])])):f.value.type===void 0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(T=f.value.convenientOptions)!=null&&T.length?(e.openBlock(),e.createElementBlock("div",rt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.convenientOptions,a=>(e.openBlock(),e.createBlock(o,{key:a.text,onClick:L=>O(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.text),1)]),_:2},1032,["onClick"]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("div",ut,[it,e.createVNode(v,{modelValue:t.value.range[0],"onUpdate:modelValue":l[5]||(l[5]=a=>t.value.range[0]=a),style:{flex:"1"}},e.createSlots({_:2},[f.value.unitOptions.length?{name:"append",fn:e.withCtx(()=>[f.value.unitOptions.length===1?(e.openBlock(),e.createElementBlock("span",st,e.toDisplayString(t.value.unit[0]),1)):(e.openBlock(),e.createBlock(n,{key:1,modelValue:t.value.unit[0],"onUpdate:modelValue":l[4]||(l[4]=a=>t.value.unit[0]=a),style:{width:"72px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.unitOptions,a=>(e.openBlock(),e.createBlock(_,{label:a,value:a},null,8,["label","value"]))),256))]),_:1},8,["modelValue"]))]),key:"0"}:void 0]),1032,["modelValue"]),e.createTextVNode(" ~ "),e.createVNode(v,{modelValue:t.value.range[1],"onUpdate:modelValue":l[7]||(l[7]=a=>t.value.range[1]=a),style:{flex:"1"}},e.createSlots({_:2},[f.value.unitOptions.length?{name:"append",fn:e.withCtx(()=>[f.value.unitOptions.length===1?(e.openBlock(),e.createElementBlock("span",ct,e.toDisplayString(t.value.unit[1]),1)):(e.openBlock(),e.createBlock(n,{key:1,modelValue:t.value.unit[1],"onUpdate:modelValue":l[6]||(l[6]=a=>t.value.unit[1]=a),style:{width:"72px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.unitOptions,a=>(e.openBlock(),e.createBlock(_,{label:a,value:a},null,8,["label","value"]))),256))]),_:1},8,["modelValue"]))]),key:"0"}:void 0]),1032,["modelValue"])])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[f.value.key==="st"?(e.openBlock(),e.createElementBlock("div",dt,[e.createVNode(r,{modelValue:t.value.st,"onUpdate:modelValue":l[8]||(l[8]=a=>t.value.st=a)},{default:e.withCtx(()=>[e.createVNode(b,{label:"是",value:1}),e.createVNode(b,{label:"否",value:0})]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),f.value.key==="tFeaturelncomes"?(e.openBlock(),e.createElementBlock("div",pt,[e.createElementVNode("div",mt,[e.createVNode(o,{onClick:l[9]||(l[9]=a=>$("≤0"))},{default:e.withCtx(()=>[e.createTextVNode("≤0")]),_:1}),e.createVNode(o,{onClick:l[10]||(l[10]=a=>$("≥0"))},{default:e.withCtx(()=>[e.createTextVNode("≥0")]),_:1}),e.createVNode(o,{onClick:l[11]||(l[11]=a=>$("五年内有四年以上盈利超过5千万"))},{default:e.withCtx(()=>[e.createTextVNode("五年内有四年以上盈利超过5千万")]),_:1}),e.createVNode(o,{onClick:l[12]||(l[12]=a=>$("≥10亿"))},{default:e.withCtx(()=>[e.createTextVNode("≥10亿")]),_:1}),e.createVNode(o,{onClick:l[13]||(l[13]=a=>$("≥20亿"))},{default:e.withCtx(()=>[e.createTextVNode("≥20亿")]),_:1})]),e.createElementVNode("div",vt,[ft,e.createElementVNode("div",null,[e.createVNode(s,{modelValue:t.value.withFewYears,"onUpdate:modelValue":l[14]||(l[14]=a=>t.value.withFewYears=a),"controls-position":"right"},null,8,["modelValue"]),e.createTextVNode(" 年内 "),e.createVNode(s,{modelValue:t.value.yearsCount,"onUpdate:modelValue":l[15]||(l[15]=a=>t.value.yearsCount=a),"controls-position":"right"},null,8,["modelValue"]),e.createTextVNode(" 年以上盈利"+e.toDisplayString(t.value.rule===1?"超":"跌")+"过 ",1),e.createVNode(s,{modelValue:t.value.netProfit,"onUpdate:modelValue":l[16]||(l[16]=a=>t.value.netProfit=a),"controls-position":"right"},null,8,["modelValue"]),e.createTextVNode(" 亿 ")])])])):e.createCommentVNode("",!0),f.value.key==="priceLevels"?(e.openBlock(),e.createElementBlock("div",kt,[e.createVNode(n,{modelValue:t.value.priceLevels,"onUpdate:modelValue":l[17]||(l[17]=a=>t.value.priceLevels=a),multiple:"",clearable:"",placeholder:"请选择",style:{width:"420px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3,4,5],a=>e.createVNode(_,{key:a,label:`${a}分位`,value:a},null,8,["label","value"])),64))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),f.value.key==="peTtmLevels"?(e.openBlock(),e.createElementBlock("div",yt,[e.createVNode(n,{modelValue:t.value.peTtmLevels,"onUpdate:modelValue":l[18]||(l[18]=a=>t.value.peTtmLevels=a),multiple:"",clearable:"",placeholder:"请选择",style:{width:"420px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3,4,5,6,7,8,9,10],a=>e.createVNode(_,{key:a,label:`${a}分位`,value:a},null,8,["label","value"])),64))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),f.value.key==="optionsCpType"?(e.openBlock(),e.createElementBlock("div",gt,[e.createVNode(r,{modelValue:t.value.optionsCpType,"onUpdate:modelValue":l[19]||(l[19]=a=>t.value.optionsCpType=a)},{default:e.withCtx(()=>[e.createVNode(b,{label:"看涨",value:1}),e.createVNode(b,{label:"看跌",value:2})]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),f.value.key==="perVolumn"?(e.openBlock(),e.createElementBlock("div",Vt,[e.createVNode(r,{modelValue:t.value.radio,"onUpdate:modelValue":l[20]||(l[20]=a=>t.value.radio=a)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(h,a=>e.createVNode(b,{key:a.value,value:a.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),e.createVNode(n,{modelValue:t.value.levels,"onUpdate:modelValue":l[21]||(l[21]=a=>t.value.levels=a),multiple:"",clearable:"",placeholder:"请选择",style:{width:"420px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3,4,5],a=>e.createVNode(_,{key:a,label:`${a}分位`,value:a},null,8,["label","value"])),64))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),f.value.key==="mainFlow"?(e.openBlock(),e.createElementBlock("div",bt,[e.createVNode(r,{modelValue:t.value.radio,"onUpdate:modelValue":l[22]||(l[22]=a=>t.value.radio=a)},{default:e.withCtx(()=>[e.createVNode(b,{value:"3"},{default:e.withCtx(()=>[e.createTextVNode("3日")]),_:1}),e.createVNode(b,{value:"5"},{default:e.withCtx(()=>[e.createTextVNode("5日")]),_:1}),e.createVNode(b,{value:"10"},{default:e.withCtx(()=>[e.createTextVNode("10日")]),_:1}),e.createVNode(b,{value:"20"},{default:e.withCtx(()=>[e.createTextVNode("20日")]),_:1})]),_:1},8,["modelValue"]),e.createElementVNode("div",xt,[e.createElementVNode("span",null,e.toDisplayString(t.value.radioType==="0"?"涨幅范围":"排名范围")+": ",1),e.createVNode(v,{modelValue:t.value.rankRange[0],"onUpdate:modelValue":l[23]||(l[23]=a=>t.value.rankRange[0]=a),style:{flex:"1"}},null,8,["modelValue"]),e.createTextVNode(" ~ "),e.createVNode(v,{modelValue:t.value.rankRange[1],"onUpdate:modelValue":l[24]||(l[24]=a=>t.value.rankRange[1]=a),style:{flex:"1"}},null,8,["modelValue"])])])):e.createCommentVNode("",!0),f.value.key==="auditOpinionType"?(e.openBlock(),e.createElementBlock("div",_t,[e.createVNode(r,{modelValue:t.value.enumType,"onUpdate:modelValue":l[25]||(l[25]=a=>t.value.enumType=a)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(g,(a,L)=>e.createVNode(b,{key:L,label:a.label,value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0)],64))]}),_:2},[f.value.showRankType?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("span",at,e.toDisplayString(f.value.label),1),e.createVNode(r,{modelValue:t.value.radioType,"onUpdate:modelValue":l[0]||(l[0]=T=>t.value.radioType=T),style:{"vertical-align":"4px","margin-left":"12px"}},{default:e.withCtx(()=>[e.createVNode(c,{label:"数值",value:"0"}),e.createVNode(c,{disabled:w.value&&w.value!==f.value.key,label:"排名",value:"1"},null,8,["disabled"])]),_:1},8,["modelValue"])]),key:"0"}:f.value.key==="mainFlow"?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("span",{style:{"font-size":"18px"}},e.toDisplayString(f.value.label),1),e.createVNode(r,{modelValue:t.value.radioType,"onUpdate:modelValue":l[1]||(l[1]=T=>t.value.radioType=T),style:{"vertical-align":"4px","margin-left":"12px"},onChange:F},{default:e.withCtx(()=>[e.createVNode(c,{label:"涨幅范围",value:"0"}),e.createVNode(c,{disabled:w.value&&w.value!==f.value.key,label:"排名范围",value:"1"},null,8,["disabled"])]),_:1},8,["modelValue"])]),key:"1"}:void 0]),1032,["modelValue","title"])])):e.createCommentVNode("",!0)}}},wt=ee._export_sfc(Nt,[["__scopeId","data-v-3e69da40"]]);const Y=m=>(e.pushScopeId("data-v-efd872de"),m=m(),e.popScopeId(),m),Et={class:"variety-search"},Ct={key:0,class:"variety-search-row"},Bt={class:"title"},Tt=Y(()=>e.createElementVNode("span",null,"品种市场: ",-1)),Ot={key:1,class:"variety-search-row"},$t={class:"title"},It=Y(()=>e.createElementVNode("span",null,"常用选项: ",-1)),St={key:2,class:"variety-search-row"},qt={class:"title"},Mt=Y(()=>e.createElementVNode("span",null,"上市板块: ",-1)),Rt={key:3,class:"variety-search-row"},Ut={class:"title"},Ft=Y(()=>e.createElementVNode("span",null,"自定标签: ",-1)),Dt={key:4,class:"variety-search-row"},Lt={class:"title"},zt=Y(()=>e.createElementVNode("span",null,"价差转换: ",-1)),jt={key:5,class:"variety-search-row"},Pt={class:"title"},Gt=Y(()=>e.createElementVNode("span",null,"因子筛选: ",-1)),Yt={__name:"index",props:e.mergeModels({config:{type:Object,default:{}}},{searchData:{},searchDataModifiers:{}}),emits:["update:searchData"],setup(m,{expose:h}){const g=m,u=e.useModel(m,"searchData");u.value=Object.assign(u.value,{varietyMarket:null,commonOption:[],marketIds:[],customTag:[],jcTranslate:{type:null,jcList:[]},factorScreen:{list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:""},commonIndicator:[]});const k=e.computed(()=>{const p={};return Object.keys(ne).forEach(i=>{const C=ne[i],O=g.config[i]??{},$={...C,...O};p[i]=$}),p}),E=e.computed(()=>k.value.varietyMarket.options),w=e.computed(()=>{const{varietyMarket:p}=u.value;return p?E.value.find(({value:C})=>C===p).memo.reduce((C,O)=>{const $=k.value.commonOption.options.find(F=>F.value===O);return $&&C.push($),C},[]):k.value.commonOption.options}),N=e.computed(()=>{const{varietyMarket:p}=u.value;return p?k.value.marketIds.options.filter(i=>i.varietyMarketIds.includes(p)):k.value.marketIds.options}),f=e.computed(()=>k.value.customTag.options),t=e.computed(()=>k.value.jcTranslate.jcOptions),S=p=>{switch(p){case"commonOption":{u.value[p]=[];break}case"marketIds":{u.value[p]=[];break}case"customTag":{u.value[p]=[];break}case"jcTranslate":{u.value[p]={type:null,jcList:[]};break}case"factorScreen":{u.value[p]={list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:""};break}case"commonIndicator":{u.value[p]=[];break}default:{u.value[p]=null;break}}};return e.watch(()=>w.value,p=>{var i;(i=u.value.commonOption)!=null&&i.length&&(u.value.commonOption=u.value.commonOption.filter(C=>p.find(({value:O})=>O===C)))}),e.watch(()=>N.value,p=>{var i;(i=u.value.marketIds)!=null&&i.length&&(u.value.marketIds=u.value.marketIds.filter(C=>p.find(({value:O})=>O===C)))}),h({formatData:p=>{var C,O,$,F,y,l;console.log("%c[st-varietySearch]: 正在生成接口传参...","color: tomato");const i={};if(p.varietyMarket&&(i.exchangeId=String(p.varietyMarket)),(C=p.commonOption)!=null&&C.length&&(i.optionId=p.commonOption.join(",")),(O=p.marketIds)!=null&&O.length&&(i.marketIds=p.marketIds),($=p.customTag)!=null&&$.length&&(i.tagIds=p.customTag),(F=k.value.jcTranslate)!=null&&F.show){const{jcTranslate:d}=p,{type:c,jcList:r}=d;switch(c){case 1:{i.translateType=1,i.jcType=r.join(",");break}case 2:i.translateType=2}}if((y=k.value.factorScreen)!=null&&y.show){const{factorScreen:d}=p;if((l=d==null?void 0:d.list)!=null&&l.length&&(i.tbFeatureFactorScores=d.list.map(c=>{switch(c.key){case"compare":return{freqId:c.cycle,factorId:c.factor,compareType:c.compareType,freqId2:c.cycle2,factorId2:c.factor2};default:return{freqId:c.cycle,factorId:c.factor,startScore:c.score[0],endScore:c.score[1]}}})),d.sqlEnable){const c=d.list.reduce((v,o,_)=>{var b,s;const n=`条件${_+1}`;switch(o.key){case"compare":{let B="";(b=k.value.factorScreen)!=null&&b.cycleShow?B=`freq_id = ${o.cycle} and factor_id = ${o.factor} ${o.compareType} freq_id = ${o.cycle2} and factor_id = ${o.factor2}`:B=`factor_id = ${o.factor} ${o.compareType} factor_id = ${o.factor2}`,v.set(n,`(${B})`);break}default:{let B=`factor_id = ${o.factor} and `;(s=k.value.factorScreen)!=null&&s.cycleShow&&(B=`freq_id = ${o.cycle} and factor_id = ${o.factor} and `),(o.score[0]||o.score[0]===0)&&(o.score[1]||o.score[1]===0)?B+=`score >= ${o.score[0]} and score <= ${o.score[1]}`:o.score[0]||o.score[0]===0?B+=`score >= ${o.score[0]}`:(o.score[1]||o.score[1]===0)&&(B+=`score <= ${o.score[1]}`),v.set(n,`(${B})`)}}return v},new Map([]));let r=d.sqlValue;for(const[v,o]of c){const _=new RegExp(v,"g");r=r.replace(_,o)}i.sql=r,i.sqlExpression=d.sqlValue}i.enableSql=d.sqlEnable===1?2:1,d.factorSelectExpr&&(i.factorSelectExpr=d.factorSelectExpr)}{const d=["expireDays","virtualRealDegree","yearProfitRate","impliedVolatility","levelMultiplier","turnover","volume","openInterest","optionsCpType","optionGear"],c=p.commonIndicator.reduce((s,B)=>{const{key:T,type:a,range:L,unit:A,radioType:K,radio:Q,rankRange:J}=B;if(T==="mainFlow"){let[R,M]=J,x=K==="0"?`netInfow${Q}d`:`last${Q}DayMainFlowRank`;s.push({column:x,start:R,end:M})}if(T==="auditOpinionType")s.push({column:B.key,enumType:B.enumType});else if(K==="1")i.sortBy={column:B.key,start:J[0]||null,end:J[1]||null};else if(["dividendYield","incrementRevenueLyr","netProfitGrowthRatioLyr","fiveYearRoe"].includes(T)){let[R,M]=L;["",null].includes(R)||(R=R/100),["",null].includes(M)||(M=M/100),s.push({column:B.key,start:R,end:M})}else if(a===void 0&&!d.includes(T)){let[R,M]=L;if(!["",null].includes(R))switch(A[0]){case"亿":R=R*1e8;break;case"千万":R=R*1e7;break;default:R=R;break}if(!["",null].includes(M))switch(A[1]){case"亿":M=M*1e8;break;case"千万":M=M*1e7;break;default:M=M;break}s.push({column:B.key,start:R,end:M})}return s},[]);c.length&&(i.query=c);const r=p.commonIndicator.find(({key:s})=>s==="st");r&&(i.st=r.st);const v=p.commonIndicator.find(({key:s})=>s==="tFeaturelncomes");v&&(i.netProfitQueryDto={...v,netProfit:v.netProfit*1e8});const o=p.commonIndicator.find(({key:s})=>s==="priceLevels");o&&(i.priceLevels=o.priceLevels);const _=p.commonIndicator.find(({key:s})=>s==="peTtmLevels");_&&(i.peTtmLevels=_.peTtmLevels);const n={};p.commonIndicator.forEach(s=>{const{key:B}=s;switch(B){case"expireDays":["",null].includes(s.range[0])||(n.minExpireDays=s.range[0]),["",null].includes(s.range[1])||(n.maxExpireDays=s.range[1]);break;case"virtualRealDegree":["",null].includes(s.range[0])||(n.minVirtualRealDegree=s.range[0]/100),["",null].includes(s.range[1])||(n.maxVirtualRealDegree=s.range[1]/100);break;case"yearProfitRate":["",null].includes(s.range[0])||(n.minYearProfitRate=s.range[0]/100),["",null].includes(s.range[1])||(n.maxYearProfitRate=s.range[1]/100);break;case"impliedVolatility":["",null].includes(s.range[0])||(n.minImpliedVolatility=s.range[0]/100),["",null].includes(s.range[1])||(n.maxImpliedVolatility=s.range[1]/100);break;case"levelMultiplier":["",null].includes(s.range[0])||(n.minLevelMultiplier=s.range[0]),["",null].includes(s.range[1])||(n.maxLevelMultiplier=s.range[1]);break;case"turnover":["",null].includes(s.range[0])||(n.minTurnover=s.range[0]*1e4),["",null].includes(s.range[1])||(n.maxTurnover=s.range[1]*1e4);break;case"volume":["",null].includes(s.range[0])||(n.minVolume=s.range[0]),["",null].includes(s.range[1])||(n.maxVolume=s.range[1]);break;case"openInterest":["",null].includes(s.range[0])||(n.minOpenInterest=s.range[0]),["",null].includes(s.range[1])||(n.maxOpenInterest=s.range[1]);break;case"optionsCpType":n.optionsCpType=s.optionsCpType;break;case"optionGear":["",null].includes(s.range[0])||(n.minOptionGear=s.range[0]),["",null].includes(s.range[1])||(n.maxOptionGear=s.range[1]);break}});const b=p.commonIndicator.find(({key:s})=>s==="perVolumn");b&&(i.perVolumn={type:b.radio,value:b.levels}),Object.keys(n).length&&(i.searchOptionDto={...i.searchOptionDto,...n})}return console.log("%c[st-varietySearch]: 接口传参数据生成完毕","color: green",i),i},reset:()=>{u.value={varietyMarket:null,commonOption:[],marketIds:[],customTag:[],jcTranslate:{type:null,jcList:[]},factorScreen:{list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:""},commonIndicator:[]}}}),(p,i)=>{var d,c,r,v,o,_;const C=te,O=le,$=Z.ElCheckbox,F=Z.ElCheckboxGroup,y=P.ElOption,l=P.ElSelect;return e.openBlock(),e.createElementBlock("div",Et,[(d=k.value.varietyMarket)!=null&&d.show?(e.openBlock(),e.createElementBlock("div",Ct,[e.createElementVNode("div",Bt,[Tt,e.createElementVNode("span",{onClick:i[0]||(i[0]=n=>S("varietyMarket"))},"不限")]),e.createVNode(O,{modelValue:u.value.varietyMarket,"onUpdate:modelValue":i[1]||(i[1]=n=>u.value.varietyMarket=n),size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,({label:n,value:b})=>(e.openBlock(),e.createBlock(C,{label:n,value:b,key:b},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),(c=k.value.commonOption)!=null&&c.show&&w.value.length?(e.openBlock(),e.createElementBlock("div",Ot,[e.createElementVNode("div",$t,[It,e.createElementVNode("span",{onClick:i[2]||(i[2]=n=>S("commonOption"))},"不限")]),e.createVNode(F,{modelValue:u.value.commonOption,"onUpdate:modelValue":i[3]||(i[3]=n=>u.value.commonOption=n),size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,({label:n,value:b})=>(e.openBlock(),e.createBlock($,{label:n,value:b,key:b},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),(r=k.value.marketIds)!=null&&r.show&&N.value.length?(e.openBlock(),e.createElementBlock("div",St,[e.createElementVNode("div",qt,[Mt,e.createElementVNode("span",{onClick:i[4]||(i[4]=n=>S("marketIds"))},"不限")]),e.createVNode(F,{modelValue:u.value.marketIds,"onUpdate:modelValue":i[5]||(i[5]=n=>u.value.marketIds=n),size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,({label:n,value:b})=>(e.openBlock(),e.createBlock($,{label:n,value:b,key:b},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),(v=k.value.customTag)!=null&&v.show&&f.value.length?(e.openBlock(),e.createElementBlock("div",Rt,[e.createElementVNode("div",Ut,[Ft,e.createElementVNode("span",{onClick:i[6]||(i[6]=n=>S("customTag"))},"不限")]),e.createVNode(F,{modelValue:u.value.customTag,"onUpdate:modelValue":i[7]||(i[7]=n=>u.value.customTag=n),size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,({label:n,value:b})=>(e.openBlock(),e.createBlock($,{label:n,value:b,key:b},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0),(o=k.value.jcTranslate)!=null&&o.show?(e.openBlock(),e.createElementBlock("div",Dt,[e.createElementVNode("div",Lt,[zt,e.createElementVNode("span",{onClick:i[8]||(i[8]=n=>S("jcTranslate"))},"不限")]),e.createVNode(O,{modelValue:u.value.jcTranslate.type,"onUpdate:modelValue":i[9]||(i[9]=n=>u.value.jcTranslate.type=n),size:"small"},{default:e.withCtx(()=>[e.createVNode(C,{value:2},{default:e.withCtx(()=>[e.createTextVNode("价差转品种")]),_:1}),e.createVNode(C,{value:1},{default:e.withCtx(()=>[e.createTextVNode("品种转价差")]),_:1})]),_:1},8,["modelValue"]),e.withDirectives(e.createVNode(l,{modelValue:u.value.jcTranslate.jcList,"onUpdate:modelValue":i[10]||(i[10]=n=>u.value.jcTranslate.jcList=n),size:"small",multiple:"","collapse-tags":"","collapse-tags-tooltip":"",placeholder:"请选择价差品种",style:{width:"140px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,n=>(e.openBlock(),e.createBlock(y,{key:n.value,label:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),[[e.vShow,u.value.jcTranslate.type===1]])])):e.createCommentVNode("",!0),(_=k.value.factorScreen)!=null&&_.show?(e.openBlock(),e.createElementBlock("div",jt,[e.createElementVNode("div",Pt,[Gt,e.createElementVNode("span",{onClick:i[11]||(i[11]=n=>S("factorScreen"))},"不限")]),e.createVNode(Qe,{data:u.value.factorScreen,"onUpdate:data":i[12]||(i[12]=n=>u.value.factorScreen=n),config:k.value.factorScreen},null,8,["data","config"])])):e.createCommentVNode("",!0),e.createVNode(wt,{data:u.value.commonIndicator,"onUpdate:data":i[13]||(i[13]=n=>u.value.commonIndicator=n),varietyMarket:u.value.varietyMarket,commonOption:u.value.commonOption,config:k.value.commonIndicator},null,8,["data","varietyMarket","commonOption","config"])])}}},At=ee._export_sfc(Yt,[["__scopeId","data-v-efd872de"]]),Jt={install(m){m.component("st-varietySearch",At)}};module.exports=Jt;
1
+ "use strict";const O=require("./base-bdc10baa.cjs");require("./el-tag-8d49d4d2.cjs");const lu=require("./el-select-1d2309a1.cjs");require("./el-scrollbar-8bf765f2.cjs");const Zu=require("./el-popper-14a9d493.cjs"),re=require("./el-message-box-6694f827.cjs"),Du=require("./el-table-column-be9a76bb.cjs"),t=require("vue"),Hu=require("./el-dialog-cd484c1f.cjs");require("./el-overlay-e5d318c3.cjs");const oe=require("./el-form-item-e1c3104b.cjs"),Fe=require("./el-input-5163bda3.cjs"),we=require("./el-input-number-eb54cde4.cjs");require("./el-tooltip-0ea8fbf8.cjs");const Ae=require("./el-button-960edd49.cjs"),ru=require("./index-19fa1fcf.cjs"),i0=require("./index.vue_vue_type_script_setup_true_lang-4024853c.cjs"),P=require("./el-message-ad87b9dd.cjs"),Gu=require("./_plugin-vue_export-helper-f246444f.cjs"),Ve=require("./index-a99a5307.cjs"),s0=require("./index-b90c746b.cjs"),cu=require("./use-form-common-props-592797e2.cjs"),Fu=require("./index-d94bae37.cjs"),d0=require("./index-8d3c5e96.cjs"),f0=require("./index-02ca0096.cjs");require("./castArray-37eb9980.cjs");require("./index-5b81f4da.cjs");require("./scroll-4769a65d.cjs");require("./debounce-9e323221.cjs");require("./validator-af488a9a.cjs");require("./use-global-config-584b62f1.cjs");require("./_initCloneObject-9ccbb113.cjs");require("./raf-07cb6953.cjs");require("./vnode-1b827c99.cjs");require("./typescript-b63f8e83.cjs");require("./index-eea0bcb3.cjs");require("./config-provider-ec6b09df.cjs");require("./dropdown-b2dab5bb.cjs");const Be=O.buildProps({modelValue:{type:[String,Number,Boolean],default:void 0},size:cu.useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),p0=O.buildProps({...Be,border:Boolean}),Te={[Fu.UPDATE_MODEL_EVENT]:u=>O.isString(u)||O.isNumber(u)||O.isBoolean(u),[Fu.CHANGE_EVENT]:u=>O.isString(u)||O.isNumber(u)||O.isBoolean(u)},Ne=Symbol("radioGroupKey"),Se=(u,e)=>{const n=t.ref(),r=t.inject(Ne,void 0),o=t.computed(()=>!!r),a=t.computed(()=>O.isPropAbsent(u.value)?u.label:u.value),c=t.computed({get(){return o.value?r.modelValue:u.modelValue},set(d){o.value?r.changeEvent(d):e&&e(Fu.UPDATE_MODEL_EVENT,d),n.value.checked=u.modelValue===a.value}}),l=cu.useFormSize(t.computed(()=>r==null?void 0:r.size)),s=cu.useFormDisabled(t.computed(()=>r==null?void 0:r.disabled)),i=t.ref(!1),p=t.computed(()=>s.value||o.value&&c.value!==a.value?-1:0);return d0.useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},t.computed(()=>o.value&&O.isPropAbsent(u.value))),{radioRef:n,isGroup:o,radioGroup:r,focus:i,size:l,disabled:s,tabIndex:p,modelValue:c,actualValue:a}},b0=t.defineComponent({name:"ElRadio"}),h0=t.defineComponent({...b0,props:p0,emits:Te,setup(u,{emit:e}){const n=u,r=O.useNamespace("radio"),{radioRef:o,radioGroup:a,focus:c,size:l,disabled:s,modelValue:i,actualValue:p}=Se(n,e);function d(){t.nextTick(()=>e("change",i.value))}return(b,_)=>{var h;return t.openBlock(),t.createElementBlock("label",{class:t.normalizeClass([t.unref(r).b(),t.unref(r).is("disabled",t.unref(s)),t.unref(r).is("focus",t.unref(c)),t.unref(r).is("bordered",b.border),t.unref(r).is("checked",t.unref(i)===t.unref(p)),t.unref(r).m(t.unref(l))])},[t.createElementVNode("span",{class:t.normalizeClass([t.unref(r).e("input"),t.unref(r).is("disabled",t.unref(s)),t.unref(r).is("checked",t.unref(i)===t.unref(p))])},[t.withDirectives(t.createElementVNode("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":F=>t.isRef(i)?i.value=F:null,class:t.normalizeClass(t.unref(r).e("original")),value:t.unref(p),name:b.name||((h=t.unref(a))==null?void 0:h.name),disabled:t.unref(s),checked:t.unref(i)===t.unref(p),type:"radio",onFocus:F=>c.value=!0,onBlur:F=>c.value=!1,onChange:d,onClick:t.withModifiers(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[t.vModelRadio,t.unref(i)]]),t.createElementVNode("span",{class:t.normalizeClass(t.unref(r).e("inner"))},null,2)],2),t.createElementVNode("span",{class:t.normalizeClass(t.unref(r).e("label")),onKeydown:t.withModifiers(()=>{},["stop"])},[t.renderSlot(b.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(b.label),1)])],42,["onKeydown"])],2)}}});var m0=O._export_sfc(h0,[["__file","radio.vue"]]);const x0=O.buildProps({...Be}),_0=t.defineComponent({name:"ElRadioButton"}),k0=t.defineComponent({..._0,props:x0,setup(u){const e=u,n=O.useNamespace("radio"),{radioRef:r,focus:o,size:a,disabled:c,modelValue:l,radioGroup:s,actualValue:i}=Se(e),p=t.computed(()=>({backgroundColor:(s==null?void 0:s.fill)||"",borderColor:(s==null?void 0:s.fill)||"",boxShadow:s!=null&&s.fill?`-1px 0 0 0 ${s.fill}`:"",color:(s==null?void 0:s.textColor)||""}));return(d,b)=>{var _;return t.openBlock(),t.createElementBlock("label",{class:t.normalizeClass([t.unref(n).b("button"),t.unref(n).is("active",t.unref(l)===t.unref(i)),t.unref(n).is("disabled",t.unref(c)),t.unref(n).is("focus",t.unref(o)),t.unref(n).bm("button",t.unref(a))])},[t.withDirectives(t.createElementVNode("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":h=>t.isRef(l)?l.value=h:null,class:t.normalizeClass(t.unref(n).be("button","original-radio")),value:t.unref(i),type:"radio",name:d.name||((_=t.unref(s))==null?void 0:_.name),disabled:t.unref(c),onFocus:h=>o.value=!0,onBlur:h=>o.value=!1,onClick:t.withModifiers(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[t.vModelRadio,t.unref(l)]]),t.createElementVNode("span",{class:t.normalizeClass(t.unref(n).be("button","inner")),style:t.normalizeStyle(t.unref(l)===t.unref(i)?t.unref(p):{}),onKeydown:t.withModifiers(()=>{},["stop"])},[t.renderSlot(d.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(d.label),1)])],46,["onKeydown"])],2)}}});var Ie=O._export_sfc(k0,[["__file","radio-button.vue"]]);const g0=O.buildProps({id:{type:String,default:void 0},size:cu.useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...Zu.useAriaProps(["ariaLabel"])}),y0=Te,v0=t.defineComponent({name:"ElRadioGroup"}),C0=t.defineComponent({...v0,props:g0,emits:y0,setup(u,{emit:e}){const n=u,r=O.useNamespace("radio"),o=f0.useId(),a=t.ref(),{formItem:c}=cu.useFormItem(),{inputId:l,isLabeledByFormItem:s}=cu.useFormItemInputId(n,{formItemContext:c}),i=d=>{e(Fu.UPDATE_MODEL_EVENT,d),t.nextTick(()=>e("change",d))};t.onMounted(()=>{const d=a.value.querySelectorAll("[type=radio]"),b=d[0];!Array.from(d).some(_=>_.checked)&&b&&(b.tabIndex=0)});const p=t.computed(()=>n.name||o.value);return t.provide(Ne,t.reactive({...t.toRefs(n),changeEvent:i,name:p})),t.watch(()=>n.modelValue,()=>{n.validateEvent&&(c==null||c.validate("change").catch(d=>O.debugWarn(d)))}),(d,b)=>(t.openBlock(),t.createElementBlock("div",{id:t.unref(l),ref_key:"radioGroupRef",ref:a,class:t.normalizeClass(t.unref(r).b("group")),role:"radiogroup","aria-label":t.unref(s)?void 0:d.ariaLabel||"radio-group","aria-labelledby":t.unref(s)?t.unref(c).labelId:void 0},[t.renderSlot(d.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}});var Oe=O._export_sfc(C0,[["__file","radio-group.vue"]]);const Ju=O.withInstall(m0,{RadioButton:Ie,RadioGroup:Oe}),Wu=O.withNoopInstall(Oe),Me=O.withNoopInstall(Ie);const ae={varietyMarket:{show:!0,options:[]},commonOption:{show:!0,options:[]},marketIds:{show:!0,options:[]},customTag:{show:!0,options:[]},jcTranslate:{show:!0,jcOptions:[{label:"恒指",value:"HZCFJC"},{label:"恒生科技",value:"HSKJJC"},{label:"上证50",value:"SZ50CFJC"},{label:"沪深300",value:"HS300CFJC"},{label:"中证500",value:"ZZ500CFJC"},{label:"中证1000",value:"ZZ1000JC"}]},factorScreen:{show:!0,sqlShow:!1,cycleShow:!0,cycleDefault:null,cycleOptions:[],factorOptions:[],factorDescriptions:[]},commonIndicator:{show:!0,options:[{key:"marketCapital",label:"总市值",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,10],unit:["亿","亿"],text:"≤10亿"},{range:[null,25],unit:["亿","亿"],text:"≤25亿"},{range:[null,50],unit:["亿","亿"],text:"≤50亿"},{range:[20,50],unit:["亿","亿"],text:"20亿~50亿"},{range:[100,null],unit:["亿","亿"],text:"≥100亿"},{range:[200,null],unit:["亿","亿"],text:"≥200亿"},{range:[500,null],unit:["亿","亿"],text:"≥500亿"},{range:[1e3,null],unit:["亿","亿"],text:"≥1000亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"]},{key:"floatMarketCapital",label:"流通市值",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,5],unit:["亿","亿"],text:"≤5亿"},{range:[null,20],unit:["亿","亿"],text:"≤20亿"},{range:[null,50],unit:["亿","亿"],text:"≤50亿"},{range:[null,100],unit:["亿","亿"],text:"≤100亿"},{range:[100,null],unit:["亿","亿"],text:"≥100亿"},{range:[200,null],unit:["亿","亿"],text:"≥200亿"},{range:[500,null],unit:["亿","亿"],text:"≥500亿"},{range:[1e3,null],unit:["亿","亿"],text:"≥1000亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"]},{key:"totalShares",label:"总股本",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,5],unit:["亿","亿"],text:"≤5亿"},{range:[null,10],unit:["亿","亿"],text:"≤10亿"},{range:[null,75],unit:["亿","亿"],text:"≤75亿"},{range:[10,75],unit:["亿","亿"],text:"10亿~75亿"},{range:[100,null],unit:["亿","亿"],text:"≥100亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"]},{key:"freeFloatShares",label:"流通股本",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,5],unit:["千万","千万"],text:"≤5千万"},{range:[5,3],unit:["千万","亿"],text:"5千万~3亿"},{range:[null,5],unit:["亿","亿"],text:"≤5亿"},{range:[null,10],unit:["亿","亿"],text:"≤10亿"},{range:[8,30],unit:["亿","亿"],text:"8亿~30亿"},{range:[30,null],unit:["亿","亿"],text:"≥30亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"]},{key:"turnoverRate",label:"换手率(实)",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,1],unit:["%","%"],text:"≤1%"},{range:[1,5],unit:["%","%"],text:"1%~5%"},{range:[5,10],unit:["%","%"],text:"5%~10%"},{range:[10,null],unit:["%","%"],text:"≥10%"}],defaultUnit:["%","%"],unitOptions:["%"]},{key:"peTtm",label:"市盈率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,0],unit:[],text:"亏损"},{range:[0,null],unit:[],text:"≥0"},{range:[0,20],unit:[],text:"0~20"},{range:[20,40],unit:[],text:"20~40"},{range:[40,100],unit:[],text:"40~100"},{range:[100,null],unit:[],text:"≥100"}],defaultUnit:[],unitOptions:[]},{key:"eps",label:"每股净收益",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,0],unit:["元","元"],text:"≤0"},{range:[0,null],unit:["元","元"],text:"≥0"},{range:[.2,null],unit:["元","元"],text:"≥0.2元"},{range:[.5,null],unit:["元","元"],text:"≥0.5元"},{range:[1,null],unit:["元","元"],text:"≥1元"},{range:[2,null],unit:["元","元"],text:"≥2元"}],defaultUnit:["元","元"],unitOptions:["元"]},{key:"st",label:"是否ST",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"pb",label:"市净率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[0,null],unit:[],text:"≥0"},{range:[0,1],unit:[],text:"0~1"},{range:[1,2],unit:[],text:"1~2"},{range:[0,3],unit:[],text:"0~3"},{range:[3,null],unit:[],text:"≥3"}],defaultUnit:[],unitOptions:[]},{key:"mnShr",label:"成交额",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[0,1],unit:["亿","亿"],text:"0~1亿"},{range:[0,5],unit:["亿","亿"],text:"0~5亿"},{range:[0,10],unit:["亿","亿"],text:"0~10亿"},{range:[10,null],unit:["亿","亿"],text:"≥10亿"},{range:[50,null],unit:["亿","亿"],text:"≥50亿"},{range:[100,null],unit:["亿","亿"],text:"≥100亿"}],defaultUnit:["亿","亿"],unitOptions:["元","千万","亿"],showRankType:!0,defaultRadioType:"1",defaultRankRange:[0,25]},{key:"perVolumn",label:"成交量",type:"custom",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]}},{key:"roe",label:"净资产收益率roe",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,0],unit:["%","%"],text:"<0"},{range:[0,null],unit:["%","%"],text:">0"},{range:[10,null],unit:["%","%"],text:">10%"},{range:[15,null],unit:["%","%"],text:">15%"},{range:[20,null],unit:["%","%"],text:">20%"},{range:[30,null],unit:["%","%"],text:">30%"}],defaultUnit:["%","%"],unitOptions:["%"]},{key:"tFeaturelncomes",label:"净利润",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"dividendYield",label:"股息率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},convenientOptions:[{range:[null,1],unit:["%","%"],text:"≤1%"},{range:[1,5],unit:["%","%"],text:"1%~5%"},{range:[5,10],unit:["%","%"],text:"5%~10%"},{range:[10,null],unit:["%","%"],text:"≥10%"}],defaultUnit:["%","%"],unitOptions:["%"]},{key:"priceLevels",label:"股价分位",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"peTtmLevels",label:"市盈率分位",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"mainFlow",label:"主力净流入资金",type:"custom",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]}},{key:"incrementRevenueLyr",label:"营业收入增长率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},defaultUnit:["%","%"],unitOptions:["%"]},{key:"netProfitGrowthRatioLyr",label:"净利润增长率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},defaultUnit:["%","%"],unitOptions:["%"]},{key:"fiveYearRoe",label:"5年净资产收益率",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},defaultUnit:["%","%"],unitOptions:["%"]},{key:"auditOpinionType",label:"年报审计意见",parent:{varietyMarketIds:[3,5,7],commonOptionIds:[4,6,12,14,15,16]},type:"custom"},{key:"expireDays",label:"过期天数",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["天","天"],unitOptions:["天"]},{key:"virtualRealDegree",label:"虚实度",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["%","%"],unitOptions:["%"]},{key:"yearProfitRate",label:"年化收益率",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["%","%"],unitOptions:["%"]},{key:"impliedVolatility",label:"隐含波动率",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["%","%"],unitOptions:["%"]},{key:"levelMultiplier",label:"杠杆率",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:[],unitOptions:[]},{key:"turnover",label:"成交额(期权)",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:["万","万"],unitOptions:["万"],showRankType:!0,defaultRadioType:"1",defaultRankRange:[0,25]},{key:"volume",label:"成交量(期权)",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:[],unitOptions:[],showRankType:!0,defaultRadioType:"1",defaultRankRange:[0,25]},{key:"openInterest",label:"持仓量",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:[],unitOptions:[],showRankType:!0,defaultRadioType:"1",defaultRankRange:[0,25]},{key:"optionsCpType",label:"认沽认购",parent:{varietyMarketIds:[8],commonOptionIds:[11]},type:"custom"},{key:"optionGear",label:"期权档位",parent:{varietyMarketIds:[8],commonOptionIds:[11]},convenientOptions:[],defaultUnit:[],unitOptions:[]}]}};const E0=(u,e,n)=>{!e[0]&&e[0]!==0&&!e[1]&&e[1]!==0?n(new Error("至少填写一个分数")):n()},le=u=>{const e=/(条件(\d+))/g;return u.match(e)||[]},ce={};function D0(u){let e=ce[u];if(e)return e;e=ce[u]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);e.push(r)}for(let n=0;n<u.length;n++){const r=u.charCodeAt(n);e[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return e}function iu(u,e){typeof e!="string"&&(e=iu.defaultChars);const n=D0(e);return u.replace(/(%[a-f0-9]{2})+/gi,function(r){let o="";for(let a=0,c=r.length;a<c;a+=3){const l=parseInt(r.slice(a+1,a+3),16);if(l<128){o+=n[l];continue}if((l&224)===192&&a+3<c){const s=parseInt(r.slice(a+4,a+6),16);if((s&192)===128){const i=l<<6&1984|s&63;i<128?o+="��":o+=String.fromCharCode(i),a+=3;continue}}if((l&240)===224&&a+6<c){const s=parseInt(r.slice(a+4,a+6),16),i=parseInt(r.slice(a+7,a+9),16);if((s&192)===128&&(i&192)===128){const p=l<<12&61440|s<<6&4032|i&63;p<2048||p>=55296&&p<=57343?o+="���":o+=String.fromCharCode(p),a+=6;continue}}if((l&248)===240&&a+9<c){const s=parseInt(r.slice(a+4,a+6),16),i=parseInt(r.slice(a+7,a+9),16),p=parseInt(r.slice(a+10,a+12),16);if((s&192)===128&&(i&192)===128&&(p&192)===128){let d=l<<18&1835008|s<<12&258048|i<<6&4032|p&63;d<65536||d>1114111?o+="����":(d-=65536,o+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),a+=9;continue}}o+="�"}return o})}iu.defaultChars=";/?:@&=+$,#";iu.componentChars="";const ie={};function F0(u){let e=ie[u];if(e)return e;e=ie[u]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?e.push(r):e.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<u.length;n++)e[u.charCodeAt(n)]=u[n];return e}function _u(u,e,n){typeof e!="string"&&(n=e,e=_u.defaultChars),typeof n>"u"&&(n=!0);const r=F0(e);let o="";for(let a=0,c=u.length;a<c;a++){const l=u.charCodeAt(a);if(n&&l===37&&a+2<c&&/^[0-9a-f]{2}$/i.test(u.slice(a+1,a+3))){o+=u.slice(a,a+3),a+=2;continue}if(l<128){o+=r[l];continue}if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&a+1<c){const s=u.charCodeAt(a+1);if(s>=56320&&s<=57343){o+=encodeURIComponent(u[a]+u[a+1]),a++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(u[a])}return o}_u.defaultChars=";/?:@&=+$,-_.!~*'()#";_u.componentChars="-_.!~*'()";function Qu(u){let e="";return e+=u.protocol||"",e+=u.slashes?"//":"",e+=u.auth?u.auth+"@":"",u.hostname&&u.hostname.indexOf(":")!==-1?e+="["+u.hostname+"]":e+=u.hostname||"",e+=u.port?":"+u.port:"",e+=u.pathname||"",e+=u.search||"",e+=u.hash||"",e}function wu(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const w0=/^([a-z0-9.+-]+:)/i,A0=/:[0-9]*$/,V0=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,B0=["<",">",'"',"`"," ","\r",`
2
+ `," "],T0=["{","}","|","\\","^","`"].concat(B0),N0=["'"].concat(T0),se=["%","/","?",";","#"].concat(N0),de=["/","?","#"],S0=255,fe=/^[+a-z0-9A-Z_-]{0,63}$/,I0=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,pe={javascript:!0,"javascript:":!0},be={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Yu(u,e){if(u&&u instanceof wu)return u;const n=new wu;return n.parse(u,e),n}wu.prototype.parse=function(u,e){let n,r,o,a=u;if(a=a.trim(),!e&&u.split("#").length===1){const i=V0.exec(a);if(i)return this.pathname=i[1],i[2]&&(this.search=i[2]),this}let c=w0.exec(a);if(c&&(c=c[0],n=c.toLowerCase(),this.protocol=c,a=a.substr(c.length)),(e||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=a.substr(0,2)==="//",o&&!(c&&pe[c])&&(a=a.substr(2),this.slashes=!0)),!pe[c]&&(o||c&&!be[c])){let i=-1;for(let h=0;h<de.length;h++)r=a.indexOf(de[h]),r!==-1&&(i===-1||r<i)&&(i=r);let p,d;i===-1?d=a.lastIndexOf("@"):d=a.lastIndexOf("@",i),d!==-1&&(p=a.slice(0,d),a=a.slice(d+1),this.auth=p),i=-1;for(let h=0;h<se.length;h++)r=a.indexOf(se[h]),r!==-1&&(i===-1||r<i)&&(i=r);i===-1&&(i=a.length),a[i-1]===":"&&i--;const b=a.slice(0,i);a=a.slice(i),this.parseHost(b),this.hostname=this.hostname||"";const _=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!_){const h=this.hostname.split(/\./);for(let F=0,w=h.length;F<w;F++){const E=h[F];if(E&&!E.match(fe)){let f="";for(let k=0,x=E.length;k<x;k++)E.charCodeAt(k)>127?f+="x":f+=E[k];if(!f.match(fe)){const k=h.slice(0,F),x=h.slice(F+1),m=E.match(I0);m&&(k.push(m[1]),x.unshift(m[2])),x.length&&(a=x.join(".")+a),this.hostname=k.join(".");break}}}}this.hostname.length>S0&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=a.indexOf("#");l!==-1&&(this.hash=a.substr(l),a=a.slice(0,l));const s=a.indexOf("?");return s!==-1&&(this.search=a.substr(s),a=a.slice(0,s)),a&&(this.pathname=a),be[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};wu.prototype.parseHost=function(u){let e=A0.exec(u);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),u=u.substr(0,u.length-e.length)),u&&(this.hostname=u)};const O0=Object.freeze(Object.defineProperty({__proto__:null,decode:iu,encode:_u,format:Qu,parse:Yu},Symbol.toStringTag,{value:"Module"})),qe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,$e=/[\0-\x1F\x7F-\x9F]/,M0=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Ku=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Re=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,ze=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,q0=Object.freeze(Object.defineProperty({__proto__:null,Any:qe,Cc:$e,Cf:M0,P:Ku,S:Re,Z:ze},Symbol.toStringTag,{value:"Module"})),$0=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(u=>u.charCodeAt(0))),R0=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(u=>u.charCodeAt(0)));var Ou;const z0=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),L0=(Ou=String.fromCodePoint)!==null&&Ou!==void 0?Ou:function(u){let e="";return u>65535&&(u-=65536,e+=String.fromCharCode(u>>>10&1023|55296),u=56320|u&1023),e+=String.fromCharCode(u),e};function P0(u){var e;return u>=55296&&u<=57343||u>1114111?65533:(e=z0.get(u))!==null&&e!==void 0?e:u}var R;(function(u){u[u.NUM=35]="NUM",u[u.SEMI=59]="SEMI",u[u.EQUALS=61]="EQUALS",u[u.ZERO=48]="ZERO",u[u.NINE=57]="NINE",u[u.LOWER_A=97]="LOWER_A",u[u.LOWER_F=102]="LOWER_F",u[u.LOWER_X=120]="LOWER_X",u[u.LOWER_Z=122]="LOWER_Z",u[u.UPPER_A=65]="UPPER_A",u[u.UPPER_F=70]="UPPER_F",u[u.UPPER_Z=90]="UPPER_Z"})(R||(R={}));const U0=32;var eu;(function(u){u[u.VALUE_LENGTH=49152]="VALUE_LENGTH",u[u.BRANCH_LENGTH=16256]="BRANCH_LENGTH",u[u.JUMP_TABLE=127]="JUMP_TABLE"})(eu||(eu={}));function Pu(u){return u>=R.ZERO&&u<=R.NINE}function j0(u){return u>=R.UPPER_A&&u<=R.UPPER_F||u>=R.LOWER_A&&u<=R.LOWER_F}function Z0(u){return u>=R.UPPER_A&&u<=R.UPPER_Z||u>=R.LOWER_A&&u<=R.LOWER_Z||Pu(u)}function H0(u){return u===R.EQUALS||Z0(u)}var $;(function(u){u[u.EntityStart=0]="EntityStart",u[u.NumericStart=1]="NumericStart",u[u.NumericDecimal=2]="NumericDecimal",u[u.NumericHex=3]="NumericHex",u[u.NamedEntity=4]="NamedEntity"})($||($={}));var uu;(function(u){u[u.Legacy=0]="Legacy",u[u.Strict=1]="Strict",u[u.Attribute=2]="Attribute"})(uu||(uu={}));class G0{constructor(e,n,r){this.decodeTree=e,this.emitCodePoint=n,this.errors=r,this.state=$.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=uu.Strict}startEntity(e){this.decodeMode=e,this.state=$.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,n){switch(this.state){case $.EntityStart:return e.charCodeAt(n)===R.NUM?(this.state=$.NumericStart,this.consumed+=1,this.stateNumericStart(e,n+1)):(this.state=$.NamedEntity,this.stateNamedEntity(e,n));case $.NumericStart:return this.stateNumericStart(e,n);case $.NumericDecimal:return this.stateNumericDecimal(e,n);case $.NumericHex:return this.stateNumericHex(e,n);case $.NamedEntity:return this.stateNamedEntity(e,n)}}stateNumericStart(e,n){return n>=e.length?-1:(e.charCodeAt(n)|U0)===R.LOWER_X?(this.state=$.NumericHex,this.consumed+=1,this.stateNumericHex(e,n+1)):(this.state=$.NumericDecimal,this.stateNumericDecimal(e,n))}addToNumericResult(e,n,r,o){if(n!==r){const a=r-n;this.result=this.result*Math.pow(o,a)+parseInt(e.substr(n,a),o),this.consumed+=a}}stateNumericHex(e,n){const r=n;for(;n<e.length;){const o=e.charCodeAt(n);if(Pu(o)||j0(o))n+=1;else return this.addToNumericResult(e,r,n,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(e,r,n,16),-1}stateNumericDecimal(e,n){const r=n;for(;n<e.length;){const o=e.charCodeAt(n);if(Pu(o))n+=1;else return this.addToNumericResult(e,r,n,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(e,r,n,10),-1}emitNumericEntity(e,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===R.SEMI)this.consumed+=1;else if(this.decodeMode===uu.Strict)return 0;return this.emitCodePoint(P0(this.result),this.consumed),this.errors&&(e!==R.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,n){const{decodeTree:r}=this;let o=r[this.treeIndex],a=(o&eu.VALUE_LENGTH)>>14;for(;n<e.length;n++,this.excess++){const c=e.charCodeAt(n);if(this.treeIndex=J0(r,o,this.treeIndex+Math.max(1,a),c),this.treeIndex<0)return this.result===0||this.decodeMode===uu.Attribute&&(a===0||H0(c))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],a=(o&eu.VALUE_LENGTH)>>14,a!==0){if(c===R.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==uu.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:n,decodeTree:r}=this,o=(r[n]&eu.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,o,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,n,r){const{decodeTree:o}=this;return this.emitCodePoint(n===1?o[e]&~eu.VALUE_LENGTH:o[e+1],r),n===3&&this.emitCodePoint(o[e+2],r),r}end(){var e;switch(this.state){case $.NamedEntity:return this.result!==0&&(this.decodeMode!==uu.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case $.NumericDecimal:return this.emitNumericEntity(0,2);case $.NumericHex:return this.emitNumericEntity(0,3);case $.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case $.EntityStart:return 0}}}function Le(u){let e="";const n=new G0(u,r=>e+=L0(r));return function(o,a){let c=0,l=0;for(;(l=o.indexOf("&",l))>=0;){e+=o.slice(c,l),n.startEntity(a);const i=n.write(o,l+1);if(i<0){c=l+n.end();break}c=l+i,l=i===0?c+1:c}const s=e+o.slice(c);return e="",s}}function J0(u,e,n,r){const o=(e&eu.BRANCH_LENGTH)>>7,a=e&eu.JUMP_TABLE;if(o===0)return a!==0&&r===a?n:-1;if(a){const s=r-a;return s<0||s>=o?-1:u[n+s]-1}let c=n,l=c+o-1;for(;c<=l;){const s=c+l>>>1,i=u[s];if(i<r)c=s+1;else if(i>r)l=s-1;else return u[s+o]}return-1}const W0=Le($0);Le(R0);function Pe(u,e=uu.Legacy){return W0(u,e)}function Q0(u){return Object.prototype.toString.call(u)}function Xu(u){return Q0(u)==="[object String]"}const Y0=Object.prototype.hasOwnProperty;function K0(u,e){return Y0.call(u,e)}function Bu(u){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){u[r]=n[r]})}}),u}function Ue(u,e,n){return[].concat(u.slice(0,e),n,u.slice(e+1))}function ue(u){return!(u>=55296&&u<=57343||u>=64976&&u<=65007||(u&65535)===65535||(u&65535)===65534||u>=0&&u<=8||u===11||u>=14&&u<=31||u>=127&&u<=159||u>1114111)}function Au(u){if(u>65535){u-=65536;const e=55296+(u>>10),n=56320+(u&1023);return String.fromCharCode(e,n)}return String.fromCharCode(u)}const je=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,X0=/&([a-z#][a-z0-9]{1,31});/gi,ut=new RegExp(je.source+"|"+X0.source,"gi"),et=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function tt(u,e){if(e.charCodeAt(0)===35&&et.test(e)){const r=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return ue(r)?Au(r):u}const n=Pe(u);return n!==u?n:u}function nt(u){return u.indexOf("\\")<0?u:u.replace(je,"$1")}function su(u){return u.indexOf("\\")<0&&u.indexOf("&")<0?u:u.replace(ut,function(e,n,r){return n||tt(e,r)})}const rt=/[&<>"]/,ot=/[&<>"]/g,at={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function lt(u){return at[u]}function tu(u){return rt.test(u)?u.replace(ot,lt):u}const ct=/[.?*+^$[\]\\(){}|-]/g;function it(u){return u.replace(ct,"\\$&")}function I(u){switch(u){case 9:case 32:return!0}return!1}function bu(u){if(u>=8192&&u<=8202)return!0;switch(u){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function hu(u){return Ku.test(u)||Re.test(u)}function mu(u){switch(u){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Tu(u){return u=u.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(u=u.replace(/ẞ/g,"ß")),u.toLowerCase().toUpperCase()}const st={mdurl:O0,ucmicro:q0},dt=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Ue,assign:Bu,escapeHtml:tu,escapeRE:it,fromCodePoint:Au,has:K0,isMdAsciiPunct:mu,isPunctChar:hu,isSpace:I,isString:Xu,isValidEntityCode:ue,isWhiteSpace:bu,lib:st,normalizeReference:Tu,unescapeAll:su,unescapeMd:nt},Symbol.toStringTag,{value:"Module"}));function ft(u,e,n){let r,o,a,c;const l=u.posMax,s=u.pos;for(u.pos=e+1,r=1;u.pos<l;){if(a=u.src.charCodeAt(u.pos),a===93&&(r--,r===0)){o=!0;break}if(c=u.pos,u.md.inline.skipToken(u),a===91){if(c===u.pos-1)r++;else if(n)return u.pos=s,-1}}let i=-1;return o&&(i=u.pos),u.pos=s,i}function pt(u,e,n){let r,o=e;const a={ok:!1,pos:0,str:""};if(u.charCodeAt(o)===60){for(o++;o<n;){if(r=u.charCodeAt(o),r===10||r===60)return a;if(r===62)return a.pos=o+1,a.str=su(u.slice(e+1,o)),a.ok=!0,a;if(r===92&&o+1<n){o+=2;continue}o++}return a}let c=0;for(;o<n&&(r=u.charCodeAt(o),!(r===32||r<32||r===127));){if(r===92&&o+1<n){if(u.charCodeAt(o+1)===32)break;o+=2;continue}if(r===40&&(c++,c>32))return a;if(r===41){if(c===0)break;c--}o++}return e===o||c!==0||(a.str=su(u.slice(e,o)),a.pos=o,a.ok=!0),a}function bt(u,e,n,r){let o,a=e;const c={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)c.str=r.str,c.marker=r.marker;else{if(a>=n)return c;let l=u.charCodeAt(a);if(l!==34&&l!==39&&l!==40)return c;e++,a++,l===40&&(l=41),c.marker=l}for(;a<n;){if(o=u.charCodeAt(a),o===c.marker)return c.pos=a+1,c.str+=su(u.slice(e,a)),c.ok=!0,c;if(o===40&&c.marker===41)return c;o===92&&a+1<n&&a++,a++}return c.can_continue=!0,c.str+=su(u.slice(e,a)),c}const ht=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:pt,parseLinkLabel:ft,parseLinkTitle:bt},Symbol.toStringTag,{value:"Module"})),Q={};Q.code_inline=function(u,e,n,r,o){const a=u[e];return"<code"+o.renderAttrs(a)+">"+tu(a.content)+"</code>"};Q.code_block=function(u,e,n,r,o){const a=u[e];return"<pre"+o.renderAttrs(a)+"><code>"+tu(u[e].content)+`</code></pre>
3
+ `};Q.fence=function(u,e,n,r,o){const a=u[e],c=a.info?su(a.info).trim():"";let l="",s="";if(c){const p=c.split(/(\s+)/g);l=p[0],s=p.slice(2).join("")}let i;if(n.highlight?i=n.highlight(a.content,l,s)||tu(a.content):i=tu(a.content),i.indexOf("<pre")===0)return i+`
4
+ `;if(c){const p=a.attrIndex("class"),d=a.attrs?a.attrs.slice():[];p<0?d.push(["class",n.langPrefix+l]):(d[p]=d[p].slice(),d[p][1]+=" "+n.langPrefix+l);const b={attrs:d};return`<pre><code${o.renderAttrs(b)}>${i}</code></pre>
5
+ `}return`<pre><code${o.renderAttrs(a)}>${i}</code></pre>
6
+ `};Q.image=function(u,e,n,r,o){const a=u[e];return a.attrs[a.attrIndex("alt")][1]=o.renderInlineAsText(a.children,n,r),o.renderToken(u,e,n)};Q.hardbreak=function(u,e,n){return n.xhtmlOut?`<br />
7
+ `:`<br>
8
+ `};Q.softbreak=function(u,e,n){return n.breaks?n.xhtmlOut?`<br />
9
+ `:`<br>
10
+ `:`
11
+ `};Q.text=function(u,e){return tu(u[e].content)};Q.html_block=function(u,e){return u[e].content};Q.html_inline=function(u,e){return u[e].content};function du(){this.rules=Bu({},Q)}du.prototype.renderAttrs=function(e){let n,r,o;if(!e.attrs)return"";for(o="",n=0,r=e.attrs.length;n<r;n++)o+=" "+tu(e.attrs[n][0])+'="'+tu(e.attrs[n][1])+'"';return o};du.prototype.renderToken=function(e,n,r){const o=e[n];let a="";if(o.hidden)return"";o.block&&o.nesting!==-1&&n&&e[n-1].hidden&&(a+=`
12
+ `),a+=(o.nesting===-1?"</":"<")+o.tag,a+=this.renderAttrs(o),o.nesting===0&&r.xhtmlOut&&(a+=" /");let c=!1;if(o.block&&(c=!0,o.nesting===1&&n+1<e.length)){const l=e[n+1];(l.type==="inline"||l.hidden||l.nesting===-1&&l.tag===o.tag)&&(c=!1)}return a+=c?`>
13
+ `:">",a};du.prototype.renderInline=function(u,e,n){let r="";const o=this.rules;for(let a=0,c=u.length;a<c;a++){const l=u[a].type;typeof o[l]<"u"?r+=o[l](u,a,e,n,this):r+=this.renderToken(u,a,e)}return r};du.prototype.renderInlineAsText=function(u,e,n){let r="";for(let o=0,a=u.length;o<a;o++)switch(u[o].type){case"text":r+=u[o].content;break;case"image":r+=this.renderInlineAsText(u[o].children,e,n);break;case"html_inline":case"html_block":r+=u[o].content;break;case"softbreak":case"hardbreak":r+=`
14
+ `;break}return r};du.prototype.render=function(u,e,n){let r="";const o=this.rules;for(let a=0,c=u.length;a<c;a++){const l=u[a].type;l==="inline"?r+=this.renderInline(u[a].children,e,n):typeof o[l]<"u"?r+=o[l](u,a,e,n,this):r+=this.renderToken(u,a,e,n)}return r};function U(){this.__rules__=[],this.__cache__=null}U.prototype.__find__=function(u){for(let e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===u)return e;return-1};U.prototype.__compile__=function(){const u=this,e=[""];u.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){e.indexOf(r)<0&&e.push(r)})}),u.__cache__={},e.forEach(function(n){u.__cache__[n]=[],u.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||u.__cache__[n].push(r.fn))})})};U.prototype.at=function(u,e,n){const r=this.__find__(u),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+u);this.__rules__[r].fn=e,this.__rules__[r].alt=o.alt||[],this.__cache__=null};U.prototype.before=function(u,e,n,r){const o=this.__find__(u),a=r||{};if(o===-1)throw new Error("Parser rule not found: "+u);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null};U.prototype.after=function(u,e,n,r){const o=this.__find__(u),a=r||{};if(o===-1)throw new Error("Parser rule not found: "+u);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null};U.prototype.push=function(u,e,n){const r=n||{};this.__rules__.push({name:u,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null};U.prototype.enable=function(u,e){Array.isArray(u)||(u=[u]);const n=[];return u.forEach(function(r){const o=this.__find__(r);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!0,n.push(r)},this),this.__cache__=null,n};U.prototype.enableOnly=function(u,e){Array.isArray(u)||(u=[u]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(u,e)};U.prototype.disable=function(u,e){Array.isArray(u)||(u=[u]);const n=[];return u.forEach(function(r){const o=this.__find__(r);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!1,n.push(r)},this),this.__cache__=null,n};U.prototype.getRules=function(u){return this.__cache__===null&&this.__compile__(),this.__cache__[u]||[]};function G(u,e,n){this.type=u,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}G.prototype.attrIndex=function(e){if(!this.attrs)return-1;const n=this.attrs;for(let r=0,o=n.length;r<o;r++)if(n[r][0]===e)return r;return-1};G.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]};G.prototype.attrSet=function(e,n){const r=this.attrIndex(e),o=[e,n];r<0?this.attrPush(o):this.attrs[r]=o};G.prototype.attrGet=function(e){const n=this.attrIndex(e);let r=null;return n>=0&&(r=this.attrs[n][1]),r};G.prototype.attrJoin=function(e,n){const r=this.attrIndex(e);r<0?this.attrPush([e,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function Ze(u,e,n){this.src=u,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Ze.prototype.Token=G;const mt=/\r\n?|\n/g,xt=/\0/g;function _t(u){let e;e=u.src.replace(mt,`
15
+ `),e=e.replace(xt,"�"),u.src=e}function kt(u){let e;u.inlineMode?(e=new u.Token("inline","",0),e.content=u.src,e.map=[0,1],e.children=[],u.tokens.push(e)):u.md.block.parse(u.src,u.md,u.env,u.tokens)}function gt(u){const e=u.tokens;for(let n=0,r=e.length;n<r;n++){const o=e[n];o.type==="inline"&&u.md.inline.parse(o.content,u.md,u.env,o.children)}}function yt(u){return/^<a[>\s]/i.test(u)}function vt(u){return/^<\/a\s*>/i.test(u)}function Ct(u){const e=u.tokens;if(u.md.options.linkify)for(let n=0,r=e.length;n<r;n++){if(e[n].type!=="inline"||!u.md.linkify.pretest(e[n].content))continue;let o=e[n].children,a=0;for(let c=o.length-1;c>=0;c--){const l=o[c];if(l.type==="link_close"){for(c--;o[c].level!==l.level&&o[c].type!=="link_open";)c--;continue}if(l.type==="html_inline"&&(yt(l.content)&&a>0&&a--,vt(l.content)&&a++),!(a>0)&&l.type==="text"&&u.md.linkify.test(l.content)){const s=l.content;let i=u.md.linkify.match(s);const p=[];let d=l.level,b=0;i.length>0&&i[0].index===0&&c>0&&o[c-1].type==="text_special"&&(i=i.slice(1));for(let _=0;_<i.length;_++){const h=i[_].url,F=u.md.normalizeLink(h);if(!u.md.validateLink(F))continue;let w=i[_].text;i[_].schema?i[_].schema==="mailto:"&&!/^mailto:/i.test(w)?w=u.md.normalizeLinkText("mailto:"+w).replace(/^mailto:/,""):w=u.md.normalizeLinkText(w):w=u.md.normalizeLinkText("http://"+w).replace(/^http:\/\//,"");const E=i[_].index;if(E>b){const m=new u.Token("text","",0);m.content=s.slice(b,E),m.level=d,p.push(m)}const f=new u.Token("link_open","a",1);f.attrs=[["href",F]],f.level=d++,f.markup="linkify",f.info="auto",p.push(f);const k=new u.Token("text","",0);k.content=w,k.level=d,p.push(k);const x=new u.Token("link_close","a",-1);x.level=--d,x.markup="linkify",x.info="auto",p.push(x),b=i[_].lastIndex}if(b<s.length){const _=new u.Token("text","",0);_.content=s.slice(b),_.level=d,p.push(_)}e[n].children=o=Ue(o,c,p)}}}}const He=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Et=/\((c|tm|r)\)/i,Dt=/\((c|tm|r)\)/ig,Ft={c:"©",r:"®",tm:"™"};function wt(u,e){return Ft[e.toLowerCase()]}function At(u){let e=0;for(let n=u.length-1;n>=0;n--){const r=u[n];r.type==="text"&&!e&&(r.content=r.content.replace(Dt,wt)),r.type==="link_open"&&r.info==="auto"&&e--,r.type==="link_close"&&r.info==="auto"&&e++}}function Vt(u){let e=0;for(let n=u.length-1;n>=0;n--){const r=u[n];r.type==="text"&&!e&&He.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&e--,r.type==="link_close"&&r.info==="auto"&&e++}}function Bt(u){let e;if(u.md.options.typographer)for(e=u.tokens.length-1;e>=0;e--)u.tokens[e].type==="inline"&&(Et.test(u.tokens[e].content)&&At(u.tokens[e].children),He.test(u.tokens[e].content)&&Vt(u.tokens[e].children))}const Tt=/['"]/,he=/['"]/g,me="’";function Cu(u,e,n){return u.slice(0,e)+n+u.slice(e+1)}function Nt(u,e){let n;const r=[];for(let o=0;o<u.length;o++){const a=u[o],c=u[o].level;for(n=r.length-1;n>=0&&!(r[n].level<=c);n--);if(r.length=n+1,a.type!=="text")continue;let l=a.content,s=0,i=l.length;u:for(;s<i;){he.lastIndex=s;const p=he.exec(l);if(!p)break;let d=!0,b=!0;s=p.index+1;const _=p[0]==="'";let h=32;if(p.index-1>=0)h=l.charCodeAt(p.index-1);else for(n=o-1;n>=0&&!(u[n].type==="softbreak"||u[n].type==="hardbreak");n--)if(u[n].content){h=u[n].content.charCodeAt(u[n].content.length-1);break}let F=32;if(s<i)F=l.charCodeAt(s);else for(n=o+1;n<u.length&&!(u[n].type==="softbreak"||u[n].type==="hardbreak");n++)if(u[n].content){F=u[n].content.charCodeAt(0);break}const w=mu(h)||hu(String.fromCharCode(h)),E=mu(F)||hu(String.fromCharCode(F)),f=bu(h),k=bu(F);if(k?d=!1:E&&(f||w||(d=!1)),f?b=!1:w&&(k||E||(b=!1)),F===34&&p[0]==='"'&&h>=48&&h<=57&&(b=d=!1),d&&b&&(d=w,b=E),!d&&!b){_&&(a.content=Cu(a.content,p.index,me));continue}if(b)for(n=r.length-1;n>=0;n--){let x=r[n];if(r[n].level<c)break;if(x.single===_&&r[n].level===c){x=r[n];let m,v;_?(m=e.md.options.quotes[2],v=e.md.options.quotes[3]):(m=e.md.options.quotes[0],v=e.md.options.quotes[1]),a.content=Cu(a.content,p.index,v),u[x.token].content=Cu(u[x.token].content,x.pos,m),s+=v.length-1,x.token===o&&(s+=m.length-1),l=a.content,i=l.length,r.length=n;continue u}}d?r.push({token:o,pos:p.index,single:_,level:c}):b&&_&&(a.content=Cu(a.content,p.index,me))}}}function St(u){if(u.md.options.typographer)for(let e=u.tokens.length-1;e>=0;e--)u.tokens[e].type!=="inline"||!Tt.test(u.tokens[e].content)||Nt(u.tokens[e].children,u)}function It(u){let e,n;const r=u.tokens,o=r.length;for(let a=0;a<o;a++){if(r[a].type!=="inline")continue;const c=r[a].children,l=c.length;for(e=0;e<l;e++)c[e].type==="text_special"&&(c[e].type="text");for(e=n=0;e<l;e++)c[e].type==="text"&&e+1<l&&c[e+1].type==="text"?c[e+1].content=c[e].content+c[e+1].content:(e!==n&&(c[n]=c[e]),n++);e!==n&&(c.length=n)}}const Mu=[["normalize",_t],["block",kt],["inline",gt],["linkify",Ct],["replacements",Bt],["smartquotes",St],["text_join",It]];function ee(){this.ruler=new U;for(let u=0;u<Mu.length;u++)this.ruler.push(Mu[u][0],Mu[u][1])}ee.prototype.process=function(u){const e=this.ruler.getRules("");for(let n=0,r=e.length;n<r;n++)e[n](u)};ee.prototype.State=Ze;function Y(u,e,n,r){this.src=u,this.md=e,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const o=this.src;for(let a=0,c=0,l=0,s=0,i=o.length,p=!1;c<i;c++){const d=o.charCodeAt(c);if(!p)if(I(d)){l++,d===9?s+=4-s%4:s++;continue}else p=!0;(d===10||c===i-1)&&(d!==10&&c++,this.bMarks.push(a),this.eMarks.push(c),this.tShift.push(l),this.sCount.push(s),this.bsCount.push(0),p=!1,l=0,s=0,a=c+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Y.prototype.push=function(u,e,n){const r=new G(u,e,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r};Y.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Y.prototype.skipEmptyLines=function(e){for(let n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Y.prototype.skipSpaces=function(e){for(let n=this.src.length;e<n;e++){const r=this.src.charCodeAt(e);if(!I(r))break}return e};Y.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!I(this.src.charCodeAt(--e)))return e+1;return e};Y.prototype.skipChars=function(e,n){for(let r=this.src.length;e<r&&this.src.charCodeAt(e)===n;e++);return e};Y.prototype.skipCharsBack=function(e,n,r){if(e<=r)return e;for(;e>r;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Y.prototype.getLines=function(e,n,r,o){if(e>=n)return"";const a=new Array(n-e);for(let c=0,l=e;l<n;l++,c++){let s=0;const i=this.bMarks[l];let p=i,d;for(l+1<n||o?d=this.eMarks[l]+1:d=this.eMarks[l];p<d&&s<r;){const b=this.src.charCodeAt(p);if(I(b))b===9?s+=4-(s+this.bsCount[l])%4:s++;else if(p-i<this.tShift[l])s++;else break;p++}s>r?a[c]=new Array(s-r+1).join(" ")+this.src.slice(p,d):a[c]=this.src.slice(p,d)}return a.join("")};Y.prototype.Token=G;const Ot=65536;function qu(u,e){const n=u.bMarks[e]+u.tShift[e],r=u.eMarks[e];return u.src.slice(n,r)}function xe(u){const e=[],n=u.length;let r=0,o=u.charCodeAt(r),a=!1,c=0,l="";for(;r<n;)o===124&&(a?(l+=u.substring(c,r-1),c=r):(e.push(l+u.substring(c,r)),l="",c=r+1)),a=o===92,r++,o=u.charCodeAt(r);return e.push(l+u.substring(c)),e}function Mt(u,e,n,r){if(e+2>n)return!1;let o=e+1;if(u.sCount[o]<u.blkIndent||u.sCount[o]-u.blkIndent>=4)return!1;let a=u.bMarks[o]+u.tShift[o];if(a>=u.eMarks[o])return!1;const c=u.src.charCodeAt(a++);if(c!==124&&c!==45&&c!==58||a>=u.eMarks[o])return!1;const l=u.src.charCodeAt(a++);if(l!==124&&l!==45&&l!==58&&!I(l)||c===45&&I(l))return!1;for(;a<u.eMarks[o];){const x=u.src.charCodeAt(a);if(x!==124&&x!==45&&x!==58&&!I(x))return!1;a++}let s=qu(u,e+1),i=s.split("|");const p=[];for(let x=0;x<i.length;x++){const m=i[x].trim();if(!m){if(x===0||x===i.length-1)continue;return!1}if(!/^:?-+:?$/.test(m))return!1;m.charCodeAt(m.length-1)===58?p.push(m.charCodeAt(0)===58?"center":"right"):m.charCodeAt(0)===58?p.push("left"):p.push("")}if(s=qu(u,e).trim(),s.indexOf("|")===-1||u.sCount[e]-u.blkIndent>=4)return!1;i=xe(s),i.length&&i[0]===""&&i.shift(),i.length&&i[i.length-1]===""&&i.pop();const d=i.length;if(d===0||d!==p.length)return!1;if(r)return!0;const b=u.parentType;u.parentType="table";const _=u.md.block.ruler.getRules("blockquote"),h=u.push("table_open","table",1),F=[e,0];h.map=F;const w=u.push("thead_open","thead",1);w.map=[e,e+1];const E=u.push("tr_open","tr",1);E.map=[e,e+1];for(let x=0;x<i.length;x++){const m=u.push("th_open","th",1);p[x]&&(m.attrs=[["style","text-align:"+p[x]]]);const v=u.push("inline","",0);v.content=i[x].trim(),v.children=[],u.push("th_close","th",-1)}u.push("tr_close","tr",-1),u.push("thead_close","thead",-1);let f,k=0;for(o=e+2;o<n&&!(u.sCount[o]<u.blkIndent);o++){let x=!1;for(let v=0,g=_.length;v<g;v++)if(_[v](u,o,n,!0)){x=!0;break}if(x||(s=qu(u,o).trim(),!s)||u.sCount[o]-u.blkIndent>=4||(i=xe(s),i.length&&i[0]===""&&i.shift(),i.length&&i[i.length-1]===""&&i.pop(),k+=d-i.length,k>Ot))break;if(o===e+2){const v=u.push("tbody_open","tbody",1);v.map=f=[e+2,0]}const m=u.push("tr_open","tr",1);m.map=[o,o+1];for(let v=0;v<d;v++){const g=u.push("td_open","td",1);p[v]&&(g.attrs=[["style","text-align:"+p[v]]]);const A=u.push("inline","",0);A.content=i[v]?i[v].trim():"",A.children=[],u.push("td_close","td",-1)}u.push("tr_close","tr",-1)}return f&&(u.push("tbody_close","tbody",-1),f[1]=o),u.push("table_close","table",-1),F[1]=o,u.parentType=b,u.line=o,!0}function qt(u,e,n){if(u.sCount[e]-u.blkIndent<4)return!1;let r=e+1,o=r;for(;r<n;){if(u.isEmpty(r)){r++;continue}if(u.sCount[r]-u.blkIndent>=4){r++,o=r;continue}break}u.line=o;const a=u.push("code_block","code",0);return a.content=u.getLines(e,o,4+u.blkIndent,!1)+`
16
+ `,a.map=[e,u.line],!0}function $t(u,e,n,r){let o=u.bMarks[e]+u.tShift[e],a=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||o+3>a)return!1;const c=u.src.charCodeAt(o);if(c!==126&&c!==96)return!1;let l=o;o=u.skipChars(o,c);let s=o-l;if(s<3)return!1;const i=u.src.slice(l,o),p=u.src.slice(o,a);if(c===96&&p.indexOf(String.fromCharCode(c))>=0)return!1;if(r)return!0;let d=e,b=!1;for(;d++,!(d>=n||(o=l=u.bMarks[d]+u.tShift[d],a=u.eMarks[d],o<a&&u.sCount[d]<u.blkIndent));)if(u.src.charCodeAt(o)===c&&!(u.sCount[d]-u.blkIndent>=4)&&(o=u.skipChars(o,c),!(o-l<s)&&(o=u.skipSpaces(o),!(o<a)))){b=!0;break}s=u.sCount[e],u.line=d+(b?1:0);const _=u.push("fence","code",0);return _.info=p,_.content=u.getLines(e+1,d,s,!0),_.markup=i,_.map=[e,u.line],!0}function Rt(u,e,n,r){let o=u.bMarks[e]+u.tShift[e],a=u.eMarks[e];const c=u.lineMax;if(u.sCount[e]-u.blkIndent>=4||u.src.charCodeAt(o)!==62)return!1;if(r)return!0;const l=[],s=[],i=[],p=[],d=u.md.block.ruler.getRules("blockquote"),b=u.parentType;u.parentType="blockquote";let _=!1,h;for(h=e;h<n;h++){const k=u.sCount[h]<u.blkIndent;if(o=u.bMarks[h]+u.tShift[h],a=u.eMarks[h],o>=a)break;if(u.src.charCodeAt(o++)===62&&!k){let m=u.sCount[h]+1,v,g;u.src.charCodeAt(o)===32?(o++,m++,g=!1,v=!0):u.src.charCodeAt(o)===9?(v=!0,(u.bsCount[h]+m)%4===3?(o++,m++,g=!1):g=!0):v=!1;let A=m;for(l.push(u.bMarks[h]),u.bMarks[h]=o;o<a;){const y=u.src.charCodeAt(o);if(I(y))y===9?A+=4-(A+u.bsCount[h]+(g?1:0))%4:A++;else break;o++}_=o>=a,s.push(u.bsCount[h]),u.bsCount[h]=u.sCount[h]+1+(v?1:0),i.push(u.sCount[h]),u.sCount[h]=A-m,p.push(u.tShift[h]),u.tShift[h]=o-u.bMarks[h];continue}if(_)break;let x=!1;for(let m=0,v=d.length;m<v;m++)if(d[m](u,h,n,!0)){x=!0;break}if(x){u.lineMax=h,u.blkIndent!==0&&(l.push(u.bMarks[h]),s.push(u.bsCount[h]),p.push(u.tShift[h]),i.push(u.sCount[h]),u.sCount[h]-=u.blkIndent);break}l.push(u.bMarks[h]),s.push(u.bsCount[h]),p.push(u.tShift[h]),i.push(u.sCount[h]),u.sCount[h]=-1}const F=u.blkIndent;u.blkIndent=0;const w=u.push("blockquote_open","blockquote",1);w.markup=">";const E=[e,0];w.map=E,u.md.block.tokenize(u,e,h);const f=u.push("blockquote_close","blockquote",-1);f.markup=">",u.lineMax=c,u.parentType=b,E[1]=u.line;for(let k=0;k<p.length;k++)u.bMarks[k+e]=l[k],u.tShift[k+e]=p[k],u.sCount[k+e]=i[k],u.bsCount[k+e]=s[k];return u.blkIndent=F,!0}function zt(u,e,n,r){const o=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4)return!1;let a=u.bMarks[e]+u.tShift[e];const c=u.src.charCodeAt(a++);if(c!==42&&c!==45&&c!==95)return!1;let l=1;for(;a<o;){const i=u.src.charCodeAt(a++);if(i!==c&&!I(i))return!1;i===c&&l++}if(l<3)return!1;if(r)return!0;u.line=e+1;const s=u.push("hr","hr",0);return s.map=[e,u.line],s.markup=Array(l+1).join(String.fromCharCode(c)),!0}function _e(u,e){const n=u.eMarks[e];let r=u.bMarks[e]+u.tShift[e];const o=u.src.charCodeAt(r++);if(o!==42&&o!==45&&o!==43)return-1;if(r<n){const a=u.src.charCodeAt(r);if(!I(a))return-1}return r}function ke(u,e){const n=u.bMarks[e]+u.tShift[e],r=u.eMarks[e];let o=n;if(o+1>=r)return-1;let a=u.src.charCodeAt(o++);if(a<48||a>57)return-1;for(;;){if(o>=r)return-1;if(a=u.src.charCodeAt(o++),a>=48&&a<=57){if(o-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return o<r&&(a=u.src.charCodeAt(o),!I(a))?-1:o}function Lt(u,e){const n=u.level+2;for(let r=e+2,o=u.tokens.length-2;r<o;r++)u.tokens[r].level===n&&u.tokens[r].type==="paragraph_open"&&(u.tokens[r+2].hidden=!0,u.tokens[r].hidden=!0,r+=2)}function Pt(u,e,n,r){let o,a,c,l,s=e,i=!0;if(u.sCount[s]-u.blkIndent>=4||u.listIndent>=0&&u.sCount[s]-u.listIndent>=4&&u.sCount[s]<u.blkIndent)return!1;let p=!1;r&&u.parentType==="paragraph"&&u.sCount[s]>=u.blkIndent&&(p=!0);let d,b,_;if((_=ke(u,s))>=0){if(d=!0,c=u.bMarks[s]+u.tShift[s],b=Number(u.src.slice(c,_-1)),p&&b!==1)return!1}else if((_=_e(u,s))>=0)d=!1;else return!1;if(p&&u.skipSpaces(_)>=u.eMarks[s])return!1;if(r)return!0;const h=u.src.charCodeAt(_-1),F=u.tokens.length;d?(l=u.push("ordered_list_open","ol",1),b!==1&&(l.attrs=[["start",b]])):l=u.push("bullet_list_open","ul",1);const w=[s,0];l.map=w,l.markup=String.fromCharCode(h);let E=!1;const f=u.md.block.ruler.getRules("list"),k=u.parentType;for(u.parentType="list";s<n;){a=_,o=u.eMarks[s];const x=u.sCount[s]+_-(u.bMarks[s]+u.tShift[s]);let m=x;for(;a<o;){const z=u.src.charCodeAt(a);if(z===9)m+=4-(m+u.bsCount[s])%4;else if(z===32)m++;else break;a++}const v=a;let g;v>=o?g=1:g=m-x,g>4&&(g=1);const A=x+g;l=u.push("list_item_open","li",1),l.markup=String.fromCharCode(h);const y=[s,0];l.map=y,d&&(l.info=u.src.slice(c,_-1));const V=u.tight,D=u.tShift[s],N=u.sCount[s],S=u.listIndent;if(u.listIndent=u.blkIndent,u.blkIndent=A,u.tight=!0,u.tShift[s]=v-u.bMarks[s],u.sCount[s]=m,v>=o&&u.isEmpty(s+1)?u.line=Math.min(u.line+2,n):u.md.block.tokenize(u,s,n,!0),(!u.tight||E)&&(i=!1),E=u.line-s>1&&u.isEmpty(u.line-1),u.blkIndent=u.listIndent,u.listIndent=S,u.tShift[s]=D,u.sCount[s]=N,u.tight=V,l=u.push("list_item_close","li",-1),l.markup=String.fromCharCode(h),s=u.line,y[1]=s,s>=n||u.sCount[s]<u.blkIndent||u.sCount[s]-u.blkIndent>=4)break;let C=!1;for(let z=0,nu=f.length;z<nu;z++)if(f[z](u,s,n,!0)){C=!0;break}if(C)break;if(d){if(_=ke(u,s),_<0)break;c=u.bMarks[s]+u.tShift[s]}else if(_=_e(u,s),_<0)break;if(h!==u.src.charCodeAt(_-1))break}return d?l=u.push("ordered_list_close","ol",-1):l=u.push("bullet_list_close","ul",-1),l.markup=String.fromCharCode(h),w[1]=s,u.line=s,u.parentType=k,i&&Lt(u,F),!0}function Ut(u,e,n,r){let o=u.bMarks[e]+u.tShift[e],a=u.eMarks[e],c=e+1;if(u.sCount[e]-u.blkIndent>=4||u.src.charCodeAt(o)!==91)return!1;function l(f){const k=u.lineMax;if(f>=k||u.isEmpty(f))return null;let x=!1;if(u.sCount[f]-u.blkIndent>3&&(x=!0),u.sCount[f]<0&&(x=!0),!x){const g=u.md.block.ruler.getRules("reference"),A=u.parentType;u.parentType="reference";let y=!1;for(let V=0,D=g.length;V<D;V++)if(g[V](u,f,k,!0)){y=!0;break}if(u.parentType=A,y)return null}const m=u.bMarks[f]+u.tShift[f],v=u.eMarks[f];return u.src.slice(m,v+1)}let s=u.src.slice(o,a+1);a=s.length;let i=-1;for(o=1;o<a;o++){const f=s.charCodeAt(o);if(f===91)return!1;if(f===93){i=o;break}else if(f===10){const k=l(c);k!==null&&(s+=k,a=s.length,c++)}else if(f===92&&(o++,o<a&&s.charCodeAt(o)===10)){const k=l(c);k!==null&&(s+=k,a=s.length,c++)}}if(i<0||s.charCodeAt(i+1)!==58)return!1;for(o=i+2;o<a;o++){const f=s.charCodeAt(o);if(f===10){const k=l(c);k!==null&&(s+=k,a=s.length,c++)}else if(!I(f))break}const p=u.md.helpers.parseLinkDestination(s,o,a);if(!p.ok)return!1;const d=u.md.normalizeLink(p.str);if(!u.md.validateLink(d))return!1;o=p.pos;const b=o,_=c,h=o;for(;o<a;o++){const f=s.charCodeAt(o);if(f===10){const k=l(c);k!==null&&(s+=k,a=s.length,c++)}else if(!I(f))break}let F=u.md.helpers.parseLinkTitle(s,o,a);for(;F.can_continue;){const f=l(c);if(f===null)break;s+=f,o=a,a=s.length,c++,F=u.md.helpers.parseLinkTitle(s,o,a,F)}let w;for(o<a&&h!==o&&F.ok?(w=F.str,o=F.pos):(w="",o=b,c=_);o<a;){const f=s.charCodeAt(o);if(!I(f))break;o++}if(o<a&&s.charCodeAt(o)!==10&&w)for(w="",o=b,c=_;o<a;){const f=s.charCodeAt(o);if(!I(f))break;o++}if(o<a&&s.charCodeAt(o)!==10)return!1;const E=Tu(s.slice(1,i));return E?(r||(typeof u.env.references>"u"&&(u.env.references={}),typeof u.env.references[E]>"u"&&(u.env.references[E]={title:w,href:d}),u.line=c),!0):!1}const jt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Zt="[a-zA-Z_:][a-zA-Z0-9:._-]*",Ht="[^\"'=<>`\\x00-\\x20]+",Gt="'[^']*'",Jt='"[^"]*"',Wt="(?:"+Ht+"|"+Gt+"|"+Jt+")",Qt="(?:\\s+"+Zt+"(?:\\s*=\\s*"+Wt+")?)",Ge="<[A-Za-z][A-Za-z0-9\\-]*"+Qt+"*\\s*\\/?>",Je="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Yt="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Kt="<[?][\\s\\S]*?[?]>",Xt="<![A-Za-z][^>]*>",un="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",en=new RegExp("^(?:"+Ge+"|"+Je+"|"+Yt+"|"+Kt+"|"+Xt+"|"+un+")"),tn=new RegExp("^(?:"+Ge+"|"+Je+")"),ou=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+jt.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(tn.source+"\\s*$"),/^$/,!1]];function nn(u,e,n,r){let o=u.bMarks[e]+u.tShift[e],a=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||!u.md.options.html||u.src.charCodeAt(o)!==60)return!1;let c=u.src.slice(o,a),l=0;for(;l<ou.length&&!ou[l][0].test(c);l++);if(l===ou.length)return!1;if(r)return ou[l][2];let s=e+1;if(!ou[l][1].test(c)){for(;s<n&&!(u.sCount[s]<u.blkIndent);s++)if(o=u.bMarks[s]+u.tShift[s],a=u.eMarks[s],c=u.src.slice(o,a),ou[l][1].test(c)){c.length!==0&&s++;break}}u.line=s;const i=u.push("html_block","",0);return i.map=[e,s],i.content=u.getLines(e,s,u.blkIndent,!0),!0}function rn(u,e,n,r){let o=u.bMarks[e]+u.tShift[e],a=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4)return!1;let c=u.src.charCodeAt(o);if(c!==35||o>=a)return!1;let l=1;for(c=u.src.charCodeAt(++o);c===35&&o<a&&l<=6;)l++,c=u.src.charCodeAt(++o);if(l>6||o<a&&!I(c))return!1;if(r)return!0;a=u.skipSpacesBack(a,o);const s=u.skipCharsBack(a,35,o);s>o&&I(u.src.charCodeAt(s-1))&&(a=s),u.line=e+1;const i=u.push("heading_open","h"+String(l),1);i.markup="########".slice(0,l),i.map=[e,u.line];const p=u.push("inline","",0);p.content=u.src.slice(o,a).trim(),p.map=[e,u.line],p.children=[];const d=u.push("heading_close","h"+String(l),-1);return d.markup="########".slice(0,l),!0}function on(u,e,n){const r=u.md.block.ruler.getRules("paragraph");if(u.sCount[e]-u.blkIndent>=4)return!1;const o=u.parentType;u.parentType="paragraph";let a=0,c,l=e+1;for(;l<n&&!u.isEmpty(l);l++){if(u.sCount[l]-u.blkIndent>3)continue;if(u.sCount[l]>=u.blkIndent){let _=u.bMarks[l]+u.tShift[l];const h=u.eMarks[l];if(_<h&&(c=u.src.charCodeAt(_),(c===45||c===61)&&(_=u.skipChars(_,c),_=u.skipSpaces(_),_>=h))){a=c===61?1:2;break}}if(u.sCount[l]<0)continue;let b=!1;for(let _=0,h=r.length;_<h;_++)if(r[_](u,l,n,!0)){b=!0;break}if(b)break}if(!a)return!1;const s=u.getLines(e,l,u.blkIndent,!1).trim();u.line=l+1;const i=u.push("heading_open","h"+String(a),1);i.markup=String.fromCharCode(c),i.map=[e,u.line];const p=u.push("inline","",0);p.content=s,p.map=[e,u.line-1],p.children=[];const d=u.push("heading_close","h"+String(a),-1);return d.markup=String.fromCharCode(c),u.parentType=o,!0}function an(u,e,n){const r=u.md.block.ruler.getRules("paragraph"),o=u.parentType;let a=e+1;for(u.parentType="paragraph";a<n&&!u.isEmpty(a);a++){if(u.sCount[a]-u.blkIndent>3||u.sCount[a]<0)continue;let i=!1;for(let p=0,d=r.length;p<d;p++)if(r[p](u,a,n,!0)){i=!0;break}if(i)break}const c=u.getLines(e,a,u.blkIndent,!1).trim();u.line=a;const l=u.push("paragraph_open","p",1);l.map=[e,u.line];const s=u.push("inline","",0);return s.content=c,s.map=[e,u.line],s.children=[],u.push("paragraph_close","p",-1),u.parentType=o,!0}const Eu=[["table",Mt,["paragraph","reference"]],["code",qt],["fence",$t,["paragraph","reference","blockquote","list"]],["blockquote",Rt,["paragraph","reference","blockquote","list"]],["hr",zt,["paragraph","reference","blockquote","list"]],["list",Pt,["paragraph","reference","blockquote"]],["reference",Ut],["html_block",nn,["paragraph","reference","blockquote"]],["heading",rn,["paragraph","reference","blockquote"]],["lheading",on],["paragraph",an]];function Nu(){this.ruler=new U;for(let u=0;u<Eu.length;u++)this.ruler.push(Eu[u][0],Eu[u][1],{alt:(Eu[u][2]||[]).slice()})}Nu.prototype.tokenize=function(u,e,n){const r=this.ruler.getRules(""),o=r.length,a=u.md.options.maxNesting;let c=e,l=!1;for(;c<n&&(u.line=c=u.skipEmptyLines(c),!(c>=n||u.sCount[c]<u.blkIndent));){if(u.level>=a){u.line=n;break}const s=u.line;let i=!1;for(let p=0;p<o;p++)if(i=r[p](u,c,n,!1),i){if(s>=u.line)throw new Error("block rule didn't increment state.line");break}if(!i)throw new Error("none of the block rules matched");u.tight=!l,u.isEmpty(u.line-1)&&(l=!0),c=u.line,c<n&&u.isEmpty(c)&&(l=!0,c++,u.line=c)}};Nu.prototype.parse=function(u,e,n,r){if(!u)return;const o=new this.State(u,e,n,r);this.tokenize(o,o.line,o.lineMax)};Nu.prototype.State=Y;function ku(u,e,n,r){this.src=u,this.env=n,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}ku.prototype.pushPending=function(){const u=new G("text","",0);return u.content=this.pending,u.level=this.pendingLevel,this.tokens.push(u),this.pending="",u};ku.prototype.push=function(u,e,n){this.pending&&this.pushPending();const r=new G(u,e,n);let o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r};ku.prototype.scanDelims=function(u,e){const n=this.posMax,r=this.src.charCodeAt(u),o=u>0?this.src.charCodeAt(u-1):32;let a=u;for(;a<n&&this.src.charCodeAt(a)===r;)a++;const c=a-u,l=a<n?this.src.charCodeAt(a):32,s=mu(o)||hu(String.fromCharCode(o)),i=mu(l)||hu(String.fromCharCode(l)),p=bu(o),d=bu(l),b=!d&&(!i||p||s),_=!p&&(!s||d||i);return{can_open:b&&(e||!_||s),can_close:_&&(e||!b||i),length:c}};ku.prototype.Token=G;function ln(u){switch(u){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function cn(u,e){let n=u.pos;for(;n<u.posMax&&!ln(u.src.charCodeAt(n));)n++;return n===u.pos?!1:(e||(u.pending+=u.src.slice(u.pos,n)),u.pos=n,!0)}const sn=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function dn(u,e){if(!u.md.options.linkify||u.linkLevel>0)return!1;const n=u.pos,r=u.posMax;if(n+3>r||u.src.charCodeAt(n)!==58||u.src.charCodeAt(n+1)!==47||u.src.charCodeAt(n+2)!==47)return!1;const o=u.pending.match(sn);if(!o)return!1;const a=o[1],c=u.md.linkify.matchAtStart(u.src.slice(n-a.length));if(!c)return!1;let l=c.url;if(l.length<=a.length)return!1;l=l.replace(/\*+$/,"");const s=u.md.normalizeLink(l);if(!u.md.validateLink(s))return!1;if(!e){u.pending=u.pending.slice(0,-a.length);const i=u.push("link_open","a",1);i.attrs=[["href",s]],i.markup="linkify",i.info="auto";const p=u.push("text","",0);p.content=u.md.normalizeLinkText(l);const d=u.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return u.pos+=l.length-a.length,!0}function fn(u,e){let n=u.pos;if(u.src.charCodeAt(n)!==10)return!1;const r=u.pending.length-1,o=u.posMax;if(!e)if(r>=0&&u.pending.charCodeAt(r)===32)if(r>=1&&u.pending.charCodeAt(r-1)===32){let a=r-1;for(;a>=1&&u.pending.charCodeAt(a-1)===32;)a--;u.pending=u.pending.slice(0,a),u.push("hardbreak","br",0)}else u.pending=u.pending.slice(0,-1),u.push("softbreak","br",0);else u.push("softbreak","br",0);for(n++;n<o&&I(u.src.charCodeAt(n));)n++;return u.pos=n,!0}const te=[];for(let u=0;u<256;u++)te.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u){te[u.charCodeAt(0)]=1});function pn(u,e){let n=u.pos;const r=u.posMax;if(u.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let o=u.src.charCodeAt(n);if(o===10){for(e||u.push("hardbreak","br",0),n++;n<r&&(o=u.src.charCodeAt(n),!!I(o));)n++;return u.pos=n,!0}let a=u.src[n];if(o>=55296&&o<=56319&&n+1<r){const l=u.src.charCodeAt(n+1);l>=56320&&l<=57343&&(a+=u.src[n+1],n++)}const c="\\"+a;if(!e){const l=u.push("text_special","",0);o<256&&te[o]!==0?l.content=a:l.content=c,l.markup=c,l.info="escape"}return u.pos=n+1,!0}function bn(u,e){let n=u.pos;if(u.src.charCodeAt(n)!==96)return!1;const o=n;n++;const a=u.posMax;for(;n<a&&u.src.charCodeAt(n)===96;)n++;const c=u.src.slice(o,n),l=c.length;if(u.backticksScanned&&(u.backticks[l]||0)<=o)return e||(u.pending+=c),u.pos+=l,!0;let s=n,i;for(;(i=u.src.indexOf("`",s))!==-1;){for(s=i+1;s<a&&u.src.charCodeAt(s)===96;)s++;const p=s-i;if(p===l){if(!e){const d=u.push("code_inline","code",0);d.markup=c,d.content=u.src.slice(n,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return u.pos=s,!0}u.backticks[p]=i}return u.backticksScanned=!0,e||(u.pending+=c),u.pos+=l,!0}function hn(u,e){const n=u.pos,r=u.src.charCodeAt(n);if(e||r!==126)return!1;const o=u.scanDelims(u.pos,!0);let a=o.length;const c=String.fromCharCode(r);if(a<2)return!1;let l;a%2&&(l=u.push("text","",0),l.content=c,a--);for(let s=0;s<a;s+=2)l=u.push("text","",0),l.content=c+c,u.delimiters.push({marker:r,length:0,token:u.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return u.pos+=o.length,!0}function ge(u,e){let n;const r=[],o=e.length;for(let a=0;a<o;a++){const c=e[a];if(c.marker!==126||c.end===-1)continue;const l=e[c.end];n=u.tokens[c.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=u.tokens[l.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",u.tokens[l.token-1].type==="text"&&u.tokens[l.token-1].content==="~"&&r.push(l.token-1)}for(;r.length;){const a=r.pop();let c=a+1;for(;c<u.tokens.length&&u.tokens[c].type==="s_close";)c++;c--,a!==c&&(n=u.tokens[c],u.tokens[c]=u.tokens[a],u.tokens[a]=n)}}function mn(u){const e=u.tokens_meta,n=u.tokens_meta.length;ge(u,u.delimiters);for(let r=0;r<n;r++)e[r]&&e[r].delimiters&&ge(u,e[r].delimiters)}const We={tokenize:hn,postProcess:mn};function xn(u,e){const n=u.pos,r=u.src.charCodeAt(n);if(e||r!==95&&r!==42)return!1;const o=u.scanDelims(u.pos,r===42);for(let a=0;a<o.length;a++){const c=u.push("text","",0);c.content=String.fromCharCode(r),u.delimiters.push({marker:r,length:o.length,token:u.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return u.pos+=o.length,!0}function ye(u,e){const n=e.length;for(let r=n-1;r>=0;r--){const o=e[r];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;const a=e[o.end],c=r>0&&e[r-1].end===o.end+1&&e[r-1].marker===o.marker&&e[r-1].token===o.token-1&&e[o.end+1].token===a.token+1,l=String.fromCharCode(o.marker),s=u.tokens[o.token];s.type=c?"strong_open":"em_open",s.tag=c?"strong":"em",s.nesting=1,s.markup=c?l+l:l,s.content="";const i=u.tokens[a.token];i.type=c?"strong_close":"em_close",i.tag=c?"strong":"em",i.nesting=-1,i.markup=c?l+l:l,i.content="",c&&(u.tokens[e[r-1].token].content="",u.tokens[e[o.end+1].token].content="",r--)}}function _n(u){const e=u.tokens_meta,n=u.tokens_meta.length;ye(u,u.delimiters);for(let r=0;r<n;r++)e[r]&&e[r].delimiters&&ye(u,e[r].delimiters)}const Qe={tokenize:xn,postProcess:_n};function kn(u,e){let n,r,o,a,c="",l="",s=u.pos,i=!0;if(u.src.charCodeAt(u.pos)!==91)return!1;const p=u.pos,d=u.posMax,b=u.pos+1,_=u.md.helpers.parseLinkLabel(u,u.pos,!0);if(_<0)return!1;let h=_+1;if(h<d&&u.src.charCodeAt(h)===40){for(i=!1,h++;h<d&&(n=u.src.charCodeAt(h),!(!I(n)&&n!==10));h++);if(h>=d)return!1;if(s=h,o=u.md.helpers.parseLinkDestination(u.src,h,u.posMax),o.ok){for(c=u.md.normalizeLink(o.str),u.md.validateLink(c)?h=o.pos:c="",s=h;h<d&&(n=u.src.charCodeAt(h),!(!I(n)&&n!==10));h++);if(o=u.md.helpers.parseLinkTitle(u.src,h,u.posMax),h<d&&s!==h&&o.ok)for(l=o.str,h=o.pos;h<d&&(n=u.src.charCodeAt(h),!(!I(n)&&n!==10));h++);}(h>=d||u.src.charCodeAt(h)!==41)&&(i=!0),h++}if(i){if(typeof u.env.references>"u")return!1;if(h<d&&u.src.charCodeAt(h)===91?(s=h+1,h=u.md.helpers.parseLinkLabel(u,h),h>=0?r=u.src.slice(s,h++):h=_+1):h=_+1,r||(r=u.src.slice(b,_)),a=u.env.references[Tu(r)],!a)return u.pos=p,!1;c=a.href,l=a.title}if(!e){u.pos=b,u.posMax=_;const F=u.push("link_open","a",1),w=[["href",c]];F.attrs=w,l&&w.push(["title",l]),u.linkLevel++,u.md.inline.tokenize(u),u.linkLevel--,u.push("link_close","a",-1)}return u.pos=h,u.posMax=d,!0}function gn(u,e){let n,r,o,a,c,l,s,i,p="";const d=u.pos,b=u.posMax;if(u.src.charCodeAt(u.pos)!==33||u.src.charCodeAt(u.pos+1)!==91)return!1;const _=u.pos+2,h=u.md.helpers.parseLinkLabel(u,u.pos+1,!1);if(h<0)return!1;if(a=h+1,a<b&&u.src.charCodeAt(a)===40){for(a++;a<b&&(n=u.src.charCodeAt(a),!(!I(n)&&n!==10));a++);if(a>=b)return!1;for(i=a,l=u.md.helpers.parseLinkDestination(u.src,a,u.posMax),l.ok&&(p=u.md.normalizeLink(l.str),u.md.validateLink(p)?a=l.pos:p=""),i=a;a<b&&(n=u.src.charCodeAt(a),!(!I(n)&&n!==10));a++);if(l=u.md.helpers.parseLinkTitle(u.src,a,u.posMax),a<b&&i!==a&&l.ok)for(s=l.str,a=l.pos;a<b&&(n=u.src.charCodeAt(a),!(!I(n)&&n!==10));a++);else s="";if(a>=b||u.src.charCodeAt(a)!==41)return u.pos=d,!1;a++}else{if(typeof u.env.references>"u")return!1;if(a<b&&u.src.charCodeAt(a)===91?(i=a+1,a=u.md.helpers.parseLinkLabel(u,a),a>=0?o=u.src.slice(i,a++):a=h+1):a=h+1,o||(o=u.src.slice(_,h)),c=u.env.references[Tu(o)],!c)return u.pos=d,!1;p=c.href,s=c.title}if(!e){r=u.src.slice(_,h);const F=[];u.md.inline.parse(r,u.md,u.env,F);const w=u.push("image","img",0),E=[["src",p],["alt",""]];w.attrs=E,w.children=F,w.content=r,s&&E.push(["title",s])}return u.pos=a,u.posMax=b,!0}const yn=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,vn=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Cn(u,e){let n=u.pos;if(u.src.charCodeAt(n)!==60)return!1;const r=u.pos,o=u.posMax;for(;;){if(++n>=o)return!1;const c=u.src.charCodeAt(n);if(c===60)return!1;if(c===62)break}const a=u.src.slice(r+1,n);if(vn.test(a)){const c=u.md.normalizeLink(a);if(!u.md.validateLink(c))return!1;if(!e){const l=u.push("link_open","a",1);l.attrs=[["href",c]],l.markup="autolink",l.info="auto";const s=u.push("text","",0);s.content=u.md.normalizeLinkText(a);const i=u.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return u.pos+=a.length+2,!0}if(yn.test(a)){const c=u.md.normalizeLink("mailto:"+a);if(!u.md.validateLink(c))return!1;if(!e){const l=u.push("link_open","a",1);l.attrs=[["href",c]],l.markup="autolink",l.info="auto";const s=u.push("text","",0);s.content=u.md.normalizeLinkText(a);const i=u.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return u.pos+=a.length+2,!0}return!1}function En(u){return/^<a[>\s]/i.test(u)}function Dn(u){return/^<\/a\s*>/i.test(u)}function Fn(u){const e=u|32;return e>=97&&e<=122}function wn(u,e){if(!u.md.options.html)return!1;const n=u.posMax,r=u.pos;if(u.src.charCodeAt(r)!==60||r+2>=n)return!1;const o=u.src.charCodeAt(r+1);if(o!==33&&o!==63&&o!==47&&!Fn(o))return!1;const a=u.src.slice(r).match(en);if(!a)return!1;if(!e){const c=u.push("html_inline","",0);c.content=a[0],En(c.content)&&u.linkLevel++,Dn(c.content)&&u.linkLevel--}return u.pos+=a[0].length,!0}const An=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Vn=/^&([a-z][a-z0-9]{1,31});/i;function Bn(u,e){const n=u.pos,r=u.posMax;if(u.src.charCodeAt(n)!==38||n+1>=r)return!1;if(u.src.charCodeAt(n+1)===35){const a=u.src.slice(n).match(An);if(a){if(!e){const c=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),l=u.push("text_special","",0);l.content=ue(c)?Au(c):Au(65533),l.markup=a[0],l.info="entity"}return u.pos+=a[0].length,!0}}else{const a=u.src.slice(n).match(Vn);if(a){const c=Pe(a[0]);if(c!==a[0]){if(!e){const l=u.push("text_special","",0);l.content=c,l.markup=a[0],l.info="entity"}return u.pos+=a[0].length,!0}}}return!1}function ve(u){const e={},n=u.length;if(!n)return;let r=0,o=-2;const a=[];for(let c=0;c<n;c++){const l=u[c];if(a.push(0),(u[r].marker!==l.marker||o!==l.token-1)&&(r=c),o=l.token,l.length=l.length||0,!l.close)continue;e.hasOwnProperty(l.marker)||(e[l.marker]=[-1,-1,-1,-1,-1,-1]);const s=e[l.marker][(l.open?3:0)+l.length%3];let i=r-a[r]-1,p=i;for(;i>s;i-=a[i]+1){const d=u[i];if(d.marker===l.marker&&d.open&&d.end<0){let b=!1;if((d.close||l.open)&&(d.length+l.length)%3===0&&(d.length%3!==0||l.length%3!==0)&&(b=!0),!b){const _=i>0&&!u[i-1].open?a[i-1]+1:0;a[c]=c-i+_,a[i]=_,l.open=!1,d.end=c,d.close=!1,p=-1,o=-2;break}}}p!==-1&&(e[l.marker][(l.open?3:0)+(l.length||0)%3]=p)}}function Tn(u){const e=u.tokens_meta,n=u.tokens_meta.length;ve(u.delimiters);for(let r=0;r<n;r++)e[r]&&e[r].delimiters&&ve(e[r].delimiters)}function Nn(u){let e,n,r=0;const o=u.tokens,a=u.tokens.length;for(e=n=0;e<a;e++)o[e].nesting<0&&r--,o[e].level=r,o[e].nesting>0&&r++,o[e].type==="text"&&e+1<a&&o[e+1].type==="text"?o[e+1].content=o[e].content+o[e+1].content:(e!==n&&(o[n]=o[e]),n++);e!==n&&(o.length=n)}const $u=[["text",cn],["linkify",dn],["newline",fn],["escape",pn],["backticks",bn],["strikethrough",We.tokenize],["emphasis",Qe.tokenize],["link",kn],["image",gn],["autolink",Cn],["html_inline",wn],["entity",Bn]],Ru=[["balance_pairs",Tn],["strikethrough",We.postProcess],["emphasis",Qe.postProcess],["fragments_join",Nn]];function gu(){this.ruler=new U;for(let u=0;u<$u.length;u++)this.ruler.push($u[u][0],$u[u][1]);this.ruler2=new U;for(let u=0;u<Ru.length;u++)this.ruler2.push(Ru[u][0],Ru[u][1])}gu.prototype.skipToken=function(u){const e=u.pos,n=this.ruler.getRules(""),r=n.length,o=u.md.options.maxNesting,a=u.cache;if(typeof a[e]<"u"){u.pos=a[e];return}let c=!1;if(u.level<o){for(let l=0;l<r;l++)if(u.level++,c=n[l](u,!0),u.level--,c){if(e>=u.pos)throw new Error("inline rule didn't increment state.pos");break}}else u.pos=u.posMax;c||u.pos++,a[e]=u.pos};gu.prototype.tokenize=function(u){const e=this.ruler.getRules(""),n=e.length,r=u.posMax,o=u.md.options.maxNesting;for(;u.pos<r;){const a=u.pos;let c=!1;if(u.level<o){for(let l=0;l<n;l++)if(c=e[l](u,!1),c){if(a>=u.pos)throw new Error("inline rule didn't increment state.pos");break}}if(c){if(u.pos>=r)break;continue}u.pending+=u.src[u.pos++]}u.pending&&u.pushPending()};gu.prototype.parse=function(u,e,n,r){const o=new this.State(u,e,n,r);this.tokenize(o);const a=this.ruler2.getRules(""),c=a.length;for(let l=0;l<c;l++)a[l](o)};gu.prototype.State=ku;function Sn(u){const e={};u=u||{},e.src_Any=qe.source,e.src_Cc=$e.source,e.src_Z=ze.source,e.src_P=Ku.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");const n="[><|]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!"+(u["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(u["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function Uu(u){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){u[r]=n[r]})}),u}function Su(u){return Object.prototype.toString.call(u)}function In(u){return Su(u)==="[object String]"}function On(u){return Su(u)==="[object Object]"}function Mn(u){return Su(u)==="[object RegExp]"}function Ce(u){return Su(u)==="[object Function]"}function qn(u){return u.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Ye={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function $n(u){return Object.keys(u||{}).reduce(function(e,n){return e||Ye.hasOwnProperty(n)},!1)}const Rn={"http:":{validate:function(u,e,n){const r=u.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(u,e,n){const r=u.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&u[e-3]===":"||e>=3&&u[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(u,e,n){const r=u.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},zn="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Ln="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Pn(u){u.__index__=-1,u.__text_cache__=""}function Un(u){return function(e,n){const r=e.slice(n);return u.test(r)?r.match(u)[0].length:0}}function Ee(){return function(u,e){e.normalize(u)}}function Vu(u){const e=u.re=Sn(u.__opts__),n=u.__tlds__.slice();u.onCompile(),u.__tlds_replaced__||n.push(zn),n.push(e.src_xn),e.src_tlds=n.join("|");function r(l){return l.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");const o=[];u.__compiled__={};function a(l,s){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+s)}Object.keys(u.__schemas__).forEach(function(l){const s=u.__schemas__[l];if(s===null)return;const i={validate:null,link:null};if(u.__compiled__[l]=i,On(s)){Mn(s.validate)?i.validate=Un(s.validate):Ce(s.validate)?i.validate=s.validate:a(l,s),Ce(s.normalize)?i.normalize=s.normalize:s.normalize?a(l,s):i.normalize=Ee();return}if(In(s)){o.push(l);return}a(l,s)}),o.forEach(function(l){u.__compiled__[u.__schemas__[l]]&&(u.__compiled__[l].validate=u.__compiled__[u.__schemas__[l]].validate,u.__compiled__[l].normalize=u.__compiled__[u.__schemas__[l]].normalize)}),u.__compiled__[""]={validate:null,normalize:Ee()};const c=Object.keys(u.__compiled__).filter(function(l){return l.length>0&&u.__compiled__[l]}).map(qn).join("|");u.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),u.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","ig"),u.re.schema_at_start=RegExp("^"+u.re.schema_search.source,"i"),u.re.pretest=RegExp("("+u.re.schema_test.source+")|("+u.re.host_fuzzy_test.source+")|@","i"),Pn(u)}function jn(u,e){const n=u.__index__,r=u.__last_index__,o=u.__text_cache__.slice(n,r);this.schema=u.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function ju(u,e){const n=new jn(u,e);return u.__compiled__[n.schema].normalize(n,u),n}function Z(u,e){if(!(this instanceof Z))return new Z(u,e);e||$n(u)&&(e=u,u={}),this.__opts__=Uu({},Ye,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Uu({},Rn,u),this.__compiled__={},this.__tlds__=Ln,this.__tlds_replaced__=!1,this.re={},Vu(this)}Z.prototype.add=function(e,n){return this.__schemas__[e]=n,Vu(this),this};Z.prototype.set=function(e){return this.__opts__=Uu(this.__opts__,e),this};Z.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let n,r,o,a,c,l,s,i,p;if(this.re.schema_test.test(e)){for(s=this.re.schema_search,s.lastIndex=0;(n=s.exec(e))!==null;)if(a=this.testSchemaAt(e,n[2],s.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(i=e.search(this.re.host_fuzzy_test),i>=0&&(this.__index__<0||i<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=r.index+r[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(p=e.indexOf("@"),p>=0&&(o=e.match(this.re.email_fuzzy))!==null&&(c=o.index+o[1].length,l=o.index+o[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&l>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=l))),this.__index__>=0};Z.prototype.pretest=function(e){return this.re.pretest.test(e)};Z.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0};Z.prototype.match=function(e){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(n.push(ju(this,r)),r=this.__last_index__);let o=r?e.slice(r):e;for(;this.test(o);)n.push(ju(this,r)),o=o.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};Z.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const n=this.re.schema_at_start.exec(e);if(!n)return null;const r=this.testSchemaAt(e,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,ju(this,0)):null};Z.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,o,a){return r!==a[o-1]}).reverse(),Vu(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Vu(this),this)};Z.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Z.prototype.onCompile=function(){};const au=2147483647,J=36,ne=1,xu=26,Zn=38,Hn=700,Ke=72,Xe=128,u0="-",Gn=/^xn--/,Jn=/[^\0-\x7F]/,Wn=/[\x2E\u3002\uFF0E\uFF61]/g,Qn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},zu=J-ne,W=Math.floor,Lu=String.fromCharCode;function X(u){throw new RangeError(Qn[u])}function Yn(u,e){const n=[];let r=u.length;for(;r--;)n[r]=e(u[r]);return n}function e0(u,e){const n=u.split("@");let r="";n.length>1&&(r=n[0]+"@",u=n[1]),u=u.replace(Wn,".");const o=u.split("."),a=Yn(o,e).join(".");return r+a}function t0(u){const e=[];let n=0;const r=u.length;for(;n<r;){const o=u.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const a=u.charCodeAt(n++);(a&64512)==56320?e.push(((o&1023)<<10)+(a&1023)+65536):(e.push(o),n--)}else e.push(o)}return e}const Kn=u=>String.fromCodePoint(...u),Xn=function(u){return u>=48&&u<58?26+(u-48):u>=65&&u<91?u-65:u>=97&&u<123?u-97:J},De=function(u,e){return u+22+75*(u<26)-((e!=0)<<5)},n0=function(u,e,n){let r=0;for(u=n?W(u/Hn):u>>1,u+=W(u/e);u>zu*xu>>1;r+=J)u=W(u/zu);return W(r+(zu+1)*u/(u+Zn))},r0=function(u){const e=[],n=u.length;let r=0,o=Xe,a=Ke,c=u.lastIndexOf(u0);c<0&&(c=0);for(let l=0;l<c;++l)u.charCodeAt(l)>=128&&X("not-basic"),e.push(u.charCodeAt(l));for(let l=c>0?c+1:0;l<n;){const s=r;for(let p=1,d=J;;d+=J){l>=n&&X("invalid-input");const b=Xn(u.charCodeAt(l++));b>=J&&X("invalid-input"),b>W((au-r)/p)&&X("overflow"),r+=b*p;const _=d<=a?ne:d>=a+xu?xu:d-a;if(b<_)break;const h=J-_;p>W(au/h)&&X("overflow"),p*=h}const i=e.length+1;a=n0(r-s,i,s==0),W(r/i)>au-o&&X("overflow"),o+=W(r/i),r%=i,e.splice(r++,0,o)}return String.fromCodePoint(...e)},o0=function(u){const e=[];u=t0(u);const n=u.length;let r=Xe,o=0,a=Ke;for(const s of u)s<128&&e.push(Lu(s));const c=e.length;let l=c;for(c&&e.push(u0);l<n;){let s=au;for(const p of u)p>=r&&p<s&&(s=p);const i=l+1;s-r>W((au-o)/i)&&X("overflow"),o+=(s-r)*i,r=s;for(const p of u)if(p<r&&++o>au&&X("overflow"),p===r){let d=o;for(let b=J;;b+=J){const _=b<=a?ne:b>=a+xu?xu:b-a;if(d<_)break;const h=d-_,F=J-_;e.push(Lu(De(_+h%F,0))),d=W(h/F)}e.push(Lu(De(d,0))),a=n0(o,i,l===c),o=0,++l}++o,++r}return e.join("")},ur=function(u){return e0(u,function(e){return Gn.test(e)?r0(e.slice(4).toLowerCase()):e})},er=function(u){return e0(u,function(e){return Jn.test(e)?"xn--"+o0(e):e})},a0={version:"2.3.1",ucs2:{decode:t0,encode:Kn},decode:r0,encode:o0,toASCII:er,toUnicode:ur},tr={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},nr={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},rr={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},or={default:tr,zero:nr,commonmark:rr},ar=/^(vbscript|javascript|file|data):/,lr=/^data:image\/(gif|png|jpeg|webp);/;function cr(u){const e=u.trim().toLowerCase();return ar.test(e)?lr.test(e):!0}const l0=["http:","https:","mailto:"];function ir(u){const e=Yu(u,!0);if(e.hostname&&(!e.protocol||l0.indexOf(e.protocol)>=0))try{e.hostname=a0.toASCII(e.hostname)}catch{}return _u(Qu(e))}function sr(u){const e=Yu(u,!0);if(e.hostname&&(!e.protocol||l0.indexOf(e.protocol)>=0))try{e.hostname=a0.toUnicode(e.hostname)}catch{}return iu(Qu(e),iu.defaultChars+"%")}function H(u,e){if(!(this instanceof H))return new H(u,e);e||Xu(u)||(e=u||{},u="default"),this.inline=new gu,this.block=new Nu,this.core=new ee,this.renderer=new du,this.linkify=new Z,this.validateLink=cr,this.normalizeLink=ir,this.normalizeLinkText=sr,this.utils=dt,this.helpers=Bu({},ht),this.options={},this.configure(u),e&&this.set(e)}H.prototype.set=function(u){return Bu(this.options,u),this};H.prototype.configure=function(u){const e=this;if(Xu(u)){const n=u;if(u=or[n],!u)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!u)throw new Error("Wrong `markdown-it` preset, can't be empty");return u.options&&e.set(u.options),u.components&&Object.keys(u.components).forEach(function(n){u.components[n].rules&&e[n].ruler.enableOnly(u.components[n].rules),u.components[n].rules2&&e[n].ruler2.enableOnly(u.components[n].rules2)}),this};H.prototype.enable=function(u,e){let n=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(u,!0))},this),n=n.concat(this.inline.ruler2.enable(u,!0));const r=u.filter(function(o){return n.indexOf(o)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};H.prototype.disable=function(u,e){let n=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(u,!0))},this),n=n.concat(this.inline.ruler2.disable(u,!0));const r=u.filter(function(o){return n.indexOf(o)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};H.prototype.use=function(u){const e=[this].concat(Array.prototype.slice.call(arguments,1));return u.apply(u,e),this};H.prototype.parse=function(u,e){if(typeof u!="string")throw new Error("Input data should be a String");const n=new this.core.State(u,this,e);return this.core.process(n),n.tokens};H.prototype.render=function(u,e){return e=e||{},this.renderer.render(this.parse(u,e),this.options,e)};H.prototype.parseInline=function(u,e){const n=new this.core.State(u,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};H.prototype.renderInline=function(u,e){return e=e||{},this.renderer.render(this.parseInline(u,e),this.options,e)};const dr=["innerHTML"],fr={__name:"FactorDescription",props:t.mergeModels({factorType:{type:String,default:"模版"},data:{type:Array,default:[]}},{visible:{default:!1},visibleModifiers:{}}),emits:["update:visible"],setup(u){const{env:e}=t.inject("stConfig"),n=new H,r=t.ref(""),o=t.useModel(u,"visible");return t.onMounted(async()=>{let a="";e.MODE==="production"?a=await fetch("//47.99.165.133/factor_select.md"):a=await fetch("//192.168.12.38/factor_select.md");const c=await a.text();r.value=n.render(c)}),(a,c)=>{const l=Du.ElTableColumn,s=Du.ElTable,i=Zu.ElScrollbar,p=Hu.ElDialog;return t.openBlock(),t.createBlock(p,{modelValue:o.value,"onUpdate:modelValue":c[0]||(c[0]=d=>o.value=d),title:u.factorType==="模版"?"因子说明":"脚本编写说明",width:"1000","align-center":"",draggable:"",overflow:"","append-to-body":"","destroy-on-close":""},{default:t.withCtx(()=>[t.createVNode(i,{height:"500px"},{default:t.withCtx(()=>[u.factorType==="模版"?(t.openBlock(),t.createBlock(s,{key:0,data:u.data,border:"",height:"500"},{default:t.withCtx(()=>[t.createVNode(l,{prop:"factorName",label:"因子名称",width:"200"}),t.createVNode(l,{prop:"factorDesc",label:"因子说明"}),t.createVNode(l,{prop:"factorScoreDefine",label:"分值定义"})]),_:1},8,["data"])):t.createCommentVNode("",!0),u.factorType==="脚本"?(t.openBlock(),t.createElementBlock("div",{key:1,class:"markdown-body",innerHTML:r.value},null,8,dr)):t.createCommentVNode("",!0)]),_:1})]),_:1},8,["modelValue","title"])}}};const c0=u=>(t.pushScopeId("data-v-a6f39b55"),u=u(),t.popScopeId(),u),pr={class:"factor-screen"},br={style:{"white-space":"pre-line"}},hr={class:"custom-header"},mr={class:"left"},xr=["id"],_r={class:"right"},kr={class:"form-row"},gr={class:"index"},yr={style:{display:"flex","align-items":"center",width:"100%",height:"24px"}},vr=c0(()=>t.createElementVNode("span",null,"~",-1)),Cr=c0(()=>t.createElementVNode("span",null,"&&代表and,||代表or",-1)),Er={class:"dialog-footer"},Dr={__name:"index",props:t.mergeModels({config:{type:Object,default:{sqlShow:!1,cycleShow:!0,cycleDefault:null,cycleOptions:[],factorOptions:[],factorDescriptions:[]}}},{data:{default:{list:[],sqlEnable:0,sqlValue:null}},dataModifiers:{}}),emits:["update:data"],setup(u){const e=u,n=t.useModel(u,"data"),r=t.ref(),o=t.ref(),a=t.ref(!1),c=t.ref(!1),l=t.ref("模版"),s=t.ref(null),i=t.ref({list:[{cycle:e.config.cycleDefault??null,factor:null,score:[null,null]}],sqlEnable:0,sqlValue:null,factorSelectExpr:""});t.watch(()=>[l.value,a.value],()=>{(l.value==="模版"||a.value===!1)&&o.value.close()},{deep:!0});const p=()=>{const{list:f,sqlEnable:k,sqlValue:x,factorSelectExpr:m}=n.value;i.value={list:JSON.parse(JSON.stringify(f)),sqlEnable:k,sqlValue:x,factorSelectExpr:m},i.value.list.length||_(),a.value=!0,t.nextTick(()=>{m?(l.value="脚本",r.value.setValue(m)):l.value="模版",r.value.resize()})},d=()=>{if(l.value==="模版")s.value.validate(f=>{const{list:k,sqlEnable:x,sqlValue:m}=i.value;if(f){if(x){if(!m)return P.ElMessage.error("SQL语句不能为空");const v=le(m),g=k.map((y,V)=>`条件${V+1}`),A=v.filter(y=>!g.includes(y));if(A.length)return P.ElMessage.error(`请检查SQL语句, 不存在[${A}]`)}n.value={list:JSON.parse(JSON.stringify(k)),sqlEnable:x,sqlValue:m,factorSelectExpr:""},a.value=!1}});else{const f=r.value.getValue();if(!f)return P.ElMessage.error("请输入脚本语句");n.value={list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:f},a.value=!1}},b=f=>{i.value.list.splice(f,1)},_=f=>{switch(f){case"compare":{i.value.list.push({key:"compare",cycle:e.config.cycleDefault??null,factor:null,compareType:">",cycle2:e.config.cycleDefault??null,factor2:null});break}default:{i.value.list.push({cycle:e.config.cycleDefault??null,factor:null,score:[null,null]});break}}},h=()=>{s.value.validate(f=>{if(f)if(i.value.sqlValue){const k=le(i.value.sqlValue);i.value.sqlValue=i.value.list.reduce((x,m,v)=>(k.includes(`条件${v+1}`)||(x+=`&& 条件${v+1} `),x),i.value.sqlValue)}else i.value.sqlValue=i.value.list.reduce((k,x,m)=>(m===0?k+=`条件${m+1} `:k+=`&& 条件${m+1} `,k),"")})},F=f=>{switch(f.key){case"compare":{const{cycle:k,factor:x,compareType:m,cycle2:v,factor2:g}=f;let A="";return A+=` ${e.config.cycleOptions.find(({value:y})=>y===k).label}`,A+=` ${e.config.factorOptions.find(({value:y})=>y===x).label}`,A+=` ${m}`,A+=` ${e.config.cycleOptions.find(({value:y})=>y===v).label}`,A+=` ${e.config.factorOptions.find(({value:y})=>y===g).label}`,A}default:{const{cycle:k,factor:x,score:m}=f;let v="";return v+=` ${e.config.cycleOptions.find(({value:g})=>g===k).label}`,v+=` ${e.config.factorOptions.find(({value:g})=>g===x).label}`,v+=` ${m[0]||m[0]===0?`${m[0]}分`:"∞"}`,v+=" ~",v+=` ${m[1]||m[1]===0?`${m[1]}分`:"∞"}`,v}}},w=(f,k)=>{switch(f){case"sqlTag":{n.value={list:[],sqlEnable:0,sqlValue:null};break}case"factorTag":{n.value.list.splice(k,1);break}case"scriptTag":{re.ElMessageBox.confirm("是否确认删除因子筛选: 脚本模式","删除操作",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{n.value={list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:""}});break}}},E=()=>{var k,x,m;const f=(m=(x=(k=document.getElementsByClassName("factor-dialog"))==null?void 0:k[0])==null?void 0:x.style)==null?void 0:m.zIndex;console.log(f),o.value.open(r.value,f)};return(f,k)=>{var q;const x=re.ElText,m=Ve.ElTag,v=s0.ElPopover,g=Ae.ElButton,A=ru.ElIcon,y=Zu.ElTooltip,V=Me,D=Wu,N=lu.ElOption,S=lu.ElSelect,C=oe.ElFormItem,z=we.ElInputNumber,nu=Ju,yu=Fe.ElInput,vu=oe.ElForm,pu=Hu.ElDialog,L=t.resolveComponent("st-varSelectDialog");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",pr,[t.createElementVNode("div",null,[n.value.sqlEnable&&n.value.sqlValue?(t.openBlock(),t.createBlock(m,{key:0,closable:"",type:"info",title:n.value.sqlValue,onClose:k[0]||(k[0]=T=>w("sqlTag"))},{default:t.withCtx(()=>[t.createVNode(x,{type:"info",truncated:"",style:{"max-width":"500px"}},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(n.value.sqlValue),1)]),_:1})]),_:1},8,["title"])):t.createCommentVNode("",!0),!n.value.sqlEnable&&n.value.list.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(n.value.list,(T,j)=>(t.openBlock(),t.createBlock(m,{closable:"",type:"info",onClose:B=>w("factorTag",j)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(F(T)),1)]),_:2},1032,["onClose"]))),256)):t.createCommentVNode("",!0),n.value.factorSelectExpr?(t.openBlock(),t.createBlock(v,{key:2,width:"500",placement:"bottom-start"},{reference:t.withCtx(()=>[t.createVNode(m,{closable:"",type:"info",onClose:k[1]||(k[1]=T=>w("scriptTag"))},{default:t.withCtx(()=>[t.createTextVNode(" 脚本模式 ")]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("div",br,t.toDisplayString(n.value.factorSelectExpr),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(g,{class:"screen-btn",type:"primary",plain:"",size:"small",icon:t.unref(ru.plus_default),onClick:p},{default:t.withCtx(()=>[t.createTextVNode(" 添加因子 ")]),_:1},8,["icon"])]),t.createVNode(pu,{"modal-class":"factor-dialog",modelValue:a.value,"onUpdate:modelValue":k[8]||(k[8]=T=>a.value=T),width:"1000","align-center":"","destroy-on-close":"","show-close":!1},{header:t.withCtx(({titleId:T,titleClass:j})=>[t.createElementVNode("div",hr,[t.createElementVNode("div",mr,[t.createElementVNode("span",{id:T,class:t.normalizeClass(j)}," 因子筛选 ",10,xr),t.createVNode(y,{effect:"dark",content:"点击查看: 因子使用说明",placement:"right"},{default:t.withCtx(()=>[t.createVNode(A,{onClick:k[2]||(k[2]=B=>c.value=!0)},{default:t.withCtx(()=>[t.createVNode(t.unref(ru.info_filled_default))]),_:1})]),_:1}),t.createVNode(D,{modelValue:l.value,"onUpdate:modelValue":k[3]||(k[3]=B=>l.value=B),size:"small"},{default:t.withCtx(()=>[t.createVNode(V,{label:"模版",value:"模版"}),t.createVNode(V,{label:"脚本",value:"脚本"})]),_:1},8,["modelValue"])]),t.createElementVNode("div",_r,[l.value==="脚本"?(t.openBlock(),t.createBlock(g,{key:0,size:"small",type:"primary",onClick:E},{default:t.withCtx(()=>[t.createTextVNode("变量选择器")]),_:1})):t.createCommentVNode("",!0),t.createVNode(A,{onClick:k[4]||(k[4]=B=>a.value=!1)},{default:t.withCtx(()=>[t.createVNode(t.unref(ru.close_default))]),_:1})])])]),footer:t.withCtx(()=>[t.createElementVNode("div",Er,[t.createVNode(g,{type:"primary",onClick:d},{default:t.withCtx(()=>[t.createTextVNode("确定")]),_:1})])]),default:t.withCtx(()=>[l.value==="模版"?(t.openBlock(),t.createBlock(vu,{key:0,ref_key:"dialogFormRef",ref:s,model:i.value,style:{height:"400px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value.list,(T,j)=>(t.openBlock(),t.createElementBlock("div",kr,[t.createElementVNode("span",gr,t.toDisplayString(`条件${j+1}`),1),T.key==="compare"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[u.config.cycleShow?(t.openBlock(),t.createBlock(C,{key:0,prop:"list."+j+".cycle",rules:{required:!0,message:"周期不能为空",trigger:"blur"},style:{width:"100px","margin-right":"10px"}},{default:t.withCtx(()=>[t.createVNode(S,{modelValue:T.cycle,"onUpdate:modelValue":B=>T.cycle=B,placeholder:"选择周期",size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.config.cycleOptions,({label:B,value:M})=>(t.openBlock(),t.createBlock(N,{label:B,value:M,key:M},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):t.createCommentVNode("",!0),t.createVNode(C,{prop:"list."+j+".factor",rules:{required:!0,message:"因子不能为空",trigger:"blur"},style:{width:"132px","margin-right":"10px"}},{default:t.withCtx(()=>[t.createVNode(S,{modelValue:T.factor,"onUpdate:modelValue":B=>T.factor=B,placeholder:"选择因子",filterable:"",size:"small","no-match-text":"无匹配数据"},{default:t.withCtx(()=>{var B;return[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList((B=u.config.factorOptions)==null?void 0:B.filter(M=>[4].includes(M.type)),({label:M,value:K})=>(t.openBlock(),t.createBlock(N,{label:M,value:K,key:K},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),t.createVNode(C,{style:{width:"52px","margin-right":"10px"}},{default:t.withCtx(()=>[t.createVNode(S,{modelValue:T.compareType,"onUpdate:modelValue":B=>T.compareType=B,size:"small"},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList([">",">=","<","<="],B=>t.createVNode(N,{label:B,value:B,key:B},null,8,["label","value"])),64))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),u.config.cycleShow?(t.openBlock(),t.createBlock(C,{key:1,prop:"list."+j+".cycle2",rules:{required:!0,message:"周期不能为空",trigger:"blur"},style:{width:"100px","margin-right":"10px"}},{default:t.withCtx(()=>[t.createVNode(S,{modelValue:T.cycle2,"onUpdate:modelValue":B=>T.cycle2=B,placeholder:"选择周期",size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.config.cycleOptions,({label:B,value:M})=>(t.openBlock(),t.createBlock(N,{label:B,value:M,key:M},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):t.createCommentVNode("",!0),t.createVNode(C,{prop:"list."+j+".factor2",rules:{required:!0,message:"因子不能为空",trigger:"blur"},style:{width:"132px","margin-right":"10px"}},{default:t.withCtx(()=>[t.createVNode(S,{modelValue:T.factor2,"onUpdate:modelValue":B=>T.factor2=B,placeholder:"选择因子",filterable:"",size:"small","no-match-text":"无匹配数据"},{default:t.withCtx(()=>{var B;return[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList((B=u.config.factorOptions)==null?void 0:B.filter(M=>[4].includes(M.type)),({label:M,value:K})=>(t.openBlock(),t.createBlock(N,{label:M,value:K,key:K},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[u.config.cycleShow?(t.openBlock(),t.createBlock(C,{key:0,prop:"list."+j+".cycle",rules:{required:!0,message:"周期不能为空",trigger:"blur"},style:{width:"100px","margin-right":"10px"}},{default:t.withCtx(()=>[t.createVNode(S,{modelValue:T.cycle,"onUpdate:modelValue":B=>T.cycle=B,placeholder:"选择周期",size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.config.cycleOptions,({label:B,value:M})=>(t.openBlock(),t.createBlock(N,{label:B,value:M,key:M},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):t.createCommentVNode("",!0),t.createVNode(C,{prop:"list."+j+".factor",rules:{required:!0,message:"因子不能为空",trigger:"blur"},style:{width:"194px","margin-right":"10px"}},{default:t.withCtx(()=>[t.createVNode(S,{modelValue:T.factor,"onUpdate:modelValue":B=>T.factor=B,placeholder:"选择因子",filterable:"",size:"small","no-match-text":"无匹配数据"},{default:t.withCtx(()=>{var B;return[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList((B=u.config.factorOptions)==null?void 0:B.filter(M=>[1,3].includes(M.type)),({label:M,value:K})=>(t.openBlock(),t.createBlock(N,{label:M,value:K,key:K},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),t.createVNode(C,{prop:"list."+j+".score",rules:{validator:t.unref(E0),trigger:"blur"},style:{width:"200px","margin-right":"10px"}},{default:t.withCtx(()=>[t.createElementVNode("div",yr,[t.createVNode(z,{modelValue:T.score[0],"onUpdate:modelValue":B=>T.score[0]=B,size:"small","controls-position":"right"},null,8,["modelValue","onUpdate:modelValue"]),vr,t.createVNode(z,{modelValue:T.score[1],"onUpdate:modelValue":B=>T.score[1]=B,size:"small","controls-position":"right"},null,8,["modelValue","onUpdate:modelValue"])])]),_:2},1032,["prop","rules"])],64)),t.createVNode(A,{onClick:B=>b(j)},{default:t.withCtx(()=>[t.createVNode(t.unref(ru.circle_close_filled_default))]),_:2},1032,["onClick"])]))),256)),t.createVNode(g,{type:"primary",plain:"",size:"small",icon:t.unref(ru.plus_default),onClick:_,style:{"margin-bottom":"10px"}},{default:t.withCtx(()=>[t.createTextVNode("添加因子")]),_:1},8,["icon"]),t.createVNode(g,{type:"primary",plain:"",size:"small",icon:t.unref(ru.plus_default),onClick:k[5]||(k[5]=T=>_("compare")),style:{"margin-bottom":"10px"}},{default:t.withCtx(()=>[t.createTextVNode("添加因子对比")]),_:1},8,["icon"]),u.config.sqlShow?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(C,{label:"SQL功能: "},{default:t.withCtx(()=>[t.createVNode(D,{modelValue:i.value.sqlEnable,"onUpdate:modelValue":k[6]||(k[6]=T=>i.value.sqlEnable=T)},{default:t.withCtx(()=>[t.createVNode(nu,{label:"关闭",value:0}),t.createVNode(nu,{label:"启用",value:1})]),_:1},8,["modelValue"]),i.value.sqlEnable?(t.openBlock(),t.createBlock(g,{key:0,type:"primary",size:"small",onClick:h,style:{"margin-left":"auto"}},{default:t.withCtx(()=>[t.createTextVNode("生成SQL")]),_:1})):t.createCommentVNode("",!0)]),_:1}),i.value.sqlEnable?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(yu,{modelValue:i.value.sqlValue,"onUpdate:modelValue":k[7]||(k[7]=T=>i.value.sqlValue=T),autosize:{minRows:4},type:"textarea",style:{"margin-bottom":"10px"}},null,8,["modelValue"]),Cr],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)]),_:1},8,["model"])):t.createCommentVNode("",!0),t.createElementVNode("div",{style:t.normalizeStyle([{width:"968px",height:"400px"},l.value==="脚本"?null:{position:"fixed",top:"-400px",zIndex:-1}])},[t.createVNode(i0._sfc_main,{ref_key:"monacoEditorRef",ref:r,language:"lua"},null,512)],4)]),_:1},8,["modelValue"])]),t.createVNode(fr,{visible:c.value,"onUpdate:visible":k[9]||(k[9]=T=>c.value=T),factorType:l.value,data:(q=u.config.factorDescriptions)==null?void 0:q.filter(T=>[1,3].includes(T.type))},null,8,["visible","factorType","data"]),t.createVNode(L,{ref_key:"stVarSelectDialogRef",ref:o},null,512)],64)}}},Fr=Gu._export_sfc(Dr,[["__scopeId","data-v-a6f39b55"]]);const Iu=u=>(t.pushScopeId("data-v-3e69da40"),u=u(),t.popScopeId(),u),wr={key:0,class:"common-indicator"},Ar={class:"indicator"},Vr=Iu(()=>t.createElementVNode("div",{class:"title"},[t.createElementVNode("span",null,"常用指标: "),t.createElementVNode("span",null,"不限")],-1)),Br={class:"options"},Tr=["onClick"],Nr={class:"tags"},Sr=["onClick"],Ir={style:{"font-size":"18px"}},Or={key:0,class:"out-box"},Mr=Iu(()=>t.createElementVNode("span",null,"自定义: ",-1)),qr={key:0,class:"convenient-option-box"},$r={class:"out-box"},Rr=Iu(()=>t.createElementVNode("span",null,"自定义: ",-1)),zr={key:0},Lr={key:0},Pr={key:0},Ur={key:1},jr={class:"tFeaturelncomes-option-box"},Zr={class:"tFeaturelncomes-out-box"},Hr=Iu(()=>t.createElementVNode("span",null,"自定义: ",-1)),Gr={key:2},Jr={key:3},Wr={key:4},Qr={key:5},Yr={key:6},Kr={style:{display:"flex","align-items":"center"}},Xr={key:7},uo={class:"dialog-footer"},eo={__name:"index",props:t.mergeModels({config:{type:Object,default:()=>{}},varietyMarket:{type:Number,default:()=>null},commonOption:{type:Array,default:()=>[]}},{data:{default:[]},dataModifiers:{}}),emits:["update:data"],setup(u){const e=[{label:"近2周",value:"1"},{label:"近1个月",value:"2"},{label:"近3个月",value:"3"},{label:"近6个月",value:"4"},{label:"近1年",value:"5"}],n=[{label:"无保留意见",value:1},{label:"保留意见",value:2},{label:"否定意见",value:3},{label:"无法表示意见",value:4}],r=t.useModel(u,"data"),o=u,a=t.ref(!1),c=t.computed(()=>{var E;return(E=o.data.find(f=>f.radioType==="1"))==null?void 0:E.key}),l=t.computed(()=>{let E=[];return o.varietyMarket===null&&!o.commonOption.length?E=o.config.options:(E=o.config.options,o.varietyMarket&&(E=E.filter(({parent:f})=>f.varietyMarketIds.includes(o.varietyMarket))),o.commonOption.length&&(E=E.filter(({parent:f})=>{const{commonOptionIds:k}=f;return[...new Set([...k,...o.commonOption])].length!==[...k,...o.commonOption].length}))),E}),s=t.ref({}),i=t.ref({}),p=E=>{s.value=E;const f={key:E.key,type:E.type,label:E.label};switch(E.key){case"st":{i.value={...f,st:null};break}case"tFeaturelncomes":{i.value={...f,rule:1,withFewYears:null,yearsCount:null,netProfit:null};break}case"priceLevels":{i.value={...f,priceLevels:null};break}case"peTtmLevels":{i.value={...f,peTtmLevels:null};break}case"optionsCpType":{i.value={...f,optionsCpType:null};break}case"perVolumn":{i.value={...f,radio:null,levels:[]};break}case"mainFlow":{i.value={...f,radioType:"0",rankRange:[null,null]};break}case"auditOpinionType":{i.value={...f,enumType:null};break}default:i.value={...f,range:[null,null],unit:E.defaultUnit.length?[...E.defaultUnit]:[null,null],radioType:c.value&&c.value!==E.key?"0":E.defaultRadioType,rankRange:E.defaultRankRange||[null,null]}}a.value=!0},d=()=>{var f,k;switch(i.value.key){case"st":{const{label:x,st:m}=i.value;if(m===null)return P.ElMessage.warning("格式错误: 请至少选择一个值");i.value.tagText=`${x}: ${m?"是":"否"}`;break}case"tFeaturelncomes":{const{label:x,rule:m,withFewYears:v,yearsCount:g,netProfit:A}=i.value;if(["",null].includes(v)||["",null].includes(g)||["",null].includes(A))return P.ElMessage.warning("格式错误: 请填写完整");i.value.tagText=`${x}: ${v}年内${g}年以上盈利${m===1?"超":"跌"}过${A}亿`;break}case"priceLevels":{const{label:x,priceLevels:m}=i.value;if(!m||m.length===0)return P.ElMessage.warning("格式错误: 请至少选择一个值");i.value.tagText=`${x}: 已选${m}分位`;break}case"peTtmLevels":{const{label:x,peTtmLevels:m}=i.value;if(!m||m.length===0)return P.ElMessage.warning("格式错误: 请至少选择一个值");i.value.tagText=`${x}: 已选${m}分位`;break}case"optionsCpType":{const{label:x,optionsCpType:m}=i.value;if(m===null)return P.ElMessage.warning("格式错误: 请至少选择一个值");i.value.tagText=`${x}: ${m===1?"看涨":"看跌"}`;break}case"perVolumn":{const{label:x,radio:m,levels:v}=i.value;if(!m)return P.ElMessage.warning("格式错误: 请选择时间");if(!(v!=null&&v.length))return P.ElMessage.warning("格式错误: 请选择分位");i.value.tagText=`${x}: ${(f=e.find(g=>g.value===m))==null?void 0:f.label}${v.map(g=>`${g}分位`).join("、")}`;break}case"mainFlow":{const{label:x,radioType:m,radio:v,rankRange:g}=i.value,A=y=>{if(y===""||y===null||y===void 0)return!1;const V=Number(y);return!isNaN(V)};if(!v)return P.ElMessage.warning("格式错误: 请选择时间");if(!A(g[0])&&!A(g[1]))return P.ElMessage.warning(`格式错误: 请填写${m==="0"?"涨幅范围":"排名范围"}`);!["",null].includes(g[0])&&!["",null].includes(g[1])?i.value.tagText=`${x}: ${v}日${m==="0"?"涨幅范围":"排名范围"}: ${g[0]}${m==="0"?"%":""} ~ ${g[1]}${m==="0"?"%":""}`:["",null].includes(g[0])?i.value.tagText=`${x}: ${v}日${m==="0"?"涨幅范围":"排名范围"}: ≤${g[1]}${m==="0"?"%":""}`:i.value.tagText=`${x}: ${v}日${m==="0"?"涨幅范围":"排名范围"}: ≥${g[0]}${m==="0"?"%":""}`;break}case"auditOpinionType":{const{label:x,enumType:m}=i.value;if(m===null)return P.ElMessage.warning("格式错误: 请至少选择一个值");i.value.tagText=`${x}: ${(k=n.find(v=>v.value===m))==null?void 0:k.label}`;break}default:{const{label:x,unit:m,radioType:v}=i.value,g=v==="1"?i.value.rankRange:i.value.range;if(["",null].includes(g[0])&&["",null].includes(g[1]))return P.ElMessage.warning("格式错误: 请至少填写一个值");if(v==="1"){const V=Number(g[0]),D=Number(g[1]);if(isNaN(V)||isNaN(D))return P.ElMessage.warning("格式错误: 请填写数字");if(V<0||D<0)return P.ElMessage.warning("格式错误: 请填写大于0的数字");if(V>D)return P.ElMessage.warning("格式错误: 请填写正确的排名范围")}const A=v==="1"?"":m[0]??"",y=v==="1"?"":m[1]??"";!["",null].includes(g[0])&&!["",null].includes(g[1])?i.value.tagText=`${x}${v==="1"?"排名":""}: ${g[0]}${A} ~ ${g[1]}${y}`:["",null].includes(g[0])?i.value.tagText=`${x}${v==="1"?"排名":""}: ≤${g[1]}${y}`:i.value.tagText=`${x}${v==="1"?"排名":""}: ≥${g[0]}${A}`}}const E=r.value.findIndex(({key:x})=>x===i.value.key);E===-1?r.value.push(i.value):r.value.splice(E,1,i.value),a.value=!1},b=E=>{s.value=l.value.find(({key:f})=>f===E.key),i.value=JSON.parse(JSON.stringify(E)),a.value=!0},_=E=>{r.value.splice(E,1)},h=E=>{i.value.range=[...E.range],i.value.unit=[...E.unit]},F=E=>{switch(E){case"≤0":Object.assign(i.value,{rule:2,withFewYears:1,yearsCount:1,netProfit:0});break;case"≥0":Object.assign(i.value,{rule:1,withFewYears:1,yearsCount:1,netProfit:0});break;case"五年内有四年以上盈利超过5千万":Object.assign(i.value,{rule:1,withFewYears:5,yearsCount:4,netProfit:.5});break;case"≥10亿":Object.assign(i.value,{rule:1,withFewYears:1,yearsCount:1,netProfit:10});break;case"≥20亿":Object.assign(i.value,{rule:1,withFewYears:1,yearsCount:1,netProfit:20});break}};t.watch(()=>l.value,()=>{r.value.length&&(r.value=r.value.filter(({key:E})=>l.value.find(f=>f.key===E)))});const w=()=>{i.value.radio=null,i.value.rankRange=[null,null]};return(E,f)=>{const k=Ve.ElTag,x=Me,m=Wu,v=Fe.ElInput,g=Ae.ElButton,A=lu.ElOption,y=lu.ElSelect,V=Ju,D=we.ElInputNumber,N=Hu.ElDialog;return u.config.show&&l.value.length?(t.openBlock(),t.createElementBlock("div",wr,[t.createElementVNode("div",Ar,[Vr,t.createElementVNode("div",Br,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,S=>(t.openBlock(),t.createElementBlock("span",{key:S.key,onClick:C=>p(S)},t.toDisplayString(S.label),9,Tr))),128))])]),t.createElementVNode("div",Nr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(S,C)=>(t.openBlock(),t.createBlock(k,{closable:"",type:"info",onClose:z=>_(C)},{default:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(S.tagText),1),t.createElementVNode("span",{class:"edit",onClick:z=>b(S)},"编辑",8,Sr)]),_:2},1032,["onClose"]))),256))]),t.createVNode(N,{modelValue:a.value,"onUpdate:modelValue":f[26]||(f[26]=S=>a.value=S),title:s.value.label,width:"600","align-center":"","destroy-on-close":""},t.createSlots({footer:t.withCtx(()=>[t.createElementVNode("div",uo,[t.createVNode(g,{type:"primary",onClick:d},{default:t.withCtx(()=>[t.createTextVNode("确定")]),_:1})])]),default:t.withCtx(()=>{var S;return[s.value.type===void 0&&i.value.radioType==="1"?(t.openBlock(),t.createElementBlock("div",Or,[Mr,t.createVNode(v,{modelValue:i.value.rankRange[0],"onUpdate:modelValue":f[2]||(f[2]=C=>i.value.rankRange[0]=C),style:{flex:"1"}},null,8,["modelValue"]),t.createTextVNode(" ~ "),t.createVNode(v,{modelValue:i.value.rankRange[1],"onUpdate:modelValue":f[3]||(f[3]=C=>i.value.rankRange[1]=C),style:{flex:"1"}},null,8,["modelValue"])])):s.value.type===void 0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(S=s.value.convenientOptions)!=null&&S.length?(t.openBlock(),t.createElementBlock("div",qr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value.convenientOptions,C=>(t.openBlock(),t.createBlock(g,{key:C.text,onClick:z=>h(C)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(C.text),1)]),_:2},1032,["onClick"]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",$r,[Rr,t.createVNode(v,{modelValue:i.value.range[0],"onUpdate:modelValue":f[5]||(f[5]=C=>i.value.range[0]=C),style:{flex:"1"}},t.createSlots({_:2},[s.value.unitOptions.length?{name:"append",fn:t.withCtx(()=>[s.value.unitOptions.length===1?(t.openBlock(),t.createElementBlock("span",zr,t.toDisplayString(i.value.unit[0]),1)):(t.openBlock(),t.createBlock(y,{key:1,modelValue:i.value.unit[0],"onUpdate:modelValue":f[4]||(f[4]=C=>i.value.unit[0]=C),style:{width:"72px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value.unitOptions,C=>(t.openBlock(),t.createBlock(A,{label:C,value:C},null,8,["label","value"]))),256))]),_:1},8,["modelValue"]))]),key:"0"}:void 0]),1032,["modelValue"]),t.createTextVNode(" ~ "),t.createVNode(v,{modelValue:i.value.range[1],"onUpdate:modelValue":f[7]||(f[7]=C=>i.value.range[1]=C),style:{flex:"1"}},t.createSlots({_:2},[s.value.unitOptions.length?{name:"append",fn:t.withCtx(()=>[s.value.unitOptions.length===1?(t.openBlock(),t.createElementBlock("span",Lr,t.toDisplayString(i.value.unit[1]),1)):(t.openBlock(),t.createBlock(y,{key:1,modelValue:i.value.unit[1],"onUpdate:modelValue":f[6]||(f[6]=C=>i.value.unit[1]=C),style:{width:"72px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value.unitOptions,C=>(t.openBlock(),t.createBlock(A,{label:C,value:C},null,8,["label","value"]))),256))]),_:1},8,["modelValue"]))]),key:"0"}:void 0]),1032,["modelValue"])])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[s.value.key==="st"?(t.openBlock(),t.createElementBlock("div",Pr,[t.createVNode(m,{modelValue:i.value.st,"onUpdate:modelValue":f[8]||(f[8]=C=>i.value.st=C)},{default:t.withCtx(()=>[t.createVNode(V,{label:"是",value:1}),t.createVNode(V,{label:"否",value:0})]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),s.value.key==="tFeaturelncomes"?(t.openBlock(),t.createElementBlock("div",Ur,[t.createElementVNode("div",jr,[t.createVNode(g,{onClick:f[9]||(f[9]=C=>F("≤0"))},{default:t.withCtx(()=>[t.createTextVNode("≤0")]),_:1}),t.createVNode(g,{onClick:f[10]||(f[10]=C=>F("≥0"))},{default:t.withCtx(()=>[t.createTextVNode("≥0")]),_:1}),t.createVNode(g,{onClick:f[11]||(f[11]=C=>F("五年内有四年以上盈利超过5千万"))},{default:t.withCtx(()=>[t.createTextVNode("五年内有四年以上盈利超过5千万")]),_:1}),t.createVNode(g,{onClick:f[12]||(f[12]=C=>F("≥10亿"))},{default:t.withCtx(()=>[t.createTextVNode("≥10亿")]),_:1}),t.createVNode(g,{onClick:f[13]||(f[13]=C=>F("≥20亿"))},{default:t.withCtx(()=>[t.createTextVNode("≥20亿")]),_:1})]),t.createElementVNode("div",Zr,[Hr,t.createElementVNode("div",null,[t.createVNode(D,{modelValue:i.value.withFewYears,"onUpdate:modelValue":f[14]||(f[14]=C=>i.value.withFewYears=C),"controls-position":"right"},null,8,["modelValue"]),t.createTextVNode(" 年内 "),t.createVNode(D,{modelValue:i.value.yearsCount,"onUpdate:modelValue":f[15]||(f[15]=C=>i.value.yearsCount=C),"controls-position":"right"},null,8,["modelValue"]),t.createTextVNode(" 年以上盈利"+t.toDisplayString(i.value.rule===1?"超":"跌")+"过 ",1),t.createVNode(D,{modelValue:i.value.netProfit,"onUpdate:modelValue":f[16]||(f[16]=C=>i.value.netProfit=C),"controls-position":"right"},null,8,["modelValue"]),t.createTextVNode(" 亿 ")])])])):t.createCommentVNode("",!0),s.value.key==="priceLevels"?(t.openBlock(),t.createElementBlock("div",Gr,[t.createVNode(y,{modelValue:i.value.priceLevels,"onUpdate:modelValue":f[17]||(f[17]=C=>i.value.priceLevels=C),multiple:"",clearable:"",placeholder:"请选择",style:{width:"420px"}},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList([1,2,3,4,5],C=>t.createVNode(A,{key:C,label:`${C}分位`,value:C},null,8,["label","value"])),64))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),s.value.key==="peTtmLevels"?(t.openBlock(),t.createElementBlock("div",Jr,[t.createVNode(y,{modelValue:i.value.peTtmLevels,"onUpdate:modelValue":f[18]||(f[18]=C=>i.value.peTtmLevels=C),multiple:"",clearable:"",placeholder:"请选择",style:{width:"420px"}},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList([1,2,3,4,5,6,7,8,9,10],C=>t.createVNode(A,{key:C,label:`${C}分位`,value:C},null,8,["label","value"])),64))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),s.value.key==="optionsCpType"?(t.openBlock(),t.createElementBlock("div",Wr,[t.createVNode(m,{modelValue:i.value.optionsCpType,"onUpdate:modelValue":f[19]||(f[19]=C=>i.value.optionsCpType=C)},{default:t.withCtx(()=>[t.createVNode(V,{label:"看涨",value:1}),t.createVNode(V,{label:"看跌",value:2})]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),s.value.key==="perVolumn"?(t.openBlock(),t.createElementBlock("div",Qr,[t.createVNode(m,{modelValue:i.value.radio,"onUpdate:modelValue":f[20]||(f[20]=C=>i.value.radio=C)},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(e,C=>t.createVNode(V,{key:C.value,value:C.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(C.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),t.createVNode(y,{modelValue:i.value.levels,"onUpdate:modelValue":f[21]||(f[21]=C=>i.value.levels=C),multiple:"",clearable:"",placeholder:"请选择",style:{width:"420px"}},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList([1,2,3,4,5],C=>t.createVNode(A,{key:C,label:`${C}分位`,value:C},null,8,["label","value"])),64))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),s.value.key==="mainFlow"?(t.openBlock(),t.createElementBlock("div",Yr,[t.createVNode(m,{modelValue:i.value.radio,"onUpdate:modelValue":f[22]||(f[22]=C=>i.value.radio=C)},{default:t.withCtx(()=>[t.createVNode(V,{value:"3"},{default:t.withCtx(()=>[t.createTextVNode("3日")]),_:1}),t.createVNode(V,{value:"5"},{default:t.withCtx(()=>[t.createTextVNode("5日")]),_:1}),t.createVNode(V,{value:"10"},{default:t.withCtx(()=>[t.createTextVNode("10日")]),_:1}),t.createVNode(V,{value:"20"},{default:t.withCtx(()=>[t.createTextVNode("20日")]),_:1})]),_:1},8,["modelValue"]),t.createElementVNode("div",Kr,[t.createElementVNode("span",null,t.toDisplayString(i.value.radioType==="0"?"涨幅范围":"排名范围")+": ",1),t.createVNode(v,{modelValue:i.value.rankRange[0],"onUpdate:modelValue":f[23]||(f[23]=C=>i.value.rankRange[0]=C),style:{flex:"1"}},null,8,["modelValue"]),t.createTextVNode(" ~ "),t.createVNode(v,{modelValue:i.value.rankRange[1],"onUpdate:modelValue":f[24]||(f[24]=C=>i.value.rankRange[1]=C),style:{flex:"1"}},null,8,["modelValue"])])])):t.createCommentVNode("",!0),s.value.key==="auditOpinionType"?(t.openBlock(),t.createElementBlock("div",Xr,[t.createVNode(m,{modelValue:i.value.enumType,"onUpdate:modelValue":f[25]||(f[25]=C=>i.value.enumType=C)},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,(C,z)=>t.createVNode(V,{key:z,label:C.label,value:C.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0)],64))]}),_:2},[s.value.showRankType?{name:"header",fn:t.withCtx(()=>[t.createElementVNode("span",Ir,t.toDisplayString(s.value.label),1),t.createVNode(m,{modelValue:i.value.radioType,"onUpdate:modelValue":f[0]||(f[0]=S=>i.value.radioType=S),style:{"vertical-align":"4px","margin-left":"12px"}},{default:t.withCtx(()=>[t.createVNode(x,{label:"数值",value:"0"}),t.createVNode(x,{disabled:c.value&&c.value!==s.value.key,label:"排名",value:"1"},null,8,["disabled"])]),_:1},8,["modelValue"])]),key:"0"}:s.value.key==="mainFlow"?{name:"header",fn:t.withCtx(()=>[t.createElementVNode("span",{style:{"font-size":"18px"}},t.toDisplayString(s.value.label),1),t.createVNode(m,{modelValue:i.value.radioType,"onUpdate:modelValue":f[1]||(f[1]=S=>i.value.radioType=S),style:{"vertical-align":"4px","margin-left":"12px"},onChange:w},{default:t.withCtx(()=>[t.createVNode(x,{label:"涨幅范围",value:"0"}),t.createVNode(x,{disabled:c.value&&c.value!==s.value.key,label:"排名范围",value:"1"},null,8,["disabled"])]),_:1},8,["modelValue"])]),key:"1"}:void 0]),1032,["modelValue","title"])])):t.createCommentVNode("",!0)}}},to=Gu._export_sfc(eo,[["__scopeId","data-v-3e69da40"]]);const fu=u=>(t.pushScopeId("data-v-efd872de"),u=u(),t.popScopeId(),u),no={class:"variety-search"},ro={key:0,class:"variety-search-row"},oo={class:"title"},ao=fu(()=>t.createElementVNode("span",null,"品种市场: ",-1)),lo={key:1,class:"variety-search-row"},co={class:"title"},io=fu(()=>t.createElementVNode("span",null,"常用选项: ",-1)),so={key:2,class:"variety-search-row"},fo={class:"title"},po=fu(()=>t.createElementVNode("span",null,"上市板块: ",-1)),bo={key:3,class:"variety-search-row"},ho={class:"title"},mo=fu(()=>t.createElementVNode("span",null,"自定标签: ",-1)),xo={key:4,class:"variety-search-row"},_o={class:"title"},ko=fu(()=>t.createElementVNode("span",null,"价差转换: ",-1)),go={key:5,class:"variety-search-row"},yo={class:"title"},vo=fu(()=>t.createElementVNode("span",null,"因子筛选: ",-1)),Co={__name:"index",props:t.mergeModels({config:{type:Object,default:{}}},{searchData:{},searchDataModifiers:{}}),emits:["update:searchData"],setup(u,{expose:e}){const n=u,r=t.useModel(u,"searchData");r.value=Object.assign(r.value,{varietyMarket:null,commonOption:[],marketIds:[],customTag:[],jcTranslate:{type:null,jcList:[]},factorScreen:{list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:""},commonIndicator:[]});const o=t.computed(()=>{const d={};return Object.keys(ae).forEach(b=>{const _=ae[b],h=n.config[b]??{},F={..._,...h};d[b]=F}),d}),a=t.computed(()=>o.value.varietyMarket.options),c=t.computed(()=>{const{varietyMarket:d}=r.value;return d?a.value.find(({value:_})=>_===d).memo.reduce((_,h)=>{const F=o.value.commonOption.options.find(w=>w.value===h);return F&&_.push(F),_},[]):o.value.commonOption.options}),l=t.computed(()=>{const{varietyMarket:d}=r.value;return d?o.value.marketIds.options.filter(b=>b.varietyMarketIds.includes(d)):o.value.marketIds.options}),s=t.computed(()=>o.value.customTag.options),i=t.computed(()=>o.value.jcTranslate.jcOptions),p=d=>{switch(d){case"commonOption":{r.value[d]=[];break}case"marketIds":{r.value[d]=[];break}case"customTag":{r.value[d]=[];break}case"jcTranslate":{r.value[d]={type:null,jcList:[]};break}case"factorScreen":{r.value[d]={list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:""};break}case"commonIndicator":{r.value[d]=[];break}default:{r.value[d]=null;break}}};return t.watch(()=>c.value,d=>{var b;(b=r.value.commonOption)!=null&&b.length&&(r.value.commonOption=r.value.commonOption.filter(_=>d.find(({value:h})=>h===_)))}),t.watch(()=>l.value,d=>{var b;(b=r.value.marketIds)!=null&&b.length&&(r.value.marketIds=r.value.marketIds.filter(_=>d.find(({value:h})=>h===_)))}),e({formatData:d=>{var _,h,F,w,E,f;console.log("%c[st-varietySearch]: 正在生成接口传参...","color: tomato");const b={};if(d.varietyMarket&&(b.exchangeId=String(d.varietyMarket)),(_=d.commonOption)!=null&&_.length&&(b.optionId=d.commonOption.join(",")),(h=d.marketIds)!=null&&h.length&&(b.marketIds=d.marketIds),(F=d.customTag)!=null&&F.length&&(b.tagIds=d.customTag),(w=o.value.jcTranslate)!=null&&w.show){const{jcTranslate:k}=d,{type:x,jcList:m}=k;switch(x){case 1:{b.translateType=1,b.jcType=m.join(",");break}case 2:b.translateType=2}}if((E=o.value.factorScreen)!=null&&E.show){const{factorScreen:k}=d;if((f=k==null?void 0:k.list)!=null&&f.length&&(b.tbFeatureFactorScores=k.list.map(x=>{switch(x.key){case"compare":return{freqId:x.cycle,factorId:x.factor,compareType:x.compareType,freqId2:x.cycle2,factorId2:x.factor2};default:return{freqId:x.cycle,factorId:x.factor,startScore:x.score[0],endScore:x.score[1]}}})),k.sqlEnable){const x=k.list.reduce((v,g,A)=>{var V,D;const y=`条件${A+1}`;switch(g.key){case"compare":{let N="";(V=o.value.factorScreen)!=null&&V.cycleShow?N=`freq_id = ${g.cycle} and factor_id = ${g.factor} ${g.compareType} freq_id = ${g.cycle2} and factor_id = ${g.factor2}`:N=`factor_id = ${g.factor} ${g.compareType} factor_id = ${g.factor2}`,v.set(y,`(${N})`);break}default:{let N=`factor_id = ${g.factor} and `;(D=o.value.factorScreen)!=null&&D.cycleShow&&(N=`freq_id = ${g.cycle} and factor_id = ${g.factor} and `),(g.score[0]||g.score[0]===0)&&(g.score[1]||g.score[1]===0)?N+=`score >= ${g.score[0]} and score <= ${g.score[1]}`:g.score[0]||g.score[0]===0?N+=`score >= ${g.score[0]}`:(g.score[1]||g.score[1]===0)&&(N+=`score <= ${g.score[1]}`),v.set(y,`(${N})`)}}return v},new Map([]));let m=k.sqlValue;for(const[v,g]of x){const A=new RegExp(v,"g");m=m.replace(A,g)}b.sql=m,b.sqlExpression=k.sqlValue}b.enableSql=k.sqlEnable===1?2:1,k.factorSelectExpr&&(b.factorSelectExpr=k.factorSelectExpr)}{const k=["expireDays","virtualRealDegree","yearProfitRate","impliedVolatility","levelMultiplier","turnover","volume","openInterest","optionsCpType","optionGear"],x=d.commonIndicator.reduce((D,N)=>{const{key:S,type:C,range:z,unit:nu,radioType:yu,radio:vu,rankRange:pu}=N;if(S==="mainFlow"){let[L,q]=pu,T=yu==="0"?`netInfow${vu}d`:`last${vu}DayMainFlowRank`;D.push({column:T,start:L,end:q})}if(S==="auditOpinionType")D.push({column:N.key,enumType:N.enumType});else if(yu==="1")b.sortBy={column:N.key,start:pu[0]||null,end:pu[1]||null};else if(["dividendYield","incrementRevenueLyr","netProfitGrowthRatioLyr","fiveYearRoe"].includes(S)){let[L,q]=z;["",null].includes(L)||(L=L/100),["",null].includes(q)||(q=q/100),D.push({column:N.key,start:L,end:q})}else if(C===void 0&&!k.includes(S)){let[L,q]=z;if(!["",null].includes(L))switch(nu[0]){case"亿":L=L*1e8;break;case"千万":L=L*1e7;break;default:L=L;break}if(!["",null].includes(q))switch(nu[1]){case"亿":q=q*1e8;break;case"千万":q=q*1e7;break;default:q=q;break}D.push({column:N.key,start:L,end:q})}return D},[]);x.length&&(b.query=x);const m=d.commonIndicator.find(({key:D})=>D==="st");m&&(b.st=m.st);const v=d.commonIndicator.find(({key:D})=>D==="tFeaturelncomes");v&&(b.netProfitQueryDto={...v,netProfit:v.netProfit*1e8});const g=d.commonIndicator.find(({key:D})=>D==="priceLevels");g&&(b.priceLevels=g.priceLevels);const A=d.commonIndicator.find(({key:D})=>D==="peTtmLevels");A&&(b.peTtmLevels=A.peTtmLevels);const y={};d.commonIndicator.forEach(D=>{const{key:N}=D;switch(N){case"expireDays":["",null].includes(D.range[0])||(y.minExpireDays=D.range[0]),["",null].includes(D.range[1])||(y.maxExpireDays=D.range[1]);break;case"virtualRealDegree":["",null].includes(D.range[0])||(y.minVirtualRealDegree=D.range[0]/100),["",null].includes(D.range[1])||(y.maxVirtualRealDegree=D.range[1]/100);break;case"yearProfitRate":["",null].includes(D.range[0])||(y.minYearProfitRate=D.range[0]/100),["",null].includes(D.range[1])||(y.maxYearProfitRate=D.range[1]/100);break;case"impliedVolatility":["",null].includes(D.range[0])||(y.minImpliedVolatility=D.range[0]/100),["",null].includes(D.range[1])||(y.maxImpliedVolatility=D.range[1]/100);break;case"levelMultiplier":["",null].includes(D.range[0])||(y.minLevelMultiplier=D.range[0]),["",null].includes(D.range[1])||(y.maxLevelMultiplier=D.range[1]);break;case"turnover":["",null].includes(D.range[0])||(y.minTurnover=D.range[0]*1e4),["",null].includes(D.range[1])||(y.maxTurnover=D.range[1]*1e4);break;case"volume":["",null].includes(D.range[0])||(y.minVolume=D.range[0]),["",null].includes(D.range[1])||(y.maxVolume=D.range[1]);break;case"openInterest":["",null].includes(D.range[0])||(y.minOpenInterest=D.range[0]),["",null].includes(D.range[1])||(y.maxOpenInterest=D.range[1]);break;case"optionsCpType":y.optionsCpType=D.optionsCpType;break;case"optionGear":["",null].includes(D.range[0])||(y.minOptionGear=D.range[0]),["",null].includes(D.range[1])||(y.maxOptionGear=D.range[1]);break}});const V=d.commonIndicator.find(({key:D})=>D==="perVolumn");V&&(b.perVolumn={type:V.radio,value:V.levels}),Object.keys(y).length&&(b.searchOptionDto={...b.searchOptionDto,...y})}return console.log("%c[st-varietySearch]: 接口传参数据生成完毕","color: green",b),b},reset:()=>{r.value={varietyMarket:null,commonOption:[],marketIds:[],customTag:[],jcTranslate:{type:null,jcList:[]},factorScreen:{list:[],sqlEnable:0,sqlValue:null,factorSelectExpr:""},commonIndicator:[]}}}),(d,b)=>{var k,x,m,v,g,A;const _=Ju,h=Wu,F=Du.ElCheckbox,w=Du.ElCheckboxGroup,E=lu.ElOption,f=lu.ElSelect;return t.openBlock(),t.createElementBlock("div",no,[(k=o.value.varietyMarket)!=null&&k.show?(t.openBlock(),t.createElementBlock("div",ro,[t.createElementVNode("div",oo,[ao,t.createElementVNode("span",{onClick:b[0]||(b[0]=y=>p("varietyMarket"))},"不限")]),t.createVNode(h,{modelValue:r.value.varietyMarket,"onUpdate:modelValue":b[1]||(b[1]=y=>r.value.varietyMarket=y),size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value,({label:y,value:V})=>(t.openBlock(),t.createBlock(_,{label:y,value:V,key:V},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),(x=o.value.commonOption)!=null&&x.show&&c.value.length?(t.openBlock(),t.createElementBlock("div",lo,[t.createElementVNode("div",co,[io,t.createElementVNode("span",{onClick:b[2]||(b[2]=y=>p("commonOption"))},"不限")]),t.createVNode(w,{modelValue:r.value.commonOption,"onUpdate:modelValue":b[3]||(b[3]=y=>r.value.commonOption=y),size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,({label:y,value:V})=>(t.openBlock(),t.createBlock(F,{label:y,value:V,key:V},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),(m=o.value.marketIds)!=null&&m.show&&l.value.length?(t.openBlock(),t.createElementBlock("div",so,[t.createElementVNode("div",fo,[po,t.createElementVNode("span",{onClick:b[4]||(b[4]=y=>p("marketIds"))},"不限")]),t.createVNode(w,{modelValue:r.value.marketIds,"onUpdate:modelValue":b[5]||(b[5]=y=>r.value.marketIds=y),size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,({label:y,value:V})=>(t.openBlock(),t.createBlock(F,{label:y,value:V,key:V},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),(v=o.value.customTag)!=null&&v.show&&s.value.length?(t.openBlock(),t.createElementBlock("div",bo,[t.createElementVNode("div",ho,[mo,t.createElementVNode("span",{onClick:b[6]||(b[6]=y=>p("customTag"))},"不限")]),t.createVNode(w,{modelValue:r.value.customTag,"onUpdate:modelValue":b[7]||(b[7]=y=>r.value.customTag=y),size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,({label:y,value:V})=>(t.openBlock(),t.createBlock(F,{label:y,value:V,key:V},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),(g=o.value.jcTranslate)!=null&&g.show?(t.openBlock(),t.createElementBlock("div",xo,[t.createElementVNode("div",_o,[ko,t.createElementVNode("span",{onClick:b[8]||(b[8]=y=>p("jcTranslate"))},"不限")]),t.createVNode(h,{modelValue:r.value.jcTranslate.type,"onUpdate:modelValue":b[9]||(b[9]=y=>r.value.jcTranslate.type=y),size:"small"},{default:t.withCtx(()=>[t.createVNode(_,{value:2},{default:t.withCtx(()=>[t.createTextVNode("价差转品种")]),_:1}),t.createVNode(_,{value:1},{default:t.withCtx(()=>[t.createTextVNode("品种转价差")]),_:1})]),_:1},8,["modelValue"]),t.withDirectives(t.createVNode(f,{modelValue:r.value.jcTranslate.jcList,"onUpdate:modelValue":b[10]||(b[10]=y=>r.value.jcTranslate.jcList=y),size:"small",multiple:"","collapse-tags":"","collapse-tags-tooltip":"",placeholder:"请选择价差品种",style:{width:"140px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,y=>(t.openBlock(),t.createBlock(E,{key:y.value,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),[[t.vShow,r.value.jcTranslate.type===1]])])):t.createCommentVNode("",!0),(A=o.value.factorScreen)!=null&&A.show?(t.openBlock(),t.createElementBlock("div",go,[t.createElementVNode("div",yo,[vo,t.createElementVNode("span",{onClick:b[11]||(b[11]=y=>p("factorScreen"))},"不限")]),t.createVNode(Fr,{data:r.value.factorScreen,"onUpdate:data":b[12]||(b[12]=y=>r.value.factorScreen=y),config:o.value.factorScreen},null,8,["data","config"])])):t.createCommentVNode("",!0),t.createVNode(to,{data:r.value.commonIndicator,"onUpdate:data":b[13]||(b[13]=y=>r.value.commonIndicator=y),varietyMarket:r.value.varietyMarket,commonOption:r.value.commonOption,config:o.value.commonIndicator},null,8,["data","varietyMarket","commonOption","config"])])}}},Eo=Gu._export_sfc(Co,[["__scopeId","data-v-efd872de"]]),Do={install(u){u.component("st-varietySearch",Eo)}};module.exports=Do;