@das-fed/upf-ui 6.4.0-dev.313 → 6.4.0-dev.315
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.
- package/front-end/i18n/front-end-page/dasui_en-US.js +5 -5
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +5 -5
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +5 -5
- package/package.json +7 -7
- package/packages/business-components/ai-panel/{index-DCyDBdoc.js → index-BCG4Ay8z.js} +3 -18
- package/packages/business-components/ai-panel/index-BCG4Ay8z.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-_XzaXcle.js → index-C5KOKfah.js} +1058 -1492
- package/packages/business-components/ai-panel/index-C5KOKfah.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CPc9GB7t.js +144 -0
- package/packages/business-components/ai-panel/index-CPc9GB7t.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/ai-panel/src/dasAI/hooks/audio.d.ts +1 -1
- package/packages/business-components/app-container/index.js +98 -147
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/index.d.ts +30 -30
- package/packages/business-components/area-phone-select/index.js +127 -176
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +4 -4
- package/packages/business-components/change-enterprises/index.js +47 -73
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +15 -27
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +14 -14
- package/packages/business-components/currency-page/index.js +34 -51
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +12669 -17395
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/echarts/index.js +2089 -2102
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/export-button/index.js +110 -117
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +203 -237
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +42 -42
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.d.ts +4 -4
- package/packages/business-components/model-table-dialog/index.js +313 -361
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/index.js +156 -246
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +216 -302
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +1263 -1432
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +14 -14
- package/packages/business-components/process-log/index.js +389 -572
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +4 -4
- package/packages/business-components/process-search-form/index.js +1 -1
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.d.ts +14 -14
- package/packages/business-components/process-table/index.js +424 -485
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/index.js +57 -63
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +1222 -1693
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +67 -128
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +263 -331
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/alert/index.d.ts +4 -4
- package/packages/components/alert/index.js +50 -57
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/audio-video/index.js +169 -196
- package/packages/components/audio-video/index.js.gz +0 -0
- package/packages/components/autocomplete/index.d.ts +6 -6
- package/packages/components/autocomplete/index.js +244 -269
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/breadcrumb/index.js +55 -81
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.js +308 -381
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/index.js +253 -339
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.d.ts +8 -8
- package/packages/components/cascader/index.js +139 -174
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +12 -12
- package/packages/components/checkbox/index.js +241 -354
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/index.js +19 -26
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collapse-transition/index.js +6 -13
- package/packages/components/collapse-transition/index.js.gz +0 -0
- package/packages/components/collaspe/index.d.ts +4 -4
- package/packages/components/collaspe/index.js +22 -23
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/color-picker/index.js +66 -89
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/index.d.ts +4 -4
- package/packages/components/custom-search-item/index.js +37 -49
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +888 -1118
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/index.js +150 -200
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +131 -149
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/drawer/index.js +6 -13
- package/packages/components/drawer/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +46 -61
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.d.ts +4 -4
- package/packages/components/edit-table/index.js +1092 -1324
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/empty/index.js +33 -61
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +35 -47
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form/index.d.ts +14 -14
- package/packages/components/form/index.js +29 -35
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form-item/index.js +924 -1089
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/icon/index.js +7 -13
- package/packages/components/icon/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +109 -143
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +571 -664
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/infinite-scroll/index.d.ts +3 -1
- package/packages/components/infinite-scroll/index.js +672 -858
- package/packages/components/infinite-scroll/index.js.gz +0 -0
- package/packages/components/infinite-scroll/src/index.vue.d.ts +3 -1
- package/packages/components/input/index.js +1044 -1128
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +2 -1
- package/packages/components/input/src/type.d.ts +73 -71
- package/packages/components/input/style.css +2 -2
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +119 -156
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-number/index.js +125 -145
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/live-player/index.d.ts +4 -4
- package/packages/components/live-player/index.js +9 -19
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/index.js +4 -10
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/index.js +103 -156
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +654 -879
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +21 -39
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/pagination/index.js +117 -155
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/index.d.ts +4 -4
- package/packages/components/popover/index.js +28 -49
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/popup-mask/index.js +45 -58
- package/packages/components/popup-mask/index.js.gz +0 -0
- package/packages/components/preview/index.js +1 -6
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/progress/index.js +117 -204
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +10 -10
- package/packages/components/radio/index.js +239 -376
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/radio-tabs/index.js +52 -86
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +269 -275
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +2 -3
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +98 -107
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search-form/index.js +1314 -1556
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +536 -605
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.js +78 -79
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-list/index.js +541 -598
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +194 -289
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/style.css +1 -1
- package/packages/components/special-range-picker-month/style.css.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +256 -389
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/style.css +1 -1
- package/packages/components/special-range-picker-year/style.css.gz +0 -0
- package/packages/components/spin/index.js +45 -58
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.d.ts +8 -8
- package/packages/components/split-panel/index.js +134 -192
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/step/index.js +0 -1
- package/packages/components/step/index.js.gz +0 -0
- package/packages/components/steps/index.js +6 -13
- package/packages/components/switch/index.js +11 -17
- package/packages/components/switch/index.js.gz +0 -0
- package/packages/components/switch/style.css +1 -1
- package/packages/components/switch/style.css.gz +0 -0
- package/packages/components/table/index.d.ts +103 -103
- package/packages/components/table/index.js +2935 -3461
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +9 -9
- package/packages/components/tabs/index.js +169 -235
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tag/index.js +11 -25
- package/packages/components/tag/index.js.gz +0 -0
- package/packages/components/time-line/index.js +49 -69
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/index.d.ts +6 -6
- package/packages/components/tooltip/index.js +74 -125
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/index.js +846 -1013
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +376 -404
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +12 -12
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +12 -12
- package/packages/components/tree-table/index.d.ts +2 -2
- package/packages/components/tree-table/index.js +294 -400
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +2409 -2663
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +143 -141
- package/packages/components/tree-v2/style.css +2 -2
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/upload/index.js +135 -208
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +136 -191
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
- package/packages/components/watermark/index.js +6 -13
- package/packages/icons/1-grids/index.js +0 -1
- package/packages/icons/1-grids/index.js.gz +0 -0
- package/packages/icons/4-grids/index.js +0 -1
- package/packages/icons/4-grids/index.js.gz +0 -0
- package/packages/icons/9-grids/index.js +0 -1
- package/packages/icons/9-grids/index.js.gz +0 -0
- package/packages/icons/add/index.js +0 -1
- package/packages/icons/add/index.js.gz +0 -0
- package/packages/icons/add-2/index.js +0 -1
- package/packages/icons/add-item/index.js +0 -1
- package/packages/icons/add-item/index.js.gz +0 -0
- package/packages/icons/addto/index.js +0 -1
- package/packages/icons/addto/index.js.gz +0 -0
- package/packages/icons/alarm/index.js +0 -1
- package/packages/icons/alarm/index.js.gz +0 -0
- package/packages/icons/arrow-first/index.js +0 -1
- package/packages/icons/arrow-first/index.js.gz +0 -0
- package/packages/icons/arrow-last/index.js +0 -1
- package/packages/icons/arrow-last/index.js.gz +0 -0
- package/packages/icons/audioing/index.js +0 -1
- package/packages/icons/audioing/index.js.gz +0 -0
- package/packages/icons/back/index.js +0 -1
- package/packages/icons/back/index.js.gz +0 -0
- package/packages/icons/bianjigongzuotai/index.js +0 -1
- package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
- package/packages/icons/biaochi/index.js +0 -1
- package/packages/icons/biaochi/index.js.gz +0 -0
- package/packages/icons/bim/index.js +0 -1
- package/packages/icons/bim/index.js.gz +0 -0
- package/packages/icons/bobaoguanbi/index.js +0 -1
- package/packages/icons/bobaoguanbi/index.js.gz +0 -0
- package/packages/icons/bobaokaiqi/index.js +0 -1
- package/packages/icons/bobaokaiqi/index.js.gz +0 -0
- package/packages/icons/bold/index.js +0 -1
- package/packages/icons/bold/index.js.gz +0 -0
- package/packages/icons/camera/index.js +0 -1
- package/packages/icons/camera/index.js.gz +0 -0
- package/packages/icons/camera-2/index.js +0 -1
- package/packages/icons/camera-2/index.js.gz +0 -0
- package/packages/icons/camera-3/index.js +0 -1
- package/packages/icons/camera-3/index.js.gz +0 -0
- package/packages/icons/cancel-full-screen/index.js +0 -1
- package/packages/icons/cancel-full-screen/index.js.gz +0 -0
- package/packages/icons/cankaoneirong/index.js +0 -1
- package/packages/icons/cankaoneirong/index.js.gz +0 -0
- package/packages/icons/card/index.js +0 -1
- package/packages/icons/card/index.js.gz +0 -0
- package/packages/icons/card-view/index.js +0 -1
- package/packages/icons/card-view/index.js.gz +0 -0
- package/packages/icons/caret-bottom/index.js +0 -1
- package/packages/icons/caret-bottom/index.js.gz +0 -0
- package/packages/icons/caret-right/index.js +0 -1
- package/packages/icons/chakancelve/index.js +0 -1
- package/packages/icons/chakancelve/index.js.gz +0 -0
- package/packages/icons/change/index.js +0 -1
- package/packages/icons/change/index.js.gz +0 -0
- package/packages/icons/change-2/index.js +0 -1
- package/packages/icons/change-2/index.js.gz +0 -0
- package/packages/icons/change-3/index.js +0 -1
- package/packages/icons/change-3/index.js.gz +0 -0
- package/packages/icons/changetenant/index.js +0 -1
- package/packages/icons/changetenant/index.js.gz +0 -0
- package/packages/icons/chart/index.js +0 -1
- package/packages/icons/chart/index.js.gz +0 -0
- package/packages/icons/chaxunxiangqing/index.js +0 -1
- package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
- package/packages/icons/check/index.js +0 -1
- package/packages/icons/check/index.js.gz +0 -0
- package/packages/icons/chuanglianjiang/index.js +0 -1
- package/packages/icons/chuanglianjiang/index.js.gz +0 -0
- package/packages/icons/chuangliansheng/index.js +0 -1
- package/packages/icons/chuangliansheng/index.js.gz +0 -0
- package/packages/icons/chuanglianting/index.js +0 -1
- package/packages/icons/chuanglianting/index.js.gz +0 -0
- package/packages/icons/chuizhiduiqi/index.js +0 -1
- package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
- package/packages/icons/chuizhijunfen/index.js +0 -1
- package/packages/icons/chuizhijunfen/index.js.gz +0 -0
- package/packages/icons/close/index.js +0 -1
- package/packages/icons/close/index.js.gz +0 -0
- package/packages/icons/close-2/index.js +0 -1
- package/packages/icons/close-2/index.js.gz +0 -0
- package/packages/icons/closeaudio/index.js +0 -1
- package/packages/icons/closeaudio/index.js.gz +0 -0
- package/packages/icons/color/index.js +0 -1
- package/packages/icons/color/index.js.gz +0 -0
- package/packages/icons/copy/index.js +0 -1
- package/packages/icons/copy/index.js.gz +0 -0
- package/packages/icons/custom/index.js +0 -1
- package/packages/icons/custom/index.js.gz +0 -0
- package/packages/icons/daochu/index.js +0 -1
- package/packages/icons/daochu/index.js.gz +0 -0
- package/packages/icons/date/index.js +0 -1
- package/packages/icons/date/index.js.gz +0 -0
- package/packages/icons/decline/index.js +0 -1
- package/packages/icons/decline/index.js.gz +0 -0
- package/packages/icons/default-btn/index.js +0 -1
- package/packages/icons/default-btn/index.js.gz +0 -0
- package/packages/icons/default-point/index.js +0 -1
- package/packages/icons/default-point/index.js.gz +0 -0
- package/packages/icons/delete/index.js +0 -1
- package/packages/icons/delete/index.js.gz +0 -0
- package/packages/icons/delete-2/index.js +0 -1
- package/packages/icons/delete-2/index.js.gz +0 -0
- package/packages/icons/dengbijiesuo/index.js +0 -1
- package/packages/icons/dengbisuoding/index.js +0 -1
- package/packages/icons/dengdai/index.js +0 -1
- package/packages/icons/dengdai/index.js.gz +0 -0
- package/packages/icons/dianzan/index.js +0 -1
- package/packages/icons/dianzan/index.js.gz +0 -0
- package/packages/icons/dianzan-2/index.js +0 -1
- package/packages/icons/dianzan-2/index.js.gz +0 -0
- package/packages/icons/direction-control/index.js +0 -1
- package/packages/icons/direction-control/index.js.gz +0 -0
- package/packages/icons/ditu/index.js +0 -1
- package/packages/icons/ditu/index.js.gz +0 -0
- package/packages/icons/dizhixuanze/index.js +0 -1
- package/packages/icons/dizhixuanze/index.js.gz +0 -0
- package/packages/icons/double-arrow-left/index.js +0 -1
- package/packages/icons/double-arrow-left/index.js.gz +0 -0
- package/packages/icons/double-arrow-right/index.js +0 -1
- package/packages/icons/double-arrow-right/index.js.gz +0 -0
- package/packages/icons/down/index.js +0 -1
- package/packages/icons/down/index.js.gz +0 -0
- package/packages/icons/down-2/index.js +0 -1
- package/packages/icons/down-3/index.js +0 -1
- package/packages/icons/download/index.js +0 -1
- package/packages/icons/download/index.js.gz +0 -0
- package/packages/icons/drag/index.js +0 -1
- package/packages/icons/drag/index.js.gz +0 -0
- package/packages/icons/drawing/index.js +0 -1
- package/packages/icons/drawing/index.js.gz +0 -0
- package/packages/icons/edit/index.js +0 -1
- package/packages/icons/edit/index.js.gz +0 -0
- package/packages/icons/edit-1/index.js +0 -1
- package/packages/icons/edit-1/index.js.gz +0 -0
- package/packages/icons/edit-3/index.js +0 -1
- package/packages/icons/edit-3/index.js.gz +0 -0
- package/packages/icons/empty/index.js +0 -1
- package/packages/icons/empty/index.js.gz +0 -0
- package/packages/icons/enlarge/index.js +0 -1
- package/packages/icons/enlarge/index.js.gz +0 -0
- package/packages/icons/entry/index.js +0 -1
- package/packages/icons/entry/index.js.gz +0 -0
- package/packages/icons/exit/index.js +0 -1
- package/packages/icons/exit/index.js.gz +0 -0
- package/packages/icons/fabu/index.js +0 -1
- package/packages/icons/fabu/index.js.gz +0 -0
- package/packages/icons/fanhui/index.js +0 -1
- package/packages/icons/fanhui/index.js.gz +0 -0
- package/packages/icons/fasong/index.js +0 -1
- package/packages/icons/fasong/index.js.gz +0 -0
- package/packages/icons/filter-3/index.js +0 -1
- package/packages/icons/filter-3/index.js.gz +0 -0
- package/packages/icons/finish/index.js +0 -1
- package/packages/icons/finish/index.js.gz +0 -0
- package/packages/icons/fold/index.js +0 -1
- package/packages/icons/fold/index.js.gz +0 -0
- package/packages/icons/folder-quest/index.js +0 -1
- package/packages/icons/folder-quest/index.js.gz +0 -0
- package/packages/icons/form-tips/index.js +0 -1
- package/packages/icons/form-tips/index.js.gz +0 -0
- package/packages/icons/fresh/index.js +0 -1
- package/packages/icons/fresh/index.js.gz +0 -0
- package/packages/icons/full/index.js +0 -1
- package/packages/icons/full/index.js.gz +0 -0
- package/packages/icons/full-screen/index.js +0 -1
- package/packages/icons/full-screen/index.js.gz +0 -0
- package/packages/icons/fullscreen-2/index.js +0 -1
- package/packages/icons/fullscreen-2/index.js.gz +0 -0
- package/packages/icons/fuzhi/index.js +0 -1
- package/packages/icons/fuzhi/index.js.gz +0 -0
- package/packages/icons/fuzhineirong/index.js +0 -1
- package/packages/icons/fuzhineirong/index.js.gz +0 -0
- package/packages/icons/gaojin/index.js +0 -1
- package/packages/icons/gaojin/index.js.gz +0 -0
- package/packages/icons/gengduocaozuo/index.js +0 -1
- package/packages/icons/global/index.js +0 -1
- package/packages/icons/global/index.js.gz +0 -0
- package/packages/icons/gongzuotaiguanli/index.js +0 -1
- package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
- package/packages/icons/header-seach/index.js +0 -1
- package/packages/icons/header-seach/index.js.gz +0 -0
- package/packages/icons/header-setting/index.js +0 -1
- package/packages/icons/header-setting/index.js.gz +0 -0
- package/packages/icons/headersettings/index.js +0 -1
- package/packages/icons/headersettings/index.js.gz +0 -0
- package/packages/icons/hide/index.js +0 -1
- package/packages/icons/hide/index.js.gz +0 -0
- package/packages/icons/huabufuwei/index.js +0 -1
- package/packages/icons/huabufuwei/index.js.gz +0 -0
- package/packages/icons/huaxian/index.js +0 -1
- package/packages/icons/huaxian/index.js.gz +0 -0
- package/packages/icons/huida/index.js +0 -1
- package/packages/icons/huida/index.js.gz +0 -0
- package/packages/icons/huidaodibu/index.js +0 -1
- package/packages/icons/huidaodibu/index.js.gz +0 -0
- package/packages/icons/huifuchuchangshezhi/index.js +0 -1
- package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
- package/packages/icons/hyperlinks/index.js +0 -1
- package/packages/icons/hyperlinks/index.js.gz +0 -0
- package/packages/icons/img/index.js +0 -1
- package/packages/icons/img/index.js.gz +0 -0
- package/packages/icons/input-close/index.js +0 -1
- package/packages/icons/input-close/index.js.gz +0 -0
- package/packages/icons/input-select/index.js +0 -1
- package/packages/icons/input-select/index.js.gz +0 -0
- package/packages/icons/intnet/index.js +0 -1
- package/packages/icons/intnet/index.js.gz +0 -0
- package/packages/icons/italic/index.js +0 -1
- package/packages/icons/italic/index.js.gz +0 -0
- package/packages/icons/jia-1/index.js +0 -1
- package/packages/icons/jia-1/index.js.gz +0 -0
- package/packages/icons/jian-1/index.js +0 -1
- package/packages/icons/jianshao-1/index.js +0 -1
- package/packages/icons/jinggao/index.js +0 -1
- package/packages/icons/jinggao/index.js.gz +0 -0
- package/packages/icons/jushangduiqi/index.js +0 -1
- package/packages/icons/jushangduiqi/index.js.gz +0 -0
- package/packages/icons/juxiaduiqi/index.js +0 -1
- package/packages/icons/juxiaduiqi/index.js.gz +0 -0
- package/packages/icons/juxinghuizhi/index.js +0 -1
- package/packages/icons/juxinghuizhi/index.js.gz +0 -0
- package/packages/icons/juyouduiqi/index.js +0 -1
- package/packages/icons/juyouduiqi/index.js.gz +0 -0
- package/packages/icons/juzuoduiqi/index.js +0 -1
- package/packages/icons/juzuoduiqi/index.js.gz +0 -0
- package/packages/icons/kaiguan/index.js +0 -1
- package/packages/icons/kaiguan/index.js.gz +0 -0
- package/packages/icons/kaimen/index.js +0 -1
- package/packages/icons/kaimen/index.js.gz +0 -0
- package/packages/icons/know/index.js +0 -1
- package/packages/icons/know/index.js.gz +0 -0
- package/packages/icons/knowed/index.js +0 -1
- package/packages/icons/knowed/index.js.gz +0 -0
- package/packages/icons/knowopen/index.js +0 -1
- package/packages/icons/knowopen/index.js.gz +0 -0
- package/packages/icons/layout-refresh/index.js +0 -1
- package/packages/icons/layout-refresh/index.js.gz +0 -0
- package/packages/icons/left/index.js +0 -1
- package/packages/icons/lianjie/index.js +0 -1
- package/packages/icons/lianjie/index.js.gz +0 -0
- package/packages/icons/link/index.js +0 -1
- package/packages/icons/link/index.js.gz +0 -0
- package/packages/icons/lishihuihua/index.js +0 -1
- package/packages/icons/lishihuihua/index.js.gz +0 -0
- package/packages/icons/list/index.js +0 -1
- package/packages/icons/list/index.js.gz +0 -0
- package/packages/icons/list-view/index.js +0 -1
- package/packages/icons/list-view/index.js.gz +0 -0
- package/packages/icons/load/index.js +0 -1
- package/packages/icons/load/index.js.gz +0 -0
- package/packages/icons/lock/index.js +0 -1
- package/packages/icons/lock/index.js.gz +0 -0
- package/packages/icons/marsh/index.js +0 -1
- package/packages/icons/me/index.js +0 -1
- package/packages/icons/me/index.js.gz +0 -0
- package/packages/icons/more/index.js +0 -1
- package/packages/icons/more/index.js.gz +0 -0
- package/packages/icons/more-2/index.js +0 -1
- package/packages/icons/more-btn/index.js +0 -1
- package/packages/icons/more-btn/index.js.gz +0 -0
- package/packages/icons/muted/index.js +0 -1
- package/packages/icons/muted/index.js.gz +0 -0
- package/packages/icons/notification-face/index.js +0 -1
- package/packages/icons/notification-face/index.js.gz +0 -0
- package/packages/icons/paiban/index.js +0 -1
- package/packages/icons/paiban/index.js.gz +0 -0
- package/packages/icons/password-lock/index.js +0 -1
- package/packages/icons/password-lock/index.js.gz +0 -0
- package/packages/icons/password-lock2/index.js +0 -1
- package/packages/icons/password-lock2/index.js.gz +0 -0
- package/packages/icons/pause/index.js +0 -1
- package/packages/icons/pause/index.js.gz +0 -0
- package/packages/icons/phone/index.js +0 -1
- package/packages/icons/phone/index.js.gz +0 -0
- package/packages/icons/pinglun/index.js +0 -1
- package/packages/icons/pinglun/index.js.gz +0 -0
- package/packages/icons/plan/index.js +0 -1
- package/packages/icons/plan/index.js.gz +0 -0
- package/packages/icons/play/index.js +0 -1
- package/packages/icons/play/index.js.gz +0 -0
- package/packages/icons/preview/index.js +0 -1
- package/packages/icons/preview/index.js.gz +0 -0
- package/packages/icons/preview-eye/index.js +0 -1
- package/packages/icons/preview-eye/index.js.gz +0 -0
- package/packages/icons/project-list/index.js +0 -1
- package/packages/icons/project-list/index.js.gz +0 -0
- package/packages/icons/project-tree/index.js +0 -1
- package/packages/icons/project-tree/index.js.gz +0 -0
- package/packages/icons/promptinformation-l/index.js +0 -1
- package/packages/icons/promptinformation-l/index.js.gz +0 -0
- package/packages/icons/qiehuangongzuotai/index.js +0 -1
- package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
- package/packages/icons/qingkong/index.js +0 -1
- package/packages/icons/qingkong/index.js.gz +0 -0
- package/packages/icons/quanping/index.js +0 -1
- package/packages/icons/quanping/index.js.gz +0 -0
- package/packages/icons/rate-all/index.js +0 -1
- package/packages/icons/rate-all/index.js.gz +0 -0
- package/packages/icons/rate-half/index.js +0 -1
- package/packages/icons/rate-half/index.js.gz +0 -0
- package/packages/icons/rate-none/index.js +0 -1
- package/packages/icons/rate-none/index.js.gz +0 -0
- package/packages/icons/recover/index.js +0 -1
- package/packages/icons/recover/index.js.gz +0 -0
- package/packages/icons/refresh/index.js +0 -1
- package/packages/icons/refresh/index.js.gz +0 -0
- package/packages/icons/reload/index.js +0 -1
- package/packages/icons/reload/index.js.gz +0 -0
- package/packages/icons/reset/index.js +0 -1
- package/packages/icons/reset/index.js.gz +0 -0
- package/packages/icons/right/index.js +0 -1
- package/packages/icons/right-3/index.js +0 -1
- package/packages/icons/right-3/index.js.gz +0 -0
- package/packages/icons/riqixuanze/index.js +0 -1
- package/packages/icons/riqixuanze/index.js.gz +0 -0
- package/packages/icons/rise/index.js +0 -1
- package/packages/icons/rise/index.js.gz +0 -0
- package/packages/icons/save/index.js +0 -1
- package/packages/icons/save/index.js.gz +0 -0
- package/packages/icons/screenshot/index.js +0 -1
- package/packages/icons/screenshot/index.js.gz +0 -0
- package/packages/icons/search/index.js +0 -1
- package/packages/icons/search/index.js.gz +0 -0
- package/packages/icons/select/index.js +0 -1
- package/packages/icons/select-confirm/index.js +0 -1
- package/packages/icons/select-confirm/index.js.gz +0 -0
- package/packages/icons/select2/index.js +0 -1
- package/packages/icons/set-up/index.js +0 -1
- package/packages/icons/set-up/index.js.gz +0 -0
- package/packages/icons/setting/index.js +0 -1
- package/packages/icons/setting/index.js.gz +0 -0
- package/packages/icons/shangchuan/index.js +0 -1
- package/packages/icons/shangchuan/index.js.gz +0 -0
- package/packages/icons/shebei/index.js +0 -1
- package/packages/icons/shebei/index.js.gz +0 -0
- package/packages/icons/shebeiqunzu/index.js +0 -1
- package/packages/icons/shebeiqunzu/index.js.gz +0 -0
- package/packages/icons/shendusikao/index.js +0 -1
- package/packages/icons/shendusikao/index.js.gz +0 -0
- package/packages/icons/sheweimoren/index.js +0 -1
- package/packages/icons/sheweimoren/index.js.gz +0 -0
- package/packages/icons/shisuan/index.js +0 -1
- package/packages/icons/shisuan/index.js.gz +0 -0
- package/packages/icons/shitu-kapian/index.js +0 -1
- package/packages/icons/shitu-kapian/index.js.gz +0 -0
- package/packages/icons/shitu-liebiao/index.js +0 -1
- package/packages/icons/shitu-map/index.js +0 -1
- package/packages/icons/shitu-map/index.js.gz +0 -0
- package/packages/icons/shortcut-keys/index.js +0 -1
- package/packages/icons/shortcut-keys/index.js.gz +0 -0
- package/packages/icons/shoudongzhihang/index.js +0 -1
- package/packages/icons/shoudongzhihang/index.js.gz +0 -0
- package/packages/icons/shouqiliangcemianban/index.js +0 -1
- package/packages/icons/shouqiyoucemianban/index.js +0 -1
- package/packages/icons/shouqiyoucemianban-1/index.js +0 -1
- package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
- package/packages/icons/shouqizuocemianban/index.js +0 -1
- package/packages/icons/shouqizuocemianban-1/index.js +0 -1
- package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
- package/packages/icons/shouquan/index.js +0 -1
- package/packages/icons/shouquan/index.js.gz +0 -0
- package/packages/icons/show/index.js +0 -1
- package/packages/icons/show/index.js.gz +0 -0
- package/packages/icons/shrink/index.js +0 -1
- package/packages/icons/shrink/index.js.gz +0 -0
- package/packages/icons/shuaxin/index.js +0 -1
- package/packages/icons/shuaxin/index.js.gz +0 -0
- package/packages/icons/shuipingduiqi/index.js +0 -1
- package/packages/icons/shuipingduiqi/index.js.gz +0 -0
- package/packages/icons/shuipingjunfen/index.js +0 -1
- package/packages/icons/shuipingjunfen/index.js.gz +0 -0
- package/packages/icons/shuyoufanye/index.js +0 -1
- package/packages/icons/shuyoufanye/index.js.gz +0 -0
- package/packages/icons/shuzuofanye/index.js +0 -1
- package/packages/icons/shuzuofanye/index.js.gz +0 -0
- package/packages/icons/solid-filter/index.js +0 -1
- package/packages/icons/solid-filter/index.js.gz +0 -0
- package/packages/icons/start/index.js +0 -1
- package/packages/icons/start/index.js.gz +0 -0
- package/packages/icons/stop/index.js +0 -1
- package/packages/icons/stop/index.js.gz +0 -0
- package/packages/icons/structural-diagram/index.js +0 -1
- package/packages/icons/structural-diagram/index.js.gz +0 -0
- package/packages/icons/success/index.js +0 -1
- package/packages/icons/system/index.js +0 -1
- package/packages/icons/system/index.js.gz +0 -0
- package/packages/icons/table-header-search/index.js +0 -1
- package/packages/icons/table-header-search/index.js.gz +0 -0
- package/packages/icons/text/index.js +0 -1
- package/packages/icons/text/index.js.gz +0 -0
- package/packages/icons/theme-set-icon/index.js +0 -1
- package/packages/icons/theme-set-icon/index.js.gz +0 -0
- package/packages/icons/tianjiaxinhuati/index.js +0 -1
- package/packages/icons/tianjiaxinhuati/index.js.gz +0 -0
- package/packages/icons/tick/index.js +0 -1
- package/packages/icons/tick/index.js.gz +0 -0
- package/packages/icons/tishixinxi/index.js +0 -1
- package/packages/icons/tishixinxi/index.js.gz +0 -0
- package/packages/icons/tongguo/index.js +0 -1
- package/packages/icons/tongguo/index.js.gz +0 -0
- package/packages/icons/tongzhi/index.js +0 -1
- package/packages/icons/tongzhi/index.js.gz +0 -0
- package/packages/icons/tubiaoku/index.js +0 -1
- package/packages/icons/tubiaoku/index.js.gz +0 -0
- package/packages/icons/tuichuquanping/index.js +0 -1
- package/packages/icons/tuichuquanping/index.js.gz +0 -0
- package/packages/icons/tuozhuai/index.js +0 -1
- package/packages/icons/tuozhuai/index.js.gz +0 -0
- package/packages/icons/underline/index.js +0 -1
- package/packages/icons/underline/index.js.gz +0 -0
- package/packages/icons/unflod/index.js +0 -1
- package/packages/icons/unflod/index.js.gz +0 -0
- package/packages/icons/unlock/index.js +0 -1
- package/packages/icons/unlock/index.js.gz +0 -0
- package/packages/icons/up/index.js +0 -1
- package/packages/icons/up/index.js.gz +0 -0
- package/packages/icons/up-2/index.js +0 -1
- package/packages/icons/up-2/index.js.gz +0 -0
- package/packages/icons/vauth/index.js +0 -1
- package/packages/icons/vauth/index.js.gz +0 -0
- package/packages/icons/view/index.js +0 -1
- package/packages/icons/view/index.js.gz +0 -0
- package/packages/icons/view-2/index.js +0 -1
- package/packages/icons/view-2/index.js.gz +0 -0
- package/packages/icons/volume/index.js +0 -1
- package/packages/icons/volume/index.js.gz +0 -0
- package/packages/icons/wangge/index.js +0 -1
- package/packages/icons/wangge/index.js.gz +0 -0
- package/packages/icons/wangge-1/index.js +0 -1
- package/packages/icons/wangge-1/index.js.gz +0 -0
- package/packages/icons/warning/index.js +0 -1
- package/packages/icons/warning/index.js.gz +0 -0
- package/packages/icons/warning-face/index.js +0 -1
- package/packages/icons/warning-face/index.js.gz +0 -0
- package/packages/icons/wendujiang/index.js +0 -1
- package/packages/icons/wendujiang/index.js.gz +0 -0
- package/packages/icons/wendusheng/index.js +0 -1
- package/packages/icons/wendusheng/index.js.gz +0 -0
- package/packages/icons/withdraw/index.js +0 -1
- package/packages/icons/withdraw/index.js.gz +0 -0
- package/packages/icons/xiala/index.js +0 -1
- package/packages/icons/xiazai/index.js +0 -1
- package/packages/icons/xiazai/index.js.gz +0 -0
- package/packages/icons/xinzengtongji/index.js +0 -1
- package/packages/icons/xinzengtongji/index.js.gz +0 -0
- package/packages/icons/xuanzhuanjiaodu/index.js +0 -1
- package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
- package/packages/icons/yidongduan/index.js +0 -1
- package/packages/icons/yidongduan/index.js.gz +0 -0
- package/packages/icons/yincang/index.js +0 -1
- package/packages/icons/yincang/index.js.gz +0 -0
- package/packages/icons/yingpian/index.js +0 -1
- package/packages/icons/yingpian/index.js.gz +0 -0
- package/packages/icons/yingyong/index.js +0 -1
- package/packages/icons/yingyong/index.js.gz +0 -0
- package/packages/icons/yitushoutu/index.js +0 -1
- package/packages/icons/yitushoutu/index.js.gz +0 -0
- package/packages/icons/yuanxinghuizhi/index.js +0 -1
- package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
- package/packages/icons/yulan-2/index.js +0 -1
- package/packages/icons/yulan-2/index.js.gz +0 -0
- package/packages/icons/yuyin/index.js +0 -1
- package/packages/icons/yuyin/index.js.gz +0 -0
- package/packages/icons/zhangaiwu/index.js +0 -1
- package/packages/icons/zhangaiwu/index.js.gz +0 -0
- package/packages/icons/zhizhen/index.js +0 -1
- package/packages/icons/zhizhen/index.js.gz +0 -0
- package/packages/icons/zhongxinshengcheng/index.js +0 -1
- package/packages/icons/zhongxinshengcheng/index.js.gz +0 -0
- package/packages/icons/zhuomianduan/index.js +0 -1
- package/packages/icons/zhuomianduan/index.js.gz +0 -0
- package/packages/icons/zidingyihuizhi/index.js +0 -1
- package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
- package/packages/icons/zuobiao/index.js +0 -1
- package/packages/icons/zuobiao/index.js.gz +0 -0
- package/presets/theme-cjb.css +321 -321
- package/presets/theme-default.css +321 -321
- package/presets/theme-dkh.css +321 -321
- package/presets/theme-ssl.css +321 -321
- package/release-meta.json +4 -4
- package/theme-default.css +321 -321
- package/packages/business-components/ai-panel/index-C1XseEkL.js +0 -182
- package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
- package/packages/business-components/ai-panel/index-DCyDBdoc.js.gz +0 -0
- package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
- package/packages/icons/caret-right/index.js.gz +0 -0
- package/packages/icons/shouqiyoucemianban/index.js.gz +0 -0
- package/packages/icons/shouqizuocemianban/index.js.gz +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineAsyncComponent as ot, ref as
|
|
1
|
+
import { defineAsyncComponent as ot, ref as I, watch as bu, h as it, reactive as ct, defineComponent as ou, onMounted as Ru, openBlock as w, createElementBlock as R, createElementVNode as g, toDisplayString as V, computed as su, createVNode as j, unref as C, createCommentVNode as $, normalizeClass as Ju, createBlock as X, withCtx as J, Fragment as Nu, renderList as Qu, withDirectives as Au, withKeys as Jt, vModelText as Qt, withModifiers as Fe, vShow as Hu, onBeforeUnmount as at, resolveDirective as Wt, nextTick as Ae, Transition as Xt, normalizeStyle as Yt } from "vue";
|
|
2
2
|
import { withInstall as u0 } from "@das-fed/upf-utils/with-install/index";
|
|
3
3
|
import { useRoute as e0 } from "vue-router";
|
|
4
4
|
import { DasIconClose2 as t0 } from "@das-fed/upf-ui/packages/icons/close-2/index";
|
|
5
|
-
import { t as
|
|
5
|
+
import { t as T, setI18nRule as n0 } from "@das-fed/upf-web/packages/i18n/index";
|
|
6
6
|
import { DasIconAudioing as r0 } from "@das-fed/upf-ui/packages/icons/audioing/index";
|
|
7
7
|
import { DasIconCloseaudio as o0 } from "@das-fed/upf-ui/packages/icons/closeaudio/index";
|
|
8
8
|
import { DasIconLishihuihua as i0 } from "@das-fed/upf-ui/packages/icons/lishihuihua/index";
|
|
9
9
|
import { DasScrollbar as we } from "@das-fed/upf-ui/packages/components/scrollbar/index";
|
|
10
10
|
import "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
11
|
-
import { DasTooltip as
|
|
11
|
+
import { DasTooltip as vu } from "@das-fed/upf-ui/packages/components/tooltip/index";
|
|
12
12
|
import { DasPreview as c0 } from "@das-fed/upf-ui/packages/components/preview/index";
|
|
13
13
|
import { getToken as re } from "@das-fed/upf-utils/common-info/index";
|
|
14
14
|
import { getConfig as st } from "@das-fed/upf-utils/config";
|
|
@@ -32,13 +32,13 @@ import { DasIconSelect2 as b0 } from "@das-fed/upf-ui/packages/icons/select2/ind
|
|
|
32
32
|
import { DasPopover as m0 } from "@das-fed/upf-ui/packages/components/popover/index";
|
|
33
33
|
import { DasTree as x0 } from "@das-fed/upf-ui/packages/components/tree/index";
|
|
34
34
|
import { vDasLoading as bt } from "@das-fed/upf-ui/packages/components/loading/index";
|
|
35
|
-
import { createService as mt, iotMinio as xt, knowledgeBase as
|
|
35
|
+
import { createService as mt, iotMinio as xt, knowledgeBase as qu } from "@das-fed/upf-utils/api-services";
|
|
36
36
|
import { DasIconLianjie as _0 } from "@das-fed/upf-ui/packages/icons/lianjie/index";
|
|
37
37
|
import { DasIconQingkong as g0 } from "@das-fed/upf-ui/packages/icons/qingkong/index";
|
|
38
38
|
import { DasIconDelete as k0 } from "@das-fed/upf-ui/packages/icons/delete/index";
|
|
39
|
-
import { DasEmpty as
|
|
40
|
-
import { socketService as
|
|
41
|
-
import { SizeWatcher as
|
|
39
|
+
import { DasEmpty as y0 } from "@das-fed/upf-ui/packages/components/empty/index";
|
|
40
|
+
import { socketService as A0 } from "@das-fed/upf-utils/webSocket-service";
|
|
41
|
+
import { SizeWatcher as C0 } from "@das-fed/upf-utils/size-watcher";
|
|
42
42
|
let $u = (u = 21) => {
|
|
43
43
|
let e = "", t = crypto.getRandomValues(new Uint8Array(u));
|
|
44
44
|
for (; u--; ) {
|
|
@@ -47,14 +47,14 @@ let $u = (u = 21) => {
|
|
|
47
47
|
}
|
|
48
48
|
return e;
|
|
49
49
|
};
|
|
50
|
-
const
|
|
51
|
-
const u =
|
|
50
|
+
const v0 = ot(() => import("./index-CPc9GB7t.js")), D0 = () => {
|
|
51
|
+
const u = I(), e = I(!1);
|
|
52
52
|
let t = !1;
|
|
53
53
|
const n = (c) => {
|
|
54
54
|
e.value && (t = c, e.value = !1);
|
|
55
55
|
};
|
|
56
56
|
return {
|
|
57
|
-
folderDialogVue: () => it(
|
|
57
|
+
folderDialogVue: () => it(v0, {
|
|
58
58
|
dialogShow: e.value,
|
|
59
59
|
content: u.value,
|
|
60
60
|
onSubmit: (c) => {
|
|
@@ -73,7 +73,7 @@ const C0 = ot(() => import("./index-C1XseEkL.js")), D0 = () => {
|
|
|
73
73
|
});
|
|
74
74
|
}))
|
|
75
75
|
};
|
|
76
|
-
},
|
|
76
|
+
}, m = ct({
|
|
77
77
|
deepseek: !1,
|
|
78
78
|
// 是否深度思考
|
|
79
79
|
loading: !1,
|
|
@@ -89,7 +89,7 @@ const C0 = ot(() => import("./index-C1XseEkL.js")), D0 = () => {
|
|
|
89
89
|
folderName: ""
|
|
90
90
|
// 默认选择知识库-全部
|
|
91
91
|
}), E0 = () => {
|
|
92
|
-
|
|
92
|
+
m.loading = !1, m.isplay = !1, m.showScrollBom = !1, m.senderValue = "";
|
|
93
93
|
};
|
|
94
94
|
ct({
|
|
95
95
|
knowDeepseek: !1,
|
|
@@ -106,15 +106,15 @@ const _t = () => sessionStorage.getItem("deepseekConfig") ? JSON.parse(sessionSt
|
|
|
106
106
|
sessionStorage.setItem("deepseekConfig", JSON.stringify(e));
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
|
|
109
|
+
m.searchType == "0" && (e.appDeepseek = m.deepseek), m.searchType == "1" && (e.knowDeepseek = m.deepseek), m.searchType == "2" && (e.networkDeepseek = m.deepseek), sessionStorage.setItem("deepseekConfig", JSON.stringify(e));
|
|
110
110
|
}, Vu = () => {
|
|
111
111
|
const u = _t();
|
|
112
|
-
|
|
112
|
+
m.searchType == "0" && (m.deepseek = u.appDeepseek), m.searchType == "1" && (m.deepseek = u.knowDeepseek), m.searchType == "2" && (m.deepseek = u.networkDeepseek);
|
|
113
113
|
};
|
|
114
114
|
var tu = function(u, e) {
|
|
115
115
|
if (!(this instanceof tu))
|
|
116
116
|
return new tu(u, e);
|
|
117
|
-
this.url = u, e = e || {}, this.headers = e.headers || {}, this.payload = e.payload !== void 0 ? e.payload : "", this.method = e.method || this.payload && "POST" || "GET", this.withCredentials = !!e.withCredentials, this.debug = !!e.debug, this.FIELD_SEPARATOR = ":", this.listeners = {}, this.xhr = null, this.readyState = tu.INITIALIZING, this.progress = 0, this.chunk = "", this.lastEventId = "", this.addEventListener = function(t, n) {
|
|
117
|
+
this.url = u, e = e || {}, this.headers = e.headers || {}, this.payload = e.payload !== void 0 ? e.payload : "", this.method = e.method || this.payload && "POST" || "GET", this.withCredentials = !!e.withCredentials, this.debug = !!e.debug, this.autoReconnect = e.autoReconnect !== void 0 ? e.autoReconnect : !1, this.reconnectDelay = e.reconnectDelay !== void 0 ? e.reconnectDelay : 3e3, this.maxRetries = e.maxRetries !== void 0 ? e.maxRetries : null, this.retryCount = 0, this.reconnectTimer = null, this.useLastEventId = e.useLastEventId !== void 0 ? e.useLastEventId : !0, this.FIELD_SEPARATOR = ":", this.listeners = {}, this.xhr = null, this.readyState = tu.INITIALIZING, this.progress = 0, this.chunk = "", this.lastEventId = "", this.addEventListener = function(t, n) {
|
|
118
118
|
this.listeners[t] === void 0 && (this.listeners[t] = []), this.listeners[t].indexOf(n) === -1 && this.listeners[t].push(n);
|
|
119
119
|
}, this.removeEventListener = function(t, n) {
|
|
120
120
|
if (this.listeners[t] === void 0)
|
|
@@ -132,7 +132,15 @@ var tu = function(u, e) {
|
|
|
132
132
|
return r(t), !t.defaultPrevented;
|
|
133
133
|
}) : !0;
|
|
134
134
|
}, this._markClosed = function() {
|
|
135
|
-
this.xhr = null, this.progress = 0, this.chunk = "", this._setReadyState(tu.CLOSED)
|
|
135
|
+
if (this.xhr = null, this.progress = 0, this.chunk = "", this._setReadyState(tu.CLOSED), this.autoReconnect) {
|
|
136
|
+
if (this.maxRetries !== null && this.retryCount >= this.maxRetries) {
|
|
137
|
+
this.debug, this.autoReconnect = !1, this.close();
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
this.reconnectTimer && clearTimeout(this.reconnectTimer), this.debug, this.reconnectTimer = setTimeout(() => {
|
|
141
|
+
this.reconnectTimer = null, this.retryCount++, this.stream();
|
|
142
|
+
}, this.reconnectDelay);
|
|
143
|
+
}
|
|
136
144
|
}, this._setReadyState = function(t) {
|
|
137
145
|
const n = new CustomEvent("readystatechange");
|
|
138
146
|
n.readyState = t, this.readyState = t, this.dispatchEvent(n);
|
|
@@ -148,12 +156,15 @@ var tu = function(u, e) {
|
|
|
148
156
|
this._onStreamFailure(t);
|
|
149
157
|
return;
|
|
150
158
|
}
|
|
159
|
+
this.retryCount = 0;
|
|
151
160
|
const n = this.xhr.responseText.substring(this.progress);
|
|
152
161
|
this.progress += n.length;
|
|
153
162
|
const r = (this.chunk + n).split(/(\r\n\r\n|\r\r|\n\n)/g), o = r.pop();
|
|
154
|
-
r.forEach(
|
|
155
|
-
|
|
156
|
-
|
|
163
|
+
r.forEach(
|
|
164
|
+
(function(c) {
|
|
165
|
+
c.trim().length > 0 && this.dispatchEvent(this._parseEventChunk(c));
|
|
166
|
+
}).bind(this)
|
|
167
|
+
), this.chunk = o;
|
|
157
168
|
}, this._onStreamLoaded = function(t) {
|
|
158
169
|
this._onStreamProgress(t), this.dispatchEvent(this._parseEventChunk(this.chunk)), this.chunk = "", this._markClosed();
|
|
159
170
|
}, this._parseEventChunk = function(t) {
|
|
@@ -161,19 +172,23 @@ var tu = function(u, e) {
|
|
|
161
172
|
return null;
|
|
162
173
|
this.debug;
|
|
163
174
|
const n = { id: null, retry: null, data: null, event: null };
|
|
164
|
-
t.split(/\n|\r\n|\r/).forEach(
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
+
if (t.split(/\n|\r\n|\r/).forEach(
|
|
176
|
+
(function(o) {
|
|
177
|
+
const c = o.indexOf(this.FIELD_SEPARATOR);
|
|
178
|
+
let i, a;
|
|
179
|
+
if (c > 0) {
|
|
180
|
+
const s = o[c + 1] === " " ? 2 : 1;
|
|
181
|
+
i = o.substring(0, c), a = o.substring(c + s);
|
|
182
|
+
} else if (c < 0)
|
|
183
|
+
i = o, a = "";
|
|
184
|
+
else
|
|
185
|
+
return;
|
|
186
|
+
i in n && (i === "data" && n[i] !== null ? n.data += `
|
|
175
187
|
` + a : n[i] = a);
|
|
176
|
-
|
|
188
|
+
}).bind(this)
|
|
189
|
+
), n.data === null)
|
|
190
|
+
return null;
|
|
191
|
+
n.id !== null && (this.lastEventId = n.id);
|
|
177
192
|
const r = new CustomEvent(n.event || "message");
|
|
178
193
|
return r.id = n.id, r.data = n.data || "", r.lastEventId = this.lastEventId, r;
|
|
179
194
|
}, this._onReadyStateChange = function() {
|
|
@@ -189,13 +204,16 @@ var tu = function(u, e) {
|
|
|
189
204
|
}
|
|
190
205
|
}, this.stream = function() {
|
|
191
206
|
if (!this.xhr) {
|
|
192
|
-
this._setReadyState(tu.CONNECTING), this.xhr = new XMLHttpRequest(), this.xhr.addEventListener("progress", this._onStreamProgress.bind(this)), this.xhr.addEventListener("load", this._onStreamLoaded.bind(this)), this.xhr.addEventListener(
|
|
207
|
+
this._setReadyState(tu.CONNECTING), this.xhr = new XMLHttpRequest(), this.xhr.addEventListener("progress", this._onStreamProgress.bind(this)), this.xhr.addEventListener("load", this._onStreamLoaded.bind(this)), this.xhr.addEventListener(
|
|
208
|
+
"readystatechange",
|
|
209
|
+
this._onReadyStateChange.bind(this)
|
|
210
|
+
), this.xhr.addEventListener("error", this._onStreamFailure.bind(this)), this.xhr.addEventListener("abort", this._onStreamAbort.bind(this)), this.xhr.open(this.method, this.url);
|
|
193
211
|
for (let t in this.headers)
|
|
194
212
|
this.xhr.setRequestHeader(t, this.headers[t]);
|
|
195
|
-
this.lastEventId.length > 0 && this.xhr.setRequestHeader("Last-Event-ID", this.lastEventId), this.xhr.withCredentials = this.withCredentials, this.xhr.send(this.payload);
|
|
213
|
+
this.useLastEventId && this.lastEventId.length > 0 && this.xhr.setRequestHeader("Last-Event-ID", this.lastEventId), this.xhr.withCredentials = this.withCredentials, this.xhr.send(this.payload);
|
|
196
214
|
}
|
|
197
215
|
}, this.close = function() {
|
|
198
|
-
this.readyState !== tu.CLOSED && this.xhr.abort();
|
|
216
|
+
this.readyState !== tu.CLOSED && (this.reconnectTimer && (clearTimeout(this.reconnectTimer), this.reconnectTimer = null), this.autoReconnect = !1, this.xhr.abort());
|
|
199
217
|
}, (e.start === void 0 || e.start) && this.stream();
|
|
200
218
|
};
|
|
201
219
|
tu.INITIALIZING = -1;
|
|
@@ -212,27 +230,15 @@ const F0 = { class: "das-ai-use-chat-content" }, w0 = {
|
|
|
212
230
|
},
|
|
213
231
|
emits: ["click"],
|
|
214
232
|
setup(u, { emit: e }) {
|
|
215
|
-
const t =
|
|
216
|
-
return
|
|
217
|
-
}), (n, r) => (w(), R(
|
|
218
|
-
"
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
[
|
|
225
|
-
g(
|
|
226
|
-
"div",
|
|
227
|
-
F0,
|
|
228
|
-
V(n.item.content),
|
|
229
|
-
1
|
|
230
|
-
/* TEXT */
|
|
231
|
-
)
|
|
232
|
-
],
|
|
233
|
-
512
|
|
234
|
-
/* NEED_PATCH */
|
|
235
|
-
));
|
|
233
|
+
const t = I();
|
|
234
|
+
return Ru(() => {
|
|
235
|
+
}), (n, r) => (w(), R("div", {
|
|
236
|
+
ref_key: "userChatRef",
|
|
237
|
+
ref: t,
|
|
238
|
+
class: "das-ai-use-chat"
|
|
239
|
+
}, [
|
|
240
|
+
g("div", F0, V(u.item.content), 1)
|
|
241
|
+
], 512));
|
|
236
242
|
}
|
|
237
243
|
}), iu = (u, e) => {
|
|
238
244
|
const t = u.__vccOpts || u;
|
|
@@ -240,8 +246,8 @@ const F0 = { class: "das-ai-use-chat-content" }, w0 = {
|
|
|
240
246
|
t[n] = r;
|
|
241
247
|
return t;
|
|
242
248
|
}, z0 = /* @__PURE__ */ iu(S0, [["__scopeId", "data-v-9ae9d9b5"]]);
|
|
243
|
-
var
|
|
244
|
-
function
|
|
249
|
+
var T0 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
250
|
+
function I0(u) {
|
|
245
251
|
return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
|
|
246
252
|
}
|
|
247
253
|
var kt = { exports: {} };
|
|
@@ -254,7 +260,7 @@ var kt = { exports: {} };
|
|
|
254
260
|
(function(u, e) {
|
|
255
261
|
(function(n, r) {
|
|
256
262
|
u.exports = r();
|
|
257
|
-
})(
|
|
263
|
+
})(T0, function() {
|
|
258
264
|
return (
|
|
259
265
|
/******/
|
|
260
266
|
function() {
|
|
@@ -271,114 +277,114 @@ var kt = { exports: {} };
|
|
|
271
277
|
);
|
|
272
278
|
}
|
|
273
279
|
});
|
|
274
|
-
var a = i(279), s = /* @__PURE__ */ i.n(a), l = i(370), f = /* @__PURE__ */ i.n(l),
|
|
275
|
-
function d(
|
|
280
|
+
var a = i(279), s = /* @__PURE__ */ i.n(a), l = i(370), f = /* @__PURE__ */ i.n(l), x = i(817), h = /* @__PURE__ */ i.n(x);
|
|
281
|
+
function d(L) {
|
|
276
282
|
try {
|
|
277
|
-
return document.execCommand(
|
|
283
|
+
return document.execCommand(L);
|
|
278
284
|
} catch {
|
|
279
285
|
return !1;
|
|
280
286
|
}
|
|
281
287
|
}
|
|
282
|
-
var
|
|
283
|
-
var
|
|
284
|
-
return d("cut"),
|
|
285
|
-
},
|
|
286
|
-
function
|
|
287
|
-
var S = document.documentElement.getAttribute("dir") === "rtl",
|
|
288
|
-
|
|
289
|
-
var
|
|
290
|
-
return
|
|
288
|
+
var A = function(S) {
|
|
289
|
+
var E = h()(S);
|
|
290
|
+
return d("cut"), E;
|
|
291
|
+
}, y = A;
|
|
292
|
+
function v(L) {
|
|
293
|
+
var S = document.documentElement.getAttribute("dir") === "rtl", E = document.createElement("textarea");
|
|
294
|
+
E.style.fontSize = "12pt", E.style.border = "0", E.style.padding = "0", E.style.margin = "0", E.style.position = "absolute", E.style[S ? "right" : "left"] = "-9999px";
|
|
295
|
+
var O = window.pageYOffset || document.documentElement.scrollTop;
|
|
296
|
+
return E.style.top = "".concat(O, "px"), E.setAttribute("readonly", ""), E.value = L, E;
|
|
291
297
|
}
|
|
292
|
-
var k = function(S,
|
|
293
|
-
var
|
|
294
|
-
|
|
295
|
-
var
|
|
296
|
-
return d("copy"),
|
|
297
|
-
},
|
|
298
|
-
var
|
|
298
|
+
var k = function(S, E) {
|
|
299
|
+
var O = v(S);
|
|
300
|
+
E.container.appendChild(O);
|
|
301
|
+
var N = h()(O);
|
|
302
|
+
return d("copy"), O.remove(), N;
|
|
303
|
+
}, _ = function(S) {
|
|
304
|
+
var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
299
305
|
container: document.body
|
|
300
|
-
},
|
|
301
|
-
return typeof S == "string" ?
|
|
302
|
-
},
|
|
303
|
-
function
|
|
306
|
+
}, O = "";
|
|
307
|
+
return typeof S == "string" ? O = k(S, E) : S instanceof HTMLInputElement && !["text", "search", "url", "tel", "password"].includes(S == null ? void 0 : S.type) ? O = k(S.value, E) : (O = h()(S), d("copy")), O;
|
|
308
|
+
}, p = _;
|
|
309
|
+
function b(L) {
|
|
304
310
|
"@babel/helpers - typeof";
|
|
305
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
306
|
-
return typeof
|
|
307
|
-
} :
|
|
308
|
-
return
|
|
309
|
-
},
|
|
311
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? b = function(E) {
|
|
312
|
+
return typeof E;
|
|
313
|
+
} : b = function(E) {
|
|
314
|
+
return E && typeof Symbol == "function" && E.constructor === Symbol && E !== Symbol.prototype ? "symbol" : typeof E;
|
|
315
|
+
}, b(L);
|
|
310
316
|
}
|
|
311
|
-
var
|
|
312
|
-
var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
313
|
-
if (
|
|
317
|
+
var M = function() {
|
|
318
|
+
var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, E = S.action, O = E === void 0 ? "copy" : E, N = S.container, H = S.target, eu = S.text;
|
|
319
|
+
if (O !== "copy" && O !== "cut")
|
|
314
320
|
throw new Error('Invalid "action" value, use either "copy" or "cut"');
|
|
315
|
-
if (
|
|
316
|
-
if (
|
|
317
|
-
if (
|
|
321
|
+
if (H !== void 0)
|
|
322
|
+
if (H && b(H) === "object" && H.nodeType === 1) {
|
|
323
|
+
if (O === "copy" && H.hasAttribute("disabled"))
|
|
318
324
|
throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
|
|
319
|
-
if (
|
|
325
|
+
if (O === "cut" && (H.hasAttribute("readonly") || H.hasAttribute("disabled")))
|
|
320
326
|
throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
|
|
321
327
|
} else
|
|
322
328
|
throw new Error('Invalid "target" value, use a valid Element');
|
|
323
329
|
if (eu)
|
|
324
|
-
return
|
|
325
|
-
container:
|
|
330
|
+
return p(eu, {
|
|
331
|
+
container: N
|
|
326
332
|
});
|
|
327
|
-
if (
|
|
328
|
-
return
|
|
329
|
-
container:
|
|
333
|
+
if (H)
|
|
334
|
+
return O === "cut" ? y(H) : p(H, {
|
|
335
|
+
container: N
|
|
330
336
|
});
|
|
331
|
-
},
|
|
332
|
-
function
|
|
337
|
+
}, F = M;
|
|
338
|
+
function q(L) {
|
|
333
339
|
"@babel/helpers - typeof";
|
|
334
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
335
|
-
return typeof
|
|
336
|
-
} :
|
|
337
|
-
return
|
|
338
|
-
},
|
|
340
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? q = function(E) {
|
|
341
|
+
return typeof E;
|
|
342
|
+
} : q = function(E) {
|
|
343
|
+
return E && typeof Symbol == "function" && E.constructor === Symbol && E !== Symbol.prototype ? "symbol" : typeof E;
|
|
344
|
+
}, q(L);
|
|
339
345
|
}
|
|
340
|
-
function
|
|
341
|
-
if (!(
|
|
346
|
+
function P(L, S) {
|
|
347
|
+
if (!(L instanceof S))
|
|
342
348
|
throw new TypeError("Cannot call a class as a function");
|
|
343
349
|
}
|
|
344
|
-
function K(
|
|
345
|
-
for (var
|
|
346
|
-
var
|
|
347
|
-
|
|
350
|
+
function K(L, S) {
|
|
351
|
+
for (var E = 0; E < S.length; E++) {
|
|
352
|
+
var O = S[E];
|
|
353
|
+
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(L, O.key, O);
|
|
348
354
|
}
|
|
349
355
|
}
|
|
350
|
-
function du(
|
|
351
|
-
return K(
|
|
356
|
+
function du(L, S, E) {
|
|
357
|
+
return K(L.prototype, S), K(L, E), L;
|
|
352
358
|
}
|
|
353
|
-
function _u(
|
|
359
|
+
function _u(L, S) {
|
|
354
360
|
if (typeof S != "function" && S !== null)
|
|
355
361
|
throw new TypeError("Super expression must either be null or a function");
|
|
356
|
-
|
|
362
|
+
L.prototype = Object.create(S && S.prototype, { constructor: { value: L, writable: !0, configurable: !0 } }), S && gu(L, S);
|
|
357
363
|
}
|
|
358
|
-
function gu(
|
|
359
|
-
return gu = Object.setPrototypeOf || function(
|
|
360
|
-
return
|
|
361
|
-
}, gu(
|
|
364
|
+
function gu(L, S) {
|
|
365
|
+
return gu = Object.setPrototypeOf || function(O, N) {
|
|
366
|
+
return O.__proto__ = N, O;
|
|
367
|
+
}, gu(L, S);
|
|
362
368
|
}
|
|
363
|
-
function wu(
|
|
369
|
+
function wu(L) {
|
|
364
370
|
var S = ue();
|
|
365
371
|
return function() {
|
|
366
|
-
var
|
|
372
|
+
var O = zu(L), N;
|
|
367
373
|
if (S) {
|
|
368
|
-
var
|
|
369
|
-
|
|
374
|
+
var H = zu(this).constructor;
|
|
375
|
+
N = Reflect.construct(O, arguments, H);
|
|
370
376
|
} else
|
|
371
|
-
|
|
372
|
-
return fu(this,
|
|
377
|
+
N = O.apply(this, arguments);
|
|
378
|
+
return fu(this, N);
|
|
373
379
|
};
|
|
374
380
|
}
|
|
375
|
-
function fu(
|
|
376
|
-
return S && (
|
|
381
|
+
function fu(L, S) {
|
|
382
|
+
return S && (q(S) === "object" || typeof S == "function") ? S : Su(L);
|
|
377
383
|
}
|
|
378
|
-
function Su(
|
|
379
|
-
if (
|
|
384
|
+
function Su(L) {
|
|
385
|
+
if (L === void 0)
|
|
380
386
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
381
|
-
return
|
|
387
|
+
return L;
|
|
382
388
|
}
|
|
383
389
|
function ue() {
|
|
384
390
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
@@ -390,28 +396,28 @@ var kt = { exports: {} };
|
|
|
390
396
|
return !1;
|
|
391
397
|
}
|
|
392
398
|
}
|
|
393
|
-
function zu(
|
|
394
|
-
return zu = Object.setPrototypeOf ? Object.getPrototypeOf : function(
|
|
395
|
-
return
|
|
396
|
-
}, zu(
|
|
399
|
+
function zu(L) {
|
|
400
|
+
return zu = Object.setPrototypeOf ? Object.getPrototypeOf : function(E) {
|
|
401
|
+
return E.__proto__ || Object.getPrototypeOf(E);
|
|
402
|
+
}, zu(L);
|
|
397
403
|
}
|
|
398
|
-
function ju(
|
|
399
|
-
var
|
|
400
|
-
if (S.hasAttribute(
|
|
401
|
-
return S.getAttribute(
|
|
404
|
+
function ju(L, S) {
|
|
405
|
+
var E = "data-clipboard-".concat(L);
|
|
406
|
+
if (S.hasAttribute(E))
|
|
407
|
+
return S.getAttribute(E);
|
|
402
408
|
}
|
|
403
|
-
var
|
|
404
|
-
_u(
|
|
405
|
-
var S = wu(
|
|
406
|
-
function
|
|
407
|
-
var
|
|
408
|
-
return
|
|
409
|
+
var Tu = /* @__PURE__ */ function(L) {
|
|
410
|
+
_u(E, L);
|
|
411
|
+
var S = wu(E);
|
|
412
|
+
function E(O, N) {
|
|
413
|
+
var H;
|
|
414
|
+
return P(this, E), H = S.call(this), H.resolveOptions(N), H.listenClick(O), H;
|
|
409
415
|
}
|
|
410
|
-
return du(
|
|
416
|
+
return du(E, [{
|
|
411
417
|
key: "resolveOptions",
|
|
412
418
|
value: function() {
|
|
413
|
-
var
|
|
414
|
-
this.action = typeof
|
|
419
|
+
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
420
|
+
this.action = typeof N.action == "function" ? N.action : this.defaultAction, this.target = typeof N.target == "function" ? N.target : this.defaultTarget, this.text = typeof N.text == "function" ? N.text : this.defaultText, this.container = q(N.container) === "object" ? N.container : document.body;
|
|
415
421
|
}
|
|
416
422
|
/**
|
|
417
423
|
* Adds a click event listener to the passed trigger.
|
|
@@ -419,10 +425,10 @@ var kt = { exports: {} };
|
|
|
419
425
|
*/
|
|
420
426
|
}, {
|
|
421
427
|
key: "listenClick",
|
|
422
|
-
value: function(
|
|
423
|
-
var
|
|
424
|
-
this.listener = f()(
|
|
425
|
-
return
|
|
428
|
+
value: function(N) {
|
|
429
|
+
var H = this;
|
|
430
|
+
this.listener = f()(N, "click", function(eu) {
|
|
431
|
+
return H.onClick(eu);
|
|
426
432
|
});
|
|
427
433
|
}
|
|
428
434
|
/**
|
|
@@ -431,19 +437,19 @@ var kt = { exports: {} };
|
|
|
431
437
|
*/
|
|
432
438
|
}, {
|
|
433
439
|
key: "onClick",
|
|
434
|
-
value: function(
|
|
435
|
-
var
|
|
440
|
+
value: function(N) {
|
|
441
|
+
var H = N.delegateTarget || N.currentTarget, eu = this.action(H) || "copy", Eu = F({
|
|
436
442
|
action: eu,
|
|
437
443
|
container: this.container,
|
|
438
|
-
target: this.target(
|
|
439
|
-
text: this.text(
|
|
444
|
+
target: this.target(H),
|
|
445
|
+
text: this.text(H)
|
|
440
446
|
});
|
|
441
447
|
this.emit(Eu ? "success" : "error", {
|
|
442
448
|
action: eu,
|
|
443
449
|
text: Eu,
|
|
444
|
-
trigger:
|
|
450
|
+
trigger: H,
|
|
445
451
|
clearSelection: function() {
|
|
446
|
-
|
|
452
|
+
H && H.focus(), window.getSelection().removeAllRanges();
|
|
447
453
|
}
|
|
448
454
|
});
|
|
449
455
|
}
|
|
@@ -453,8 +459,8 @@ var kt = { exports: {} };
|
|
|
453
459
|
*/
|
|
454
460
|
}, {
|
|
455
461
|
key: "defaultAction",
|
|
456
|
-
value: function(
|
|
457
|
-
return ju("action",
|
|
462
|
+
value: function(N) {
|
|
463
|
+
return ju("action", N);
|
|
458
464
|
}
|
|
459
465
|
/**
|
|
460
466
|
* Default `target` lookup function.
|
|
@@ -462,10 +468,10 @@ var kt = { exports: {} };
|
|
|
462
468
|
*/
|
|
463
469
|
}, {
|
|
464
470
|
key: "defaultTarget",
|
|
465
|
-
value: function(
|
|
466
|
-
var
|
|
467
|
-
if (
|
|
468
|
-
return document.querySelector(
|
|
471
|
+
value: function(N) {
|
|
472
|
+
var H = ju("target", N);
|
|
473
|
+
if (H)
|
|
474
|
+
return document.querySelector(H);
|
|
469
475
|
}
|
|
470
476
|
/**
|
|
471
477
|
* Allow fire programmatically a copy action
|
|
@@ -479,8 +485,8 @@ var kt = { exports: {} };
|
|
|
479
485
|
* Default `text` lookup function.
|
|
480
486
|
* @param {Element} trigger
|
|
481
487
|
*/
|
|
482
|
-
value: function(
|
|
483
|
-
return ju("text",
|
|
488
|
+
value: function(N) {
|
|
489
|
+
return ju("text", N);
|
|
484
490
|
}
|
|
485
491
|
/**
|
|
486
492
|
* Destroy lifecycle.
|
|
@@ -492,11 +498,11 @@ var kt = { exports: {} };
|
|
|
492
498
|
}
|
|
493
499
|
}], [{
|
|
494
500
|
key: "copy",
|
|
495
|
-
value: function(
|
|
496
|
-
var
|
|
501
|
+
value: function(N) {
|
|
502
|
+
var H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
497
503
|
container: document.body
|
|
498
504
|
};
|
|
499
|
-
return
|
|
505
|
+
return p(N, H);
|
|
500
506
|
}
|
|
501
507
|
/**
|
|
502
508
|
* Allow fire programmatically a cut action
|
|
@@ -505,8 +511,8 @@ var kt = { exports: {} };
|
|
|
505
511
|
*/
|
|
506
512
|
}, {
|
|
507
513
|
key: "cut",
|
|
508
|
-
value: function(
|
|
509
|
-
return
|
|
514
|
+
value: function(N) {
|
|
515
|
+
return y(N);
|
|
510
516
|
}
|
|
511
517
|
/**
|
|
512
518
|
* Returns the support of the given action, or all actions if no action is
|
|
@@ -516,13 +522,13 @@ var kt = { exports: {} };
|
|
|
516
522
|
}, {
|
|
517
523
|
key: "isSupported",
|
|
518
524
|
value: function() {
|
|
519
|
-
var
|
|
520
|
-
return
|
|
525
|
+
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], H = typeof N == "string" ? [N] : N, eu = !!document.queryCommandSupported;
|
|
526
|
+
return H.forEach(function(Eu) {
|
|
521
527
|
eu = eu && !!document.queryCommandSupported(Eu);
|
|
522
528
|
}), eu;
|
|
523
529
|
}
|
|
524
|
-
}]),
|
|
525
|
-
}(s()), fe =
|
|
530
|
+
}]), E;
|
|
531
|
+
}(s()), fe = Tu;
|
|
526
532
|
}
|
|
527
533
|
),
|
|
528
534
|
/***/
|
|
@@ -549,22 +555,22 @@ var kt = { exports: {} };
|
|
|
549
555
|
/***/
|
|
550
556
|
function(o, c, i) {
|
|
551
557
|
var a = i(828);
|
|
552
|
-
function s(
|
|
553
|
-
var
|
|
554
|
-
return
|
|
558
|
+
function s(x, h, d, A, y) {
|
|
559
|
+
var v = f.apply(this, arguments);
|
|
560
|
+
return x.addEventListener(d, v, y), {
|
|
555
561
|
destroy: function() {
|
|
556
|
-
|
|
562
|
+
x.removeEventListener(d, v, y);
|
|
557
563
|
}
|
|
558
564
|
};
|
|
559
565
|
}
|
|
560
|
-
function l(
|
|
561
|
-
return typeof
|
|
562
|
-
return s(
|
|
566
|
+
function l(x, h, d, A, y) {
|
|
567
|
+
return typeof x.addEventListener == "function" ? s.apply(null, arguments) : typeof d == "function" ? s.bind(null, document).apply(null, arguments) : (typeof x == "string" && (x = document.querySelectorAll(x)), Array.prototype.map.call(x, function(v) {
|
|
568
|
+
return s(v, h, d, A, y);
|
|
563
569
|
}));
|
|
564
570
|
}
|
|
565
|
-
function f(
|
|
566
|
-
return function(
|
|
567
|
-
|
|
571
|
+
function f(x, h, d, A) {
|
|
572
|
+
return function(y) {
|
|
573
|
+
y.delegateTarget = a(y.target, h), y.delegateTarget && A.call(x, y);
|
|
568
574
|
};
|
|
569
575
|
}
|
|
570
576
|
o.exports = l;
|
|
@@ -592,41 +598,41 @@ var kt = { exports: {} };
|
|
|
592
598
|
/***/
|
|
593
599
|
function(o, c, i) {
|
|
594
600
|
var a = i(879), s = i(438);
|
|
595
|
-
function l(d,
|
|
596
|
-
if (!d && !
|
|
601
|
+
function l(d, A, y) {
|
|
602
|
+
if (!d && !A && !y)
|
|
597
603
|
throw new Error("Missing required arguments");
|
|
598
|
-
if (!a.string(
|
|
604
|
+
if (!a.string(A))
|
|
599
605
|
throw new TypeError("Second argument must be a String");
|
|
600
|
-
if (!a.fn(
|
|
606
|
+
if (!a.fn(y))
|
|
601
607
|
throw new TypeError("Third argument must be a Function");
|
|
602
608
|
if (a.node(d))
|
|
603
|
-
return f(d,
|
|
609
|
+
return f(d, A, y);
|
|
604
610
|
if (a.nodeList(d))
|
|
605
|
-
return
|
|
611
|
+
return x(d, A, y);
|
|
606
612
|
if (a.string(d))
|
|
607
|
-
return h(d,
|
|
613
|
+
return h(d, A, y);
|
|
608
614
|
throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
|
|
609
615
|
}
|
|
610
|
-
function f(d,
|
|
611
|
-
return d.addEventListener(
|
|
616
|
+
function f(d, A, y) {
|
|
617
|
+
return d.addEventListener(A, y), {
|
|
612
618
|
destroy: function() {
|
|
613
|
-
d.removeEventListener(
|
|
619
|
+
d.removeEventListener(A, y);
|
|
614
620
|
}
|
|
615
621
|
};
|
|
616
622
|
}
|
|
617
|
-
function
|
|
618
|
-
return Array.prototype.forEach.call(d, function(
|
|
619
|
-
|
|
623
|
+
function x(d, A, y) {
|
|
624
|
+
return Array.prototype.forEach.call(d, function(v) {
|
|
625
|
+
v.addEventListener(A, y);
|
|
620
626
|
}), {
|
|
621
627
|
destroy: function() {
|
|
622
|
-
Array.prototype.forEach.call(d, function(
|
|
623
|
-
|
|
628
|
+
Array.prototype.forEach.call(d, function(v) {
|
|
629
|
+
v.removeEventListener(A, y);
|
|
624
630
|
});
|
|
625
631
|
}
|
|
626
632
|
};
|
|
627
633
|
}
|
|
628
|
-
function h(d,
|
|
629
|
-
return s(document.body, d,
|
|
634
|
+
function h(d, A, y) {
|
|
635
|
+
return s(document.body, d, A, y);
|
|
630
636
|
}
|
|
631
637
|
o.exports = l;
|
|
632
638
|
}
|
|
@@ -682,8 +688,8 @@ var kt = { exports: {} };
|
|
|
682
688
|
off: function(i, a) {
|
|
683
689
|
var s = this.e || (this.e = {}), l = s[i], f = [];
|
|
684
690
|
if (l && a)
|
|
685
|
-
for (var
|
|
686
|
-
l[
|
|
691
|
+
for (var x = 0, h = l.length; x < h; x++)
|
|
692
|
+
l[x].fn !== a && l[x].fn._ !== a && f.push(l[x]);
|
|
687
693
|
return f.length ? s[i] = f : delete s[i], this;
|
|
688
694
|
}
|
|
689
695
|
}, o.exports = c, o.exports.TinyEmitter = c;
|
|
@@ -735,7 +741,7 @@ var kt = { exports: {} };
|
|
|
735
741
|
});
|
|
736
742
|
})(kt);
|
|
737
743
|
var M0 = kt.exports;
|
|
738
|
-
const O0 = /* @__PURE__ */
|
|
744
|
+
const O0 = /* @__PURE__ */ I0(M0), N0 = (u) => ({
|
|
739
745
|
toClipboard(e, t) {
|
|
740
746
|
return new Promise((n, r) => {
|
|
741
747
|
const o = document.createElement("button"), c = new O0(o, {
|
|
@@ -860,7 +866,7 @@ function ze(u) {
|
|
|
860
866
|
function oe() {
|
|
861
867
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
862
868
|
}
|
|
863
|
-
const
|
|
869
|
+
const R0 = /^([a-z0-9.+-]+:)/i, q0 = /:[0-9]*$/, P0 = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, j0 = ["<", ">", '"', "`", " ", "\r", `
|
|
864
870
|
`, " "], H0 = ["{", "}", "|", "\\", "^", "`"].concat(j0), $0 = ["'"].concat(H0), $e = ["%", "/", "?", ";", "#"].concat($0), Ve = ["/", "?", "#"], V0 = 255, Ue = /^[+a-z0-9A-Z_-]{0,63}$/, U0 = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Ze = {
|
|
865
871
|
javascript: !0,
|
|
866
872
|
"javascript:": !0
|
|
@@ -876,7 +882,7 @@ const q0 = /^([a-z0-9.+-]+:)/i, R0 = /:[0-9]*$/, P0 = /^(\/\/?(?!\/)[^\?\s]*)(\?
|
|
|
876
882
|
"gopher:": !0,
|
|
877
883
|
"file:": !0
|
|
878
884
|
};
|
|
879
|
-
function
|
|
885
|
+
function Te(u, e) {
|
|
880
886
|
if (u && u instanceof oe) return u;
|
|
881
887
|
const t = new oe();
|
|
882
888
|
return t.parse(u, e), t;
|
|
@@ -888,7 +894,7 @@ oe.prototype.parse = function(u, e) {
|
|
|
888
894
|
if (s)
|
|
889
895
|
return this.pathname = s[1], s[2] && (this.search = s[2]), this;
|
|
890
896
|
}
|
|
891
|
-
let c =
|
|
897
|
+
let c = R0.exec(o);
|
|
892
898
|
if (c && (c = c[0], t = c.toLowerCase(), this.protocol = c, o = o.substr(c.length)), (e || c || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(c && Ze[c]) && (o = o.substr(2), this.slashes = !0)), !Ze[c] && (r || c && !Ge[c])) {
|
|
893
899
|
let s = -1;
|
|
894
900
|
for (let d = 0; d < Ve.length; d++)
|
|
@@ -898,20 +904,20 @@ oe.prototype.parse = function(u, e) {
|
|
|
898
904
|
for (let d = 0; d < $e.length; d++)
|
|
899
905
|
n = o.indexOf($e[d]), n !== -1 && (s === -1 || n < s) && (s = n);
|
|
900
906
|
s === -1 && (s = o.length), o[s - 1] === ":" && s--;
|
|
901
|
-
const
|
|
902
|
-
o = o.slice(s), this.parseHost(
|
|
907
|
+
const x = o.slice(0, s);
|
|
908
|
+
o = o.slice(s), this.parseHost(x), this.hostname = this.hostname || "";
|
|
903
909
|
const h = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
904
910
|
if (!h) {
|
|
905
911
|
const d = this.hostname.split(/\./);
|
|
906
|
-
for (let
|
|
907
|
-
const
|
|
908
|
-
if (
|
|
912
|
+
for (let A = 0, y = d.length; A < y; A++) {
|
|
913
|
+
const v = d[A];
|
|
914
|
+
if (v && !v.match(Ue)) {
|
|
909
915
|
let k = "";
|
|
910
|
-
for (let
|
|
911
|
-
|
|
916
|
+
for (let _ = 0, p = v.length; _ < p; _++)
|
|
917
|
+
v.charCodeAt(_) > 127 ? k += "x" : k += v[_];
|
|
912
918
|
if (!k.match(Ue)) {
|
|
913
|
-
const
|
|
914
|
-
|
|
919
|
+
const _ = d.slice(0, A), p = d.slice(A + 1), b = v.match(U0);
|
|
920
|
+
b && (_.push(b[1]), p.unshift(b[2])), p.length && (o = p.join(".") + o), this.hostname = _.join(".");
|
|
915
921
|
break;
|
|
916
922
|
}
|
|
917
923
|
}
|
|
@@ -925,7 +931,7 @@ oe.prototype.parse = function(u, e) {
|
|
|
925
931
|
return a !== -1 && (this.search = o.substr(a), o = o.slice(0, a)), o && (this.pathname = o), Ge[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
926
932
|
};
|
|
927
933
|
oe.prototype.parseHost = function(u) {
|
|
928
|
-
let e =
|
|
934
|
+
let e = q0.exec(u);
|
|
929
935
|
e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
|
|
930
936
|
};
|
|
931
937
|
const Z0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -933,15 +939,15 @@ const Z0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
933
939
|
decode: Lu,
|
|
934
940
|
encode: Wu,
|
|
935
941
|
format: ze,
|
|
936
|
-
parse:
|
|
937
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
942
|
+
parse: Te
|
|
943
|
+
}, Symbol.toStringTag, { value: "Module" })), yt = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, At = /[\0-\x1F\x7F-\x9F]/, G0 = /[\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]/, Ie = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, Ct = /[\$\+<->\^`\|~\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]/, vt = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, K0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
938
944
|
__proto__: null,
|
|
939
|
-
Any:
|
|
940
|
-
Cc:
|
|
945
|
+
Any: yt,
|
|
946
|
+
Cc: At,
|
|
941
947
|
Cf: G0,
|
|
942
|
-
P:
|
|
943
|
-
S:
|
|
944
|
-
Z:
|
|
948
|
+
P: Ie,
|
|
949
|
+
S: Ct,
|
|
950
|
+
Z: vt
|
|
945
951
|
}, Symbol.toStringTag, { value: "Module" })), J0 = new Uint16Array(
|
|
946
952
|
// prettier-ignore
|
|
947
953
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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))
|
|
@@ -996,18 +1002,18 @@ var W;
|
|
|
996
1002
|
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";
|
|
997
1003
|
})(W || (W = {}));
|
|
998
1004
|
const un = 32;
|
|
999
|
-
var
|
|
1005
|
+
var Cu;
|
|
1000
1006
|
(function(u) {
|
|
1001
1007
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
1002
|
-
})(
|
|
1003
|
-
function
|
|
1008
|
+
})(Cu || (Cu = {}));
|
|
1009
|
+
function Ce(u) {
|
|
1004
1010
|
return u >= W.ZERO && u <= W.NINE;
|
|
1005
1011
|
}
|
|
1006
1012
|
function en(u) {
|
|
1007
1013
|
return u >= W.UPPER_A && u <= W.UPPER_F || u >= W.LOWER_A && u <= W.LOWER_F;
|
|
1008
1014
|
}
|
|
1009
1015
|
function tn(u) {
|
|
1010
|
-
return u >= W.UPPER_A && u <= W.UPPER_Z || u >= W.LOWER_A && u <= W.LOWER_Z ||
|
|
1016
|
+
return u >= W.UPPER_A && u <= W.UPPER_Z || u >= W.LOWER_A && u <= W.LOWER_Z || Ce(u);
|
|
1011
1017
|
}
|
|
1012
1018
|
function nn(u) {
|
|
1013
1019
|
return u === W.EQUALS || tn(u);
|
|
@@ -1016,13 +1022,13 @@ var Q;
|
|
|
1016
1022
|
(function(u) {
|
|
1017
1023
|
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";
|
|
1018
1024
|
})(Q || (Q = {}));
|
|
1019
|
-
var
|
|
1025
|
+
var yu;
|
|
1020
1026
|
(function(u) {
|
|
1021
1027
|
u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
|
|
1022
|
-
})(
|
|
1028
|
+
})(yu || (yu = {}));
|
|
1023
1029
|
class rn {
|
|
1024
1030
|
constructor(e, t, n) {
|
|
1025
|
-
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = Q.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode =
|
|
1031
|
+
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = Q.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = yu.Strict;
|
|
1026
1032
|
}
|
|
1027
1033
|
/** Resets the instance to make it reusable. */
|
|
1028
1034
|
startEntity(e) {
|
|
@@ -1084,7 +1090,7 @@ class rn {
|
|
|
1084
1090
|
const n = t;
|
|
1085
1091
|
for (; t < e.length; ) {
|
|
1086
1092
|
const r = e.charCodeAt(t);
|
|
1087
|
-
if (
|
|
1093
|
+
if (Ce(r) || en(r))
|
|
1088
1094
|
t += 1;
|
|
1089
1095
|
else
|
|
1090
1096
|
return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
|
|
@@ -1104,7 +1110,7 @@ class rn {
|
|
|
1104
1110
|
const n = t;
|
|
1105
1111
|
for (; t < e.length; ) {
|
|
1106
1112
|
const r = e.charCodeAt(t);
|
|
1107
|
-
if (
|
|
1113
|
+
if (Ce(r))
|
|
1108
1114
|
t += 1;
|
|
1109
1115
|
else
|
|
1110
1116
|
return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
|
|
@@ -1130,7 +1136,7 @@ class rn {
|
|
|
1130
1136
|
return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
1131
1137
|
if (e === W.SEMI)
|
|
1132
1138
|
this.consumed += 1;
|
|
1133
|
-
else if (this.decodeMode ===
|
|
1139
|
+
else if (this.decodeMode === yu.Strict)
|
|
1134
1140
|
return 0;
|
|
1135
1141
|
return this.emitCodePoint(Y0(this.result), this.consumed), this.errors && (e !== W.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
1136
1142
|
}
|
|
@@ -1145,18 +1151,18 @@ class rn {
|
|
|
1145
1151
|
*/
|
|
1146
1152
|
stateNamedEntity(e, t) {
|
|
1147
1153
|
const { decodeTree: n } = this;
|
|
1148
|
-
let r = n[this.treeIndex], o = (r &
|
|
1154
|
+
let r = n[this.treeIndex], o = (r & Cu.VALUE_LENGTH) >> 14;
|
|
1149
1155
|
for (; t < e.length; t++, this.excess++) {
|
|
1150
1156
|
const c = e.charCodeAt(t);
|
|
1151
1157
|
if (this.treeIndex = on(n, r, this.treeIndex + Math.max(1, o), c), this.treeIndex < 0)
|
|
1152
1158
|
return this.result === 0 || // If we are parsing an attribute
|
|
1153
|
-
this.decodeMode ===
|
|
1159
|
+
this.decodeMode === yu.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
1154
1160
|
(o === 0 || // And there should be no invalid characters.
|
|
1155
1161
|
nn(c)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
1156
|
-
if (r = n[this.treeIndex], o = (r &
|
|
1162
|
+
if (r = n[this.treeIndex], o = (r & Cu.VALUE_LENGTH) >> 14, o !== 0) {
|
|
1157
1163
|
if (c === W.SEMI)
|
|
1158
1164
|
return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
|
|
1159
|
-
this.decodeMode !==
|
|
1165
|
+
this.decodeMode !== yu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
1160
1166
|
}
|
|
1161
1167
|
}
|
|
1162
1168
|
return -1;
|
|
@@ -1168,7 +1174,7 @@ class rn {
|
|
|
1168
1174
|
*/
|
|
1169
1175
|
emitNotTerminatedNamedEntity() {
|
|
1170
1176
|
var e;
|
|
1171
|
-
const { result: t, decodeTree: n } = this, r = (n[t] &
|
|
1177
|
+
const { result: t, decodeTree: n } = this, r = (n[t] & Cu.VALUE_LENGTH) >> 14;
|
|
1172
1178
|
return this.emitNamedEntityData(t, r, this.consumed), (e = this.errors) === null || e === void 0 || e.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
1173
1179
|
}
|
|
1174
1180
|
/**
|
|
@@ -1182,7 +1188,7 @@ class rn {
|
|
|
1182
1188
|
*/
|
|
1183
1189
|
emitNamedEntityData(e, t, n) {
|
|
1184
1190
|
const { decodeTree: r } = this;
|
|
1185
|
-
return this.emitCodePoint(t === 1 ? r[e] & ~
|
|
1191
|
+
return this.emitCodePoint(t === 1 ? r[e] & ~Cu.VALUE_LENGTH : r[e + 1], n), t === 3 && this.emitCodePoint(r[e + 2], n), n;
|
|
1186
1192
|
}
|
|
1187
1193
|
/**
|
|
1188
1194
|
* Signal to the parser that the end of the input was reached.
|
|
@@ -1195,7 +1201,7 @@ class rn {
|
|
|
1195
1201
|
var e;
|
|
1196
1202
|
switch (this.state) {
|
|
1197
1203
|
case Q.NamedEntity:
|
|
1198
|
-
return this.result !== 0 && (this.decodeMode !==
|
|
1204
|
+
return this.result !== 0 && (this.decodeMode !== yu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
1199
1205
|
case Q.NumericDecimal:
|
|
1200
1206
|
return this.emitNumericEntity(0, 2);
|
|
1201
1207
|
case Q.NumericHex:
|
|
@@ -1230,7 +1236,7 @@ function Dt(u) {
|
|
|
1230
1236
|
};
|
|
1231
1237
|
}
|
|
1232
1238
|
function on(u, e, t, n) {
|
|
1233
|
-
const r = (e &
|
|
1239
|
+
const r = (e & Cu.BRANCH_LENGTH) >> 7, o = e & Cu.JUMP_TABLE;
|
|
1234
1240
|
if (r === 0)
|
|
1235
1241
|
return o !== 0 && n === o ? t : -1;
|
|
1236
1242
|
if (o) {
|
|
@@ -1251,7 +1257,7 @@ function on(u, e, t, n) {
|
|
|
1251
1257
|
}
|
|
1252
1258
|
const cn = Dt(J0);
|
|
1253
1259
|
Dt(Q0);
|
|
1254
|
-
function Et(u, e =
|
|
1260
|
+
function Et(u, e = yu.Legacy) {
|
|
1255
1261
|
return cn(u, e);
|
|
1256
1262
|
}
|
|
1257
1263
|
function an(u) {
|
|
@@ -1319,7 +1325,7 @@ function Du(u) {
|
|
|
1319
1325
|
return mn.test(u) ? u.replace(xn, gn) : u;
|
|
1320
1326
|
}
|
|
1321
1327
|
const kn = /[.?*+^$[\]\\(){}|-]/g;
|
|
1322
|
-
function
|
|
1328
|
+
function yn(u) {
|
|
1323
1329
|
return u.replace(kn, "\\$&");
|
|
1324
1330
|
}
|
|
1325
1331
|
function Z(u) {
|
|
@@ -1350,7 +1356,7 @@ function Uu(u) {
|
|
|
1350
1356
|
return !1;
|
|
1351
1357
|
}
|
|
1352
1358
|
function Zu(u) {
|
|
1353
|
-
return
|
|
1359
|
+
return Ie.test(u) || Ct.test(u);
|
|
1354
1360
|
}
|
|
1355
1361
|
function Gu(u) {
|
|
1356
1362
|
switch (u) {
|
|
@@ -1394,12 +1400,12 @@ function Gu(u) {
|
|
|
1394
1400
|
function se(u) {
|
|
1395
1401
|
return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
|
|
1396
1402
|
}
|
|
1397
|
-
const
|
|
1403
|
+
const An = { mdurl: Z0, ucmicro: K0 }, Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1398
1404
|
__proto__: null,
|
|
1399
1405
|
arrayReplaceAt: Ft,
|
|
1400
1406
|
assign: ae,
|
|
1401
1407
|
escapeHtml: Du,
|
|
1402
|
-
escapeRE:
|
|
1408
|
+
escapeRE: yn,
|
|
1403
1409
|
fromCodePoint: ie,
|
|
1404
1410
|
has: ln,
|
|
1405
1411
|
isMdAsciiPunct: Gu,
|
|
@@ -1408,12 +1414,12 @@ const yn = { mdurl: Z0, ucmicro: K0 }, An = /* @__PURE__ */ Object.freeze(/* @__
|
|
|
1408
1414
|
isString: Me,
|
|
1409
1415
|
isValidEntityCode: Oe,
|
|
1410
1416
|
isWhiteSpace: Uu,
|
|
1411
|
-
lib:
|
|
1417
|
+
lib: An,
|
|
1412
1418
|
normalizeReference: se,
|
|
1413
1419
|
unescapeAll: Bu,
|
|
1414
1420
|
unescapeMd: bn
|
|
1415
1421
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1416
|
-
function
|
|
1422
|
+
function vn(u, e, t) {
|
|
1417
1423
|
let n, r, o, c;
|
|
1418
1424
|
const i = u.posMax, a = u.pos;
|
|
1419
1425
|
for (u.pos = e + 1, n = 1; u.pos < i; ) {
|
|
@@ -1507,7 +1513,7 @@ function En(u, e, t, n) {
|
|
|
1507
1513
|
const Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1508
1514
|
__proto__: null,
|
|
1509
1515
|
parseLinkDestination: Dn,
|
|
1510
|
-
parseLinkLabel:
|
|
1516
|
+
parseLinkLabel: vn,
|
|
1511
1517
|
parseLinkTitle: En
|
|
1512
1518
|
}, Symbol.toStringTag, { value: "Module" })), mu = {};
|
|
1513
1519
|
mu.code_inline = function(u, e, t, n, r) {
|
|
@@ -1533,10 +1539,10 @@ mu.fence = function(u, e, t, n, r) {
|
|
|
1533
1539
|
if (c) {
|
|
1534
1540
|
const l = o.attrIndex("class"), f = o.attrs ? o.attrs.slice() : [];
|
|
1535
1541
|
l < 0 ? f.push(["class", t.langPrefix + i]) : (f[l] = f[l].slice(), f[l][1] += " " + t.langPrefix + i);
|
|
1536
|
-
const
|
|
1542
|
+
const x = {
|
|
1537
1543
|
attrs: f
|
|
1538
1544
|
};
|
|
1539
|
-
return `<pre><code${r.renderAttrs(
|
|
1545
|
+
return `<pre><code${r.renderAttrs(x)}>${s}</code></pre>
|
|
1540
1546
|
`;
|
|
1541
1547
|
}
|
|
1542
1548
|
return `<pre><code${r.renderAttrs(o)}>${s}</code></pre>
|
|
@@ -1762,11 +1768,11 @@ function zn(u) {
|
|
|
1762
1768
|
e = u.src.replace(wn, `
|
|
1763
1769
|
`), e = e.replace(Sn, "�"), u.src = e;
|
|
1764
1770
|
}
|
|
1765
|
-
function
|
|
1771
|
+
function Tn(u) {
|
|
1766
1772
|
let e;
|
|
1767
1773
|
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);
|
|
1768
1774
|
}
|
|
1769
|
-
function
|
|
1775
|
+
function In(u) {
|
|
1770
1776
|
const e = u.tokens;
|
|
1771
1777
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
1772
1778
|
const r = e[t];
|
|
@@ -1797,48 +1803,48 @@ function Nn(u) {
|
|
|
1797
1803
|
const a = i.content;
|
|
1798
1804
|
let s = u.md.linkify.match(a);
|
|
1799
1805
|
const l = [];
|
|
1800
|
-
let f = i.level,
|
|
1806
|
+
let f = i.level, x = 0;
|
|
1801
1807
|
s.length > 0 && s[0].index === 0 && c > 0 && r[c - 1].type === "text_special" && (s = s.slice(1));
|
|
1802
1808
|
for (let h = 0; h < s.length; h++) {
|
|
1803
|
-
const d = s[h].url,
|
|
1804
|
-
if (!u.md.validateLink(
|
|
1809
|
+
const d = s[h].url, A = u.md.normalizeLink(d);
|
|
1810
|
+
if (!u.md.validateLink(A))
|
|
1805
1811
|
continue;
|
|
1806
|
-
let
|
|
1807
|
-
s[h].schema ? s[h].schema === "mailto:" && !/^mailto:/i.test(
|
|
1808
|
-
const
|
|
1809
|
-
if (
|
|
1810
|
-
const
|
|
1811
|
-
|
|
1812
|
+
let y = s[h].text;
|
|
1813
|
+
s[h].schema ? s[h].schema === "mailto:" && !/^mailto:/i.test(y) ? y = u.md.normalizeLinkText("mailto:" + y).replace(/^mailto:/, "") : y = u.md.normalizeLinkText(y) : y = u.md.normalizeLinkText("http://" + y).replace(/^http:\/\//, "");
|
|
1814
|
+
const v = s[h].index;
|
|
1815
|
+
if (v > x) {
|
|
1816
|
+
const b = new u.Token("text", "", 0);
|
|
1817
|
+
b.content = a.slice(x, v), b.level = f, l.push(b);
|
|
1812
1818
|
}
|
|
1813
1819
|
const k = new u.Token("link_open", "a", 1);
|
|
1814
|
-
k.attrs = [["href",
|
|
1815
|
-
const
|
|
1816
|
-
|
|
1817
|
-
const
|
|
1818
|
-
|
|
1820
|
+
k.attrs = [["href", A]], k.level = f++, k.markup = "linkify", k.info = "auto", l.push(k);
|
|
1821
|
+
const _ = new u.Token("text", "", 0);
|
|
1822
|
+
_.content = y, _.level = f, l.push(_);
|
|
1823
|
+
const p = new u.Token("link_close", "a", -1);
|
|
1824
|
+
p.level = --f, p.markup = "linkify", p.info = "auto", l.push(p), x = s[h].lastIndex;
|
|
1819
1825
|
}
|
|
1820
|
-
if (
|
|
1826
|
+
if (x < a.length) {
|
|
1821
1827
|
const h = new u.Token("text", "", 0);
|
|
1822
|
-
h.content = a.slice(
|
|
1828
|
+
h.content = a.slice(x), h.level = f, l.push(h);
|
|
1823
1829
|
}
|
|
1824
1830
|
e[t].children = r = Ft(r, c, l);
|
|
1825
1831
|
}
|
|
1826
1832
|
}
|
|
1827
1833
|
}
|
|
1828
1834
|
}
|
|
1829
|
-
const zt = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Ln = /\((c|tm|r)\)/i, Bn = /\((c|tm|r)\)/ig,
|
|
1835
|
+
const zt = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Ln = /\((c|tm|r)\)/i, Bn = /\((c|tm|r)\)/ig, Rn = {
|
|
1830
1836
|
c: "©",
|
|
1831
1837
|
r: "®",
|
|
1832
1838
|
tm: "™"
|
|
1833
1839
|
};
|
|
1834
|
-
function
|
|
1835
|
-
return
|
|
1840
|
+
function qn(u, e) {
|
|
1841
|
+
return Rn[e.toLowerCase()];
|
|
1836
1842
|
}
|
|
1837
1843
|
function Pn(u) {
|
|
1838
1844
|
let e = 0;
|
|
1839
1845
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1840
1846
|
const n = u[t];
|
|
1841
|
-
n.type === "text" && !e && (n.content = n.content.replace(Bn,
|
|
1847
|
+
n.type === "text" && !e && (n.content = n.content.replace(Bn, qn)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
|
|
1842
1848
|
}
|
|
1843
1849
|
}
|
|
1844
1850
|
function jn(u) {
|
|
@@ -1874,7 +1880,7 @@ function Vn(u, e) {
|
|
|
1874
1880
|
const l = Ke.exec(i);
|
|
1875
1881
|
if (!l)
|
|
1876
1882
|
break;
|
|
1877
|
-
let f = !0,
|
|
1883
|
+
let f = !0, x = !0;
|
|
1878
1884
|
a = l.index + 1;
|
|
1879
1885
|
const h = l[0] === "'";
|
|
1880
1886
|
let d = 32;
|
|
@@ -1886,33 +1892,33 @@ function Vn(u, e) {
|
|
|
1886
1892
|
d = u[t].content.charCodeAt(u[t].content.length - 1);
|
|
1887
1893
|
break;
|
|
1888
1894
|
}
|
|
1889
|
-
let
|
|
1895
|
+
let A = 32;
|
|
1890
1896
|
if (a < s)
|
|
1891
|
-
|
|
1897
|
+
A = i.charCodeAt(a);
|
|
1892
1898
|
else
|
|
1893
1899
|
for (t = r + 1; t < u.length && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t++)
|
|
1894
1900
|
if (u[t].content) {
|
|
1895
|
-
|
|
1901
|
+
A = u[t].content.charCodeAt(0);
|
|
1896
1902
|
break;
|
|
1897
1903
|
}
|
|
1898
|
-
const
|
|
1899
|
-
if (
|
|
1904
|
+
const y = Gu(d) || Zu(String.fromCharCode(d)), v = Gu(A) || Zu(String.fromCharCode(A)), k = Uu(d), _ = Uu(A);
|
|
1905
|
+
if (_ ? f = !1 : v && (k || y || (f = !1)), k ? x = !1 : y && (_ || v || (x = !1)), A === 34 && l[0] === '"' && d >= 48 && d <= 57 && (x = f = !1), f && x && (f = y, x = v), !f && !x) {
|
|
1900
1906
|
h && (o.content = ee(o.content, l.index, Je));
|
|
1901
1907
|
continue;
|
|
1902
1908
|
}
|
|
1903
|
-
if (
|
|
1909
|
+
if (x)
|
|
1904
1910
|
for (t = n.length - 1; t >= 0; t--) {
|
|
1905
|
-
let
|
|
1911
|
+
let p = n[t];
|
|
1906
1912
|
if (n[t].level < c)
|
|
1907
1913
|
break;
|
|
1908
|
-
if (
|
|
1909
|
-
|
|
1910
|
-
let
|
|
1911
|
-
h ? (
|
|
1912
|
-
u[
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
), a +=
|
|
1914
|
+
if (p.single === h && n[t].level === c) {
|
|
1915
|
+
p = n[t];
|
|
1916
|
+
let b, M;
|
|
1917
|
+
h ? (b = e.md.options.quotes[2], M = e.md.options.quotes[3]) : (b = e.md.options.quotes[0], M = e.md.options.quotes[1]), o.content = ee(o.content, l.index, M), u[p.token].content = ee(
|
|
1918
|
+
u[p.token].content,
|
|
1919
|
+
p.pos,
|
|
1920
|
+
b
|
|
1921
|
+
), a += M.length - 1, p.token === r && (a += b.length - 1), i = o.content, s = i.length, n.length = t;
|
|
1916
1922
|
continue u;
|
|
1917
1923
|
}
|
|
1918
1924
|
}
|
|
@@ -1921,7 +1927,7 @@ function Vn(u, e) {
|
|
|
1921
1927
|
pos: l.index,
|
|
1922
1928
|
single: h,
|
|
1923
1929
|
level: c
|
|
1924
|
-
}) :
|
|
1930
|
+
}) : x && h && (o.content = ee(o.content, l.index, Je));
|
|
1925
1931
|
}
|
|
1926
1932
|
}
|
|
1927
1933
|
}
|
|
@@ -1945,8 +1951,8 @@ function Zn(u) {
|
|
|
1945
1951
|
}
|
|
1946
1952
|
const me = [
|
|
1947
1953
|
["normalize", zn],
|
|
1948
|
-
["block",
|
|
1949
|
-
["inline",
|
|
1954
|
+
["block", Tn],
|
|
1955
|
+
["inline", In],
|
|
1950
1956
|
["linkify", Nn],
|
|
1951
1957
|
["replacements", Hn],
|
|
1952
1958
|
["smartquotes", Un],
|
|
@@ -2030,9 +2036,9 @@ xu.prototype.getLines = function(e, t, n, r) {
|
|
|
2030
2036
|
const s = this.bMarks[i];
|
|
2031
2037
|
let l = s, f;
|
|
2032
2038
|
for (i + 1 < t || r ? f = this.eMarks[i] + 1 : f = this.eMarks[i]; l < f && a < n; ) {
|
|
2033
|
-
const
|
|
2034
|
-
if (Z(
|
|
2035
|
-
|
|
2039
|
+
const x = this.src.charCodeAt(l);
|
|
2040
|
+
if (Z(x))
|
|
2041
|
+
x === 9 ? a += 4 - (a + this.bsCount[i]) % 4 : a++;
|
|
2036
2042
|
else if (l - s < this.tShift[i])
|
|
2037
2043
|
a++;
|
|
2038
2044
|
else
|
|
@@ -2072,23 +2078,23 @@ function Kn(u, e, t, n) {
|
|
|
2072
2078
|
if (i !== 124 && i !== 45 && i !== 58 && !Z(i) || c === 45 && Z(i))
|
|
2073
2079
|
return !1;
|
|
2074
2080
|
for (; o < u.eMarks[r]; ) {
|
|
2075
|
-
const
|
|
2076
|
-
if (
|
|
2081
|
+
const p = u.src.charCodeAt(o);
|
|
2082
|
+
if (p !== 124 && p !== 45 && p !== 58 && !Z(p))
|
|
2077
2083
|
return !1;
|
|
2078
2084
|
o++;
|
|
2079
2085
|
}
|
|
2080
2086
|
let a = xe(u, e + 1), s = a.split("|");
|
|
2081
2087
|
const l = [];
|
|
2082
|
-
for (let
|
|
2083
|
-
const
|
|
2084
|
-
if (!
|
|
2085
|
-
if (
|
|
2088
|
+
for (let p = 0; p < s.length; p++) {
|
|
2089
|
+
const b = s[p].trim();
|
|
2090
|
+
if (!b) {
|
|
2091
|
+
if (p === 0 || p === s.length - 1)
|
|
2086
2092
|
continue;
|
|
2087
2093
|
return !1;
|
|
2088
2094
|
}
|
|
2089
|
-
if (!/^:?-+:?$/.test(
|
|
2095
|
+
if (!/^:?-+:?$/.test(b))
|
|
2090
2096
|
return !1;
|
|
2091
|
-
|
|
2097
|
+
b.charCodeAt(b.length - 1) === 58 ? l.push(b.charCodeAt(0) === 58 ? "center" : "right") : b.charCodeAt(0) === 58 ? l.push("left") : l.push("");
|
|
2092
2098
|
}
|
|
2093
2099
|
if (a = xe(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
|
|
2094
2100
|
return !1;
|
|
@@ -2098,46 +2104,46 @@ function Kn(u, e, t, n) {
|
|
|
2098
2104
|
return !1;
|
|
2099
2105
|
if (n)
|
|
2100
2106
|
return !0;
|
|
2101
|
-
const
|
|
2107
|
+
const x = u.parentType;
|
|
2102
2108
|
u.parentType = "table";
|
|
2103
|
-
const h = u.md.block.ruler.getRules("blockquote"), d = u.push("table_open", "table", 1),
|
|
2104
|
-
d.map =
|
|
2105
|
-
const
|
|
2109
|
+
const h = u.md.block.ruler.getRules("blockquote"), d = u.push("table_open", "table", 1), A = [e, 0];
|
|
2110
|
+
d.map = A;
|
|
2111
|
+
const y = u.push("thead_open", "thead", 1);
|
|
2112
|
+
y.map = [e, e + 1];
|
|
2113
|
+
const v = u.push("tr_open", "tr", 1);
|
|
2106
2114
|
v.map = [e, e + 1];
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
const
|
|
2111
|
-
|
|
2112
|
-
const O = u.push("inline", "", 0);
|
|
2113
|
-
O.content = s[b].trim(), O.children = [], u.push("th_close", "th", -1);
|
|
2115
|
+
for (let p = 0; p < s.length; p++) {
|
|
2116
|
+
const b = u.push("th_open", "th", 1);
|
|
2117
|
+
l[p] && (b.attrs = [["style", "text-align:" + l[p]]]);
|
|
2118
|
+
const M = u.push("inline", "", 0);
|
|
2119
|
+
M.content = s[p].trim(), M.children = [], u.push("th_close", "th", -1);
|
|
2114
2120
|
}
|
|
2115
2121
|
u.push("tr_close", "tr", -1), u.push("thead_close", "thead", -1);
|
|
2116
|
-
let k,
|
|
2122
|
+
let k, _ = 0;
|
|
2117
2123
|
for (r = e + 2; r < t && !(u.sCount[r] < u.blkIndent); r++) {
|
|
2118
|
-
let
|
|
2119
|
-
for (let
|
|
2120
|
-
if (h[
|
|
2121
|
-
|
|
2124
|
+
let p = !1;
|
|
2125
|
+
for (let M = 0, F = h.length; M < F; M++)
|
|
2126
|
+
if (h[M](u, r, t, !0)) {
|
|
2127
|
+
p = !0;
|
|
2122
2128
|
break;
|
|
2123
2129
|
}
|
|
2124
|
-
if (
|
|
2130
|
+
if (p || (a = xe(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = Qe(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), _ += f - s.length, _ > Gn))
|
|
2125
2131
|
break;
|
|
2126
2132
|
if (r === e + 2) {
|
|
2127
|
-
const
|
|
2128
|
-
|
|
2133
|
+
const M = u.push("tbody_open", "tbody", 1);
|
|
2134
|
+
M.map = k = [e + 2, 0];
|
|
2129
2135
|
}
|
|
2130
|
-
const
|
|
2131
|
-
|
|
2132
|
-
for (let
|
|
2133
|
-
const
|
|
2134
|
-
l[
|
|
2135
|
-
const
|
|
2136
|
-
|
|
2136
|
+
const b = u.push("tr_open", "tr", 1);
|
|
2137
|
+
b.map = [r, r + 1];
|
|
2138
|
+
for (let M = 0; M < f; M++) {
|
|
2139
|
+
const F = u.push("td_open", "td", 1);
|
|
2140
|
+
l[M] && (F.attrs = [["style", "text-align:" + l[M]]]);
|
|
2141
|
+
const q = u.push("inline", "", 0);
|
|
2142
|
+
q.content = s[M] ? s[M].trim() : "", q.children = [], u.push("td_close", "td", -1);
|
|
2137
2143
|
}
|
|
2138
2144
|
u.push("tr_close", "tr", -1);
|
|
2139
2145
|
}
|
|
2140
|
-
return k && (u.push("tbody_close", "tbody", -1), k[1] = r), u.push("table_close", "table", -1),
|
|
2146
|
+
return k && (u.push("tbody_close", "tbody", -1), k[1] = r), u.push("table_close", "table", -1), A[1] = r, u.parentType = x, u.line = r, !0;
|
|
2141
2147
|
}
|
|
2142
2148
|
function Jn(u, e, t) {
|
|
2143
2149
|
if (u.sCount[e] - u.blkIndent < 4)
|
|
@@ -2176,13 +2182,13 @@ function Qn(u, e, t, n) {
|
|
|
2176
2182
|
return !1;
|
|
2177
2183
|
if (n)
|
|
2178
2184
|
return !0;
|
|
2179
|
-
let f = e,
|
|
2185
|
+
let f = e, x = !1;
|
|
2180
2186
|
for (; f++, !(f >= t || (r = i = u.bMarks[f] + u.tShift[f], o = u.eMarks[f], r < o && u.sCount[f] < u.blkIndent)); )
|
|
2181
2187
|
if (u.src.charCodeAt(r) === c && !(u.sCount[f] - u.blkIndent >= 4) && (r = u.skipChars(r, c), !(r - i < a) && (r = u.skipSpaces(r), !(r < o)))) {
|
|
2182
|
-
|
|
2188
|
+
x = !0;
|
|
2183
2189
|
break;
|
|
2184
2190
|
}
|
|
2185
|
-
a = u.sCount[e], u.line = f + (
|
|
2191
|
+
a = u.sCount[e], u.line = f + (x ? 1 : 0);
|
|
2186
2192
|
const h = u.push("fence", "code", 0);
|
|
2187
2193
|
return h.info = l, h.content = u.getLines(e + 1, f, a, !0), h.markup = s, h.map = [e, u.line], !0;
|
|
2188
2194
|
}
|
|
@@ -2193,53 +2199,53 @@ function Wn(u, e, t, n) {
|
|
|
2193
2199
|
return !1;
|
|
2194
2200
|
if (n)
|
|
2195
2201
|
return !0;
|
|
2196
|
-
const i = [], a = [], s = [], l = [], f = u.md.block.ruler.getRules("blockquote"),
|
|
2202
|
+
const i = [], a = [], s = [], l = [], f = u.md.block.ruler.getRules("blockquote"), x = u.parentType;
|
|
2197
2203
|
u.parentType = "blockquote";
|
|
2198
2204
|
let h = !1, d;
|
|
2199
2205
|
for (d = e; d < t; d++) {
|
|
2200
|
-
const
|
|
2206
|
+
const _ = u.sCount[d] < u.blkIndent;
|
|
2201
2207
|
if (r = u.bMarks[d] + u.tShift[d], o = u.eMarks[d], r >= o)
|
|
2202
2208
|
break;
|
|
2203
|
-
if (u.src.charCodeAt(r++) === 62 && !
|
|
2204
|
-
let
|
|
2205
|
-
u.src.charCodeAt(r) === 32 ? (r++,
|
|
2206
|
-
let
|
|
2209
|
+
if (u.src.charCodeAt(r++) === 62 && !_) {
|
|
2210
|
+
let b = u.sCount[d] + 1, M, F;
|
|
2211
|
+
u.src.charCodeAt(r) === 32 ? (r++, b++, F = !1, M = !0) : u.src.charCodeAt(r) === 9 ? (M = !0, (u.bsCount[d] + b) % 4 === 3 ? (r++, b++, F = !1) : F = !0) : M = !1;
|
|
2212
|
+
let q = b;
|
|
2207
2213
|
for (i.push(u.bMarks[d]), u.bMarks[d] = r; r < o; ) {
|
|
2208
|
-
const
|
|
2209
|
-
if (Z(
|
|
2210
|
-
|
|
2214
|
+
const P = u.src.charCodeAt(r);
|
|
2215
|
+
if (Z(P))
|
|
2216
|
+
P === 9 ? q += 4 - (q + u.bsCount[d] + (F ? 1 : 0)) % 4 : q++;
|
|
2211
2217
|
else
|
|
2212
2218
|
break;
|
|
2213
2219
|
r++;
|
|
2214
2220
|
}
|
|
2215
|
-
h = r >= o, a.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (
|
|
2221
|
+
h = r >= o, a.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (M ? 1 : 0), s.push(u.sCount[d]), u.sCount[d] = q - b, l.push(u.tShift[d]), u.tShift[d] = r - u.bMarks[d];
|
|
2216
2222
|
continue;
|
|
2217
2223
|
}
|
|
2218
2224
|
if (h)
|
|
2219
2225
|
break;
|
|
2220
|
-
let
|
|
2221
|
-
for (let
|
|
2222
|
-
if (f[
|
|
2223
|
-
|
|
2226
|
+
let p = !1;
|
|
2227
|
+
for (let b = 0, M = f.length; b < M; b++)
|
|
2228
|
+
if (f[b](u, d, t, !0)) {
|
|
2229
|
+
p = !0;
|
|
2224
2230
|
break;
|
|
2225
2231
|
}
|
|
2226
|
-
if (
|
|
2232
|
+
if (p) {
|
|
2227
2233
|
u.lineMax = d, u.blkIndent !== 0 && (i.push(u.bMarks[d]), a.push(u.bsCount[d]), l.push(u.tShift[d]), s.push(u.sCount[d]), u.sCount[d] -= u.blkIndent);
|
|
2228
2234
|
break;
|
|
2229
2235
|
}
|
|
2230
2236
|
i.push(u.bMarks[d]), a.push(u.bsCount[d]), l.push(u.tShift[d]), s.push(u.sCount[d]), u.sCount[d] = -1;
|
|
2231
2237
|
}
|
|
2232
|
-
const
|
|
2238
|
+
const A = u.blkIndent;
|
|
2233
2239
|
u.blkIndent = 0;
|
|
2234
|
-
const
|
|
2235
|
-
|
|
2236
|
-
const
|
|
2237
|
-
|
|
2240
|
+
const y = u.push("blockquote_open", "blockquote", 1);
|
|
2241
|
+
y.markup = ">";
|
|
2242
|
+
const v = [e, 0];
|
|
2243
|
+
y.map = v, u.md.block.tokenize(u, e, d);
|
|
2238
2244
|
const k = u.push("blockquote_close", "blockquote", -1);
|
|
2239
|
-
k.markup = ">", u.lineMax = c, u.parentType =
|
|
2240
|
-
for (let
|
|
2241
|
-
u.bMarks[
|
|
2242
|
-
return u.blkIndent =
|
|
2245
|
+
k.markup = ">", u.lineMax = c, u.parentType = x, v[1] = u.line;
|
|
2246
|
+
for (let _ = 0; _ < l.length; _++)
|
|
2247
|
+
u.bMarks[_ + e] = i[_], u.tShift[_ + e] = l[_], u.sCount[_ + e] = s[_], u.bsCount[_ + e] = a[_];
|
|
2248
|
+
return u.blkIndent = A, !0;
|
|
2243
2249
|
}
|
|
2244
2250
|
function Xn(u, e, t, n) {
|
|
2245
2251
|
const r = u.eMarks[e];
|
|
@@ -2310,9 +2316,9 @@ function ur(u, e, t, n) {
|
|
|
2310
2316
|
return !1;
|
|
2311
2317
|
let l = !1;
|
|
2312
2318
|
n && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (l = !0);
|
|
2313
|
-
let f,
|
|
2319
|
+
let f, x, h;
|
|
2314
2320
|
if ((h = Xe(u, a)) >= 0) {
|
|
2315
|
-
if (f = !0, c = u.bMarks[a] + u.tShift[a],
|
|
2321
|
+
if (f = !0, c = u.bMarks[a] + u.tShift[a], x = Number(u.src.slice(c, h - 1)), l && x !== 1) return !1;
|
|
2316
2322
|
} else if ((h = We(u, a)) >= 0)
|
|
2317
2323
|
f = !1;
|
|
2318
2324
|
else
|
|
@@ -2321,35 +2327,35 @@ function ur(u, e, t, n) {
|
|
|
2321
2327
|
return !1;
|
|
2322
2328
|
if (n)
|
|
2323
2329
|
return !0;
|
|
2324
|
-
const d = u.src.charCodeAt(h - 1),
|
|
2325
|
-
f ? (i = u.push("ordered_list_open", "ol", 1),
|
|
2326
|
-
const
|
|
2327
|
-
i.map =
|
|
2328
|
-
let
|
|
2329
|
-
const k = u.md.block.ruler.getRules("list"),
|
|
2330
|
+
const d = u.src.charCodeAt(h - 1), A = u.tokens.length;
|
|
2331
|
+
f ? (i = u.push("ordered_list_open", "ol", 1), x !== 1 && (i.attrs = [["start", x]])) : i = u.push("bullet_list_open", "ul", 1);
|
|
2332
|
+
const y = [a, 0];
|
|
2333
|
+
i.map = y, i.markup = String.fromCharCode(d);
|
|
2334
|
+
let v = !1;
|
|
2335
|
+
const k = u.md.block.ruler.getRules("list"), _ = u.parentType;
|
|
2330
2336
|
for (u.parentType = "list"; a < t; ) {
|
|
2331
2337
|
o = h, r = u.eMarks[a];
|
|
2332
|
-
const
|
|
2333
|
-
let
|
|
2338
|
+
const p = u.sCount[a] + h - (u.bMarks[a] + u.tShift[a]);
|
|
2339
|
+
let b = p;
|
|
2334
2340
|
for (; o < r; ) {
|
|
2335
2341
|
const fu = u.src.charCodeAt(o);
|
|
2336
2342
|
if (fu === 9)
|
|
2337
|
-
|
|
2343
|
+
b += 4 - (b + u.bsCount[a]) % 4;
|
|
2338
2344
|
else if (fu === 32)
|
|
2339
|
-
|
|
2345
|
+
b++;
|
|
2340
2346
|
else
|
|
2341
2347
|
break;
|
|
2342
2348
|
o++;
|
|
2343
2349
|
}
|
|
2344
|
-
const
|
|
2345
|
-
let
|
|
2346
|
-
|
|
2347
|
-
const
|
|
2350
|
+
const M = o;
|
|
2351
|
+
let F;
|
|
2352
|
+
M >= r ? F = 1 : F = b - p, F > 4 && (F = 1);
|
|
2353
|
+
const q = p + F;
|
|
2348
2354
|
i = u.push("list_item_open", "li", 1), i.markup = String.fromCharCode(d);
|
|
2349
|
-
const
|
|
2350
|
-
i.map =
|
|
2355
|
+
const P = [a, 0];
|
|
2356
|
+
i.map = P, f && (i.info = u.src.slice(c, h - 1));
|
|
2351
2357
|
const K = u.tight, du = u.tShift[a], _u = u.sCount[a], gu = u.listIndent;
|
|
2352
|
-
if (u.listIndent = u.blkIndent, u.blkIndent =
|
|
2358
|
+
if (u.listIndent = u.blkIndent, u.blkIndent = q, u.tight = !0, u.tShift[a] = M - u.bMarks[a], u.sCount[a] = b, M >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || v) && (s = !1), v = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = gu, u.tShift[a] = du, u.sCount[a] = _u, u.tight = K, i = u.push("list_item_close", "li", -1), i.markup = String.fromCharCode(d), a = u.line, P[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
|
|
2353
2359
|
break;
|
|
2354
2360
|
let wu = !1;
|
|
2355
2361
|
for (let fu = 0, Su = k.length; fu < Su; fu++)
|
|
@@ -2368,31 +2374,31 @@ function ur(u, e, t, n) {
|
|
|
2368
2374
|
if (d !== u.src.charCodeAt(h - 1))
|
|
2369
2375
|
break;
|
|
2370
2376
|
}
|
|
2371
|
-
return f ? i = u.push("ordered_list_close", "ol", -1) : i = u.push("bullet_list_close", "ul", -1), i.markup = String.fromCharCode(d),
|
|
2377
|
+
return f ? i = u.push("ordered_list_close", "ol", -1) : i = u.push("bullet_list_close", "ul", -1), i.markup = String.fromCharCode(d), y[1] = a, u.line = a, u.parentType = _, s && Yn(u, A), !0;
|
|
2372
2378
|
}
|
|
2373
2379
|
function er(u, e, t, n) {
|
|
2374
2380
|
let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e], c = e + 1;
|
|
2375
2381
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
|
|
2376
2382
|
return !1;
|
|
2377
2383
|
function i(k) {
|
|
2378
|
-
const
|
|
2379
|
-
if (k >=
|
|
2384
|
+
const _ = u.lineMax;
|
|
2385
|
+
if (k >= _ || u.isEmpty(k))
|
|
2380
2386
|
return null;
|
|
2381
|
-
let
|
|
2382
|
-
if (u.sCount[k] - u.blkIndent > 3 && (
|
|
2383
|
-
const
|
|
2387
|
+
let p = !1;
|
|
2388
|
+
if (u.sCount[k] - u.blkIndent > 3 && (p = !0), u.sCount[k] < 0 && (p = !0), !p) {
|
|
2389
|
+
const F = u.md.block.ruler.getRules("reference"), q = u.parentType;
|
|
2384
2390
|
u.parentType = "reference";
|
|
2385
|
-
let
|
|
2386
|
-
for (let K = 0, du =
|
|
2387
|
-
if (
|
|
2388
|
-
|
|
2391
|
+
let P = !1;
|
|
2392
|
+
for (let K = 0, du = F.length; K < du; K++)
|
|
2393
|
+
if (F[K](u, k, _, !0)) {
|
|
2394
|
+
P = !0;
|
|
2389
2395
|
break;
|
|
2390
2396
|
}
|
|
2391
|
-
if (u.parentType =
|
|
2397
|
+
if (u.parentType = q, P)
|
|
2392
2398
|
return null;
|
|
2393
2399
|
}
|
|
2394
|
-
const
|
|
2395
|
-
return u.src.slice(
|
|
2400
|
+
const b = u.bMarks[k] + u.tShift[k], M = u.eMarks[k];
|
|
2401
|
+
return u.src.slice(b, M + 1);
|
|
2396
2402
|
}
|
|
2397
2403
|
let a = u.src.slice(r, o + 1);
|
|
2398
2404
|
o = a.length;
|
|
@@ -2405,11 +2411,11 @@ function er(u, e, t, n) {
|
|
|
2405
2411
|
s = r;
|
|
2406
2412
|
break;
|
|
2407
2413
|
} else if (k === 10) {
|
|
2408
|
-
const
|
|
2409
|
-
|
|
2414
|
+
const _ = i(c);
|
|
2415
|
+
_ !== null && (a += _, o = a.length, c++);
|
|
2410
2416
|
} else if (k === 92 && (r++, r < o && a.charCodeAt(r) === 10)) {
|
|
2411
|
-
const
|
|
2412
|
-
|
|
2417
|
+
const _ = i(c);
|
|
2418
|
+
_ !== null && (a += _, o = a.length, c++);
|
|
2413
2419
|
}
|
|
2414
2420
|
}
|
|
2415
2421
|
if (s < 0 || a.charCodeAt(s + 1) !== 58)
|
|
@@ -2417,8 +2423,8 @@ function er(u, e, t, n) {
|
|
|
2417
2423
|
for (r = s + 2; r < o; r++) {
|
|
2418
2424
|
const k = a.charCodeAt(r);
|
|
2419
2425
|
if (k === 10) {
|
|
2420
|
-
const
|
|
2421
|
-
|
|
2426
|
+
const _ = i(c);
|
|
2427
|
+
_ !== null && (a += _, o = a.length, c++);
|
|
2422
2428
|
} else if (!Z(k)) break;
|
|
2423
2429
|
}
|
|
2424
2430
|
const l = u.md.helpers.parseLinkDestination(a, r, o);
|
|
@@ -2428,29 +2434,29 @@ function er(u, e, t, n) {
|
|
|
2428
2434
|
if (!u.md.validateLink(f))
|
|
2429
2435
|
return !1;
|
|
2430
2436
|
r = l.pos;
|
|
2431
|
-
const
|
|
2437
|
+
const x = r, h = c, d = r;
|
|
2432
2438
|
for (; r < o; r++) {
|
|
2433
2439
|
const k = a.charCodeAt(r);
|
|
2434
2440
|
if (k === 10) {
|
|
2435
|
-
const
|
|
2436
|
-
|
|
2441
|
+
const _ = i(c);
|
|
2442
|
+
_ !== null && (a += _, o = a.length, c++);
|
|
2437
2443
|
} else if (!Z(k)) break;
|
|
2438
2444
|
}
|
|
2439
|
-
let
|
|
2440
|
-
for (;
|
|
2445
|
+
let A = u.md.helpers.parseLinkTitle(a, r, o);
|
|
2446
|
+
for (; A.can_continue; ) {
|
|
2441
2447
|
const k = i(c);
|
|
2442
2448
|
if (k === null) break;
|
|
2443
|
-
a += k, r = o, o = a.length, c++,
|
|
2449
|
+
a += k, r = o, o = a.length, c++, A = u.md.helpers.parseLinkTitle(a, r, o, A);
|
|
2444
2450
|
}
|
|
2445
|
-
let
|
|
2446
|
-
for (r < o && d !== r &&
|
|
2451
|
+
let y;
|
|
2452
|
+
for (r < o && d !== r && A.ok ? (y = A.str, r = A.pos) : (y = "", r = x, c = h); r < o; ) {
|
|
2447
2453
|
const k = a.charCodeAt(r);
|
|
2448
2454
|
if (!Z(k))
|
|
2449
2455
|
break;
|
|
2450
2456
|
r++;
|
|
2451
2457
|
}
|
|
2452
|
-
if (r < o && a.charCodeAt(r) !== 10 &&
|
|
2453
|
-
for (
|
|
2458
|
+
if (r < o && a.charCodeAt(r) !== 10 && y)
|
|
2459
|
+
for (y = "", r = x, c = h; r < o; ) {
|
|
2454
2460
|
const k = a.charCodeAt(r);
|
|
2455
2461
|
if (!Z(k))
|
|
2456
2462
|
break;
|
|
@@ -2458,8 +2464,8 @@ function er(u, e, t, n) {
|
|
|
2458
2464
|
}
|
|
2459
2465
|
if (r < o && a.charCodeAt(r) !== 10)
|
|
2460
2466
|
return !1;
|
|
2461
|
-
const
|
|
2462
|
-
return
|
|
2467
|
+
const v = se(a.slice(1, s));
|
|
2468
|
+
return v ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[v] > "u" && (u.env.references[v] = { title: y, href: f }), u.line = c), !0) : !1;
|
|
2463
2469
|
}
|
|
2464
2470
|
const tr = [
|
|
2465
2471
|
"address",
|
|
@@ -2524,7 +2530,7 @@ const tr = [
|
|
|
2524
2530
|
"tr",
|
|
2525
2531
|
"track",
|
|
2526
2532
|
"ul"
|
|
2527
|
-
], nr = "[a-zA-Z_:][a-zA-Z0-9:._-]*", rr = "[^\"'=<>`\\x00-\\x20]+", or = "'[^']*'", ir = '"[^"]*"', cr = "(?:" + rr + "|" + or + "|" + ir + ")", ar = "(?:\\s+" + nr + "(?:\\s*=\\s*" + cr + ")?)",
|
|
2533
|
+
], nr = "[a-zA-Z_:][a-zA-Z0-9:._-]*", rr = "[^\"'=<>`\\x00-\\x20]+", or = "'[^']*'", ir = '"[^"]*"', cr = "(?:" + rr + "|" + or + "|" + ir + ")", ar = "(?:\\s+" + nr + "(?:\\s*=\\s*" + cr + ")?)", Tt = "<[A-Za-z][A-Za-z0-9\\-]*" + ar + "*\\s*\\/?>", It = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", sr = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", lr = "<[?][\\s\\S]*?[?]>", dr = "<![A-Za-z][^>]*>", fr = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", hr = new RegExp("^(?:" + Tt + "|" + It + "|" + sr + "|" + lr + "|" + dr + "|" + fr + ")"), pr = new RegExp("^(?:" + Tt + "|" + It + ")"), Mu = [
|
|
2528
2534
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
2529
2535
|
[/^<!--/, /-->/, !0],
|
|
2530
2536
|
[/^<\?/, /\?>/, !0],
|
|
@@ -2600,13 +2606,13 @@ function xr(u, e, t) {
|
|
|
2600
2606
|
}
|
|
2601
2607
|
if (u.sCount[i] < 0)
|
|
2602
2608
|
continue;
|
|
2603
|
-
let
|
|
2609
|
+
let x = !1;
|
|
2604
2610
|
for (let h = 0, d = n.length; h < d; h++)
|
|
2605
2611
|
if (n[h](u, i, t, !0)) {
|
|
2606
|
-
|
|
2612
|
+
x = !0;
|
|
2607
2613
|
break;
|
|
2608
2614
|
}
|
|
2609
|
-
if (
|
|
2615
|
+
if (x)
|
|
2610
2616
|
break;
|
|
2611
2617
|
}
|
|
2612
2618
|
if (!o)
|
|
@@ -2707,8 +2713,8 @@ Xu.prototype.scanDelims = function(u, e) {
|
|
|
2707
2713
|
let o = u;
|
|
2708
2714
|
for (; o < t && this.src.charCodeAt(o) === n; )
|
|
2709
2715
|
o++;
|
|
2710
|
-
const c = o - u, i = o < t ? this.src.charCodeAt(o) : 32, a = Gu(r) || Zu(String.fromCharCode(r)), s = Gu(i) || Zu(String.fromCharCode(i)), l = Uu(r), f = Uu(i),
|
|
2711
|
-
return { can_open:
|
|
2716
|
+
const c = o - u, i = o < t ? this.src.charCodeAt(o) : 32, a = Gu(r) || Zu(String.fromCharCode(r)), s = Gu(i) || Zu(String.fromCharCode(i)), l = Uu(r), f = Uu(i), x = !f && (!s || l || a), h = !l && (!a || f || s);
|
|
2717
|
+
return { can_open: x && (e || !h || a), can_close: h && (e || !x || s), length: c };
|
|
2712
2718
|
};
|
|
2713
2719
|
Xu.prototype.Token = lu;
|
|
2714
2720
|
function gr(u) {
|
|
@@ -2747,12 +2753,12 @@ function kr(u, e) {
|
|
|
2747
2753
|
t++;
|
|
2748
2754
|
return t === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, t)), u.pos = t, !0);
|
|
2749
2755
|
}
|
|
2750
|
-
const
|
|
2751
|
-
function
|
|
2756
|
+
const yr = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
2757
|
+
function Ar(u, e) {
|
|
2752
2758
|
if (!u.md.options.linkify || u.linkLevel > 0) return !1;
|
|
2753
2759
|
const t = u.pos, n = u.posMax;
|
|
2754
2760
|
if (t + 3 > n || u.src.charCodeAt(t) !== 58 || u.src.charCodeAt(t + 1) !== 47 || u.src.charCodeAt(t + 2) !== 47) return !1;
|
|
2755
|
-
const r = u.pending.match(
|
|
2761
|
+
const r = u.pending.match(yr);
|
|
2756
2762
|
if (!r) return !1;
|
|
2757
2763
|
const o = r[1], c = u.md.linkify.matchAtStart(u.src.slice(t - o.length));
|
|
2758
2764
|
if (!c) return !1;
|
|
@@ -2772,7 +2778,7 @@ function yr(u, e) {
|
|
|
2772
2778
|
}
|
|
2773
2779
|
return u.pos += i.length - o.length, !0;
|
|
2774
2780
|
}
|
|
2775
|
-
function
|
|
2781
|
+
function Cr(u, e) {
|
|
2776
2782
|
let t = u.pos;
|
|
2777
2783
|
if (u.src.charCodeAt(t) !== 10)
|
|
2778
2784
|
return !1;
|
|
@@ -2797,7 +2803,7 @@ for (let u = 0; u < 256; u++)
|
|
|
2797
2803
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
|
|
2798
2804
|
Le[u.charCodeAt(0)] = 1;
|
|
2799
2805
|
});
|
|
2800
|
-
function
|
|
2806
|
+
function vr(u, e) {
|
|
2801
2807
|
let t = u.pos;
|
|
2802
2808
|
const n = u.posMax;
|
|
2803
2809
|
if (u.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
|
|
@@ -2956,7 +2962,7 @@ function zr(u, e) {
|
|
|
2956
2962
|
let t, n, r, o, c = "", i = "", a = u.pos, s = !0;
|
|
2957
2963
|
if (u.src.charCodeAt(u.pos) !== 91)
|
|
2958
2964
|
return !1;
|
|
2959
|
-
const l = u.pos, f = u.posMax,
|
|
2965
|
+
const l = u.pos, f = u.posMax, x = u.pos + 1, h = u.md.helpers.parseLinkLabel(u, u.pos, !0);
|
|
2960
2966
|
if (h < 0)
|
|
2961
2967
|
return !1;
|
|
2962
2968
|
let d = h + 1;
|
|
@@ -2977,62 +2983,62 @@ function zr(u, e) {
|
|
|
2977
2983
|
if (s) {
|
|
2978
2984
|
if (typeof u.env.references > "u")
|
|
2979
2985
|
return !1;
|
|
2980
|
-
if (d < f && u.src.charCodeAt(d) === 91 ? (a = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(a, d++) : d = h + 1) : d = h + 1, n || (n = u.src.slice(
|
|
2986
|
+
if (d < f && u.src.charCodeAt(d) === 91 ? (a = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(a, d++) : d = h + 1) : d = h + 1, n || (n = u.src.slice(x, h)), o = u.env.references[se(n)], !o)
|
|
2981
2987
|
return u.pos = l, !1;
|
|
2982
2988
|
c = o.href, i = o.title;
|
|
2983
2989
|
}
|
|
2984
2990
|
if (!e) {
|
|
2985
|
-
u.pos =
|
|
2986
|
-
const
|
|
2987
|
-
|
|
2991
|
+
u.pos = x, u.posMax = h;
|
|
2992
|
+
const A = u.push("link_open", "a", 1), y = [["href", c]];
|
|
2993
|
+
A.attrs = y, i && y.push(["title", i]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
|
|
2988
2994
|
}
|
|
2989
2995
|
return u.pos = d, u.posMax = f, !0;
|
|
2990
2996
|
}
|
|
2991
|
-
function
|
|
2997
|
+
function Tr(u, e) {
|
|
2992
2998
|
let t, n, r, o, c, i, a, s, l = "";
|
|
2993
|
-
const f = u.pos,
|
|
2999
|
+
const f = u.pos, x = u.posMax;
|
|
2994
3000
|
if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
|
|
2995
3001
|
return !1;
|
|
2996
3002
|
const h = u.pos + 2, d = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
|
|
2997
3003
|
if (d < 0)
|
|
2998
3004
|
return !1;
|
|
2999
|
-
if (o = d + 1, o <
|
|
3000
|
-
for (o++; o <
|
|
3005
|
+
if (o = d + 1, o < x && u.src.charCodeAt(o) === 40) {
|
|
3006
|
+
for (o++; o < x && (t = u.src.charCodeAt(o), !(!Z(t) && t !== 10)); o++)
|
|
3001
3007
|
;
|
|
3002
|
-
if (o >=
|
|
3008
|
+
if (o >= x)
|
|
3003
3009
|
return !1;
|
|
3004
|
-
for (s = o, i = u.md.helpers.parseLinkDestination(u.src, o, u.posMax), i.ok && (l = u.md.normalizeLink(i.str), u.md.validateLink(l) ? o = i.pos : l = ""), s = o; o <
|
|
3010
|
+
for (s = o, i = u.md.helpers.parseLinkDestination(u.src, o, u.posMax), i.ok && (l = u.md.normalizeLink(i.str), u.md.validateLink(l) ? o = i.pos : l = ""), s = o; o < x && (t = u.src.charCodeAt(o), !(!Z(t) && t !== 10)); o++)
|
|
3005
3011
|
;
|
|
3006
|
-
if (i = u.md.helpers.parseLinkTitle(u.src, o, u.posMax), o <
|
|
3007
|
-
for (a = i.str, o = i.pos; o <
|
|
3012
|
+
if (i = u.md.helpers.parseLinkTitle(u.src, o, u.posMax), o < x && s !== o && i.ok)
|
|
3013
|
+
for (a = i.str, o = i.pos; o < x && (t = u.src.charCodeAt(o), !(!Z(t) && t !== 10)); o++)
|
|
3008
3014
|
;
|
|
3009
3015
|
else
|
|
3010
3016
|
a = "";
|
|
3011
|
-
if (o >=
|
|
3017
|
+
if (o >= x || u.src.charCodeAt(o) !== 41)
|
|
3012
3018
|
return u.pos = f, !1;
|
|
3013
3019
|
o++;
|
|
3014
3020
|
} else {
|
|
3015
3021
|
if (typeof u.env.references > "u")
|
|
3016
3022
|
return !1;
|
|
3017
|
-
if (o <
|
|
3023
|
+
if (o < x && u.src.charCodeAt(o) === 91 ? (s = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(s, o++) : o = d + 1) : o = d + 1, r || (r = u.src.slice(h, d)), c = u.env.references[se(r)], !c)
|
|
3018
3024
|
return u.pos = f, !1;
|
|
3019
3025
|
l = c.href, a = c.title;
|
|
3020
3026
|
}
|
|
3021
3027
|
if (!e) {
|
|
3022
3028
|
n = u.src.slice(h, d);
|
|
3023
|
-
const
|
|
3029
|
+
const A = [];
|
|
3024
3030
|
u.md.inline.parse(
|
|
3025
3031
|
n,
|
|
3026
3032
|
u.md,
|
|
3027
3033
|
u.env,
|
|
3028
|
-
|
|
3034
|
+
A
|
|
3029
3035
|
);
|
|
3030
|
-
const
|
|
3031
|
-
|
|
3036
|
+
const y = u.push("image", "img", 0), v = [["src", l], ["alt", ""]];
|
|
3037
|
+
y.attrs = v, y.children = A, y.content = n, a && v.push(["title", a]);
|
|
3032
3038
|
}
|
|
3033
|
-
return u.pos = o, u.posMax =
|
|
3039
|
+
return u.pos = o, u.posMax = x, !0;
|
|
3034
3040
|
}
|
|
3035
|
-
const
|
|
3041
|
+
const Ir = /^([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])?)*)$/, Mr = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
|
|
3036
3042
|
function Or(u, e) {
|
|
3037
3043
|
let t = u.pos;
|
|
3038
3044
|
if (u.src.charCodeAt(t) !== 60)
|
|
@@ -3059,7 +3065,7 @@ function Or(u, e) {
|
|
|
3059
3065
|
}
|
|
3060
3066
|
return u.pos += o.length + 2, !0;
|
|
3061
3067
|
}
|
|
3062
|
-
if (
|
|
3068
|
+
if (Ir.test(o)) {
|
|
3063
3069
|
const c = u.md.normalizeLink("mailto:" + o);
|
|
3064
3070
|
if (!u.md.validateLink(c))
|
|
3065
3071
|
return !1;
|
|
@@ -3085,7 +3091,7 @@ function Br(u) {
|
|
|
3085
3091
|
const e = u | 32;
|
|
3086
3092
|
return e >= 97 && e <= 122;
|
|
3087
3093
|
}
|
|
3088
|
-
function
|
|
3094
|
+
function Rr(u, e) {
|
|
3089
3095
|
if (!u.md.options.html)
|
|
3090
3096
|
return !1;
|
|
3091
3097
|
const t = u.posMax, n = u.pos;
|
|
@@ -3103,12 +3109,12 @@ function qr(u, e) {
|
|
|
3103
3109
|
}
|
|
3104
3110
|
return u.pos += o[0].length, !0;
|
|
3105
3111
|
}
|
|
3106
|
-
const
|
|
3112
|
+
const qr = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Pr = /^&([a-z][a-z0-9]{1,31});/i;
|
|
3107
3113
|
function jr(u, e) {
|
|
3108
3114
|
const t = u.pos, n = u.posMax;
|
|
3109
3115
|
if (u.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
|
|
3110
3116
|
if (u.src.charCodeAt(t + 1) === 35) {
|
|
3111
|
-
const o = u.src.slice(t).match(
|
|
3117
|
+
const o = u.src.slice(t).match(qr);
|
|
3112
3118
|
if (o) {
|
|
3113
3119
|
if (!e) {
|
|
3114
3120
|
const c = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), i = u.push("text_special", "", 0);
|
|
@@ -3145,8 +3151,8 @@ function et(u) {
|
|
|
3145
3151
|
for (; s > a; s -= o[s] + 1) {
|
|
3146
3152
|
const f = u[s];
|
|
3147
3153
|
if (f.marker === i.marker && f.open && f.end < 0) {
|
|
3148
|
-
let
|
|
3149
|
-
if ((f.close || i.open) && (f.length + i.length) % 3 === 0 && (f.length % 3 !== 0 || i.length % 3 !== 0) && (
|
|
3154
|
+
let x = !1;
|
|
3155
|
+
if ((f.close || i.open) && (f.length + i.length) % 3 === 0 && (f.length % 3 !== 0 || i.length % 3 !== 0) && (x = !0), !x) {
|
|
3150
3156
|
const h = s > 0 && !u[s - 1].open ? o[s - 1] + 1 : 0;
|
|
3151
3157
|
o[c] = c - s + h, o[s] = h, i.open = !1, f.end = c, f.close = !1, l = -1, r = -2;
|
|
3152
3158
|
break;
|
|
@@ -3171,16 +3177,16 @@ function $r(u) {
|
|
|
3171
3177
|
}
|
|
3172
3178
|
const _e = [
|
|
3173
3179
|
["text", kr],
|
|
3174
|
-
["linkify",
|
|
3175
|
-
["newline",
|
|
3176
|
-
["escape",
|
|
3180
|
+
["linkify", Ar],
|
|
3181
|
+
["newline", Cr],
|
|
3182
|
+
["escape", vr],
|
|
3177
3183
|
["backticks", Dr],
|
|
3178
3184
|
["strikethrough", Mt.tokenize],
|
|
3179
3185
|
["emphasis", Ot.tokenize],
|
|
3180
3186
|
["link", zr],
|
|
3181
|
-
["image",
|
|
3187
|
+
["image", Tr],
|
|
3182
3188
|
["autolink", Or],
|
|
3183
|
-
["html_inline",
|
|
3189
|
+
["html_inline", Rr],
|
|
3184
3190
|
["entity", jr]
|
|
3185
3191
|
], ge = [
|
|
3186
3192
|
["balance_pairs", Hr],
|
|
@@ -3248,7 +3254,7 @@ Yu.prototype.parse = function(u, e, t, n) {
|
|
|
3248
3254
|
Yu.prototype.State = Xu;
|
|
3249
3255
|
function Vr(u) {
|
|
3250
3256
|
const e = {};
|
|
3251
|
-
u = u || {}, e.src_Any =
|
|
3257
|
+
u = u || {}, e.src_Any = yt.source, e.src_Cc = At.source, e.src_Z = vt.source, e.src_P = Ie.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
3252
3258
|
const t = "[><|]";
|
|
3253
3259
|
return e.src_pseudo_letter = "(?:(?!" + t + "|" + 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 = "(?=$|" + t + "|" + e.src_ZPCc + ")(?!" + (u["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + 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["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
|
|
3254
3260
|
",(?!" + 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 = // Allow letters & digits (http://test1)
|
|
@@ -3258,7 +3264,7 @@ function Vr(u) {
|
|
|
3258
3264
|
// but can start with > (markdown blockquote)
|
|
3259
3265
|
"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
|
|
3260
3266
|
}
|
|
3261
|
-
function
|
|
3267
|
+
function ve(u) {
|
|
3262
3268
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
3263
3269
|
t && Object.keys(t).forEach(function(n) {
|
|
3264
3270
|
u[n] = t[n];
|
|
@@ -3388,13 +3394,13 @@ function De(u, e) {
|
|
|
3388
3394
|
function nu(u, e) {
|
|
3389
3395
|
if (!(this instanceof nu))
|
|
3390
3396
|
return new nu(u, e);
|
|
3391
|
-
e || Jr(u) && (e = u, u = {}), this.__opts__ =
|
|
3397
|
+
e || Jr(u) && (e = u, u = {}), this.__opts__ = ve({}, Nt, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = ve({}, Qr, u), this.__compiled__ = {}, this.__tlds__ = Xr, this.__tlds_replaced__ = !1, this.re = {}, ce(this);
|
|
3392
3398
|
}
|
|
3393
3399
|
nu.prototype.add = function(e, t) {
|
|
3394
3400
|
return this.__schemas__[e] = t, ce(this), this;
|
|
3395
3401
|
};
|
|
3396
3402
|
nu.prototype.set = function(e) {
|
|
3397
|
-
return this.__opts__ =
|
|
3403
|
+
return this.__opts__ = ve(this.__opts__, e), this;
|
|
3398
3404
|
};
|
|
3399
3405
|
nu.prototype.test = function(e) {
|
|
3400
3406
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
|
|
@@ -3441,11 +3447,11 @@ nu.prototype.normalize = function(e) {
|
|
|
3441
3447
|
};
|
|
3442
3448
|
nu.prototype.onCompile = function() {
|
|
3443
3449
|
};
|
|
3444
|
-
const Ou = 2147483647, hu = 36, Be = 1, Ku = 26, to = 38, no = 700, Lt = 72, Bt = 128,
|
|
3450
|
+
const Ou = 2147483647, hu = 36, Be = 1, Ku = 26, to = 38, no = 700, Lt = 72, Bt = 128, Rt = "-", ro = /^xn--/, oo = /[^\0-\x7F]/, io = /[\x2E\u3002\uFF0E\uFF61]/g, co = {
|
|
3445
3451
|
overflow: "Overflow: input needs wider integers to process",
|
|
3446
3452
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
3447
3453
|
"invalid-input": "Invalid input"
|
|
3448
|
-
}, ke = hu - Be, pu = Math.floor,
|
|
3454
|
+
}, ke = hu - Be, pu = Math.floor, ye = String.fromCharCode;
|
|
3449
3455
|
function ku(u) {
|
|
3450
3456
|
throw new RangeError(co[u]);
|
|
3451
3457
|
}
|
|
@@ -3456,7 +3462,7 @@ function ao(u, e) {
|
|
|
3456
3462
|
t[n] = e(u[n]);
|
|
3457
3463
|
return t;
|
|
3458
3464
|
}
|
|
3459
|
-
function
|
|
3465
|
+
function qt(u, e) {
|
|
3460
3466
|
const t = u.split("@");
|
|
3461
3467
|
let n = "";
|
|
3462
3468
|
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(io, ".");
|
|
@@ -3488,7 +3494,7 @@ const so = (u) => String.fromCodePoint(...u), lo = function(u) {
|
|
|
3488
3494
|
return pu(n + (ke + 1) * u / (u + to));
|
|
3489
3495
|
}, Ht = function(u) {
|
|
3490
3496
|
const e = [], t = u.length;
|
|
3491
|
-
let n = 0, r = Bt, o = Lt, c = u.lastIndexOf(
|
|
3497
|
+
let n = 0, r = Bt, o = Lt, c = u.lastIndexOf(Rt);
|
|
3492
3498
|
c < 0 && (c = 0);
|
|
3493
3499
|
for (let i = 0; i < c; ++i)
|
|
3494
3500
|
u.charCodeAt(i) >= 128 && ku("not-basic"), e.push(u.charCodeAt(i));
|
|
@@ -3496,10 +3502,10 @@ const so = (u) => String.fromCodePoint(...u), lo = function(u) {
|
|
|
3496
3502
|
const a = n;
|
|
3497
3503
|
for (let l = 1, f = hu; ; f += hu) {
|
|
3498
3504
|
i >= t && ku("invalid-input");
|
|
3499
|
-
const
|
|
3500
|
-
|
|
3505
|
+
const x = lo(u.charCodeAt(i++));
|
|
3506
|
+
x >= hu && ku("invalid-input"), x > pu((Ou - n) / l) && ku("overflow"), n += x * l;
|
|
3501
3507
|
const h = f <= o ? Be : f >= o + Ku ? Ku : f - o;
|
|
3502
|
-
if (
|
|
3508
|
+
if (x < h)
|
|
3503
3509
|
break;
|
|
3504
3510
|
const d = hu - h;
|
|
3505
3511
|
l > pu(Ou / d) && ku("overflow"), l *= d;
|
|
@@ -3514,10 +3520,10 @@ const so = (u) => String.fromCodePoint(...u), lo = function(u) {
|
|
|
3514
3520
|
const t = u.length;
|
|
3515
3521
|
let n = Bt, r = 0, o = Lt;
|
|
3516
3522
|
for (const a of u)
|
|
3517
|
-
a < 128 && e.push(
|
|
3523
|
+
a < 128 && e.push(ye(a));
|
|
3518
3524
|
const c = e.length;
|
|
3519
3525
|
let i = c;
|
|
3520
|
-
for (c && e.push(
|
|
3526
|
+
for (c && e.push(Rt); i < t; ) {
|
|
3521
3527
|
let a = Ou;
|
|
3522
3528
|
for (const l of u)
|
|
3523
3529
|
l >= n && l < a && (a = l);
|
|
@@ -3526,26 +3532,26 @@ const so = (u) => String.fromCodePoint(...u), lo = function(u) {
|
|
|
3526
3532
|
for (const l of u)
|
|
3527
3533
|
if (l < n && ++r > Ou && ku("overflow"), l === n) {
|
|
3528
3534
|
let f = r;
|
|
3529
|
-
for (let
|
|
3530
|
-
const h =
|
|
3535
|
+
for (let x = hu; ; x += hu) {
|
|
3536
|
+
const h = x <= o ? Be : x >= o + Ku ? Ku : x - o;
|
|
3531
3537
|
if (f < h)
|
|
3532
3538
|
break;
|
|
3533
|
-
const d = f - h,
|
|
3539
|
+
const d = f - h, A = hu - h;
|
|
3534
3540
|
e.push(
|
|
3535
|
-
|
|
3536
|
-
), f = pu(d /
|
|
3541
|
+
ye(rt(h + d % A, 0))
|
|
3542
|
+
), f = pu(d / A);
|
|
3537
3543
|
}
|
|
3538
|
-
e.push(
|
|
3544
|
+
e.push(ye(rt(f, 0))), o = jt(r, s, i === c), r = 0, ++i;
|
|
3539
3545
|
}
|
|
3540
3546
|
++r, ++n;
|
|
3541
3547
|
}
|
|
3542
3548
|
return e.join("");
|
|
3543
3549
|
}, fo = function(u) {
|
|
3544
|
-
return
|
|
3550
|
+
return qt(u, function(e) {
|
|
3545
3551
|
return ro.test(e) ? Ht(e.slice(4).toLowerCase()) : e;
|
|
3546
3552
|
});
|
|
3547
3553
|
}, ho = function(u) {
|
|
3548
|
-
return
|
|
3554
|
+
return qt(u, function(e) {
|
|
3549
3555
|
return oo.test(e) ? "xn--" + $t(e) : e;
|
|
3550
3556
|
});
|
|
3551
3557
|
}, Vt = {
|
|
@@ -3745,8 +3751,8 @@ function ko(u) {
|
|
|
3745
3751
|
return _o.test(e) ? go.test(e) : !0;
|
|
3746
3752
|
}
|
|
3747
3753
|
const Ut = ["http:", "https:", "mailto:"];
|
|
3748
|
-
function
|
|
3749
|
-
const e =
|
|
3754
|
+
function yo(u) {
|
|
3755
|
+
const e = Te(u, !0);
|
|
3750
3756
|
if (e.hostname && (!e.protocol || Ut.indexOf(e.protocol) >= 0))
|
|
3751
3757
|
try {
|
|
3752
3758
|
e.hostname = Vt.toASCII(e.hostname);
|
|
@@ -3754,8 +3760,8 @@ function vo(u) {
|
|
|
3754
3760
|
}
|
|
3755
3761
|
return Wu(ze(e));
|
|
3756
3762
|
}
|
|
3757
|
-
function
|
|
3758
|
-
const e =
|
|
3763
|
+
function Ao(u) {
|
|
3764
|
+
const e = Te(u, !0);
|
|
3759
3765
|
if (e.hostname && (!e.protocol || Ut.indexOf(e.protocol) >= 0))
|
|
3760
3766
|
try {
|
|
3761
3767
|
e.hostname = Vt.toUnicode(e.hostname);
|
|
@@ -3766,7 +3772,7 @@ function yo(u) {
|
|
|
3766
3772
|
function ru(u, e) {
|
|
3767
3773
|
if (!(this instanceof ru))
|
|
3768
3774
|
return new ru(u, e);
|
|
3769
|
-
e || Me(u) || (e = u || {}, u = "default"), this.inline = new Yu(), this.block = new le(), this.core = new Ne(), this.renderer = new Pu(), this.linkify = new nu(), this.validateLink = ko, this.normalizeLink =
|
|
3775
|
+
e || Me(u) || (e = u || {}, u = "default"), this.inline = new Yu(), this.block = new le(), this.core = new Ne(), this.renderer = new Pu(), this.linkify = new nu(), this.validateLink = ko, this.normalizeLink = yo, this.normalizeLinkText = Ao, this.utils = Cn, this.helpers = ae({}, Fn), this.options = {}, this.configure(u), e && this.set(e);
|
|
3770
3776
|
}
|
|
3771
3777
|
ru.prototype.set = function(u) {
|
|
3772
3778
|
return ae(this.options, u), this;
|
|
@@ -3828,10 +3834,10 @@ ru.prototype.parseInline = function(u, e) {
|
|
|
3828
3834
|
ru.prototype.renderInline = function(u, e) {
|
|
3829
3835
|
return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
|
|
3830
3836
|
};
|
|
3831
|
-
const
|
|
3837
|
+
const Co = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJBAABACwAAAAAZABkAAAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzXCIDjNpz3e9vz/VbB3JBYBBxVSeUS1XxCk6PgMxqiHrEg7s7rAdfEHPLMrEHH1Bj2y22BA7Vd+tcexo/1Zf7ZnwaYpQMhR1go+GH14FaE6HiSyDaZ2CdICdkgl9HkxIC5qFm50ekAKiSaSVKaGvopORp4Cau6AGcUp3aK24ramztbq7B7+OoawWp8PEy7fLMZkGzb7Dst/BxrIM18je3sXZ2wzahLzascDp7eu65tXmz97Z4dXd59QOwZL7/fXn8/j98/fuNM2ROYzyC9gvje6esHTxw0hgH9DbR4UKDEYM4IHSoEyA1gwo/+KEKMqA5lyochS07MeO4kOZEvOWL0yC7mTJogR6KzuJFnx542ga5kuXLnTaEaj5LUGXTpUKNOcyJN+lQlOGBMoWK1ikxrVrE+f4rtYLKsTBNpcYJlC/Os2ipE606lSgpoI43QZIUF2VBC3xSDHzWdA5grXiSJKxSORE9wZMKTDS9mUlmpVxmPx27J7HlI57c/Rpu9yhl0ziWm0V1RLeXv4dhtYNMOfVtE69xmea+67Du48OHEixs/jjy58uXMmzt/Dt1FAQAh+QQJBAABACwAAAAAZABkAAAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9n0AOoC/+99b/YDB1HBXNB55ydOS2Sw9o6apaJi0gpZF7cdrA3fENPLGLENn1DD2xe2CV+Qs+sSuwkf0KP7DX8UFQfQn6ETY4HY0aCi16MAW2UgyqSD5mFgZ8gS1cIkFqbml9onoKfpFimpQirSHwRmKydCqw+hKEZs5e8pruRoA/Lta29kLSmunm+ybUCzbvBvNCvwsjbynOk29HUysrI19bDos7gz+3W3N3H2ebu4OjxAuz17vrV79fl9+v26Paxw5aP705du2LNu+gAJtEWQYj1/EgTkM8qNHESDEedMWM3IrKIzjQofXNooE2e4kSo/4Lo4kqRBhR5MVZYasadPlwZUsJ9JsyfJfv54qPQodChNp0kIvmerk+VOpMZ9TqToNmrLoz6NWr1pIqPRqVDlVY0ItixNr1jUYl3Yt6XbTTrVPiZ6ZO3ZmXLlRgfZtB8hRSqKBKd3MdVhIYgmFRzQO2+Px2xuStaKNUTlt3ziLzW5ukfmj3Tqdb0nkvPZOasWrGY8GXZqK69ayZ5+u/TU27od7d7O97Rvx5+DEixs/jjy58uXMmzt/Dj269OnUQxQAACH5BAkEAAEALAAAAABkAGQAAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zpfAD+ipgEDhiUg0+pA/JYnZdIqgQWmIar1CR0geVtvVfUHjW9lzrqU561lb847FMfNXPZCE3Ft1pn6bMycIiFL05+cwiGhCyKAY1rAHt+jYuPCY92BYQVVVSXlpqdCXOdGZKJqAuflZGnEamYqwGtUK+RpH62nLOiqJlyt7oIsqHGpMXHzra8wMqtqczNurGfwMfT2L/As7vXu87OyKne39TT6OTq1eCx6u/D4cPV8O3MzeLr6uXW8fb9AN17Z+0tylizXwH0B6CgMeqlfQYD585+AdXEiQ4UV/yAr17cPYMSJFCg7xVcsIkZu1kBo/ctzocSI/ligbqkwIU+TMjiMR0vy5saRFlzp3Er2ZsmZOnDB7ejsJ9Og9o1KjyqRaUd5UrUmtZuW6lKdTiV9BhuUp1iPUs2xdaqWj1G3RKVdNDi37sq6clnrz4rXDF++vIff6+RWzlWTiFYMFpmXR+GFTF5HXugVs2EJlRosldCacWfNkzI+zOB5t+vTl1J4/syb7mo3r2Opoo+lrO7fu3bx7+/4NPLjw4cSLGz+OPLlyFAUAACH5BAkEAAEALAAAAABkAGQAAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Qa4HgshpBMpYfZdHKgSOmUCrBusFlthjuC8sBL6o78iKaxOnTDvIbj3Au6wk7DI/QHfqKb4hcgKDioZkLI5pAoZtG4qPgWyeDHBSgxWZd5t/nX2Vfo+Uj5CSpHespZqrnKOMr6KpoaN7u3alhrm2tgSdEruct7WxlqGux6CJssGwvZOgx9XCz8HIzbrItNbc28nO39XeWsfU2uKm2NLI7KHb6u/A6fNA6+bd4dj38pv39eX/7P3z9184CR+4WJWLpoB6cBzOeunz5aAx0i5EcRYkR6twH1STQWkOBHex0jjnx4EmXGgvxSeuTIEiPMkxch1Jw4cyVNiwrNiZzp0mTOoQYr3npZVCNIpSRjIk1YzSdDo+2WMv1JtKWvniGnXnX4UKfYrAKZyhub1ClOdvf82fSqdmPauB+wzl2Jwi5bs+UCwU1ZLOiTv2hv6JU55yg3sH7blTz6gnGEtpEhe9lL93JhzRMka/Z8GXToqpzdlj6NOrXq1axbu34NO7bs2bRr276NO7fu3a8LAAAh+QQJBAABACwAAAAAZABkAAAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCpjgOaS04wCnhppVOKkGqzXB1fLzTbC01EXRfaGRetT2vFWi+Ffd3t8Z+QX5HIprrenADhIyCaYYJiIeNBnV4cHGShZyPihiIDZaBngWGEFobnF2cnpOUEqWkpZCRrJKicVK0sHm2mquohru8k76nsaEdxK+1o86YqcLCyq6rzrS3wsPceXCr0c2nwdvU2qC8ydTe1n/X2Lfaasbj6OHg3u3is/P01eC/9Ov7rPbx/PDmBAfPuedUs30Ni/egkZVrunsGG7guIWOixHDuMsi67+JHZ8KFCjPo4ZCXo0SPHcRZEXN4Ic+fJXvpUmY8ok6W3mTY4ocSK0WTIiy5Y1h34EGtJoz5M/jQZdB3SpzWHa+kl1mrMfNZdYK0qkWhXpVa5FnULxGrXpI6tolebaMLZo2bU+D4ZTmSFuRK5m4bZlhvQjmr8h8OYlfKhvB71Kcun88ZYkkbdatlb+pPXyJM2cO3v+DDq06NGkS5s+jTq16tWsW7t+DTu27NkuCgAAIfkECQQAAQAsAAAAAGQAZAAAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxiEwql0wM4AkwQX3Q6aga3WGtoG025/16wuISFhIOkVHeR7r7Nrcd8XH9Om/cOWtpnrG30Se35fYHWIUWCFdId6jwmDBIsnhQaXA5ideoF4mQeYnI1ckpeuZYChmqekraapqI+sqaqjhLG+uaCzuKu2tb++lpOYxZrGl4XBwQCros6XwLHSxMbfxcbc283KyMTewtnf3r+yQrzts7jX7Nvq2NfE4+rr4+T2+ue5+ez5/sHs2dvX3vAHILJxBfvwXdtBUkGE9fPXAGHQYkWG5hxn+uGC9O5FdmoMaN8kYqDFnSJMWOB+GtOpmS48d2EF+urGmxJbuIEmWqvPmT5kye6XyiVGg05dFzwFjmdPktQ8OKO21K1em0alQnWGc+DPrVK5+uYB82xTj2aUIKRDtMRVuhbVqqcNla5aq27gS5gsguxetwbla9EvhqeCvWwtardBMrJtxX7F27f2kEbiILs+bNnDt7/gw6tOjRpEubPo06terVrFu7fg07tuzZsgsAACH5BAkEAAEALAAAAABkAGQAAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKgOAJtBJakqhuikVZL3esloOt0v7hr6AKncszqU/ZHMWfVbH2WvTNFLvtE9zRt77B2f1EKixV1J4kIhxGNW3sHjROBIZyXRHaLlR+ajQmTApIYX3icD51hCaOehwyppaaqDaigpb6xcrmzuLu5t7eQvp+wu66Ipp+ypMbGr8ezyarAzBCzzt+TwcvLrd3O19Xfyty6zoPE4eDo68jI6tzd4e/66eXi8/vx4tvd97X03vXzZ359yJQwcNjD6F9vLx6xcQYkSGDSkCPCiQ4MCMpQYXWtzo0BxCTSJHajzJ8R6+MrRQhqzI0p/KidxeWrNZcOYyUi4lYvRZUqchkECDUrxpE1DPozepkcyQMKaHi5uIMq1AdehSqXqeMrLKVWlHrSq98hwLFawgoWm3rk0qtijMt3KnzjTrtJzSs3ApZGWBt2ZfwHonFF4RWHBYG2gt1A3zeInkyZQrW76MObPmzZw7e/4MOrTo0aRLmz6NOrXq1UgKAAAh+QQJBAABACwAAAAAZABkAAAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGIZAGWyc/y6XsCSFLorjoNYa24bdbp1YVB3u9tDN6K1WT0mZ3GruVt+Jser6q4DnenjILX4McBaEKYgKhhWKJ44IjBSGW3AHkhOWJpGaD3gCmiSakgmrg5KgURKlhJ+miK0Oq6ejpbWit7O5hroNqpu/vZB9mLKgz8yjscm7zLuRz8e9xMzEfbbCvty0DNFK2dqjy97Jz97Rlujl3sXa2+HgHNnA47jj6/bd/u3s3Ozzq+z5+1d//uySMY0Ay4Z/UalkNo7KHAgfroSZwY0SA3hZsUMeIyWLDiR5EHSZLTiKwkx4DnxF1c2dKjRZAbM0KsQ9PhzZEmC+nc+XHhtQ01cYL06fJohXgeiuYB+udnz6UpL0mVGamqBadNtVJNCnWrVwpcowJE2nNsP6x14J0lq7bR2wlMYcQNGdbF3Y5sX+zteGUu3Kl2lWaF2SSx4sWMGzt+DDmy5MmUK1u+jDmz5s2cO3v+DDq0aCEFAAAh+QQJBAABACwAAAAAZABkAAAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCoBTObPSWpKeVJoqGrFYbOdLbfmvYZz448XoCt7zumt2E2Gm9WmZoTOYZ+wEPxGX8fn4KcBGCXHQJhhOKJo4HjBKAIJ+Wj3IPlWhYm40KmQ2ffl+ZlAWXoQ2oCaymopuOqqmghLW0t6CypbiTB7mmu666orvDk47DhLDNzK3Gwc6xygHFw8dSw9bX0t4Yv8LU3dmwwObWu+jM65PTqeTT5cHV7OfV6ffr8+/05/aZ+PbZ86eQDdDXx28J8/XAlfNdQm8CHBgg4pVlzI0KI4hJ0a+7Xj+BFitokYSaIJaFFkx3gk9aX81XAjSJclTdIMKdPdHY8no8XkVYjnzZshuwgVVVRlyjxH57AMym9khZyRmq4Busiq0adZo0qcihUDzKVguYrVytTs2Ydhd6pdm7QtUqkt5BLtecMuSrJ1386tSUPvXrxavlYFbIOvksWMGzt+DDmy5MmUK1u+jDmz5s2cO3v+DDq06NGkQxcAACH5BAkEAAEALAAAAABkAGQAAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpdMDOAJKEGfvSlVZL3mstoPd8eNgsJiXDhETlkh53Hb9HW8PWl4vDHv1KV3Rp6zR/KXMKgROFJ4kKg4xbao17fwGKlwiEVJiImwaBkB5anJmPXA+Vg5KhdqMKnambr2CounGlBKm9lKy4rqZ7ppK9vLKxx8evubOyypm6xMCtwYGz3rjFxNfb3KnK3N7UpcjBsuPg3+iT2OXm6cLtre/f693LzOXk9+bp4PSr8//16rn79nAsvoM/jvnjuA+AZaU7jQ4UOJ8BhOpBiQW0aAptAgJvS4i2NBhAS9bRNp8lhEjCE9bgTpa2UXexhf1uxYkybJhjsv9pQpzaXOki5bsoyJix/KpTBVZjA6U+dPmzk3QJ1KlahQqyeFMpQHSSNSCWABda1KoSxXsU7Jjr1wFc1bC3HdtIV7NupajWbZ8q2gdu/Nu0rR9tXL85JFF3MLV1nchFjkyZQrW76MObPmzZw7e/4MOrTo0aRLmz6NOrXq1axXFwAAIfkECQQAAQAsAAAAAGQAZAAAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxiEwql8wmCAAFTKJSZ4AKjWCro6hqm3WAuR8wavxAh8wndcPtGZO77Hc9PWfI2/cFXI+F1yfyp1CYMIh4+JSIsHjweBXZMVnZaLBnYrklGGh3+RkmBirJOWoKSGqImuoZStUJ+yo7xepHuul6q+oYmUvbCrzKC+mLe2yrSIxpnKysuwv9LH3qXGx9Td2LXco9zP3rVS08TT5uno2eLj4rGq0drN4tP88e7/4N/y4fjp9v/w9gLH7I9NXzt81bOYEJ6fXL05DeQoTrKFaEGNHiQY2tATU+HOhx0kSMzLx9bMdx5DmOJ++lzBjSZEGCyzaS3AjyJk6UOlWizAmUJ4VMLoP+FDpUplKDzRQuNFp05U2itRhOhLovplMNLaO67Lmha9apIsPOtHpRKliuZ1kuNchB7L6cazPIBaSlLNu3aDFQpcP3ZYWaftvWrSoxrmESfRkFPuxD1dYgkwUXsWwls+bNnDt7/gw6tOjRpEubPo06terVrFu7fg07tmzNBQAAIfkECQQAAQAsAAAAAGQAZAAAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxeAMoAcjP8tncPKHRzHRZtV6Z2cuW+6B2v5BrZMojO9SN7Y7NgC/kc7GJnsAj9Af3iW8AGCDod1cYd1hn1ibIQZioAPgFNoEWBpmHuacZ2JhpybgYCoooqmh6hhrJ2an6SbrKGuvaJ/tI24p7Cvtqt4u1xjpJMTzqO3vcC1yqi5xc23zLuymrvPyrdBkt7AmtK/3sHT7YnTstfo1NqR5cTf1tGw/vjp5uve6c3X5uPp6vz8wfOHvv+KnDV5BgQoABFfZzeHCfQHkGi0mwyE4iRHKz85rdQ1gPZEhtFctx7DhxG0p/HzUyzGgMIsYykiimLEnv4ct7JG+Om9nzp82NNXOexGnwKFFuRoEuFKkz6M6nUP9BHTj1qcusMati9crUozWpYFUiTbqLplmfMk16Gco1ate4Hb6S3VrVEdyySY1isLtVKgrAc9XS9UC4Yd4XiQOmqSY2iCeWQ9x2kXuZmN/MShdz7vU5tOjRpEubPo06terVrFu7fg07tuzZtGvbvo27RQEAIfkECQQAAQAsAAAAAGQAZAAAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDKoARKKQVEweQ0nl8tMsPqFRwNRTtV45WaR01xVFwVVxORcGpW9rhzHSrsUV48d8dj/kDXtY/3+GA1jX0EelZRfIMNgE0WihuMDoVBhJRzhhmTD5VYkp+em4x/nm+bhoiJCFCBq6qakKy5eqNyo76xqbi7vb2kvK6kspPCx6C5z4S8t7SlyK2htge3t5TI1s2mysHI0NHf1q3X0tDq7LrV2dHr5eS83eztz5Xaxefx7v/Gw/r5+cv4pCwGz9+O0zGAzePYIF8TV0eFBhRHfmKAIkNw5dPoS9CSF29PhvobyH9ERKw7hxWsWRE1mGJOmSYUt9H2PKfDlzoASd/tygNMlz28WMKcttlJjzJ8yTGk1y9EnUqcqjHmsyLRoVZlCcSbPOvAp0GdiwXq2O7bpyJNe1ULE6dcb2ZlupaXXBUfrVEFUueM2KHdI3LpvAc5e+8Fby6+F34P6moKXY5uC6dymjcFzZ8GLLmXlg3oIU9IbPoiWXhsT5NC/VrFu7fg07tuzZtGvbvo07t+7dvHv7/g08+IkCACH5BAkEAAEALAAAAABkAGQAAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jed6DPQ72wsCfimhkHgyBpEmpY9Jcg6hIym16owud9ZQVtcFhW9jT7l25qRna02b9xXHyXNzHX1nPCFvWD+gxJfHNnjQ99dhJBjocFj48QgY6cjYVKk3mXmJ9Uip2BgpuUUhNYW5qeB5BPo5Ucraehq7oLon8dpQa0vbiWj4pmsquzpMHIFbvJuqOZuAfAzMbMyLivC8WP2brd3s3BtqHb1tEAzbnSt+zj29PH798B4+LqpO/j3vfc+eX0+/v/4vmTJ5/cqhAwdwFLWC0hS2w0ewnsGDEn3Z0+fwYcCLyhURcuzIcF66fvxAbvSXsWTKhAMpmlzJEh5GmAtftoxpjmY8lxsnCsxJU2PPhjc/6rSI8qhIosKEBlWpNKTUoR6TFvVZMyrJiFSnBtVVYafRolZlLt3KVetXptia3jrrlSxSDGyBuoV6VwRJrE7zyuCLF0wofHOLgDs51i8ciGGrqijc9qkLyGbRAnEMjfFlza4wo6BsVzDnt5Y3lyYl+QXoKzzJsraw+nVWxbIvnK6NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cxrFwAAIfkEBQQAAQAsAAAAAGQAZAAAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/Z9ALqOu/vfW/2AwdRwVzQeAUnUktk0PaPS5WiYnIasQS3IewN7xDUyxzxDa9QxNsb9glvkLTrFLuR+9WH+2F8GuED0gJeBVSiYcARheKGYA2ng5jjH6EApGVB5x5Z52cA58QTF8IkYqnnmqXlKSEKK2ToLmopUEWuLakq7O1gbkcsLrOB6q3ssIfxLvNj7Woy3HN2MYMyDDJ0oeV067Ousas1aHVk+yS1NDh7OPn4+vQ3/nMzsji5uPn++SY/9fc9ewG7ytL3j126gP28C6yU0mM3hQYj6KOJTmO8ixoDT/fit4/hQYkWRI/8BJNkR4USLBGXtU1nSJDWOLU+inLnRYkqdH3WGlPmz4M2eN38yDOqSZrqMO1kuFAp0ZVGpUWNCPYo0Ii6iWKlehbp1qVKPqkDidEo2rdk1XL8m9bkhnte3Q5m+Ucvz6Qm9EbtadeITDkJRJeTAJQzLbjDFgGF2cpwHsjLGeynTrSoDcUPMbSz37eLZpt/OkheXbrz2cerIqye3VqFZYJbQVC6Prs32NG7TcHc/6u07uPDhxIsbP448ufLlzJs7fw49uvTp1C8UAAA7", vo = { class: "das-ai-chat" }, Do = { class: "das-ai-reference-content-content" }, Eo = { style: { "margin-right": "8px" } }, Fo = { class: "das-ai-answer-content" }, wo = {
|
|
3832
3838
|
key: 0,
|
|
3833
3839
|
class: "das-ai-chat-stop"
|
|
3834
|
-
}, So = { class: "think-line-text" }, zo = { class: "think-line-icon" },
|
|
3840
|
+
}, So = { class: "think-line-text" }, zo = { class: "think-line-icon" }, To = ["innerHTML"], Io = ["innerHTML"], Mo = {
|
|
3835
3841
|
key: 3,
|
|
3836
3842
|
class: "das-ai-chat-opt"
|
|
3837
3843
|
}, Oo = {
|
|
@@ -3843,349 +3849,205 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
3843
3849
|
}, Lo = ["src"], Bo = {
|
|
3844
3850
|
key: 4,
|
|
3845
3851
|
class: "das-ai-chat-loading"
|
|
3846
|
-
},
|
|
3852
|
+
}, Ro = {
|
|
3847
3853
|
name: "aiChat"
|
|
3848
|
-
},
|
|
3849
|
-
...
|
|
3854
|
+
}, qo = /* @__PURE__ */ ou({
|
|
3855
|
+
...Ro,
|
|
3850
3856
|
props: {
|
|
3851
3857
|
item: { default: {} },
|
|
3852
3858
|
isNew: { type: Boolean, default: !0 }
|
|
3853
3859
|
},
|
|
3854
3860
|
emits: ["aiChatEmit"],
|
|
3855
3861
|
setup(u, { emit: e }) {
|
|
3856
|
-
const t = u, n =
|
|
3862
|
+
const t = u, n = I(""), r = I(""), o = e, c = new ru(), i = I(), a = su(() => t.item.content), s = su(() => t.item.think), { toClipboard: l } = N0();
|
|
3857
3863
|
bu(
|
|
3858
3864
|
() => a.value,
|
|
3859
|
-
(
|
|
3860
|
-
if (!
|
|
3865
|
+
(_, p) => {
|
|
3866
|
+
if (!_) {
|
|
3861
3867
|
n.value = "";
|
|
3862
3868
|
return;
|
|
3863
3869
|
}
|
|
3864
|
-
n.value = c.render(
|
|
3870
|
+
n.value = c.render(_);
|
|
3865
3871
|
},
|
|
3866
3872
|
{ immediate: !0 }
|
|
3867
3873
|
), bu(
|
|
3868
3874
|
() => s.value,
|
|
3869
|
-
(
|
|
3870
|
-
if (!
|
|
3875
|
+
(_, p) => {
|
|
3876
|
+
if (!_) {
|
|
3871
3877
|
r.value = "";
|
|
3872
3878
|
return;
|
|
3873
3879
|
}
|
|
3874
|
-
r.value = c.render(
|
|
3880
|
+
r.value = c.render(_);
|
|
3875
3881
|
},
|
|
3876
3882
|
{ immediate: !0 }
|
|
3877
3883
|
);
|
|
3878
|
-
const f =
|
|
3879
|
-
var p, b
|
|
3880
|
-
return ((
|
|
3881
|
-
},
|
|
3882
|
-
var
|
|
3884
|
+
const f = I(!0), x = su(() => t.item.file && t.item.file.length ? T("引用$0篇资料作为参考", t.item.file.length) : ""), h = su(() => t.item.loading && !n.value ? T("思考中…") : t.item.thinkTime ? T("已深度思考(用时$0秒)", t.item.thinkTime) : T("已深度思考")), d = su(() => !n.value && !r.value), A = () => {
|
|
3885
|
+
var _, p, b;
|
|
3886
|
+
return ((_ = t.item) == null ? void 0 : _.audioStatus) == "normal" ? T("语音朗读") : ((p = t.item) == null ? void 0 : p.audioStatus) == "generated" || ((b = t.item) == null ? void 0 : b.audioStatus) == "loading" ? T("停止朗读") : T("语音朗读");
|
|
3887
|
+
}, y = () => {
|
|
3888
|
+
var _;
|
|
3883
3889
|
try {
|
|
3884
3890
|
if (!n.value) return;
|
|
3885
|
-
const
|
|
3886
|
-
l(
|
|
3891
|
+
const p = (_ = i.value.textContent) == null ? void 0 : _.replace(/^\s*[\r\n]/gm, "");
|
|
3892
|
+
l(p), Pe.success(T("复制成功"));
|
|
3887
3893
|
} catch {
|
|
3888
|
-
Pe.error(
|
|
3894
|
+
Pe.error(T("复制失败"));
|
|
3889
3895
|
}
|
|
3890
|
-
},
|
|
3891
|
-
if (
|
|
3892
|
-
|
|
3896
|
+
}, v = (_) => {
|
|
3897
|
+
if (_ == "copy") {
|
|
3898
|
+
y();
|
|
3893
3899
|
return;
|
|
3894
3900
|
}
|
|
3895
|
-
if (
|
|
3901
|
+
if (_ == "saveKnowledgebase") {
|
|
3896
3902
|
if (t.item.saved || !n.value) return;
|
|
3897
|
-
o("aiChatEmit",
|
|
3903
|
+
o("aiChatEmit", _, { dom: i.value, item: t.item });
|
|
3898
3904
|
return;
|
|
3899
3905
|
}
|
|
3900
|
-
if (
|
|
3906
|
+
if (_ == "play") {
|
|
3901
3907
|
if (t.item.audioStatus == "normal") {
|
|
3902
3908
|
if (!i.value) return;
|
|
3903
|
-
o("aiChatEmit",
|
|
3909
|
+
o("aiChatEmit", _, { text: i.value.textContent, data: t.item });
|
|
3904
3910
|
return;
|
|
3905
3911
|
}
|
|
3906
|
-
o("aiChatEmit",
|
|
3912
|
+
o("aiChatEmit", _, { data: t.item });
|
|
3907
3913
|
return;
|
|
3908
3914
|
}
|
|
3909
|
-
o("aiChatEmit",
|
|
3915
|
+
o("aiChatEmit", _, t.item);
|
|
3910
3916
|
}, k = () => {
|
|
3911
3917
|
o("aiChatEmit", "reference", t.item);
|
|
3912
3918
|
};
|
|
3913
|
-
return (
|
|
3914
|
-
T(" 参考内容 "),
|
|
3919
|
+
return (_, p) => (w(), R("div", vo, [
|
|
3915
3920
|
g("div", Do, [
|
|
3916
|
-
|
|
3921
|
+
x.value ? (w(), R("div", {
|
|
3917
3922
|
key: 0,
|
|
3918
3923
|
onClick: k,
|
|
3919
3924
|
class: "das-ai-reference-content-line"
|
|
3920
3925
|
}, [
|
|
3921
|
-
g(
|
|
3922
|
-
|
|
3923
|
-
Eo,
|
|
3924
|
-
V(_.value),
|
|
3925
|
-
1
|
|
3926
|
-
/* TEXT */
|
|
3927
|
-
),
|
|
3928
|
-
H(A(ft), {
|
|
3926
|
+
g("span", Eo, V(x.value), 1),
|
|
3927
|
+
j(C(ft), {
|
|
3929
3928
|
size: "medium",
|
|
3930
3929
|
iconColor: "#999999"
|
|
3931
3930
|
})
|
|
3932
|
-
])) :
|
|
3933
|
-
T(` <div v-if="item.loading && noContent && !item.file.length" class="ai-reference-content-top">\r
|
|
3934
|
-
<DasIcon icon="cankaoneirong" size="large" iconColor="#212121"></DasIcon>\r
|
|
3935
|
-
<span style="margin-left: 8px">{{ referenceTitle }}</span>\r
|
|
3936
|
-
</div>\r
|
|
3937
|
-
<div v-if="item.loading && noContent && !item.file.length" class="ai-reference-content-skeleton">\r
|
|
3938
|
-
<div class="ai-reference-content-skeleton-item"></div>\r
|
|
3939
|
-
<div class="ai-reference-content-skeleton-item"></div>\r
|
|
3940
|
-
</div>\r
|
|
3941
|
-
<div v-if="item.file && item.file.length" class="ai-reference-content-top">\r
|
|
3942
|
-
<DasIcon icon="cankaoneirong" size="large" iconColor="#212121"></DasIcon>\r
|
|
3943
|
-
<span style="margin-left: 8px">{{ referenceTitle }}</span>\r
|
|
3944
|
-
<div v-if="item.file && item.file.length > 2" class="more-btn">\r
|
|
3945
|
-
<das-button @click="toReference" size="middle" btnType="primary-text" block>{{ t('更多') }}</das-button>\r
|
|
3946
|
-
</div>\r
|
|
3947
|
-
</div>\r
|
|
3948
|
-
<div class="das-ai-chat-file-box">\r
|
|
3949
|
-
<div @click="downflie(fileitem)" class="das-ai-chat-file-item" v-for="(fileitem, index) in showFile">\r
|
|
3950
|
-
<div v-das-tooltip class="chat-file-title">\r
|
|
3951
|
-
<span style="margin-right: 4px">{{ index + 1 }}.</span>\r
|
|
3952
|
-
<DasIcon icon="lianjie" size="mini" iconColor="#212121"></DasIcon>\r
|
|
3953
|
-
<span style="margin-left: 4px">{{ fileitem.name }}</span>\r
|
|
3954
|
-
</div>\r
|
|
3955
|
-
<div v-das-tooltip class="chat-file-summary">\r
|
|
3956
|
-
{{ fileitem.summary }}\r
|
|
3957
|
-
</div>\r
|
|
3958
|
-
</div>\r
|
|
3959
|
-
</div> `)
|
|
3931
|
+
])) : $("", !0)
|
|
3960
3932
|
]),
|
|
3961
|
-
T(" 回答 "),
|
|
3962
3933
|
g("div", Fo, [
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
"div",
|
|
3992
|
-
So,
|
|
3993
|
-
V(h.value),
|
|
3994
|
-
1
|
|
3995
|
-
/* TEXT */
|
|
3996
|
-
),
|
|
3997
|
-
g("div", zo, [
|
|
3998
|
-
f.value ? T("v-if", !0) : (w(), X(A(ht), {
|
|
3999
|
-
key: 0,
|
|
4000
|
-
size: "medium",
|
|
4001
|
-
iconColor: "#999999"
|
|
4002
|
-
})),
|
|
4003
|
-
f.value ? (w(), X(A(pt), {
|
|
4004
|
-
key: 1,
|
|
4005
|
-
size: "medium",
|
|
4006
|
-
iconColor: "#999999"
|
|
4007
|
-
})) : T("v-if", !0)
|
|
4008
|
-
])
|
|
4009
|
-
]),
|
|
4010
|
-
g("div", {
|
|
4011
|
-
class: "das-ai-think-markdown",
|
|
4012
|
-
innerHTML: r.value
|
|
4013
|
-
}, null, 8, Io)
|
|
4014
|
-
],
|
|
4015
|
-
2
|
|
4016
|
-
/* CLASS */
|
|
4017
|
-
)) : T("v-if", !0),
|
|
3934
|
+
!u.item.loading && d.value && !u.item.file.length ? (w(), R("div", wo, V(C(T)("已暂停生成")), 1)) : $("", !0),
|
|
3935
|
+
r.value ? (w(), R("div", {
|
|
3936
|
+
key: 1,
|
|
3937
|
+
class: Ju(["das-ai-think-markdown-box", { "hide-think": !f.value }])
|
|
3938
|
+
}, [
|
|
3939
|
+
g("div", {
|
|
3940
|
+
onClick: p[0] || (p[0] = (b) => f.value = !f.value),
|
|
3941
|
+
class: "think-line"
|
|
3942
|
+
}, [
|
|
3943
|
+
g("div", So, V(h.value), 1),
|
|
3944
|
+
g("div", zo, [
|
|
3945
|
+
f.value ? $("", !0) : (w(), X(C(ht), {
|
|
3946
|
+
key: 0,
|
|
3947
|
+
size: "medium",
|
|
3948
|
+
iconColor: "#999999"
|
|
3949
|
+
})),
|
|
3950
|
+
f.value ? (w(), X(C(pt), {
|
|
3951
|
+
key: 1,
|
|
3952
|
+
size: "medium",
|
|
3953
|
+
iconColor: "#999999"
|
|
3954
|
+
})) : $("", !0)
|
|
3955
|
+
])
|
|
3956
|
+
]),
|
|
3957
|
+
g("div", {
|
|
3958
|
+
class: "das-ai-think-markdown",
|
|
3959
|
+
innerHTML: r.value
|
|
3960
|
+
}, null, 8, To)
|
|
3961
|
+
], 2)) : $("", !0),
|
|
4018
3962
|
n.value ? (w(), R("div", {
|
|
4019
3963
|
key: 2,
|
|
4020
3964
|
ref_key: "chatMarkdownRef",
|
|
4021
3965
|
ref: i,
|
|
4022
3966
|
class: "das-ai-chat-markdown",
|
|
4023
3967
|
innerHTML: n.value
|
|
4024
|
-
}, null, 8,
|
|
4025
|
-
|
|
4026
|
-
|
|
3968
|
+
}, null, 8, Io)) : $("", !0),
|
|
3969
|
+
u.isNew && !u.item.loading ? (w(), R("div", Mo, [
|
|
3970
|
+
u.isNew ? (w(), X(C(vu), {
|
|
4027
3971
|
key: 0,
|
|
4028
3972
|
placement: "top",
|
|
4029
3973
|
type: "button"
|
|
4030
3974
|
}, {
|
|
4031
3975
|
content: J(() => [
|
|
4032
|
-
g(
|
|
4033
|
-
"div",
|
|
4034
|
-
null,
|
|
4035
|
-
V(A(I)("重新生成")),
|
|
4036
|
-
1
|
|
4037
|
-
/* TEXT */
|
|
4038
|
-
)
|
|
3976
|
+
g("div", null, V(C(T)("重新生成")), 1)
|
|
4039
3977
|
]),
|
|
4040
3978
|
default: J(() => [
|
|
4041
3979
|
g("div", {
|
|
4042
|
-
onClick:
|
|
3980
|
+
onClick: p[1] || (p[1] = (b) => v("regenerate")),
|
|
4043
3981
|
class: "chat-opt-box"
|
|
4044
3982
|
}, [
|
|
4045
|
-
|
|
3983
|
+
j(C(a0), {
|
|
4046
3984
|
size: "medium",
|
|
4047
3985
|
iconColor: "#666666"
|
|
4048
3986
|
})
|
|
4049
3987
|
])
|
|
4050
3988
|
]),
|
|
4051
3989
|
_: 1
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
H(A(Cu), {
|
|
3990
|
+
})) : $("", !0),
|
|
3991
|
+
j(C(vu), {
|
|
4055
3992
|
placement: "top",
|
|
4056
3993
|
type: "button"
|
|
4057
3994
|
}, {
|
|
4058
3995
|
content: J(() => [
|
|
4059
|
-
g(
|
|
4060
|
-
"div",
|
|
4061
|
-
null,
|
|
4062
|
-
V(A(I)("复制")),
|
|
4063
|
-
1
|
|
4064
|
-
/* TEXT */
|
|
4065
|
-
)
|
|
3996
|
+
g("div", null, V(C(T)("复制")), 1)
|
|
4066
3997
|
]),
|
|
4067
3998
|
default: J(() => [
|
|
4068
3999
|
g("div", {
|
|
4069
|
-
onClick:
|
|
4000
|
+
onClick: p[2] || (p[2] = (b) => v("copy")),
|
|
4070
4001
|
class: "chat-opt-box"
|
|
4071
4002
|
}, [
|
|
4072
|
-
|
|
4003
|
+
j(C(s0), {
|
|
4073
4004
|
size: "medium",
|
|
4074
4005
|
iconColor: "#666666"
|
|
4075
4006
|
})
|
|
4076
4007
|
])
|
|
4077
4008
|
]),
|
|
4078
4009
|
_: 1
|
|
4079
|
-
/* STABLE */
|
|
4080
4010
|
}),
|
|
4081
|
-
|
|
4011
|
+
j(C(vu), {
|
|
4082
4012
|
placement: "top",
|
|
4083
4013
|
type: "button"
|
|
4084
4014
|
}, {
|
|
4085
4015
|
content: J(() => [
|
|
4086
|
-
g(
|
|
4087
|
-
"div",
|
|
4088
|
-
null,
|
|
4089
|
-
V(y()),
|
|
4090
|
-
1
|
|
4091
|
-
/* TEXT */
|
|
4092
|
-
)
|
|
4016
|
+
g("div", null, V(A()), 1)
|
|
4093
4017
|
]),
|
|
4094
4018
|
default: J(() => [
|
|
4095
4019
|
g("div", {
|
|
4096
|
-
onClick:
|
|
4020
|
+
onClick: p[3] || (p[3] = (b) => v("play")),
|
|
4097
4021
|
class: "chat-opt-box"
|
|
4098
4022
|
}, [
|
|
4099
|
-
|
|
4023
|
+
u.item.audioStatus == "normal" ? (w(), X(C(l0), {
|
|
4100
4024
|
key: 0,
|
|
4101
4025
|
size: "medium",
|
|
4102
4026
|
iconColor: "#666666"
|
|
4103
|
-
})) :
|
|
4104
|
-
|
|
4105
|
-
g(
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
),
|
|
4112
|
-
|
|
4113
|
-
"span",
|
|
4114
|
-
null,
|
|
4115
|
-
null,
|
|
4116
|
-
-1
|
|
4117
|
-
/* CACHED */
|
|
4118
|
-
),
|
|
4119
|
-
g(
|
|
4120
|
-
"span",
|
|
4121
|
-
null,
|
|
4122
|
-
null,
|
|
4123
|
-
-1
|
|
4124
|
-
/* CACHED */
|
|
4125
|
-
),
|
|
4126
|
-
g(
|
|
4127
|
-
"span",
|
|
4128
|
-
null,
|
|
4129
|
-
null,
|
|
4130
|
-
-1
|
|
4131
|
-
/* CACHED */
|
|
4132
|
-
)
|
|
4133
|
-
])])) : T("v-if", !0),
|
|
4134
|
-
T(` <div v-if="item.audioStatus == 'loading'" class="audio-loading">\r
|
|
4135
|
-
<span style="width: 1.5px"></span>\r
|
|
4136
|
-
<span style="width: 1.5px"></span>\r
|
|
4137
|
-
<span style="width: 1.5px"></span>\r
|
|
4138
|
-
<span style="width: 1.5px"></span>\r
|
|
4139
|
-
<span style="width: 1.5px"></span>\r
|
|
4140
|
-
</div> `),
|
|
4141
|
-
p.item.audioStatus == "loading" ? (w(), R("div", No, [
|
|
4142
|
-
g("img", { src: A(Ao) }, null, 8, Lo)
|
|
4143
|
-
])) : T("v-if", !0)
|
|
4027
|
+
})) : $("", !0),
|
|
4028
|
+
u.item.audioStatus == "generated" ? (w(), R("div", Oo, [...p[4] || (p[4] = [
|
|
4029
|
+
g("span", null, null, -1),
|
|
4030
|
+
g("span", null, null, -1),
|
|
4031
|
+
g("span", null, null, -1),
|
|
4032
|
+
g("span", null, null, -1)
|
|
4033
|
+
])])) : $("", !0),
|
|
4034
|
+
u.item.audioStatus == "loading" ? (w(), R("div", No, [
|
|
4035
|
+
g("img", { src: C(Co) }, null, 8, Lo)
|
|
4036
|
+
])) : $("", !0)
|
|
4144
4037
|
])
|
|
4145
4038
|
]),
|
|
4146
4039
|
_: 1
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
</div>\r
|
|
4155
|
-
</template>\r
|
|
4156
|
-
<div @click="iconClick('saveKnowledgebase')" class="chat-opt-box save-btn-box" :class="{ saved: item.saved }">\r
|
|
4157
|
-
<DasIcon v-if="item.saved" icon="knowed" size="medium" iconColor="#B2B2B2"></DasIcon>\r
|
|
4158
|
-
<DasIcon v-else icon="know" size="medium" iconColor="inherit"></DasIcon>\r
|
|
4159
|
-
</div>\r
|
|
4160
|
-
</das-tooltip> `)
|
|
4161
|
-
])) : T("v-if", !0),
|
|
4162
|
-
p.item.loading && d.value && !p.item.file.length ? (w(), R("div", Bo, [...b[5] || (b[5] = [
|
|
4163
|
-
g(
|
|
4164
|
-
"span",
|
|
4165
|
-
null,
|
|
4166
|
-
null,
|
|
4167
|
-
-1
|
|
4168
|
-
/* CACHED */
|
|
4169
|
-
),
|
|
4170
|
-
g(
|
|
4171
|
-
"span",
|
|
4172
|
-
null,
|
|
4173
|
-
null,
|
|
4174
|
-
-1
|
|
4175
|
-
/* CACHED */
|
|
4176
|
-
),
|
|
4177
|
-
g(
|
|
4178
|
-
"span",
|
|
4179
|
-
null,
|
|
4180
|
-
null,
|
|
4181
|
-
-1
|
|
4182
|
-
/* CACHED */
|
|
4183
|
-
)
|
|
4184
|
-
])])) : T("v-if", !0)
|
|
4040
|
+
})
|
|
4041
|
+
])) : $("", !0),
|
|
4042
|
+
u.item.loading && d.value && !u.item.file.length ? (w(), R("div", Bo, [...p[5] || (p[5] = [
|
|
4043
|
+
g("span", null, null, -1),
|
|
4044
|
+
g("span", null, null, -1),
|
|
4045
|
+
g("span", null, null, -1)
|
|
4046
|
+
])])) : $("", !0)
|
|
4185
4047
|
])
|
|
4186
4048
|
]));
|
|
4187
4049
|
}
|
|
4188
|
-
}), Po = /* @__PURE__ */ iu(
|
|
4050
|
+
}), Po = /* @__PURE__ */ iu(qo, [["__scopeId", "data-v-baade754"]]), jo = { class: "das-ai-chat-container" }, Ho = {
|
|
4189
4051
|
name: "chat"
|
|
4190
4052
|
}, $o = /* @__PURE__ */ ou({
|
|
4191
4053
|
...Ho,
|
|
@@ -4201,32 +4063,20 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
4201
4063
|
o("chatEmit", i, a);
|
|
4202
4064
|
};
|
|
4203
4065
|
return (i, a) => (w(), R("div", jo, [
|
|
4204
|
-
(w(!0), R(
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
key: 1,
|
|
4219
|
-
onAiChatEmit: c,
|
|
4220
|
-
isNew: r(s),
|
|
4221
|
-
item: s
|
|
4222
|
-
}, null, 8, ["isNew", "item"])) : T("v-if", !0)
|
|
4223
|
-
],
|
|
4224
|
-
64
|
|
4225
|
-
/* STABLE_FRAGMENT */
|
|
4226
|
-
))),
|
|
4227
|
-
128
|
|
4228
|
-
/* KEYED_FRAGMENT */
|
|
4229
|
-
))
|
|
4066
|
+
(w(!0), R(Nu, null, Qu(u.chartList, (s) => (w(), R(Nu, {
|
|
4067
|
+
key: s.id
|
|
4068
|
+
}, [
|
|
4069
|
+
s.role == "user" ? (w(), X(z0, {
|
|
4070
|
+
key: 0,
|
|
4071
|
+
item: s
|
|
4072
|
+
}, null, 8, ["item"])) : $("", !0),
|
|
4073
|
+
s.role == "ai" ? (w(), X(Po, {
|
|
4074
|
+
key: 1,
|
|
4075
|
+
onAiChatEmit: c,
|
|
4076
|
+
isNew: r(s),
|
|
4077
|
+
item: s
|
|
4078
|
+
}, null, 8, ["isNew", "item"])) : $("", !0)
|
|
4079
|
+
], 64))), 128))
|
|
4230
4080
|
]));
|
|
4231
4081
|
}
|
|
4232
4082
|
}), Vo = /* @__PURE__ */ iu($o, [["__scopeId", "data-v-06f04cf8"]]), Uo = { class: "das-ai-senderopt" }, Zo = { class: "int-opt-box-text" }, Go = {
|
|
@@ -4235,31 +4085,19 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
4235
4085
|
...Go,
|
|
4236
4086
|
setup(u) {
|
|
4237
4087
|
const e = () => {
|
|
4238
|
-
|
|
4088
|
+
m.deepseek = !m.deepseek, gt();
|
|
4239
4089
|
};
|
|
4240
4090
|
return (t, n) => (w(), R("div", Uo, [
|
|
4241
|
-
g(
|
|
4242
|
-
"
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
}, null, 8, ["iconColor"]),
|
|
4252
|
-
g(
|
|
4253
|
-
"span",
|
|
4254
|
-
Zo,
|
|
4255
|
-
V(A(I)("深度思考")),
|
|
4256
|
-
1
|
|
4257
|
-
/* TEXT */
|
|
4258
|
-
)
|
|
4259
|
-
],
|
|
4260
|
-
2
|
|
4261
|
-
/* CLASS */
|
|
4262
|
-
)
|
|
4091
|
+
g("div", {
|
|
4092
|
+
class: Ju(["int-opt-box", { actived: C(m).deepseek }]),
|
|
4093
|
+
onClick: e
|
|
4094
|
+
}, [
|
|
4095
|
+
j(C(f0), {
|
|
4096
|
+
size: "medium",
|
|
4097
|
+
iconColor: C(m).deepseek ? "#5582F3" : "#212121"
|
|
4098
|
+
}, null, 8, ["iconColor"]),
|
|
4099
|
+
g("span", Zo, V(C(T)("深度思考")), 1)
|
|
4100
|
+
], 2)
|
|
4263
4101
|
]));
|
|
4264
4102
|
}
|
|
4265
4103
|
}), Jo = /* @__PURE__ */ iu(Ko, [["__scopeId", "data-v-888bb15e"]]), Qo = { class: "das-ai-sender-container" }, Wo = { class: "das-ai-sender-content" }, Xo = { class: "das-ai-sender-box" }, Yo = { class: "das-ai-int-scoll-box" }, ui = { class: "das-ai-int-box" }, ei = ["placeholder", "disabled"], ti = { class: "das-ai-textarea-mask" }, ni = { class: "das-ai-int-opt-box" }, ri = { class: "int-opt-right" }, oi = {
|
|
@@ -4271,22 +4109,22 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
4271
4109
|
},
|
|
4272
4110
|
emits: ["senderEmit"],
|
|
4273
4111
|
setup(u, { emit: e }) {
|
|
4274
|
-
const t = u, n = e, r =
|
|
4275
|
-
if (
|
|
4276
|
-
return
|
|
4112
|
+
const t = u, n = e, r = I(null), o = su(() => !m.senderValue), c = su(() => {
|
|
4113
|
+
if (m.loading)
|
|
4114
|
+
return T("回答中...");
|
|
4277
4115
|
if (t.isNew) {
|
|
4278
|
-
if (
|
|
4279
|
-
if (
|
|
4280
|
-
if (
|
|
4116
|
+
if (m.searchType == "0") return T("基于物联应用提问");
|
|
4117
|
+
if (m.searchType == "1") return T("基于知识库提问");
|
|
4118
|
+
if (m.searchType == "2") return T("基于全网提问");
|
|
4281
4119
|
} else
|
|
4282
|
-
return
|
|
4120
|
+
return T("继续提问");
|
|
4283
4121
|
}), i = () => {
|
|
4284
4122
|
var h;
|
|
4285
4123
|
(h = r.value) == null || h.focus();
|
|
4286
4124
|
}, a = (h) => {
|
|
4287
4125
|
};
|
|
4288
4126
|
bu(
|
|
4289
|
-
() =>
|
|
4127
|
+
() => m.senderValue,
|
|
4290
4128
|
(h) => {
|
|
4291
4129
|
!h && r.value && (r.value.style.height = "21px");
|
|
4292
4130
|
}
|
|
@@ -4296,8 +4134,8 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
4296
4134
|
d.style.height = "auto", d.style.height = d.scrollHeight + "px";
|
|
4297
4135
|
}, l = () => {
|
|
4298
4136
|
}, f = (h) => {
|
|
4299
|
-
h.preventDefault(), !(
|
|
4300
|
-
},
|
|
4137
|
+
h.preventDefault(), !(m.senderValue && !m.senderValue.trim()) && (n("senderEmit", "sender", m.senderValue), m.senderValue = "");
|
|
4138
|
+
}, x = () => {
|
|
4301
4139
|
n("senderEmit", "stopMsg");
|
|
4302
4140
|
};
|
|
4303
4141
|
return (h, d) => (w(), R("div", Qo, [
|
|
@@ -4309,10 +4147,10 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
4309
4147
|
g("div", Xo, [
|
|
4310
4148
|
g("div", Yo, [
|
|
4311
4149
|
g("div", ui, [
|
|
4312
|
-
|
|
4150
|
+
Au(g("textarea", {
|
|
4313
4151
|
class: "das-ai-textarea",
|
|
4314
4152
|
onKeydown: Jt(f, ["enter"]),
|
|
4315
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
4153
|
+
"onUpdate:modelValue": d[0] || (d[0] = (A) => C(m).senderValue = A),
|
|
4316
4154
|
placeholder: c.value,
|
|
4317
4155
|
rows: "8",
|
|
4318
4156
|
maxlength: "512",
|
|
@@ -4321,17 +4159,11 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
4321
4159
|
onFocus: l,
|
|
4322
4160
|
onInput: s,
|
|
4323
4161
|
onChange: a,
|
|
4324
|
-
disabled:
|
|
4162
|
+
disabled: C(m).loading
|
|
4325
4163
|
}, null, 40, ei), [
|
|
4326
|
-
[Qt,
|
|
4164
|
+
[Qt, C(m).senderValue]
|
|
4327
4165
|
]),
|
|
4328
|
-
g(
|
|
4329
|
-
"div",
|
|
4330
|
-
ti,
|
|
4331
|
-
V(A(x).senderValue),
|
|
4332
|
-
1
|
|
4333
|
-
/* TEXT */
|
|
4334
|
-
)
|
|
4166
|
+
g("div", ti, V(C(m).senderValue), 1)
|
|
4335
4167
|
])
|
|
4336
4168
|
]),
|
|
4337
4169
|
g("div", ni, [
|
|
@@ -4339,38 +4171,25 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
4339
4171
|
onClick: i,
|
|
4340
4172
|
class: "focus-mask-bottom"
|
|
4341
4173
|
}),
|
|
4342
|
-
|
|
4174
|
+
j(Jo),
|
|
4343
4175
|
g("div", ri, [
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
}, null, 8, ["iconColor"])
|
|
4356
|
-
],
|
|
4357
|
-
2
|
|
4358
|
-
/* CLASS */
|
|
4359
|
-
)),
|
|
4360
|
-
A(x).loading ? (w(), R("div", {
|
|
4176
|
+
C(m).loading ? $("", !0) : (w(), R("div", {
|
|
4177
|
+
key: 0,
|
|
4178
|
+
onClick: f,
|
|
4179
|
+
class: Ju(["int-opt-right-icon", { disabled: o.value }])
|
|
4180
|
+
}, [
|
|
4181
|
+
j(C(d0), {
|
|
4182
|
+
customSize: "12px",
|
|
4183
|
+
iconColor: o.value ? "#fafafa" : "#fff"
|
|
4184
|
+
}, null, 8, ["iconColor"])
|
|
4185
|
+
], 2)),
|
|
4186
|
+
C(m).loading ? (w(), R("div", {
|
|
4361
4187
|
key: 1,
|
|
4362
|
-
onClick: Fe(
|
|
4188
|
+
onClick: Fe(x, ["stop"]),
|
|
4363
4189
|
class: "loading-btn"
|
|
4364
|
-
}, [
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
"div",
|
|
4368
|
-
{ class: "loading-btn-con" },
|
|
4369
|
-
null,
|
|
4370
|
-
-1
|
|
4371
|
-
/* CACHED */
|
|
4372
|
-
))
|
|
4373
|
-
])) : T("v-if", !0)
|
|
4190
|
+
}, [...d[1] || (d[1] = [
|
|
4191
|
+
g("div", { class: "loading-btn-con" }, null, -1)
|
|
4192
|
+
])])) : $("", !0)
|
|
4374
4193
|
])
|
|
4375
4194
|
])
|
|
4376
4195
|
])
|
|
@@ -4394,28 +4213,22 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
4394
4213
|
class: "add-box",
|
|
4395
4214
|
onClick: o[0] || (o[0] = (c) => n("addNew"))
|
|
4396
4215
|
}, [
|
|
4397
|
-
|
|
4216
|
+
j(C(p0), {
|
|
4398
4217
|
size: "medium",
|
|
4399
4218
|
iconColor: "#333333"
|
|
4400
4219
|
}),
|
|
4401
|
-
g(
|
|
4402
|
-
"span",
|
|
4403
|
-
si,
|
|
4404
|
-
V(A(I)("开启新对话")),
|
|
4405
|
-
1
|
|
4406
|
-
/* TEXT */
|
|
4407
|
-
)
|
|
4220
|
+
g("span", si, V(C(T)("开启新对话")), 1)
|
|
4408
4221
|
]),
|
|
4409
|
-
|
|
4222
|
+
C(m).showScrollBom ? (w(), R("div", {
|
|
4410
4223
|
key: 0,
|
|
4411
4224
|
class: "scroll-opt-box",
|
|
4412
4225
|
onClick: o[1] || (o[1] = (c) => n("scrollBom"))
|
|
4413
4226
|
}, [
|
|
4414
|
-
|
|
4227
|
+
j(C(h0), {
|
|
4415
4228
|
size: "large",
|
|
4416
4229
|
iconColor: "#333333"
|
|
4417
4230
|
})
|
|
4418
|
-
])) :
|
|
4231
|
+
])) : $("", !0)
|
|
4419
4232
|
]));
|
|
4420
4233
|
}
|
|
4421
4234
|
}), fi = /* @__PURE__ */ iu(di, [["__scopeId", "data-v-c94020e2"]]), hi = { class: "das-ai-prompt" }, pi = { class: "das-ai-prompt-title" }, bi = { class: "das-ai-prompt-tip" }, mi = {
|
|
@@ -4433,53 +4246,29 @@ const Ao = "data:image/gif;base64,R0lGODlhZABkAIABAABt8QAAACH/C05FVFNDQVBFMi4wAw
|
|
|
4433
4246
|
const t = e, n = (r) => {
|
|
4434
4247
|
t("click", r);
|
|
4435
4248
|
};
|
|
4436
|
-
return
|
|
4249
|
+
return Ru(() => {
|
|
4437
4250
|
}), (r, o) => (w(), R("div", hi, [
|
|
4438
|
-
g(
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
),
|
|
4445
|
-
g(
|
|
4446
|
-
"div",
|
|
4447
|
-
bi,
|
|
4448
|
-
V(A(I)("我可以帮你分析,写报告,调节设备,预订会议室,请把你的任务交给我吧~")),
|
|
4449
|
-
1
|
|
4450
|
-
/* TEXT */
|
|
4451
|
-
),
|
|
4452
|
-
r.list.length ? (w(), R(
|
|
4453
|
-
"div",
|
|
4454
|
-
mi,
|
|
4455
|
-
V(A(I)("你可以这样说")),
|
|
4456
|
-
1
|
|
4457
|
-
/* TEXT */
|
|
4458
|
-
)) : T("v-if", !0),
|
|
4459
|
-
(w(!0), R(
|
|
4460
|
-
Nu,
|
|
4461
|
-
null,
|
|
4462
|
-
Qu(r.list, (c) => (w(), R("div", {
|
|
4463
|
-
onClick: (i) => n(c),
|
|
4464
|
-
class: "das-ai-prompt-item"
|
|
4465
|
-
}, V(c.text), 9, xi))),
|
|
4466
|
-
256
|
|
4467
|
-
/* UNKEYED_FRAGMENT */
|
|
4468
|
-
))
|
|
4251
|
+
g("div", pi, V(C(T)("嗨!我是AI助手")), 1),
|
|
4252
|
+
g("div", bi, V(C(T)("我可以帮你分析,写报告,调节设备,预订会议室,请把你的任务交给我吧~")), 1),
|
|
4253
|
+
u.list.length ? (w(), R("div", mi, V(C(T)("你可以这样说")), 1)) : $("", !0),
|
|
4254
|
+
(w(!0), R(Nu, null, Qu(u.list, (c) => (w(), R("div", {
|
|
4255
|
+
onClick: (i) => n(c),
|
|
4256
|
+
class: "das-ai-prompt-item"
|
|
4257
|
+
}, V(c.text), 9, xi))), 256))
|
|
4469
4258
|
]));
|
|
4470
4259
|
}
|
|
4471
|
-
}), ki = /* @__PURE__ */ iu(gi, [["__scopeId", "data-v-9820bbca"]]), Zt = "v1", Fu = mt(`/api/llm/knowledge/${Zt}`),
|
|
4260
|
+
}), ki = /* @__PURE__ */ iu(gi, [["__scopeId", "data-v-9820bbca"]]), Zt = "v1", Fu = mt(`/api/llm/knowledge/${Zt}`), yi = mt(`/api/llm/vector/${Zt}`);
|
|
4472
4261
|
xt.get("token");
|
|
4473
4262
|
xt.post("putObject");
|
|
4474
|
-
const
|
|
4475
|
-
|
|
4476
|
-
const La =
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
const
|
|
4263
|
+
const Ai = yi.get("/large-model/general-question"), Ci = Fu.post("/chat/stop"), vi = Fu.post("/chat/save-knowledge"), Di = Fu.get("/chat"), Ei = Fu.get("/chat/chat-details"), Fi = Fu.delete("/chat/delete-by-user"), wi = Fu.delete("/chat"), Si = Fu.get("/chat/delete-by-query-id");
|
|
4264
|
+
qu.post("/file");
|
|
4265
|
+
const La = qu.post("/file/save-file"), zi = qu.get("/folder"), Ti = qu.post("/folder/listAllByCondition");
|
|
4266
|
+
qu.post("/folder/lazy-tree");
|
|
4267
|
+
qu.post("/folder/tree-search");
|
|
4268
|
+
const Ii = { class: "das-ai-select-container" }, Mi = { class: "das-ai-select-text-box" }, Oi = { class: "das-ai-select-text" }, Ni = { class: "das-ai-select-box" }, Li = {
|
|
4480
4269
|
key: 0,
|
|
4481
4270
|
class: "das-ai-select-text"
|
|
4482
|
-
}, Bi = { class: "das-ai-type-list" },
|
|
4271
|
+
}, Bi = { class: "das-ai-type-list" }, Ri = ["onClick"], qi = { class: "das-ai-type-icon" }, Pi = { class: "das-ai-type-box" }, ji = { class: "das-ai-type-name" }, Hi = { class: "das-ai-type-desc" }, $i = ["onClick"], Vi = { class: "das-ai-type-tree" }, Ui = {
|
|
4483
4272
|
name: "selectType"
|
|
4484
4273
|
}, Zi = /* @__PURE__ */ ou({
|
|
4485
4274
|
...Ui,
|
|
@@ -4488,7 +4277,7 @@ const Ti = { class: "das-ai-select-container" }, Mi = { class: "das-ai-select-te
|
|
|
4488
4277
|
},
|
|
4489
4278
|
emits: ["back"],
|
|
4490
4279
|
setup(u, { emit: e }) {
|
|
4491
|
-
const t =
|
|
4280
|
+
const t = I(!1), n = I(!1), r = I(!1), o = I({
|
|
4492
4281
|
modifiers: [
|
|
4493
4282
|
{
|
|
4494
4283
|
name: "offset",
|
|
@@ -4497,23 +4286,23 @@ const Ti = { class: "das-ai-select-container" }, Mi = { class: "das-ai-select-te
|
|
|
4497
4286
|
}
|
|
4498
4287
|
}
|
|
4499
4288
|
]
|
|
4500
|
-
}), c =
|
|
4501
|
-
{ id: "1", name:
|
|
4502
|
-
{ id: "0", name:
|
|
4503
|
-
{ id: "2", name:
|
|
4504
|
-
]), i =
|
|
4289
|
+
}), c = I([
|
|
4290
|
+
{ id: "1", name: T("知识库"), desc: T("选择在某个知识库中搜索"), icon: "knowOpen" },
|
|
4291
|
+
{ id: "0", name: T("物联应用"), desc: T("在权限范围内的应用中搜索"), icon: "yingyong" },
|
|
4292
|
+
{ id: "2", name: T("全网"), desc: T("在整个大模型中搜索"), icon: "intnet" }
|
|
4293
|
+
]), i = I(!1), a = I([]), s = I(""), l = I(""), f = e, x = () => {
|
|
4505
4294
|
f("back");
|
|
4506
|
-
}, h = su(() => c.value.find((
|
|
4507
|
-
},
|
|
4295
|
+
}, h = su(() => c.value.find((F) => F.id === m.searchType)), d = su(() => m.searchType == "1" ? T("基于知识库") : m.searchType == "0" ? T("基于物联应用") : m.searchType == "2" ? T("基于全网") : T("基于全部")), A = su(() => m.folderId && m.folderName ? m.folderName : T("选择在某个知识库中搜索")), y = (F) => {
|
|
4296
|
+
}, v = (F) => {
|
|
4508
4297
|
r.value = !1;
|
|
4509
|
-
}, k = (
|
|
4510
|
-
l.value =
|
|
4511
|
-
},
|
|
4512
|
-
|
|
4513
|
-
},
|
|
4514
|
-
|
|
4515
|
-
},
|
|
4516
|
-
const
|
|
4298
|
+
}, k = (F) => {
|
|
4299
|
+
l.value = F.id, m.folderId = F.id == m.allKnowId ? "" : F.id, m.folderName = m.folderId ? F.folderName : "", r.value = !1, n.value = !1;
|
|
4300
|
+
}, _ = (F) => {
|
|
4301
|
+
m.searchType = F.id, Vu(), l.value = m.folderId ? m.folderId : m.allKnowId, r.value = !0, b();
|
|
4302
|
+
}, p = async (F) => {
|
|
4303
|
+
m.searchType = F.id, n.value = !1, Vu();
|
|
4304
|
+
}, b = async () => {
|
|
4305
|
+
const F = {
|
|
4517
4306
|
folderName: "",
|
|
4518
4307
|
// 文件夹名称
|
|
4519
4308
|
// authority:true,//权限标识 true:有 false:无
|
|
@@ -4521,170 +4310,120 @@ const Ti = { class: "das-ai-select-container" }, Mi = { class: "das-ai-select-te
|
|
|
4521
4310
|
// 是否排除内置文件夹 默认不排除
|
|
4522
4311
|
};
|
|
4523
4312
|
i.value = !0;
|
|
4524
|
-
const [
|
|
4525
|
-
if (i.value = !1,
|
|
4313
|
+
const [q, P] = await Ti(F).run();
|
|
4314
|
+
if (i.value = !1, q)
|
|
4526
4315
|
return;
|
|
4527
|
-
let K =
|
|
4316
|
+
let K = P;
|
|
4528
4317
|
K && K.length ? (K = [
|
|
4529
4318
|
{
|
|
4530
4319
|
disabled: !1,
|
|
4531
4320
|
authority: !0,
|
|
4532
|
-
id:
|
|
4533
|
-
folderName:
|
|
4534
|
-
childFolderList:
|
|
4535
|
-
folderPath:
|
|
4536
|
-
pathName:
|
|
4321
|
+
id: m.allKnowId,
|
|
4322
|
+
folderName: T("全部"),
|
|
4323
|
+
childFolderList: P,
|
|
4324
|
+
folderPath: m.allKnowId,
|
|
4325
|
+
pathName: T("全部")
|
|
4537
4326
|
}
|
|
4538
4327
|
], K.forEach((du) => {
|
|
4539
|
-
|
|
4540
|
-
})) : (l.value = "",
|
|
4541
|
-
},
|
|
4542
|
-
|
|
4543
|
-
|
|
4328
|
+
M(du);
|
|
4329
|
+
})) : (l.value = "", m.folderId = "", m.folderName = ""), a.value = K;
|
|
4330
|
+
}, M = (F, q, P) => {
|
|
4331
|
+
F.disabled = !F.authority, F.path = q ? q + `/${F.id}` : F.id, F.pathName = P ? P + `/${F.folderName}` : F.folderName, m.folderId && m.folderId == F.id && !F.authority && (m.folderId = "", m.folderName = "", l.value = ""), F.childFolderList && F.childFolderList.length && F.childFolderList.forEach((K) => {
|
|
4332
|
+
M(K, F.path, F.pathName);
|
|
4544
4333
|
});
|
|
4545
4334
|
};
|
|
4546
|
-
return (
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
g(
|
|
4557
|
-
"div",
|
|
4558
|
-
Oi,
|
|
4559
|
-
V(d.value),
|
|
4560
|
-
1
|
|
4561
|
-
/* TEXT */
|
|
4562
|
-
)
|
|
4563
|
-
],
|
|
4564
|
-
512
|
|
4565
|
-
/* NEED_PATCH */
|
|
4566
|
-
), [
|
|
4567
|
-
[Hu, E.listLength]
|
|
4335
|
+
return (F, q) => (w(), R("div", Ii, [
|
|
4336
|
+
Au(g("div", Mi, [
|
|
4337
|
+
j(C(Se), {
|
|
4338
|
+
onClick: x,
|
|
4339
|
+
size: "large",
|
|
4340
|
+
iconColor: "#666666"
|
|
4341
|
+
}),
|
|
4342
|
+
g("div", Oi, V(d.value), 1)
|
|
4343
|
+
], 512), [
|
|
4344
|
+
[Hu, u.listLength]
|
|
4568
4345
|
]),
|
|
4569
|
-
|
|
4346
|
+
j(C(m0), {
|
|
4570
4347
|
popperClass: "das-ai-select-popover",
|
|
4571
4348
|
"popper-options": o.value,
|
|
4572
4349
|
"show-arrow": !1,
|
|
4573
4350
|
width: 428,
|
|
4574
4351
|
trigger: "click",
|
|
4575
4352
|
visible: n.value,
|
|
4576
|
-
"onUpdate:visible":
|
|
4353
|
+
"onUpdate:visible": q[2] || (q[2] = (P) => n.value = P),
|
|
4577
4354
|
disabled: t.value,
|
|
4578
|
-
onShow:
|
|
4579
|
-
onHide:
|
|
4355
|
+
onShow: y,
|
|
4356
|
+
onHide: v
|
|
4580
4357
|
}, {
|
|
4581
4358
|
reference: J(() => [
|
|
4582
|
-
|
|
4583
|
-
"
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
size: "mini",
|
|
4597
|
-
iconColor: "#666666"
|
|
4598
|
-
})) : T("v-if", !0),
|
|
4599
|
-
n.value ? T("v-if", !0) : (w(), X(A(ht), {
|
|
4600
|
-
key: 2,
|
|
4601
|
-
size: "mini",
|
|
4602
|
-
iconColor: "#666666"
|
|
4603
|
-
}))
|
|
4604
|
-
],
|
|
4605
|
-
512
|
|
4606
|
-
/* NEED_PATCH */
|
|
4607
|
-
), [
|
|
4608
|
-
[Hu, !E.listLength]
|
|
4359
|
+
Au(g("div", Ni, [
|
|
4360
|
+
h.value ? (w(), R("span", Li, V(h.value.name), 1)) : $("", !0),
|
|
4361
|
+
n.value ? (w(), X(C(pt), {
|
|
4362
|
+
key: 1,
|
|
4363
|
+
size: "mini",
|
|
4364
|
+
iconColor: "#666666"
|
|
4365
|
+
})) : $("", !0),
|
|
4366
|
+
n.value ? $("", !0) : (w(), X(C(ht), {
|
|
4367
|
+
key: 2,
|
|
4368
|
+
size: "mini",
|
|
4369
|
+
iconColor: "#666666"
|
|
4370
|
+
}))
|
|
4371
|
+
], 512), [
|
|
4372
|
+
[Hu, !u.listLength]
|
|
4609
4373
|
])
|
|
4610
4374
|
]),
|
|
4611
4375
|
default: J(() => [
|
|
4612
|
-
|
|
4613
|
-
"div",
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
},
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
Hi,
|
|
4641
|
-
V(j.id == 1 ? y.value : j.desc),
|
|
4642
|
-
1
|
|
4643
|
-
/* TEXT */
|
|
4644
|
-
)
|
|
4645
|
-
]),
|
|
4646
|
-
j.id == "1" ? (w(), R("div", {
|
|
4647
|
-
key: 0,
|
|
4648
|
-
onClick: Fe((K) => p(j), ["stop"]),
|
|
4649
|
-
class: "know-entry"
|
|
4650
|
-
}, [
|
|
4651
|
-
H(A(ft), {
|
|
4652
|
-
customSize: "18px",
|
|
4653
|
-
iconColor: "#666666"
|
|
4654
|
-
})
|
|
4655
|
-
], 8, $i)) : T("v-if", !0)
|
|
4656
|
-
], 10, qi))),
|
|
4657
|
-
256
|
|
4658
|
-
/* UNKEYED_FRAGMENT */
|
|
4659
|
-
))
|
|
4660
|
-
],
|
|
4661
|
-
512
|
|
4662
|
-
/* NEED_PATCH */
|
|
4663
|
-
), [
|
|
4376
|
+
Au(g("div", Bi, [
|
|
4377
|
+
(w(!0), R(Nu, null, Qu(c.value, (P) => (w(), R("div", {
|
|
4378
|
+
onClick: (K) => p(P),
|
|
4379
|
+
class: Ju(["das-ai-type-item", { selected: C(m).searchType == P.id }])
|
|
4380
|
+
}, [
|
|
4381
|
+
g("div", qi, [
|
|
4382
|
+
C(m).searchType == P.id ? (w(), X(C(b0), {
|
|
4383
|
+
key: 0,
|
|
4384
|
+
customSize: "18px",
|
|
4385
|
+
iconColor: "#FFFFFF"
|
|
4386
|
+
})) : $("", !0)
|
|
4387
|
+
]),
|
|
4388
|
+
g("div", Pi, [
|
|
4389
|
+
g("div", ji, V(P.name), 1),
|
|
4390
|
+
g("div", Hi, V(P.id == 1 ? A.value : P.desc), 1)
|
|
4391
|
+
]),
|
|
4392
|
+
P.id == "1" ? (w(), R("div", {
|
|
4393
|
+
key: 0,
|
|
4394
|
+
onClick: Fe((K) => _(P), ["stop"]),
|
|
4395
|
+
class: "know-entry"
|
|
4396
|
+
}, [
|
|
4397
|
+
j(C(ft), {
|
|
4398
|
+
customSize: "18px",
|
|
4399
|
+
iconColor: "#666666"
|
|
4400
|
+
})
|
|
4401
|
+
], 8, $i)) : $("", !0)
|
|
4402
|
+
], 10, Ri))), 256))
|
|
4403
|
+
], 512), [
|
|
4664
4404
|
[Hu, !r.value]
|
|
4665
4405
|
]),
|
|
4666
|
-
|
|
4667
|
-
|
|
4406
|
+
Au((w(), R("div", Vi, [
|
|
4407
|
+
j(C(x0), {
|
|
4668
4408
|
ref: "folderTreeRef",
|
|
4669
4409
|
data: a.value,
|
|
4670
4410
|
isFilter: "",
|
|
4671
4411
|
"node-key": "id",
|
|
4672
4412
|
isEllipsis: "",
|
|
4673
4413
|
props: { label: "folderName", children: "childFolderList" },
|
|
4674
|
-
inputOptions: { placeholder:
|
|
4414
|
+
inputOptions: { placeholder: C(T)("搜索文件夹名称") },
|
|
4675
4415
|
modelValue: l.value,
|
|
4676
|
-
"onUpdate:modelValue":
|
|
4416
|
+
"onUpdate:modelValue": q[0] || (q[0] = (P) => l.value = P),
|
|
4677
4417
|
"filter-value": s.value,
|
|
4678
|
-
"onUpdate:filterValue":
|
|
4418
|
+
"onUpdate:filterValue": q[1] || (q[1] = (P) => s.value = P),
|
|
4679
4419
|
onNodeClick: k
|
|
4680
4420
|
}, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
|
|
4681
4421
|
])), [
|
|
4682
|
-
[
|
|
4422
|
+
[C(bt), i.value],
|
|
4683
4423
|
[Hu, r.value]
|
|
4684
4424
|
])
|
|
4685
4425
|
]),
|
|
4686
4426
|
_: 1
|
|
4687
|
-
/* STABLE */
|
|
4688
4427
|
}, 8, ["popper-options", "visible", "disabled"])
|
|
4689
4428
|
]));
|
|
4690
4429
|
}
|
|
@@ -4701,11 +4440,11 @@ const Ti = { class: "das-ai-select-container" }, Mi = { class: "das-ai-select-te
|
|
|
4701
4440
|
emits: ["back", "preview", "toApp"],
|
|
4702
4441
|
setup(u, { emit: e }) {
|
|
4703
4442
|
const t = e;
|
|
4704
|
-
|
|
4705
|
-
const n =
|
|
4443
|
+
I();
|
|
4444
|
+
const n = I(-1), r = I([]), o = () => {
|
|
4706
4445
|
t("back");
|
|
4707
4446
|
};
|
|
4708
|
-
|
|
4447
|
+
Ru(() => {
|
|
4709
4448
|
});
|
|
4710
4449
|
const c = (a) => {
|
|
4711
4450
|
const s = `${st().baseURL}/oss/`;
|
|
@@ -4719,73 +4458,40 @@ const Ti = { class: "das-ai-select-container" }, Mi = { class: "das-ai-select-te
|
|
|
4719
4458
|
};
|
|
4720
4459
|
return (a, s) => (w(), R("div", Ki, [
|
|
4721
4460
|
g("div", Ji, [
|
|
4722
|
-
|
|
4461
|
+
j(C(Se), {
|
|
4723
4462
|
onClick: o,
|
|
4724
4463
|
size: "large",
|
|
4725
4464
|
iconColor: "#666666"
|
|
4726
4465
|
}),
|
|
4727
|
-
g(
|
|
4728
|
-
"span",
|
|
4729
|
-
Qi,
|
|
4730
|
-
V(A(I)("参考内容(共$0条)", a.item.file.length)),
|
|
4731
|
-
1
|
|
4732
|
-
/* TEXT */
|
|
4733
|
-
)
|
|
4466
|
+
g("span", Qi, V(C(T)("参考内容(共$0条)", u.item.file.length)), 1)
|
|
4734
4467
|
]),
|
|
4735
4468
|
g("div", Wi, [
|
|
4736
|
-
|
|
4469
|
+
j(C(we), null, {
|
|
4737
4470
|
default: J(() => [
|
|
4738
4471
|
g("div", Xi, [
|
|
4739
|
-
(w(!0), R(
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
/* TEXT */
|
|
4754
|
-
),
|
|
4755
|
-
H(A(_0), {
|
|
4756
|
-
size: "mini",
|
|
4757
|
-
iconColor: "inherit"
|
|
4758
|
-
}),
|
|
4759
|
-
g(
|
|
4760
|
-
"span",
|
|
4761
|
-
tc,
|
|
4762
|
-
V(l.name),
|
|
4763
|
-
1
|
|
4764
|
-
/* TEXT */
|
|
4765
|
-
)
|
|
4766
|
-
]),
|
|
4767
|
-
T(" v-das-tooltip "),
|
|
4768
|
-
g(
|
|
4769
|
-
"div",
|
|
4770
|
-
nc,
|
|
4771
|
-
V(l.summary),
|
|
4772
|
-
1
|
|
4773
|
-
/* TEXT */
|
|
4774
|
-
)
|
|
4775
|
-
], 10, Yi))),
|
|
4776
|
-
256
|
|
4777
|
-
/* UNKEYED_FRAGMENT */
|
|
4778
|
-
))
|
|
4472
|
+
(w(!0), R(Nu, null, Qu(u.item.file, (l, f) => (w(), R("div", {
|
|
4473
|
+
onClick: (x) => i(l, f),
|
|
4474
|
+
class: Ju(["reference-file-item", { current: n.value == f, selected: r.value.includes(f) }])
|
|
4475
|
+
}, [
|
|
4476
|
+
g("div", uc, [
|
|
4477
|
+
g("span", ec, V(f + 1) + ".", 1),
|
|
4478
|
+
j(C(_0), {
|
|
4479
|
+
size: "mini",
|
|
4480
|
+
iconColor: "inherit"
|
|
4481
|
+
}),
|
|
4482
|
+
g("span", tc, V(l.name), 1)
|
|
4483
|
+
]),
|
|
4484
|
+
g("div", nc, V(l.summary), 1)
|
|
4485
|
+
], 10, Yi))), 256))
|
|
4779
4486
|
])
|
|
4780
4487
|
]),
|
|
4781
4488
|
_: 1
|
|
4782
|
-
/* STABLE */
|
|
4783
4489
|
})
|
|
4784
4490
|
])
|
|
4785
4491
|
]));
|
|
4786
4492
|
}
|
|
4787
|
-
}), ic = /* @__PURE__ */ iu(oc, [["__scopeId", "data-v-48ac5af8"]]), cc = ot(() => import("./index-
|
|
4788
|
-
const u =
|
|
4493
|
+
}), ic = /* @__PURE__ */ iu(oc, [["__scopeId", "data-v-48ac5af8"]]), cc = ot(() => import("./index-BCG4Ay8z.js")), ac = () => {
|
|
4494
|
+
const u = I(null), e = I(!1);
|
|
4789
4495
|
let t = "", n = "";
|
|
4790
4496
|
return {
|
|
4791
4497
|
deletaDialogVue: () => it(cc, {
|
|
@@ -4802,7 +4508,7 @@ const Ti = { class: "das-ai-select-container" }, Mi = { class: "das-ai-select-te
|
|
|
4802
4508
|
}),
|
|
4803
4509
|
showDeleteDialog: async (c) => {
|
|
4804
4510
|
var i;
|
|
4805
|
-
return t = c ||
|
|
4511
|
+
return t = c || T("删除后将无法恢复"), (i = u.value) == null || i.open(t), e.value = !0, new Promise((a, s) => {
|
|
4806
4512
|
const l = bu(() => e.value, (f) => {
|
|
4807
4513
|
n ? a(n) : s(n), l();
|
|
4808
4514
|
});
|
|
@@ -4818,185 +4524,131 @@ const Ti = { class: "das-ai-select-container" }, Mi = { class: "das-ai-select-te
|
|
|
4818
4524
|
class: "history-dialogue-scroll"
|
|
4819
4525
|
}, bc = ["onClick"], mc = { class: "item-title" }, xc = { class: "item-bottom" }, _c = { class: "item-bottom-left" }, gc = { class: "item-type" }, kc = {
|
|
4820
4526
|
name: "history"
|
|
4821
|
-
},
|
|
4527
|
+
}, yc = /* @__PURE__ */ ou({
|
|
4822
4528
|
...kc,
|
|
4823
4529
|
props: {
|
|
4824
4530
|
chatId: { default: "" }
|
|
4825
4531
|
},
|
|
4826
4532
|
emits: ["back", "record"],
|
|
4827
4533
|
setup(u, { emit: e }) {
|
|
4828
|
-
const t =
|
|
4534
|
+
const t = I(!1), { deletaDialogVue: n, showDeleteDialog: r } = ac(), o = I([]), c = e, i = () => {
|
|
4829
4535
|
c("back");
|
|
4830
4536
|
}, a = (k) => {
|
|
4831
|
-
let
|
|
4832
|
-
return
|
|
4537
|
+
let _ = k.replace(/^(#+)\s/gm, "");
|
|
4538
|
+
return _ = _.replace(/^([-*+]|\d+\.)\s/gm, ""), _ = _.replace(/([*_]{1,2})(.*?)\1/g, "$2"), _ = _.replace(/```[\s\S]*?```/g, ""), _ = _.replace(/`(.*?)`/g, "$1"), _ = _.replace(/\[([^\]]+)\]\([^)]+\)/g, "$1"), _ = _.replace(/!\[([^\]]+)\]\([^)]+\)/g, "$1"), _ = _.replace(/<[^>]*>/g, ""), _;
|
|
4833
4539
|
}, s = (k) => {
|
|
4834
|
-
const
|
|
4835
|
-
|
|
4836
|
-
}, l =
|
|
4540
|
+
const _ = document.querySelector("#history-dialogue-scrollbox .das-ai-wrap-class");
|
|
4541
|
+
_.scrollHeight - _.clientHeight - k.scrollTop <= 20 && !t.value && l.value < f.value && (l.value = l.value + 1, h());
|
|
4542
|
+
}, l = I(1), f = I(1), x = I(20), h = async () => {
|
|
4837
4543
|
t.value = !0;
|
|
4838
4544
|
const k = {
|
|
4839
4545
|
pageIndex: l.value,
|
|
4840
|
-
pageSize:
|
|
4841
|
-
}, [
|
|
4842
|
-
t.value = !1, !
|
|
4843
|
-
|
|
4844
|
-
}), l.value == 1 ? o.value =
|
|
4845
|
-
}, d = (k) => k.searchType == 0 ?
|
|
4546
|
+
pageSize: x.value
|
|
4547
|
+
}, [_, p] = await Di(k).run();
|
|
4548
|
+
t.value = !1, !_ && (p.data && p.data.length && p.data.forEach((b) => {
|
|
4549
|
+
b.time = b.createdAt ? dt(b.createdAt).format("YYYY-MM-DD HH:mm:ss") : "", b.answerText = b.answer ? a(b.answer) : "";
|
|
4550
|
+
}), l.value == 1 ? o.value = p.data : o.value = o.value.concat(p.data), f.value = p.totalPage);
|
|
4551
|
+
}, d = (k) => k.searchType == 0 ? T("物联应用") : k.searchType == 1 ? T("知识库") : k.searchType == 2 ? T("全网") : T("全部"), A = async (k) => {
|
|
4846
4552
|
c("record", k);
|
|
4847
|
-
},
|
|
4848
|
-
await r(
|
|
4849
|
-
const [
|
|
4850
|
-
if (
|
|
4553
|
+
}, y = async (k) => {
|
|
4554
|
+
await r(T("删除后,该会话将不可恢复,")), k.id, t.value = !0;
|
|
4555
|
+
const [_, p] = await wi({ id: k.id }).run();
|
|
4556
|
+
if (_) {
|
|
4851
4557
|
t.value = !1;
|
|
4852
4558
|
return;
|
|
4853
4559
|
}
|
|
4854
4560
|
h();
|
|
4855
|
-
},
|
|
4561
|
+
}, v = async (k) => {
|
|
4856
4562
|
if (!o.value.length) return;
|
|
4857
|
-
await r(
|
|
4858
|
-
const [
|
|
4859
|
-
if (
|
|
4563
|
+
await r(T("清空后,所有历史将无法找回,")), t.value = !0;
|
|
4564
|
+
const [_, p] = await Fi().run();
|
|
4565
|
+
if (_) {
|
|
4860
4566
|
t.value = !1;
|
|
4861
4567
|
return;
|
|
4862
4568
|
}
|
|
4863
4569
|
h();
|
|
4864
4570
|
};
|
|
4865
|
-
return
|
|
4571
|
+
return Ru(() => {
|
|
4866
4572
|
h();
|
|
4867
|
-
}), (k,
|
|
4573
|
+
}), (k, _) => Au((w(), R("div", sc, [
|
|
4868
4574
|
g("div", lc, [
|
|
4869
4575
|
g("div", dc, [
|
|
4870
|
-
|
|
4576
|
+
j(C(Se), {
|
|
4871
4577
|
onClick: i,
|
|
4872
4578
|
size: "large",
|
|
4873
4579
|
iconColor: "#666666"
|
|
4874
4580
|
}),
|
|
4875
|
-
g(
|
|
4876
|
-
"span",
|
|
4877
|
-
fc,
|
|
4878
|
-
V(A(I)("历史会话")),
|
|
4879
|
-
1
|
|
4880
|
-
/* TEXT */
|
|
4881
|
-
)
|
|
4581
|
+
g("span", fc, V(C(T)("历史会话")), 1)
|
|
4882
4582
|
]),
|
|
4883
|
-
|
|
4583
|
+
j(C(vu), {
|
|
4884
4584
|
placement: "top",
|
|
4885
4585
|
type: "button"
|
|
4886
4586
|
}, {
|
|
4887
4587
|
content: J(() => [
|
|
4888
|
-
g(
|
|
4889
|
-
"div",
|
|
4890
|
-
null,
|
|
4891
|
-
V(A(I)("清空")),
|
|
4892
|
-
1
|
|
4893
|
-
/* TEXT */
|
|
4894
|
-
)
|
|
4588
|
+
g("div", null, V(C(T)("清空")), 1)
|
|
4895
4589
|
]),
|
|
4896
4590
|
default: J(() => [
|
|
4897
|
-
|
|
4898
|
-
onClick:
|
|
4591
|
+
j(C(g0), {
|
|
4592
|
+
onClick: v,
|
|
4899
4593
|
size: "large",
|
|
4900
4594
|
iconColor: "#666666"
|
|
4901
4595
|
})
|
|
4902
4596
|
]),
|
|
4903
4597
|
_: 1
|
|
4904
|
-
/* STABLE */
|
|
4905
4598
|
})
|
|
4906
4599
|
]),
|
|
4907
4600
|
g("div", hc, [
|
|
4908
|
-
|
|
4601
|
+
j(C(we), {
|
|
4909
4602
|
"wrap-class": "das-ai-wrap-class",
|
|
4910
4603
|
onScroll: s
|
|
4911
4604
|
}, {
|
|
4912
4605
|
default: J(() => [
|
|
4913
4606
|
o.value.length ? (w(), R("div", pc, [
|
|
4914
|
-
(w(!0), R(
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
}, null, 8, ["text"]),
|
|
4937
|
-
g("div", xc, [
|
|
4938
|
-
g("div", _c, [
|
|
4939
|
-
g(
|
|
4940
|
-
"div",
|
|
4941
|
-
gc,
|
|
4942
|
-
V(d(b)),
|
|
4943
|
-
1
|
|
4944
|
-
/* TEXT */
|
|
4945
|
-
),
|
|
4946
|
-
g(
|
|
4947
|
-
"span",
|
|
4948
|
-
null,
|
|
4949
|
-
V(b.time),
|
|
4950
|
-
1
|
|
4951
|
-
/* TEXT */
|
|
4952
|
-
)
|
|
4607
|
+
(w(!0), R(Nu, null, Qu(o.value, (p, b) => (w(), R("div", {
|
|
4608
|
+
class: "history-dialogue-item",
|
|
4609
|
+
onClick: (M) => A(p)
|
|
4610
|
+
}, [
|
|
4611
|
+
g("div", mc, V(p.title), 1),
|
|
4612
|
+
j(C(vu), {
|
|
4613
|
+
placement: "top-start",
|
|
4614
|
+
disabled: !0,
|
|
4615
|
+
text: p.answerText,
|
|
4616
|
+
row: "2"
|
|
4617
|
+
}, null, 8, ["text"]),
|
|
4618
|
+
g("div", xc, [
|
|
4619
|
+
g("div", _c, [
|
|
4620
|
+
g("div", gc, V(d(p)), 1),
|
|
4621
|
+
g("span", null, V(p.time), 1)
|
|
4622
|
+
]),
|
|
4623
|
+
j(C(vu), {
|
|
4624
|
+
placement: "top",
|
|
4625
|
+
type: "button"
|
|
4626
|
+
}, {
|
|
4627
|
+
content: J(() => [
|
|
4628
|
+
g("div", null, V(C(T)("删除")), 1)
|
|
4953
4629
|
]),
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
},
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
1
|
|
4967
|
-
/* TEXT */
|
|
4968
|
-
)
|
|
4969
|
-
]),
|
|
4970
|
-
default: J(() => [
|
|
4971
|
-
H(A(k0), {
|
|
4972
|
-
onClick: Fe((O) => v(b), ["stop"]),
|
|
4973
|
-
size: "medium",
|
|
4974
|
-
iconColor: "#666666"
|
|
4975
|
-
}, null, 8, ["onClick"])
|
|
4976
|
-
]),
|
|
4977
|
-
_: 2
|
|
4978
|
-
/* DYNAMIC */
|
|
4979
|
-
},
|
|
4980
|
-
1024
|
|
4981
|
-
/* DYNAMIC_SLOTS */
|
|
4982
|
-
)
|
|
4983
|
-
])
|
|
4984
|
-
], 8, bc))),
|
|
4985
|
-
256
|
|
4986
|
-
/* UNKEYED_FRAGMENT */
|
|
4987
|
-
))
|
|
4988
|
-
])) : (w(), X(A(v0), { key: 0 }))
|
|
4630
|
+
default: J(() => [
|
|
4631
|
+
j(C(k0), {
|
|
4632
|
+
onClick: Fe((M) => y(p), ["stop"]),
|
|
4633
|
+
size: "medium",
|
|
4634
|
+
iconColor: "#666666"
|
|
4635
|
+
}, null, 8, ["onClick"])
|
|
4636
|
+
]),
|
|
4637
|
+
_: 2
|
|
4638
|
+
}, 1024)
|
|
4639
|
+
])
|
|
4640
|
+
], 8, bc))), 256))
|
|
4641
|
+
])) : (w(), X(C(y0), { key: 0 }))
|
|
4989
4642
|
]),
|
|
4990
4643
|
_: 1
|
|
4991
|
-
/* STABLE */
|
|
4992
4644
|
})
|
|
4993
4645
|
]),
|
|
4994
|
-
|
|
4646
|
+
j(C(n))
|
|
4995
4647
|
])), [
|
|
4996
|
-
[
|
|
4648
|
+
[C(bt), t.value]
|
|
4997
4649
|
]);
|
|
4998
4650
|
}
|
|
4999
|
-
}),
|
|
4651
|
+
}), Ac = /* @__PURE__ */ iu(yc, [["__scopeId", "data-v-3d211ef4"]]);
|
|
5000
4652
|
/*! js-cookie v3.0.5 | MIT */
|
|
5001
4653
|
function ne(u) {
|
|
5002
4654
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -5006,7 +4658,7 @@ function ne(u) {
|
|
|
5006
4658
|
}
|
|
5007
4659
|
return u;
|
|
5008
4660
|
}
|
|
5009
|
-
var
|
|
4661
|
+
var Cc = {
|
|
5010
4662
|
read: function(u) {
|
|
5011
4663
|
return u[0] === '"' && (u = u.slice(1, -1)), u.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
5012
4664
|
},
|
|
@@ -5067,48 +4719,48 @@ function Ee(u, e) {
|
|
|
5067
4719
|
}
|
|
5068
4720
|
);
|
|
5069
4721
|
}
|
|
5070
|
-
var
|
|
4722
|
+
var vc = Ee(Cc, { path: "/" });
|
|
5071
4723
|
const Dc = () => {
|
|
5072
4724
|
let u = 0, e = -1, t = [], n = "", r = -1, o = !1, c = "", i = "";
|
|
5073
|
-
const a =
|
|
5074
|
-
const
|
|
5075
|
-
return
|
|
5076
|
-
}, h = (
|
|
5077
|
-
if (n = k, r == 1 &&
|
|
5078
|
-
i.send(JSON.stringify({ text:
|
|
4725
|
+
const a = I(!1), s = I(), l = I(!1), f = I(""), x = () => {
|
|
4726
|
+
const v = re() ? re() : vc.get("accessToken"), k = lt().id, _ = {};
|
|
4727
|
+
return v && (_.token = v), k && (_.project = k), _;
|
|
4728
|
+
}, h = (v = 0, k, _) => {
|
|
4729
|
+
if (n = k, r == 1 && v == 1 && i) {
|
|
4730
|
+
i.send(JSON.stringify({ text: _, taskId: c, taskType: v, overFlag: !n.loading, ...x() }));
|
|
5079
4731
|
return;
|
|
5080
4732
|
}
|
|
5081
|
-
n.audioStatus = "generated", i = new
|
|
4733
|
+
n.audioStatus = "generated", i = new A0({
|
|
5082
4734
|
url: "/socket/api/speech/v1/tts",
|
|
5083
4735
|
reconnectWhenClose: !0,
|
|
5084
4736
|
opened: () => {
|
|
5085
|
-
c = $u(),
|
|
4737
|
+
c = $u(), v == 0 && i.send(JSON.stringify({ text: n.content, taskId: c, taskType: v, ...x() })), v == 1 && i.send(JSON.stringify({ text: n.content, taskId: c, taskType: v, overFlag: !n.loading, ...x() })), r = v;
|
|
5086
4738
|
},
|
|
5087
|
-
message: async (
|
|
5088
|
-
if ((
|
|
5089
|
-
if (!(
|
|
5090
|
-
|
|
4739
|
+
message: async (p) => {
|
|
4740
|
+
if ((p == null ? void 0 : p.taskId) == c) {
|
|
4741
|
+
if (!(p != null && p.baseData)) return;
|
|
4742
|
+
p != null && p.baseData && t.push(p == null ? void 0 : p.baseData), r == 1 && (o = p.overFlag), e < 0 && (r == 0 && (u = p.totalCount, e = 0, n.audioStatus = "loading", f.value = `data:audio/mpeg;base64,${p == null ? void 0 : p.baseData}`, l.value = !0, y()), r == 1 && m.autoAudio && (e = 0, n.audioStatus = "loading", f.value = `data:audio/mpeg;base64,${p == null ? void 0 : p.baseData}`, l.value = !0, n.havePlayAutoAudio = !0, y())), a.value && (a.value = !1);
|
|
5091
4743
|
}
|
|
5092
4744
|
},
|
|
5093
|
-
error: (
|
|
4745
|
+
error: (p) => {
|
|
5094
4746
|
d();
|
|
5095
4747
|
},
|
|
5096
|
-
close: (
|
|
4748
|
+
close: (p) => {
|
|
5097
4749
|
}
|
|
5098
4750
|
});
|
|
5099
4751
|
}, d = () => {
|
|
5100
|
-
var
|
|
5101
|
-
r = -1, e = -1, u = 0, o = !1, t = [], i && i.disconnect(), i = "", (
|
|
5102
|
-
},
|
|
4752
|
+
var v;
|
|
4753
|
+
r = -1, e = -1, u = 0, o = !1, t = [], i && i.disconnect(), i = "", (v = s.value) == null || v.pause(), f.value = "", a.value = !1, l.value = !1, n && (n.audioStatus = "normal", n = "");
|
|
4754
|
+
}, A = () => {
|
|
5103
4755
|
if (r == 0) {
|
|
5104
|
-
const
|
|
5105
|
-
if (
|
|
5106
|
-
if (t[
|
|
4756
|
+
const v = e + 1;
|
|
4757
|
+
if (v < u)
|
|
4758
|
+
if (t[v]) {
|
|
5107
4759
|
e++, f.value = `data:audio/mpeg;base64,${t[e]}`;
|
|
5108
4760
|
return;
|
|
5109
4761
|
} else {
|
|
5110
4762
|
a.value = !0, bu(a, (k) => {
|
|
5111
|
-
|
|
4763
|
+
A();
|
|
5112
4764
|
});
|
|
5113
4765
|
return;
|
|
5114
4766
|
}
|
|
@@ -5121,22 +4773,22 @@ const Dc = () => {
|
|
|
5121
4773
|
return;
|
|
5122
4774
|
}
|
|
5123
4775
|
} else {
|
|
5124
|
-
const
|
|
5125
|
-
if (t[
|
|
4776
|
+
const v = e + 1;
|
|
4777
|
+
if (t[v]) {
|
|
5126
4778
|
e++, f.value = `data:audio/mpeg;base64,${t[e]}`;
|
|
5127
4779
|
return;
|
|
5128
4780
|
} else {
|
|
5129
4781
|
a.value = !0, bu(a, (k) => {
|
|
5130
|
-
|
|
4782
|
+
A();
|
|
5131
4783
|
});
|
|
5132
4784
|
return;
|
|
5133
4785
|
}
|
|
5134
4786
|
}
|
|
5135
4787
|
d();
|
|
5136
4788
|
}
|
|
5137
|
-
},
|
|
4789
|
+
}, y = () => {
|
|
5138
4790
|
s.value.onended = function() {
|
|
5139
|
-
|
|
4791
|
+
A();
|
|
5140
4792
|
};
|
|
5141
4793
|
};
|
|
5142
4794
|
return {
|
|
@@ -5149,71 +4801,71 @@ const Dc = () => {
|
|
|
5149
4801
|
}, Ec = { class: "das-ai-container" }, Fc = {
|
|
5150
4802
|
key: 0,
|
|
5151
4803
|
class: "das-ai-index-mask"
|
|
5152
|
-
}, wc = { class: "ai-top" }, Sc = { class: "ai-top-left" }, zc = { class: "ai-top-right" },
|
|
4804
|
+
}, wc = { class: "ai-top" }, Sc = { class: "ai-top-left" }, zc = { class: "ai-top-right" }, Tc = {
|
|
5153
4805
|
key: 1,
|
|
5154
4806
|
class: "das-ai-current-box",
|
|
5155
4807
|
id: "das-ai-chat-scrollbox"
|
|
5156
|
-
},
|
|
4808
|
+
}, Ic = {
|
|
5157
4809
|
key: 3,
|
|
5158
4810
|
class: "das-ai-chat-new"
|
|
5159
4811
|
}, Mc = { class: "das-ai-chat-input-box" }, Oc = { class: "sendervue-box" }, Nc = ["src", "muted"], Lc = "/api/llm/vector/v1/large-model/chat", Bc = /* @__PURE__ */ ou({
|
|
5160
4812
|
__name: "index",
|
|
5161
4813
|
emits: ["toApp"],
|
|
5162
4814
|
setup(u, { expose: e, emit: t }) {
|
|
5163
|
-
const n = t, r =
|
|
5164
|
-
{ id: "1", text:
|
|
5165
|
-
{ id: "2", text:
|
|
5166
|
-
{ id: "3", text:
|
|
5167
|
-
]), h =
|
|
5168
|
-
let
|
|
5169
|
-
|
|
4815
|
+
const n = t, r = I(0), o = I(0), c = I(""), i = I(), a = I(""), s = I(null), l = I(!1), f = I(null), x = I([
|
|
4816
|
+
{ id: "1", text: T("介绍达实公司及核心产品") },
|
|
4817
|
+
{ id: "2", text: T("介绍达实公司行业案例") },
|
|
4818
|
+
{ id: "3", text: T("预订上午9:00的会议室") }
|
|
4819
|
+
]), h = I({}), d = I([]), A = I(["A100", "A002", "A003", "A005"]), y = I(!1), v = I(!1), { folderDialogVue: k, showFolderDialog: _ } = D0(), { aiAudioRef: p, isAudioplay: b, audioSrc: M, playAudio: F, pauseAudio: q } = Dc();
|
|
4820
|
+
let P = 0;
|
|
4821
|
+
Ru(() => {
|
|
5170
4822
|
gt(!0), Vu(), du();
|
|
5171
4823
|
}), at(() => {
|
|
5172
|
-
pe(),
|
|
4824
|
+
pe(), q();
|
|
5173
4825
|
});
|
|
5174
4826
|
const K = () => {
|
|
5175
|
-
|
|
4827
|
+
q();
|
|
5176
4828
|
};
|
|
5177
4829
|
bu(
|
|
5178
|
-
() =>
|
|
4830
|
+
() => m.loading,
|
|
5179
4831
|
(z) => {
|
|
5180
|
-
s.value && (s.value.loading =
|
|
4832
|
+
s.value && (s.value.loading = m.loading);
|
|
5181
4833
|
}
|
|
5182
4834
|
), bu(
|
|
5183
|
-
() =>
|
|
4835
|
+
() => m.searchType,
|
|
5184
4836
|
(z) => {
|
|
5185
4837
|
du();
|
|
5186
4838
|
}
|
|
5187
4839
|
);
|
|
5188
4840
|
const du = async () => {
|
|
5189
|
-
if (!
|
|
5190
|
-
if (h.value[`${
|
|
5191
|
-
|
|
4841
|
+
if (!m.searchType) return;
|
|
4842
|
+
if (h.value[`${m.searchType}`]) {
|
|
4843
|
+
x.value = h.value[`${m.searchType}`];
|
|
5192
4844
|
return;
|
|
5193
4845
|
}
|
|
5194
|
-
const [z, D] = await
|
|
5195
|
-
z || D && (h.value[`${
|
|
4846
|
+
const [z, D] = await Ai({ type: m.searchType }, { ignoreErrorMessage: !0 }).run();
|
|
4847
|
+
z || D && (h.value[`${m.searchType}`] = D.map((G) => ({
|
|
5196
4848
|
id: $u(),
|
|
5197
4849
|
text: G
|
|
5198
|
-
})),
|
|
4850
|
+
})), x.value = h.value[`${m.searchType}`]);
|
|
5199
4851
|
}, _u = () => {
|
|
5200
|
-
|
|
5201
|
-
if (
|
|
4852
|
+
Ae(() => {
|
|
4853
|
+
if (v.value) return;
|
|
5202
4854
|
const z = document.querySelector("#das-ai-chat-scrollbox .das-ai-wrap-class");
|
|
5203
|
-
z && (
|
|
4855
|
+
z && (y.value = !0, z.scrollTop = z.scrollHeight, r.value = z.scrollHeight - z.clientHeight);
|
|
5204
4856
|
});
|
|
5205
4857
|
};
|
|
5206
4858
|
let gu = "";
|
|
5207
4859
|
const wu = () => {
|
|
5208
4860
|
gu && clearTimeout(gu), gu = setTimeout(() => {
|
|
5209
|
-
|
|
4861
|
+
v.value = !1;
|
|
5210
4862
|
}, 2e3);
|
|
5211
4863
|
}, fu = (z) => {
|
|
5212
4864
|
if (r.value <= 0) {
|
|
5213
4865
|
const D = document.querySelector("#das-ai-chat-scrollbox .das-ai-wrap-class");
|
|
5214
4866
|
r.value = D.scrollHeight - D.clientHeight;
|
|
5215
4867
|
}
|
|
5216
|
-
|
|
4868
|
+
m.showScrollBom = r.value - z.scrollTop > 50, y.value || (v.value = !0, wu()), y.value = !1;
|
|
5217
4869
|
}, Su = () => ({
|
|
5218
4870
|
id: $u(),
|
|
5219
4871
|
role: "user",
|
|
@@ -5240,15 +4892,15 @@ const Dc = () => {
|
|
|
5240
4892
|
if (!D)
|
|
5241
4893
|
if (G) {
|
|
5242
4894
|
const Y = [];
|
|
5243
|
-
let
|
|
4895
|
+
let B = "", cu = "", au = "";
|
|
5244
4896
|
G && !G.status && G.forEach((U) => {
|
|
5245
|
-
|
|
4897
|
+
B || (B = U.chat_id), cu || (cu = U.searchType), au || (au = U.fold_id), U.fromType == 0 && Y.push({
|
|
5246
4898
|
...Su(),
|
|
5247
4899
|
content: U.content
|
|
5248
|
-
}), U.fromType == 1 && (U.files || (U.files = []), U.urls || (U.urls = []), U.urls.length && (U.urls = U.urls.map((
|
|
5249
|
-
name:
|
|
5250
|
-
appUrl:
|
|
5251
|
-
webUrl:
|
|
4900
|
+
}), U.fromType == 1 && (U.files || (U.files = []), U.urls || (U.urls = []), U.urls.length && (U.urls = U.urls.map((Iu) => ({
|
|
4901
|
+
name: Iu.name,
|
|
4902
|
+
appUrl: Iu.app_url,
|
|
4903
|
+
webUrl: Iu.web_url,
|
|
5252
4904
|
type: "url"
|
|
5253
4905
|
})), U.files.unshift(...U.urls)), Y.push({
|
|
5254
4906
|
...ue(),
|
|
@@ -5259,27 +4911,27 @@ const Dc = () => {
|
|
|
5259
4911
|
saved: U.knowledge_type == "1",
|
|
5260
4912
|
queryId: U.QueryId,
|
|
5261
4913
|
intention: U.intention,
|
|
5262
|
-
showSave: !
|
|
4914
|
+
showSave: !A.value.includes(U.intention)
|
|
5263
4915
|
}));
|
|
5264
|
-
}),
|
|
4916
|
+
}), Tu(), d.value = Y, o.value = B, m.searchType = cu || "1", cu == "1" && (m.folderId = au, au ? ju(au) : m.folderName = ""), Vu(), _u(), l.value = !1;
|
|
5265
4917
|
} else
|
|
5266
4918
|
l.value = !1;
|
|
5267
4919
|
}, ju = async (z) => {
|
|
5268
4920
|
if (!z) return;
|
|
5269
4921
|
const [D, G] = await zi({ id: z }).run();
|
|
5270
|
-
D || G && (
|
|
5271
|
-
},
|
|
5272
|
-
f.value = null,
|
|
4922
|
+
D || G && (m.folderName = G.folderName);
|
|
4923
|
+
}, Tu = () => {
|
|
4924
|
+
f.value = null, m.loading = !1, q(), r.value = 0, d.value = [], s.value = null, y.value = !1, v.value = !1, o.value = null, E0();
|
|
5273
4925
|
}, fe = (z) => {
|
|
5274
|
-
z == "addNew" &&
|
|
5275
|
-
},
|
|
5276
|
-
|
|
4926
|
+
z == "addNew" && Tu(), z == "scrollBom" && (v.value = !1, _u());
|
|
4927
|
+
}, L = () => {
|
|
4928
|
+
m.autoAudio = !m.autoAudio, m.autoAudio || q();
|
|
5277
4929
|
}, S = (z) => {
|
|
5278
|
-
|
|
5279
|
-
},
|
|
4930
|
+
E("sender", z.text);
|
|
4931
|
+
}, E = async (z, D) => {
|
|
5280
4932
|
if (z == "sender") {
|
|
5281
|
-
if (
|
|
5282
|
-
|
|
4933
|
+
if (m.loading) return;
|
|
4934
|
+
q(), v.value = !1;
|
|
5283
4935
|
const G = {
|
|
5284
4936
|
...Su(),
|
|
5285
4937
|
content: D
|
|
@@ -5287,46 +4939,46 @@ const Dc = () => {
|
|
|
5287
4939
|
...ue(),
|
|
5288
4940
|
loading: !0
|
|
5289
4941
|
};
|
|
5290
|
-
d.value.push(G), d.value.push(Y), s.value = Y,
|
|
4942
|
+
d.value.push(G), d.value.push(Y), s.value = Y, qe(D);
|
|
5291
4943
|
}
|
|
5292
|
-
z == "stopMsg" && pe(), z == "upload" && await
|
|
5293
|
-
},
|
|
4944
|
+
z == "stopMsg" && pe(), z == "upload" && await _();
|
|
4945
|
+
}, O = async (z, D) => {
|
|
5294
4946
|
var G, Y;
|
|
5295
4947
|
if (z == "regenerate" && D) {
|
|
5296
|
-
if (
|
|
5297
|
-
if (
|
|
5298
|
-
const au = { queryId: D.queryId }, [U,
|
|
4948
|
+
if (m.loading) return;
|
|
4949
|
+
if (q(), D.queryId) {
|
|
4950
|
+
const au = { queryId: D.queryId }, [U, Iu] = await Si(au).run();
|
|
5299
4951
|
if (U) return;
|
|
5300
4952
|
}
|
|
5301
4953
|
D.queryId = "", D.think = "", D.thinkTime = 0, D.intention = "", D.content = "", D.audioStatus = "normal", D.file = [], D.urls = [], D.havePlayAutoAudio = !1, D.saved = !1, D.loading = !0, s.value = D;
|
|
5302
|
-
const
|
|
5303
|
-
|
|
4954
|
+
const B = d.value.findIndex((au) => au.id == D.id), cu = (G = d.value[B - 1]) == null ? void 0 : G.content;
|
|
4955
|
+
qe(cu);
|
|
5304
4956
|
}
|
|
5305
4957
|
if (z == "saveKnowledgebase") {
|
|
5306
|
-
const
|
|
5307
|
-
await
|
|
5308
|
-
currentItem:
|
|
4958
|
+
const B = D.item, cu = d.value.findIndex((Iu) => Iu.id == B.id), au = (Y = d.value[cu - 1]) == null ? void 0 : Y.content;
|
|
4959
|
+
await _({
|
|
4960
|
+
currentItem: B,
|
|
5309
4961
|
sendVal: au.slice(0, 20),
|
|
5310
4962
|
// 知识库标题限制长度
|
|
5311
4963
|
dom: D.dom
|
|
5312
|
-
}) && (
|
|
4964
|
+
}) && (B.saved = !0, B.queryId && vi({ QueryId: B.queryId }).run());
|
|
5313
4965
|
}
|
|
5314
|
-
z == "reference" && (s.value = D, a.value = "reference"), z == "play" && (D.data.audioStatus == "normal" ? (
|
|
5315
|
-
},
|
|
4966
|
+
z == "reference" && (s.value = D, a.value = "reference"), z == "play" && (D.data.audioStatus == "normal" ? (q(), F(0, D.data)) : (s.value && (s.value.audioStatus = "normal"), q())), z == "preview" && H(D);
|
|
4967
|
+
}, N = (z) => {
|
|
5316
4968
|
n("toApp", z);
|
|
5317
|
-
},
|
|
5318
|
-
c.value = z,
|
|
4969
|
+
}, H = (z) => {
|
|
4970
|
+
c.value = z, Ae(() => {
|
|
5319
4971
|
var D;
|
|
5320
4972
|
(D = i.value) == null || D.preview();
|
|
5321
4973
|
});
|
|
5322
4974
|
}, eu = (z) => {
|
|
5323
|
-
|
|
4975
|
+
q(), a.value = "history";
|
|
5324
4976
|
}, Eu = () => {
|
|
5325
4977
|
a.value = "";
|
|
5326
|
-
},
|
|
4978
|
+
}, Re = (z) => {
|
|
5327
4979
|
const D = {
|
|
5328
4980
|
query: z,
|
|
5329
|
-
deepThinkFlag:
|
|
4981
|
+
deepThinkFlag: m.deepseek ? "1" : "0",
|
|
5330
4982
|
// project: getProjectInfo().id,
|
|
5331
4983
|
isInnerSearch: "0",
|
|
5332
4984
|
//应用内搜索(0否1是)
|
|
@@ -5335,7 +4987,7 @@ const Dc = () => {
|
|
|
5335
4987
|
isGlobalSearch: "0"
|
|
5336
4988
|
//是否搜索全网(0否1是)
|
|
5337
4989
|
};
|
|
5338
|
-
return o.value || (o.value = (/* @__PURE__ */ new Date()).getTime()), D.chatId = o.value,
|
|
4990
|
+
return o.value || (o.value = (/* @__PURE__ */ new Date()).getTime()), D.chatId = o.value, m.searchType == "0" && (D.isInnerSearch = "1"), m.searchType == "1" && (D.isKnowledgeSearch = "1", D.foldId = m.folderId == m.allKnowId ? "" : m.folderId), m.searchType == "2" && (D.isGlobalSearch = "1"), JSON.stringify(D);
|
|
5339
4991
|
}, Gt = () => {
|
|
5340
4992
|
const z = {
|
|
5341
4993
|
// Authorization: `Bearer ${getToken()}`,
|
|
@@ -5345,13 +4997,13 @@ const Dc = () => {
|
|
|
5345
4997
|
return re() && (z.Authorization = `Bearer ${re()}`), z;
|
|
5346
4998
|
};
|
|
5347
4999
|
let he = "";
|
|
5348
|
-
const
|
|
5349
|
-
|
|
5000
|
+
const qe = (z) => {
|
|
5001
|
+
m.loading = !0, _u();
|
|
5350
5002
|
const D = new tu(`${st().baseURL}${Lc}?project=${lt().id}`, {
|
|
5351
5003
|
method: "POST",
|
|
5352
5004
|
// 使用 POST 请求
|
|
5353
5005
|
headers: Gt(),
|
|
5354
|
-
payload:
|
|
5006
|
+
payload: Re(z),
|
|
5355
5007
|
// POST 请求体
|
|
5356
5008
|
//重连时间间隔,单位:毫秒,默认45000毫秒,这里设置为10分钟
|
|
5357
5009
|
heartbeatTimeout: 10 * 60 * 1e3
|
|
@@ -5361,30 +5013,30 @@ const Dc = () => {
|
|
|
5361
5013
|
D.onmessage = (Y) => {
|
|
5362
5014
|
if (G != he) return;
|
|
5363
5015
|
if (Y.data == "[DONE]") {
|
|
5364
|
-
D.close(),
|
|
5016
|
+
D.close(), m.loading = !1, s.value.loading = !1, m.autoAudio && s.value.content && s.value.audioStatus != "normal" && F(1, s.value, ""), _u();
|
|
5365
5017
|
return;
|
|
5366
5018
|
}
|
|
5367
|
-
const
|
|
5368
|
-
if (s.value.intention || (s.value.intention =
|
|
5369
|
-
if (
|
|
5370
|
-
const cu = (/* @__PURE__ */ new Date()).getTime() -
|
|
5371
|
-
|
|
5019
|
+
const B = JSON.parse(Y.data);
|
|
5020
|
+
if (s.value.intention || (s.value.intention = B.intention, s.value.showSave = !A.value.includes(B.intention)), B.type == "queryId" && (s.value.queryId || (s.value.queryId = B.content)), B.type == "think" && (s.value.think || (P = (/* @__PURE__ */ new Date()).getTime()), s.value.think = s.value.think + B.content), B.type == "text") {
|
|
5021
|
+
if (P && s.value.think && !s.value.content) {
|
|
5022
|
+
const cu = (/* @__PURE__ */ new Date()).getTime() - P;
|
|
5023
|
+
P = 0, s.value.thinkTime = parseInt(`${cu / 1e3}`);
|
|
5372
5024
|
}
|
|
5373
|
-
s.value.content = s.value.content +
|
|
5025
|
+
s.value.content = s.value.content + B.content, s.value.showSave, m.autoAudio && (s.value.audioStatus == "normal" ? F(1, s.value, s.value.content) : F(1, s.value, B.content));
|
|
5374
5026
|
}
|
|
5375
|
-
|
|
5027
|
+
B.type == "file" && s.value.file.push(B), B.type == "url" && (B.webUrl && (B.webUrl = decodeURIComponent(B.webUrl)), B.name = B.content, s.value.file.push(B), s.value.urls.push(B)), _u();
|
|
5376
5028
|
}, D.onerror = (Y) => {
|
|
5377
|
-
D.close(),
|
|
5029
|
+
D.close(), m.loading = !1, s.value.content = T("连接错误");
|
|
5378
5030
|
}, f.value = D;
|
|
5379
5031
|
}, pe = () => {
|
|
5380
5032
|
var z;
|
|
5381
|
-
if ((z = f.value) == null || z.close(),
|
|
5382
|
-
const D = (/* @__PURE__ */ new Date()).getTime() -
|
|
5383
|
-
|
|
5033
|
+
if ((z = f.value) == null || z.close(), m.loading = !1, Kt(), s.value && (s.value.loading = !1, s.value.think && !s.value.thinkTime)) {
|
|
5034
|
+
const D = (/* @__PURE__ */ new Date()).getTime() - P;
|
|
5035
|
+
P = 0, s.value.thinkTime = parseInt(`${D / 1e3}`);
|
|
5384
5036
|
}
|
|
5385
5037
|
}, Kt = async () => {
|
|
5386
5038
|
if (s.value && s.value.loading && s.value.queryId && s.value.content) {
|
|
5387
|
-
let z = s.value.file ? s.value.file.filter((
|
|
5039
|
+
let z = s.value.file ? s.value.file.filter((B) => B.type != "url") : [];
|
|
5388
5040
|
const D = {
|
|
5389
5041
|
chat_id: o.value,
|
|
5390
5042
|
//会话id
|
|
@@ -5394,97 +5046,91 @@ const Dc = () => {
|
|
|
5394
5046
|
//来源(0:用户,1:AI)
|
|
5395
5047
|
intention: s.value.intention,
|
|
5396
5048
|
//意图(A001:企业能耗,A002:楼控,A003:会议室,A004:能源管理,A005:IOC,A006:知识库)
|
|
5397
|
-
searchType:
|
|
5049
|
+
searchType: m.searchType,
|
|
5398
5050
|
//搜索类型(0:应用,1:知识库,2:全网)
|
|
5399
5051
|
fold_id: "",
|
|
5400
5052
|
QueryId: s.value.queryId,
|
|
5401
5053
|
//queryId,即问答id
|
|
5402
5054
|
think: s.value.think,
|
|
5403
5055
|
//思考
|
|
5404
|
-
urls: s.value.urls ? s.value.urls.map((
|
|
5405
|
-
name:
|
|
5406
|
-
app_url:
|
|
5407
|
-
web_url:
|
|
5056
|
+
urls: s.value.urls ? s.value.urls.map((B) => ({
|
|
5057
|
+
name: B.name,
|
|
5058
|
+
app_url: B.appUrl,
|
|
5059
|
+
web_url: B.webUrl
|
|
5408
5060
|
})) : [],
|
|
5409
5061
|
//
|
|
5410
|
-
files: z.map((
|
|
5411
|
-
name:
|
|
5412
|
-
summary:
|
|
5413
|
-
url:
|
|
5062
|
+
files: z.map((B) => ({
|
|
5063
|
+
name: B.name,
|
|
5064
|
+
summary: B.summary,
|
|
5065
|
+
url: B.url
|
|
5414
5066
|
}))
|
|
5415
5067
|
//
|
|
5416
5068
|
};
|
|
5417
|
-
D.searchType == "1" && (D.fold_id =
|
|
5418
|
-
const [G, Y] = await
|
|
5069
|
+
D.searchType == "1" && (D.fold_id = m.folderId == m.allKnowId ? "" : m.folderId);
|
|
5070
|
+
const [G, Y] = await Ci(D).run();
|
|
5419
5071
|
if (G) return;
|
|
5420
5072
|
}
|
|
5421
5073
|
};
|
|
5422
5074
|
return e({
|
|
5423
5075
|
senderVal: (z) => {
|
|
5424
|
-
|
|
5076
|
+
m.senderValue = `${m.senderValue}${z}`;
|
|
5425
5077
|
},
|
|
5426
5078
|
outSendMsg: () => {
|
|
5427
|
-
|
|
5079
|
+
m.senderValue && E("sender", m.senderValue);
|
|
5428
5080
|
},
|
|
5429
5081
|
hideFn: K,
|
|
5430
5082
|
playAudioFn: () => {
|
|
5431
5083
|
const z = d.value.length - 1 - [...d.value].reverse().findIndex((G) => G.role == "ai"), D = d.value[z] ? d.value[z] : null;
|
|
5432
|
-
D &&
|
|
5084
|
+
D && F(0, D);
|
|
5433
5085
|
},
|
|
5434
|
-
pauseAudio:
|
|
5086
|
+
pauseAudio: q,
|
|
5435
5087
|
stopMsg: pe,
|
|
5436
|
-
openNewChat:
|
|
5088
|
+
openNewChat: Tu
|
|
5437
5089
|
}), (z, D) => {
|
|
5438
5090
|
const G = Wt("dasLoading");
|
|
5439
|
-
return
|
|
5091
|
+
return Au((w(), R("div", Ec, [
|
|
5440
5092
|
a.value ? (w(), R("div", Fc, [
|
|
5441
5093
|
a.value == "reference" ? (w(), X(ic, {
|
|
5442
5094
|
key: 0,
|
|
5443
5095
|
item: s.value,
|
|
5444
|
-
onPreview:
|
|
5096
|
+
onPreview: H,
|
|
5445
5097
|
onBack: Eu,
|
|
5446
|
-
onToApp:
|
|
5447
|
-
}, null, 8, ["item"])) :
|
|
5448
|
-
a.value == "history" ? (w(), X(
|
|
5098
|
+
onToApp: N
|
|
5099
|
+
}, null, 8, ["item"])) : $("", !0),
|
|
5100
|
+
a.value == "history" ? (w(), X(Ac, {
|
|
5449
5101
|
key: 1,
|
|
5450
5102
|
chatId: o.value,
|
|
5451
5103
|
onRecord: zu,
|
|
5452
5104
|
onBack: Eu
|
|
5453
|
-
}, null, 8, ["chatId"])) :
|
|
5454
|
-
])) :
|
|
5105
|
+
}, null, 8, ["chatId"])) : $("", !0)
|
|
5106
|
+
])) : $("", !0),
|
|
5455
5107
|
g("div", wc, [
|
|
5456
5108
|
g("div", Sc, [
|
|
5457
|
-
|
|
5458
|
-
onBack:
|
|
5109
|
+
j(Gi, {
|
|
5110
|
+
onBack: Tu,
|
|
5459
5111
|
listLength: d.value.length
|
|
5460
5112
|
}, null, 8, ["listLength"])
|
|
5461
5113
|
]),
|
|
5462
5114
|
g("div", zc, [
|
|
5463
|
-
|
|
5115
|
+
j(C(vu), {
|
|
5464
5116
|
placement: "top",
|
|
5465
5117
|
type: "button"
|
|
5466
5118
|
}, {
|
|
5467
5119
|
content: J(() => [
|
|
5468
|
-
g(
|
|
5469
|
-
"div",
|
|
5470
|
-
null,
|
|
5471
|
-
V(A(I)("自动播报")),
|
|
5472
|
-
1
|
|
5473
|
-
/* TEXT */
|
|
5474
|
-
)
|
|
5120
|
+
g("div", null, V(C(T)("自动播报")), 1)
|
|
5475
5121
|
]),
|
|
5476
5122
|
default: J(() => [
|
|
5477
5123
|
g("div", {
|
|
5478
|
-
onClick:
|
|
5124
|
+
onClick: L,
|
|
5479
5125
|
style: { "margin-right": "16px" },
|
|
5480
5126
|
class: "ai-top-right-icon"
|
|
5481
5127
|
}, [
|
|
5482
|
-
|
|
5128
|
+
C(m).autoAudio ? (w(), X(C(r0), {
|
|
5483
5129
|
key: 0,
|
|
5484
5130
|
customSize: "20",
|
|
5485
5131
|
iconColor: "#006DF1"
|
|
5486
|
-
})) :
|
|
5487
|
-
|
|
5132
|
+
})) : $("", !0),
|
|
5133
|
+
C(m).autoAudio ? $("", !0) : (w(), X(C(o0), {
|
|
5488
5134
|
key: 1,
|
|
5489
5135
|
customSize: "20",
|
|
5490
5136
|
iconColor: "#333333"
|
|
@@ -5492,112 +5138,73 @@ const Dc = () => {
|
|
|
5492
5138
|
])
|
|
5493
5139
|
]),
|
|
5494
5140
|
_: 1
|
|
5495
|
-
/* STABLE */
|
|
5496
5141
|
}),
|
|
5497
|
-
|
|
5142
|
+
j(C(vu), {
|
|
5498
5143
|
placement: "top",
|
|
5499
5144
|
type: "button"
|
|
5500
5145
|
}, {
|
|
5501
5146
|
content: J(() => [
|
|
5502
|
-
g(
|
|
5503
|
-
"div",
|
|
5504
|
-
null,
|
|
5505
|
-
V(A(I)("历史会话")),
|
|
5506
|
-
1
|
|
5507
|
-
/* TEXT */
|
|
5508
|
-
)
|
|
5147
|
+
g("div", null, V(C(T)("历史会话")), 1)
|
|
5509
5148
|
]),
|
|
5510
5149
|
default: J(() => [
|
|
5511
5150
|
g("div", {
|
|
5512
5151
|
onClick: eu,
|
|
5513
5152
|
class: "ai-top-right-icon"
|
|
5514
5153
|
}, [
|
|
5515
|
-
|
|
5154
|
+
j(C(i0), {
|
|
5516
5155
|
customSize: "20",
|
|
5517
5156
|
iconColor: "#666666"
|
|
5518
5157
|
})
|
|
5519
5158
|
])
|
|
5520
5159
|
]),
|
|
5521
5160
|
_: 1
|
|
5522
|
-
/* STABLE */
|
|
5523
5161
|
})
|
|
5524
5162
|
])
|
|
5525
5163
|
]),
|
|
5526
|
-
d.value.length ? (w(), R("div",
|
|
5527
|
-
|
|
5164
|
+
d.value.length ? (w(), R("div", Tc, [
|
|
5165
|
+
j(C(we), {
|
|
5528
5166
|
"wrap-class": "das-ai-wrap-class",
|
|
5529
5167
|
onScroll: fu
|
|
5530
5168
|
}, {
|
|
5531
5169
|
default: J(() => [
|
|
5532
|
-
|
|
5533
|
-
onChatEmit:
|
|
5170
|
+
j(Vo, {
|
|
5171
|
+
onChatEmit: O,
|
|
5534
5172
|
chartList: d.value
|
|
5535
5173
|
}, null, 8, ["chartList"])
|
|
5536
5174
|
]),
|
|
5537
5175
|
_: 1
|
|
5538
|
-
/* STABLE */
|
|
5539
5176
|
})
|
|
5540
|
-
])) :
|
|
5541
|
-
d.value.length ?
|
|
5177
|
+
])) : $("", !0),
|
|
5178
|
+
d.value.length ? $("", !0) : (w(), X(ki, {
|
|
5542
5179
|
key: 2,
|
|
5543
|
-
list:
|
|
5180
|
+
list: x.value,
|
|
5544
5181
|
onClick: S
|
|
5545
5182
|
}, null, 8, ["list"])),
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
{ class: "chat-new-top-mask" },
|
|
5551
|
-
null,
|
|
5552
|
-
-1
|
|
5553
|
-
/* CACHED */
|
|
5554
|
-
)),
|
|
5555
|
-
H(fi, { onAddNewEmit: fe })
|
|
5556
|
-
])) : T("v-if", !0),
|
|
5557
|
-
T(' :class="{ full: !currentList.length }" '),
|
|
5183
|
+
d.value.length ? (w(), R("div", Ic, [
|
|
5184
|
+
D[0] || (D[0] = g("div", { class: "chat-new-top-mask" }, null, -1)),
|
|
5185
|
+
j(fi, { onAddNewEmit: fe })
|
|
5186
|
+
])) : $("", !0),
|
|
5558
5187
|
g("div", Mc, [
|
|
5559
|
-
T(` <div v-if="!currentList.length" class="new-content">\r
|
|
5560
|
-
<div class="new-content-top">\r
|
|
5561
|
-
<div class="new-content-img"><img :src="dasImg" /></div>\r
|
|
5562
|
-
\r
|
|
5563
|
-
<div class="new-content-text">{{ t('嗨!我是小达AI助手') }}</div>\r
|
|
5564
|
-
</div>\r
|
|
5565
|
-
<div class="new-content-bottom">\r
|
|
5566
|
-
{{ t('我可以帮你分析,写报告,调节设备,预订会议室,请把你的任务交给我吧~') }}\r
|
|
5567
|
-
</div>\r
|
|
5568
|
-
</div> `),
|
|
5569
|
-
T(' v-show="!dasAiData.loading" '),
|
|
5570
5188
|
g("div", Oc, [
|
|
5571
|
-
|
|
5189
|
+
j(ci, {
|
|
5572
5190
|
isNew: !d.value.length,
|
|
5573
|
-
onSenderEmit:
|
|
5191
|
+
onSenderEmit: E
|
|
5574
5192
|
}, null, 8, ["isNew"])
|
|
5575
5193
|
]),
|
|
5576
|
-
|
|
5577
|
-
<div class="loading-box">{{ t('回答中…') }}</div>\r
|
|
5578
|
-
</div> `),
|
|
5579
|
-
D[1] || (D[1] = g(
|
|
5580
|
-
"div",
|
|
5581
|
-
{ class: "das-ai-chat-input-tip" },
|
|
5582
|
-
[
|
|
5583
|
-
T(" {{ t('内容由AI生成,无法完全保证真实,仅供参考') }} ")
|
|
5584
|
-
],
|
|
5585
|
-
-1
|
|
5586
|
-
/* CACHED */
|
|
5587
|
-
))
|
|
5194
|
+
D[1] || (D[1] = g("div", { class: "das-ai-chat-input-tip" }, null, -1))
|
|
5588
5195
|
]),
|
|
5589
|
-
|
|
5590
|
-
|
|
5196
|
+
j(C(k)),
|
|
5197
|
+
j(C(c0), {
|
|
5591
5198
|
ref_key: "dasPreviewRef",
|
|
5592
5199
|
ref: i,
|
|
5593
5200
|
"file-url": c.value
|
|
5594
5201
|
}, null, 8, ["file-url"]),
|
|
5595
5202
|
g("audio", {
|
|
5596
|
-
src:
|
|
5203
|
+
src: C(M),
|
|
5597
5204
|
class: "ai-audio-class",
|
|
5598
5205
|
ref_key: "aiAudioRef",
|
|
5599
|
-
ref:
|
|
5600
|
-
muted: !
|
|
5206
|
+
ref: p,
|
|
5207
|
+
muted: !C(b),
|
|
5601
5208
|
autoplay: ""
|
|
5602
5209
|
}, null, 8, Nc)
|
|
5603
5210
|
])), [
|
|
@@ -5605,146 +5212,105 @@ const Dc = () => {
|
|
|
5605
5212
|
]);
|
|
5606
5213
|
};
|
|
5607
5214
|
}
|
|
5608
|
-
}),
|
|
5215
|
+
}), Rc = /* @__PURE__ */ iu(Bc, [["__scopeId", "data-v-399821d3"]]), qc = { class: "das-ai-panel-div 2" }, Pc = { class: "das-ai-panel-coantainer-header" }, jc = { class: "das-ai-panel-header-title" }, Hc = { class: "das-ai-panel-coantainer-body" }, $c = /* @__PURE__ */ ou({
|
|
5609
5216
|
__name: "index",
|
|
5610
5217
|
emits: ["confirm", "toApp", "getStatus"],
|
|
5611
5218
|
setup(u, { expose: e, emit: t }) {
|
|
5612
|
-
const n = t, r = e0(), o =
|
|
5219
|
+
const n = t, r = e0(), o = I(), c = I(0), i = I(), a = I(!1);
|
|
5613
5220
|
bu(
|
|
5614
5221
|
() => r == null ? void 0 : r.path,
|
|
5615
|
-
(
|
|
5222
|
+
(b, M) => {
|
|
5616
5223
|
f();
|
|
5617
5224
|
}
|
|
5618
|
-
),
|
|
5225
|
+
), Ru(() => {
|
|
5619
5226
|
setTimeout(() => {
|
|
5620
|
-
|
|
5621
|
-
let
|
|
5622
|
-
|
|
5623
|
-
c.value =
|
|
5624
|
-
},
|
|
5227
|
+
Ae(() => {
|
|
5228
|
+
let b = document.getElementsByClassName("das-web-app-header")[0];
|
|
5229
|
+
b && (c.value = b.clientHeight), b && !i.value && (i.value = C0((M) => {
|
|
5230
|
+
c.value = M.height;
|
|
5231
|
+
}, b));
|
|
5625
5232
|
});
|
|
5626
5233
|
}, 1e3);
|
|
5627
5234
|
}), at(() => {
|
|
5628
|
-
var
|
|
5629
|
-
(
|
|
5235
|
+
var b;
|
|
5236
|
+
(b = i.value) == null || b.disconnect(), i.value = null;
|
|
5630
5237
|
});
|
|
5631
|
-
const s = (
|
|
5632
|
-
n("toApp",
|
|
5238
|
+
const s = (b) => {
|
|
5239
|
+
n("toApp", b);
|
|
5633
5240
|
}, l = () => {
|
|
5634
5241
|
a.value || (a.value = !0, n("getStatus", !0));
|
|
5635
5242
|
}, f = () => {
|
|
5636
|
-
var
|
|
5637
|
-
a.value = !1, (
|
|
5243
|
+
var b;
|
|
5244
|
+
a.value = !1, (b = o.value) == null || b.hideFn(), n("getStatus", !1);
|
|
5638
5245
|
};
|
|
5639
5246
|
return e({
|
|
5640
|
-
setAutoAudio: (
|
|
5641
|
-
|
|
5247
|
+
setAutoAudio: (b) => {
|
|
5248
|
+
m.autoAudio = b;
|
|
5642
5249
|
},
|
|
5643
|
-
setConfig: (
|
|
5644
|
-
|
|
5250
|
+
setConfig: (b) => {
|
|
5251
|
+
b != null && b.searchType && (m.searchType = b == null ? void 0 : b.searchType), (b == null ? void 0 : b.searchType) == "1" && (m.folderId = b.folderId ? b.folderId : "", m.folderName = b.folderName ? b.folderName : ""), Vu();
|
|
5645
5252
|
},
|
|
5646
5253
|
stopMsg: () => {
|
|
5647
|
-
var
|
|
5648
|
-
(
|
|
5254
|
+
var b;
|
|
5255
|
+
(b = o.value) == null || b.stopMsg();
|
|
5649
5256
|
},
|
|
5650
5257
|
playAudio: () => {
|
|
5651
|
-
var
|
|
5652
|
-
(
|
|
5258
|
+
var b;
|
|
5259
|
+
(b = o.value) == null || b.playAudioFn();
|
|
5653
5260
|
},
|
|
5654
5261
|
pauseAudio: () => {
|
|
5655
|
-
var
|
|
5656
|
-
(
|
|
5262
|
+
var b;
|
|
5263
|
+
(b = o.value) == null || b.pauseAudio();
|
|
5657
5264
|
},
|
|
5658
5265
|
openNewChat: () => {
|
|
5659
|
-
var
|
|
5660
|
-
(
|
|
5266
|
+
var b;
|
|
5267
|
+
(b = o.value) == null || b.openNewChat();
|
|
5661
5268
|
},
|
|
5662
5269
|
send: () => {
|
|
5663
|
-
var
|
|
5664
|
-
(
|
|
5270
|
+
var b;
|
|
5271
|
+
(b = o.value) == null || b.outSendMsg();
|
|
5665
5272
|
},
|
|
5666
|
-
senderVal: (
|
|
5667
|
-
var
|
|
5668
|
-
(
|
|
5273
|
+
senderVal: (b) => {
|
|
5274
|
+
var M;
|
|
5275
|
+
(M = o.value) == null || M.senderVal(b);
|
|
5669
5276
|
},
|
|
5670
5277
|
clearSenderVal: () => {
|
|
5671
|
-
|
|
5278
|
+
m.senderValue = "";
|
|
5672
5279
|
},
|
|
5673
5280
|
openPanel: l,
|
|
5674
5281
|
closePanel: f
|
|
5675
|
-
}), (
|
|
5676
|
-
|
|
5677
|
-
name: "das-ai-panel",
|
|
5678
|
-
persisted: ""
|
|
5679
|
-
}, {
|
|
5282
|
+
}), (b, M) => (w(), R("div", qc, [
|
|
5283
|
+
j(Xt, { name: "das-ai-panel" }, {
|
|
5680
5284
|
default: J(() => [
|
|
5681
|
-
|
|
5682
|
-
"
|
|
5683
|
-
{
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
),
|
|
5696
|
-
g("div", {
|
|
5697
|
-
onClick: f,
|
|
5698
|
-
class: "das-ai-panel-header-close"
|
|
5699
|
-
}, [
|
|
5700
|
-
H(A(t0), {
|
|
5701
|
-
size: "medium",
|
|
5702
|
-
iconColor: "#666666"
|
|
5703
|
-
})
|
|
5704
|
-
])
|
|
5705
|
-
]),
|
|
5706
|
-
g("div", Hc, [
|
|
5707
|
-
H(
|
|
5708
|
-
qc,
|
|
5709
|
-
{
|
|
5710
|
-
ref_key: "dasAiVueRef",
|
|
5711
|
-
ref: o,
|
|
5712
|
-
onToApp: s
|
|
5713
|
-
},
|
|
5714
|
-
null,
|
|
5715
|
-
512
|
|
5716
|
-
/* NEED_PATCH */
|
|
5717
|
-
)
|
|
5285
|
+
Au(g("div", {
|
|
5286
|
+
class: "das-ai-panel-coantainer",
|
|
5287
|
+
style: Yt({ top: `${c.value}px` })
|
|
5288
|
+
}, [
|
|
5289
|
+
g("div", Pc, [
|
|
5290
|
+
g("div", jc, V(C(T)("AI助手")), 1),
|
|
5291
|
+
g("div", {
|
|
5292
|
+
onClick: f,
|
|
5293
|
+
class: "das-ai-panel-header-close"
|
|
5294
|
+
}, [
|
|
5295
|
+
j(C(t0), {
|
|
5296
|
+
size: "medium",
|
|
5297
|
+
iconColor: "#666666"
|
|
5298
|
+
})
|
|
5718
5299
|
])
|
|
5719
|
-
],
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5300
|
+
]),
|
|
5301
|
+
g("div", Hc, [
|
|
5302
|
+
j(Rc, {
|
|
5303
|
+
ref_key: "dasAiVueRef",
|
|
5304
|
+
ref: o,
|
|
5305
|
+
onToApp: s
|
|
5306
|
+
}, null, 512)
|
|
5307
|
+
])
|
|
5308
|
+
], 4), [
|
|
5723
5309
|
[Hu, a.value]
|
|
5724
5310
|
])
|
|
5725
5311
|
]),
|
|
5726
5312
|
_: 1
|
|
5727
|
-
|
|
5728
|
-
}),
|
|
5729
|
-
T(` <das-drawer\r
|
|
5730
|
-
title="我是title"\r
|
|
5731
|
-
:class="\`custom-drawer \${isall ? 'isall' : ''}\`"\r
|
|
5732
|
-
v-model="drawerShow"\r
|
|
5733
|
-
direction="rtl"\r
|
|
5734
|
-
:bodyStyle="{ padding: 0, width: '100%', height: '100%' }"\r
|
|
5735
|
-
@open="handleOpen"\r
|
|
5736
|
-
@opened="handleOpened"\r
|
|
5737
|
-
@close="handleClose"\r
|
|
5738
|
-
@closed="handleClosed"\r
|
|
5739
|
-
>\r
|
|
5740
|
-
<template #header>\r
|
|
5741
|
-
<div>header插槽<el-button @click="isall = !isall">展开</el-button></div>\r
|
|
5742
|
-
</template>\r
|
|
5743
|
-
<span> 我是内容<el-button @click="isall = !isall">展开</el-button> </span>\r
|
|
5744
|
-
<template #footer>\r
|
|
5745
|
-
<div>footer插槽</div>\r
|
|
5746
|
-
</template>\r
|
|
5747
|
-
</das-drawer>`)
|
|
5313
|
+
})
|
|
5748
5314
|
]));
|
|
5749
5315
|
}
|
|
5750
5316
|
}), Vc = /* @__PURE__ */ iu($c, [["__scopeId", "data-v-66d7afca"]]), Uc = {
|
|
@@ -5842,11 +5408,11 @@ const Dc = () => {
|
|
|
5842
5408
|
}
|
|
5843
5409
|
};
|
|
5844
5410
|
n0(Uc);
|
|
5845
|
-
const Ba = () =>
|
|
5411
|
+
const Ba = () => I(null), Ra = u0(Vc);
|
|
5846
5412
|
export {
|
|
5847
|
-
|
|
5413
|
+
Ra as D,
|
|
5848
5414
|
iu as _,
|
|
5849
5415
|
Ba as a,
|
|
5850
|
-
|
|
5416
|
+
Ti as g,
|
|
5851
5417
|
La as s
|
|
5852
5418
|
};
|