comp-hub 0.1.13 → 0.1.15
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/dist/index.js +1 -1
- package/dist/website/dist/assets/{atom-one-dark-Bkn3VP4M.js → atom-one-dark-DBsRExYg.js} +1 -1
- package/dist/website/dist/assets/{index-Dq0blRri.css → index-BEUiJ6Cs.css} +1 -1
- package/dist/website/dist/assets/index-BQQlearB.js +1 -0
- package/dist/website/dist/assets/index-BdKocHcI.js +1 -0
- package/dist/website/dist/assets/index-C6FYKU0v.js +1 -0
- package/dist/website/dist/assets/index-C8LSpT-z.css +1 -0
- package/dist/website/dist/assets/index-CAuYBBI3.js +1 -0
- package/dist/website/dist/assets/index-CB7JXyjj.css +1 -0
- package/dist/website/dist/assets/{index-B_7h8RU-.js → index-CFekoWse.js} +37 -37
- package/dist/website/dist/assets/index-CczN5fLz.css +1 -0
- package/dist/website/dist/assets/index-CdUwR6qB.js +1 -0
- package/dist/website/dist/assets/index-CgH7YfTw.js +1 -0
- package/dist/website/dist/assets/index-D-vte0ne.js +10 -0
- package/dist/website/dist/assets/index-D1gqZaum.js +1 -0
- package/dist/website/dist/assets/index-DAmTCFk1.js +1 -0
- package/dist/website/dist/assets/{index-DF7AG7ST.js → index-DXLireuI.js} +1 -1
- package/dist/website/dist/assets/index-DctCZKbD.css +1 -0
- package/dist/website/dist/assets/index-Dg_jF_q0.js +1 -0
- package/dist/website/dist/assets/index-SBWV6_Eg.js +1 -0
- package/dist/website/dist/assets/index-T0ICpbUz.css +1 -0
- package/dist/website/dist/assets/{index-B1BP0nvv.js → index-VyWQu_En.js} +37 -27
- package/dist/website/dist/assets/{index-BW6kVljm.js → index-YeE3QOXJ.js} +1 -1
- package/dist/website/dist/assets/{index.vue_vue_type_script_setup_true_lang-DfsCnqsS.js → index.vue_vue_type_script_setup_true_lang-BYF1Q35y.js} +1 -1
- package/dist/website/dist/assets/{index.vue_vue_type_script_setup_true_lang-NjlsfCcn.js → index.vue_vue_type_script_setup_true_lang-D3QMZIzq.js} +1 -1
- package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-Di0jkmxA.js +1 -0
- package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-DleQWiX2.js +1 -0
- package/dist/website/dist/assets/{index.vue_vue_type_script_setup_true_lang-CxwyQ8cG.js → index.vue_vue_type_script_setup_true_lang-Dpo8QS2d.js} +1 -1
- package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-DzH2fNLq.js +1 -0
- package/dist/website/dist/assets/{index.vue_vue_type_style_index_0_lang-DZZ_0S9A.js → index.vue_vue_type_style_index_0_lang-BLRwStnI.js} +2 -2
- package/dist/website/dist/assets/{md5-Bj8dOOoI.js → md5-BHfO3cGC.js} +1 -1
- package/dist/website/dist/index.html +3 -2
- package/dist/website/dist/js/vue2-sfc-loader.js +1 -1
- package/dist/website/dist/js/vue3-sfc-loader.js +1 -1
- package/dist/website/dist/md/COMP_REPEAT.md +1 -1
- package/package.json +1 -1
- package/dist/website/dist/assets/index-6cwYvCpb.js +0 -1
- package/dist/website/dist/assets/index-BeyuLT3y.js +0 -1
- package/dist/website/dist/assets/index-Bhvb4p31.js +0 -1
- package/dist/website/dist/assets/index-Bjde2iaV.js +0 -1
- package/dist/website/dist/assets/index-BssohZIT.js +0 -1
- package/dist/website/dist/assets/index-C5tOMape.js +0 -1
- package/dist/website/dist/assets/index-CB8nyH-_.js +0 -1
- package/dist/website/dist/assets/index-CIBARELv.js +0 -1
- package/dist/website/dist/assets/index-CRFpFKvC.css +0 -1
- package/dist/website/dist/assets/index-CWDRcuvp.css +0 -1
- package/dist/website/dist/assets/index-Ck4C1E7S.css +0 -1
- package/dist/website/dist/assets/index-DLia3q8g.js +0 -1
- package/dist/website/dist/assets/index-Dm4jFJxt.js +0 -1
- package/dist/website/dist/assets/index-DwGS0Op7.js +0 -10
- package/dist/website/dist/assets/index-DzIqUKJQ.css +0 -1
- package/dist/website/dist/assets/index-DzrT0VOu.js +0 -1
- package/dist/website/dist/assets/index-Yu34eIW7.css +0 -1
- package/dist/website/dist/assets/index-dExr9we_.css +0 -1
- package/dist/website/dist/assets/index-yEA57PDq.js +0 -1
- package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-Huh-hfVs.js +0 -1
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* Released under the MIT license
|
|
15
15
|
*
|
|
16
16
|
* Date: 2024-04-21T07:43:02.731Z
|
|
17
|
-
*/.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-wrap-box,.cropper-canvas,.cropper-drag-box,.cropper-crop-box,.cropper-modal{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-wrap-box,.cropper-canvas{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:calc(100% / 3);left:0;top:calc(100% / 3);width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:calc(100% / 3);top:0;width:calc(100% / 3)}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:before,.cropper-center:after{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width: 768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width: 992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width: 1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.fade-enter-active,.fade-leave-active{transition:all .3s ease}.fade-enter-from{opacity:0;transform:translate(-30px)}.fade-leave-to{opacity:0;transform:translate(30px)}.el-menu{border-right:none;border-bottom:none;background-color:#f9fafb}.user-info[data-v-c3636657]{display:flex;align-items:center;outline:none}.user-avatar[data-v-c3636657]{margin-right:8px;cursor:pointer}.user-nickname[data-v-c3636657]{margin-right:4px;cursor:pointer}[data-v-c3636657] .el-avatar--circle{border:1px solid #857e7e}.is-upgrade[data-v-ec4705d1]{position:relative}.is-upgrade[data-v-ec4705d1]:before{position:absolute;content:"";width:5px;height:5px;background-color:#f40;right:-5px;top:0;border-radius:50%}.sites-header[data-v-2ec1e959]{height:100%;padding:0 20px;display:flex;align-items:center;position:relative;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.06);background-color:#f5f5f5}.measure-row[data-v-63d3b066]{position:absolute;opacity:0;pointer-events:none;display:flex}.measure-item[data-v-63d3b066]{visibility:hidden;white-space:nowrap}.more[data-v-81d31135]{flex-shrink:0;font-size:12px;color:#999;margin-left:4px}.fade-move[data-v-81d31135],.fade-enter-active[data-v-81d31135],.fade-leave-active[data-v-81d31135]{transition:all .5s ease}.fade-enter-from[data-v-81d31135],.fade-leave-to[data-v-81d31135]{opacity:0;transform:translateY(-50px)}.fade-leave-active[data-v-81d31135]{position:absolute}.error-overlay[data-v-0c34a046]{position:fixed;top:0;left:0;width:100vw;background:#5e090b;color:#fff;font-family:sans-serif;z-index:99999;word-break:break-all;overflow:auto;max-height:50vh;padding:10px;box-sizing:border-box}.close-btn[data-v-0c34a046]{position:sticky;top:10px;right:10px;float:right;background:#fff3;border:none;color:#fff;font-size:18px;cursor:pointer;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;margin-left:10px;transition:background .2s}.close-btn[data-v-0c34a046]:hover{background:#ffffff4d}.errors-container[data-v-0c34a046]{clear:both}.error-item[data-v-0c34a046]{margin-bottom:20px}pre[data-v-0c34a046]{white-space:pre-wrap;margin:0}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.el-descriptions__body{--el-fill-color-blank: transparent}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:0!important}.el-descriptions__label:not(.is-bordered-label){margin-right:0!important}.el-check-tag{border:1px solid #9fadbb}.el-carousel__button{background-color:#fff;border:1px solid #4d4949;border-radius:5px;height:6px}.el-menu{--el-menu-item-height: 40px}.el-menu .is-active{background-color:#e5e7eb;border-radius:5px;margin:5px;overflow:hidden}.el-menu .el-menu-item{margin:5px}*{box-sizing:border-box}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #1c1e23 inset!important;-webkit-text-fill-color:#757171!important}#app{height:100vh;width:100vw;overflow:hidden;min-width:600px}/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-400:oklch(67.3% .182 276.935);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-bold:700;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-2xl:1rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-2{top:calc(var(--spacing)*2)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.container\!{width:100%!important}@media (min-width:40rem){.container\!{max-width:40rem!important}}@media (min-width:48rem){.container\!{max-width:48rem!important}}@media (min-width:64rem){.container\!{max-width:64rem!important}}@media (min-width:80rem){.container\!{max-width:80rem!important}}@media (min-width:96rem){.container\!{max-width:96rem!important}}.m-0{margin:calc(var(--spacing)*0)}.mx-auto{margin-inline:auto}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:rgb(255,255,255/10%);--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-\[5px\]{margin-top:5px}.mt-\[10px\]{margin-top:10px}.mt-\[40px\]{margin-top:40px}.mr-\[5px\]{margin-right:5px}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-\[2px\]{margin-bottom:2px}.mb-\[5px\]{margin-bottom:5px}.mb-\[10px\]{margin-bottom:10px}.mb-\[40px\]{margin-bottom:40px}.mb-\[50px\]{margin-bottom:50px}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-\[5px\]{margin-left:5px}.ml-\[10px\]{margin-left:10px}.ml-\[30px\]{margin-left:30px}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.size-full{width:100%;height:100%}.h-\[30px\]{height:30px}.h-\[40px\]{height:40px}.h-\[60px\]{height:60px}.h-\[100px\]{height:100px}.h-\[270px\]{height:270px}.h-\[400px\]{height:400px}.h-\[500px\]{height:500px}.h-full{height:100%}.max-h-\[230px\]{max-height:230px}.min-h-\[100vh\]{min-height:100vh}.min-h-\[400px\]{min-height:400px}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[300px\]{width:300px}.w-\[400px\]{width:400px}.w-\[1300px\]{width:1300px}.w-full{width:100%}.max-w-\[1000px\]{max-width:1000px}.min-w-\[400px\]{min-width:400px}.min-w-\[600px\]{min-width:600px}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing)*2)}.gap-\[5px\]{gap:5px}.gap-\[10px\]{gap:10px}.gap-\[20px\]{gap:20px}.gap-\[50px\]{gap:50px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.border,.border-1,.border-\[1px\]{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-solid{--tw-border-style:solid;border-style:solid}.border-\[\#ccc\]{border-color:#ccc}.border-\[\#e4e7ed\]{border-color:#e4e7ed}.border-gray-300{border-color:var(--color-gray-300)}.border-indigo-400{border-color:var(--color-indigo-400)}.bg-\[\#0d0d0d\]{background-color:#0d0d0d}.bg-\[\#515f72\]{background-color:#515f72}.bg-\[\#f2f3f5\]{background-color:#f2f3f5}.bg-\[\#f9fafb\]{background-color:#f9fafb}.bg-\[\#fff\]{background-color:#fff}.bg-white{background-color:var(--color-white)}.p-8{padding:calc(var(--spacing)*8)}.p-\[2px\]{padding:2px}.p-\[5px\]{padding:5px}.p-\[10px\]{padding:10px}.p-\[20px\]{padding:20px}.pt-\[4px\]{padding-top:4px}.pr-\[10px\]{padding-right:10px}.pb-\[0px\]{padding-bottom:0}.pb-\[5px\]{padding-bottom:5px}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-\[5px\]{padding-left:5px}.pl-\[10px\]{padding-left:10px}.text-center{text-align:center}.text-left{text-align:left}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.break-all{word-break:break-all}.whitespace-pre-line{white-space:pre-line}.text-\[\#1b1919\]{color:#1b1919}.text-\[\#857e7e\]{color:#857e7e}.text-\[\#999\]{color:#999}.text-\[\#ccc\]{color:#ccc}.text-\[\#fff\]{color:#fff}.text-blue-600{color:var(--color-blue-600)}.text-gray-500{color:var(--color-gray-500)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.hover\:text-blue-800:hover{color:var(--color-blue-800)}.hover\:underline:hover{text-decoration-line:underline}}@media (min-width:48rem){.md\:p-12{padding:calc(var(--spacing)*12)}}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
|
|
17
|
+
*/.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-wrap-box,.cropper-canvas,.cropper-drag-box,.cropper-crop-box,.cropper-modal{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-wrap-box,.cropper-canvas{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:calc(100% / 3);left:0;top:calc(100% / 3);width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:calc(100% / 3);top:0;width:calc(100% / 3)}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:before,.cropper-center:after{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width: 768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width: 992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width: 1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.fade-enter-active,.fade-leave-active{transition:all .3s ease}.fade-enter-from{opacity:0;transform:translate(-30px)}.fade-leave-to{opacity:0;transform:translate(30px)}.el-menu{border-right:none;border-bottom:none;background-color:#f9fafb}.user-info[data-v-c3636657]{display:flex;align-items:center;outline:none}.user-avatar[data-v-c3636657]{margin-right:8px;cursor:pointer}.user-nickname[data-v-c3636657]{margin-right:4px;cursor:pointer}[data-v-c3636657] .el-avatar--circle{border:1px solid #857e7e}.is-upgrade[data-v-ec4705d1]{position:relative}.is-upgrade[data-v-ec4705d1]:before{position:absolute;content:"";width:5px;height:5px;background-color:#f40;right:-5px;top:0;border-radius:50%}.sites-header[data-v-2ec1e959]{height:100%;padding:0 20px;display:flex;align-items:center;position:relative;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.06);background-color:#f5f5f5}.more[data-v-81d31135]{flex-shrink:0;font-size:12px;color:#999;margin-left:4px}.fade-move[data-v-81d31135],.fade-enter-active[data-v-81d31135],.fade-leave-active[data-v-81d31135]{transition:all .5s ease}.fade-enter-from[data-v-81d31135],.fade-leave-to[data-v-81d31135]{opacity:0;transform:translateY(-50px)}.fade-leave-active[data-v-81d31135]{position:absolute}.error-overlay[data-v-0c34a046]{position:fixed;top:0;left:0;width:100vw;background:#5e090b;color:#fff;font-family:sans-serif;z-index:99999;word-break:break-all;overflow:auto;max-height:50vh;padding:10px;box-sizing:border-box}.close-btn[data-v-0c34a046]{position:sticky;top:10px;right:10px;float:right;background:#fff3;border:none;color:#fff;font-size:18px;cursor:pointer;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;margin-left:10px;transition:background .2s}.close-btn[data-v-0c34a046]:hover{background:#ffffff4d}.errors-container[data-v-0c34a046]{clear:both}.error-item[data-v-0c34a046]{margin-bottom:20px}pre[data-v-0c34a046]{white-space:pre-wrap;margin:0}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.el-descriptions__body{--el-fill-color-blank: transparent}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:0!important}.el-descriptions__label:not(.is-bordered-label){margin-right:0!important}.el-check-tag{border:1px solid #9fadbb}.el-carousel__button{background-color:#fff;border:1px solid #4d4949;border-radius:5px;height:6px}.el-menu{--el-menu-item-height: 40px}.el-menu .is-active{background-color:#e5e7eb;border-radius:5px;margin:5px;overflow:hidden}.el-menu .el-menu-item{margin:5px}*{box-sizing:border-box}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #1c1e23 inset!important;-webkit-text-fill-color:#757171!important}#app{height:100vh;width:100vw;overflow:hidden;min-width:600px}/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-400:oklch(67.3% .182 276.935);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-bold:700;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-2xl:1rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-2{top:calc(var(--spacing)*2)}.-z-50{z-index:-50}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.container\!{width:100%!important}@media (min-width:40rem){.container\!{max-width:40rem!important}}@media (min-width:48rem){.container\!{max-width:48rem!important}}@media (min-width:64rem){.container\!{max-width:64rem!important}}@media (min-width:80rem){.container\!{max-width:80rem!important}}@media (min-width:96rem){.container\!{max-width:96rem!important}}.m-0{margin:calc(var(--spacing)*0)}.mx-auto{margin-inline:auto}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:rgb(255,255,255/10%);--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-\[5px\]{margin-top:5px}.mt-\[10px\]{margin-top:10px}.mt-\[40px\]{margin-top:40px}.mr-\[5px\]{margin-right:5px}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-\[2px\]{margin-bottom:2px}.mb-\[5px\]{margin-bottom:5px}.mb-\[10px\]{margin-bottom:10px}.mb-\[40px\]{margin-bottom:40px}.mb-\[50px\]{margin-bottom:50px}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-\[5px\]{margin-left:5px}.ml-\[10px\]{margin-left:10px}.ml-\[30px\]{margin-left:30px}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.size-full{width:100%;height:100%}.h-\[30px\]{height:30px}.h-\[40px\]{height:40px}.h-\[60px\]{height:60px}.h-\[70vh\]{height:70vh}.h-\[100px\]{height:100px}.h-\[270px\]{height:270px}.h-\[400px\]{height:400px}.h-\[500px\]{height:500px}.h-full{height:100%}.max-h-\[230px\]{max-height:230px}.min-h-\[100vh\]{min-height:100vh}.min-h-\[400px\]{min-height:400px}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[300px\]{width:300px}.w-\[400px\]{width:400px}.w-\[1300px\]{width:1300px}.w-full{width:100%}.max-w-\[1000px\]{max-width:1000px}.max-w-\[calc\(100\%-410px\)\]{max-width:calc(100% - 410px)}.min-w-\[400px\]{min-width:400px}.min-w-\[600px\]{min-width:600px}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-\[4px\]{gap:4px}.gap-\[5px\]{gap:5px}.gap-\[10px\]{gap:10px}.gap-\[20px\]{gap:20px}.gap-\[50px\]{gap:50px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.border,.border-1,.border-\[1px\]{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-solid{--tw-border-style:solid;border-style:solid}.border-\[\#ccc\]{border-color:#ccc}.border-\[\#e4e7ed\]{border-color:#e4e7ed}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-indigo-400{border-color:var(--color-indigo-400)}.bg-\[\#0d0d0d\]{background-color:#0d0d0d}.bg-\[\#515f72\]{background-color:#515f72}.bg-\[\#333436\]{background-color:#333436}.bg-\[\#f2f3f5\]{background-color:#f2f3f5}.bg-\[\#f9fafb\]{background-color:#f9fafb}.bg-\[\#fff\]{background-color:#fff}.bg-gray-50{background-color:var(--color-gray-50)}.bg-white{background-color:var(--color-white)}.p-3{padding:calc(var(--spacing)*3)}.p-8{padding:calc(var(--spacing)*8)}.p-\[2px\]{padding:2px}.p-\[5px\]{padding:5px}.p-\[10px\]{padding:10px}.p-\[20px\]{padding:20px}.px-3{padding-inline:calc(var(--spacing)*3)}.py-2{padding-block:calc(var(--spacing)*2)}.pt-\[4px\]{padding-top:4px}.pr-\[10px\]{padding-right:10px}.pb-\[0px\]{padding-bottom:0}.pb-\[5px\]{padding-bottom:5px}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-\[5px\]{padding-left:5px}.pl-\[10px\]{padding-left:10px}.text-center{text-align:center}.text-left{text-align:left}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.text-\[\#1b1919\]{color:#1b1919}.text-\[\#857e7e\]{color:#857e7e}.text-\[\#999\]{color:#999}.text-\[\#ccc\]{color:#ccc}.text-\[\#fff\]{color:#fff}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-800{color:var(--color-gray-800)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:text-blue-800:hover{color:var(--color-blue-800)}.hover\:underline:hover{text-decoration-line:underline}}@media (min-width:48rem){.md\:p-12{padding:calc(var(--spacing)*12)}}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as H,d as J}from"./index-VyWQu_En.js";import{d as U,K as z,O as ee,P as ae,D as te,G as se,c as F,o as _,b as n,Q as I,aX as oe,h as u,aY as le,j as y,av as ne,k as re,a2 as N,w as r,r as h,a9 as ie,A as w,n as x,a as c,f as k,aG as R,a8 as ce,af as S,aZ as T,a_ as B,E as ue,a$ as pe,$ as de}from"./index-CFekoWse.js";import{_ as fe,u as me,b as ve,c as _e,a as V,d as ge,e as he,T as we}from"./index.vue_vue_type_script_setup_true_lang-DleQWiX2.js";import{_ as xe}from"./index.vue_vue_type_style_index_0_lang-BLRwStnI.js";import"./index.vue_vue_type_script_setup_true_lang-Dpo8QS2d.js";import"./index.vue_vue_type_script_setup_true_lang-BYF1Q35y.js";import"./atom-one-dark-DBsRExYg.js";const Ce={class:"min-h-[400px]"},be=U({__name:"index",setup(j){const D=z(),{id:C}=D.params,d=ee(`${ae.SIMILAR}_${C}`)();return I("compListStore",d),I("callbacks",new Map),te(async()=>{d.setOperate(["download","preview","collect"]),await d.getCompList()}),se(()=>{d.$reset()}),(t,f)=>(_(),F("div",Ce,[n(fe,{isPagination:!1})]))}}),Ee={class:"size-full"},Pe={class:"h-[500px]"},ye={class:"flex-1 flex justify-start gap-[5px]"},ke={class:"flex-1 pt-[4px]"},Se={class:"flex mt-[10px] gap-[10px] bg-[#fff] rounded-sm"},Te={class:"flex-1 max-w-[calc(100%-410px)]"},Ie={class:"mt-[10px] border-1 border-[#ccc] rounded-sm p-[10px] bg-[#f2f3f5]"},De={class:"h-full"},Ve=U({__name:"index",setup(j){I("callbacks",new Map);const C=z(),d=oe(),{id:g}=C.params,t=u(),f=u([]),O=u(null);me(O);const m=u(""),v=u(0),$=u(""),b=u(!0),M=le("similarCompRef"),E=u(),P=u(!1);ve(M,([a])=>{P.value||(P.value=(a==null?void 0:a.isIntersecting)||!1)});const G=y(()=>{var a;return((a=t.value)==null?void 0:a.previewConfigs.filter(e=>{var s,o;return((s=e.fullPath)==null?void 0:s.length)||((o=e.path)==null?void 0:o.length)}).map(e=>{var p;const s=(p=e.fullPath)!=null&&p.length?e.fullPath:e.path,o=s[s.length-1].replace(/[/\\]/g,"/"),l=f.value.find(i=>i.path===o);return{entryUrl:(l==null?void 0:l.signedUrl)||""}}))||[]}),L=y(()=>{var a,e,s;return!Object.keys(((a=t.value)==null?void 0:a.dep)||{}).length||!f.value.length?!1:{panelType:ne.FULL,previews:G.value,dep:((e=t.value)==null?void 0:e.dep)||{},bgColor:((s=t.value)==null?void 0:s.bgColor)||"#fff",signedUrls:f.value}}),W=y(()=>{var e;return Object.keys(((e=t.value)==null?void 0:e.dep)||{}).map(s=>{var o,l,p;return{name:s,version:((p=(l=(o=t.value)==null?void 0:o.dep)==null?void 0:l[s])==null?void 0:p.version)||""}})});function Z(){const a={objectId:t.value.objectId,compName:t.value.name,version:t.value.version,files:t.value.files.map(e=>e.path)};b.value=!0,pe(a).then(e=>{var o;const s=e.data.signedUrls;f.value=s,$.value=((o=s.find(l=>l.path.endsWith("/README.md")))==null?void 0:o.signedUrl)||""}).finally(()=>{b.value=!1})}function Y(){var e;if(!((e=t.value)!=null&&e.id))return;const a=Number(ce());v.value=Math.max(a,500)}function K(){v.value=0}function Q(){return Promise.resolve(t.value)}async function X(a){g&&await de({compId:g,version:a}).then(e=>{t.value={...e.data,id:g}})}async function q(a){var s,o;!a()||!((s=t.value)!=null&&s.id)||await S.confirm("当前选择的版本为:"+m.value+",确认下载吗?","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).catch(()=>{console.log("取消下载")})!=="confirm"||(o=E.value)==null||o.open(A)}async function A(a){var l;if(await S.confirm(T.CONFIRM.DOWNLOAD(a.path),"提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).catch(()=>{console.log("取消下载")})!=="confirm")return;const s=await B({compId:t.value.id,savePath:a.path,compName:t.value.name,version:m.value}),{isRepeat:o=!1}=s.data;if(o){if(await S.confirm(T.CONFIRM.COVER(t.value.name),"提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).catch(()=>{console.log("取消下载")})!=="confirm")return;await B({compId:t.value.id,savePath:a.path,compName:t.value.name,isCover:!0,version:m.value})}ue.success(T.SUCCESS.DOWNLOAD),(l=E.value)==null||l.close()}return re(()=>{const a=v.value;a&&ie(a.toString())}),N(()=>m.value,async a=>{var e;a!==((e=t.value)==null?void 0:e.version)&&await X(a)},{immediate:!0}),N(()=>t.value,()=>{var a;f.value=[],Z(),d.addPayLoad(`/preview/${(a=t.value)==null?void 0:a.id}`,{...t.value})}),(a,e)=>{const s=h("el-button"),o=h("el-divider"),l=h("el-splitter-panel"),p=h("el-splitter");return _(),F("div",Ee,[n(p,null,{default:r(()=>[n(l,{class:"overflow-hidden",min:510},{default:r(()=>[c("div",{class:"preview-container size-full overflow-auto",ref_key:"previewEl",ref:O},[c("div",Pe,[n(V,{title:"组件预览",actions:["maximize"]},{default:r(()=>[L.value?(_(),w(J,R({key:0},L.value,{arrow:"always"}),{compToolBar:r(()=>[c("div",ye,[n(s,{color:"#414141",onClick:Y},{default:r(()=>[...e[2]||(e[2]=[k("终端",-1)])]),_:1}),n(ge,R({modelValue:m.value,"onUpdate:modelValue":e[0]||(e[0]=i=>m.value=i)},t.value),null,16,["modelValue"]),n(H,null,{default:r(({isLogin:i})=>[n(s,{type:"primary",onClick:Oe=>q(i)},{default:r(()=>[...e[3]||(e[3]=[k("下载",-1)])]),_:1},8,["onClick"])]),_:1}),c("div",ke,[n(he,{compDeps:W.value},null,8,["compDeps"])])])]),_:1},16)):x("",!0)]),_:1})]),c("div",Se,[c("div",Te,[b.value?x("",!0):(_(),w(xe,{key:0,showToc:!0,class:"flex-1",src:$.value,scrollContainer:".preview-container"},{footer:r(()=>[c("div",{class:"mt-[10px] overflow-hidden",ref_key:"similarCompRef",ref:M},[n(o,{"content-position":"center"},{default:r(()=>[...e[4]||(e[4]=[k("类似组件",-1)])]),_:1}),c("div",Ie,[P.value?(_(),w(be,{key:0})):x("",!0)])],512)]),_:1},8,["src"]))]),e[5]||(e[5]=c("div",{class:"w-[400px] h-[500px] border-1 border-[#ccc] rounded-sm sticky top-0"},null,-1))])],512)]),_:1}),v.value?(_(),w(l,{key:0,size:v.value,"onUpdate:size":e[1]||(e[1]=i=>v.value=i),collapsible:""},{default:r(()=>[c("div",De,[n(V,{title:"依赖安装",onClose:K},{default:r(()=>{var i;return[n(we,{compId:(i=t.value)==null?void 0:i.id,getCompDetail:Q},null,8,["compId"])]}),_:1})])]),_:1},8,["size"])):x("",!0)]),_:1}),n(_e,{ref_key:"DialogVueFinderRef",ref:E,onDownload:A},null,512)])}}});export{Ve as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as a,O as c,i as r,R as n,D as i,G as p,c as m,o as _,b as l,P as d,Q as s}from"./index-CFekoWse.js";import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-Di0jkmxA.js";import"./index.vue_vue_type_script_setup_true_lang-DleQWiX2.js";import"./index-VyWQu_En.js";import"./index.vue_vue_type_script_setup_true_lang-Dpo8QS2d.js";import"./index.vue_vue_type_script_setup_true_lang-BYF1Q35y.js";const L={class:"size-full"},S=a({__name:"index",setup(E){const e=c(d.COLLECT)();s("compListStore",e);const t=r(new Map);return s("callbacks",t),t.set(n.AFTER_COMP_CANCEL_COLLECT,o=>{e.delCompListById(o)}),i(async()=>{e.setOperate(["download","preview","collect","terminal"]),e.getCompList()}),p(()=>{e.$reset()}),(o,O)=>(_(),m("div",L,[l(C)]))}});export{S as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as R}from"./index.vue_vue_type_script_setup_true_lang-Di0jkmxA.js";import{d as h,T as L,U as $,h as O,i as P,V as x,j as A,k as U,A as b,o as D,w as p,W as k,a as E,b as i,X as H,Y as N,u as V,Z as B,f as y,t as G,r as q,O as z,R as g,D as Y,G as j,c as K,P as Q,E as W,$ as X,Q as v}from"./index-CFekoWse.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang-Dpo8QS2d.js";import{C as J}from"./index-CAuYBBI3.js";import"./index.vue_vue_type_script_setup_true_lang-DleQWiX2.js";import"./index-VyWQu_En.js";import"./index.vue_vue_type_script_setup_true_lang-BYF1Q35y.js";import"./index-DXLireuI.js";import"./atom-one-dark-DBsRExYg.js";import"./index.vue_vue_type_script_setup_true_lang-D3QMZIzq.js";const ee={class:"dialog-footer"},te=h({__name:"index",setup(w,{expose:l}){const t=L(),r=$(),s={NORMAL:"70vh"},a=O(!1),e=P({isFullScreen:x()==="true",fullStyle:{height:s.NORMAL},entryModule:[]}),o=A(()=>{var c;return`【${((c=t.selectedFolder)==null?void 0:c.basename)||""}】`+t.compDialogFinalTitle});function d(){a.value=!0}function M(){_()}function m(){a.value=!1}function F(){t.$reset()}async function I(){e.isFullScreen=!e.isFullScreen,await _()}async function _(){var C,S;const c=(C=document.querySelector(".el-dialog__header"))==null?void 0:C.clientHeight,n=(S=document.querySelector(".el-dialog__footer"))==null?void 0:S.clientHeight,u=document.querySelector(".el-dialog"),T=window.getComputedStyle(u).getPropertyValue("--el-dialog-padding-primary");e.fullStyle={height:e.isFullScreen?`calc(100vh - ${c}px - ${n}px - ${T} * 2)`:s.NORMAL}}return U(()=>{k(e.isFullScreen.toString())}),l({open:d,close:m}),(c,n)=>{const u=q("el-button");return D(),b(Z,{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=f=>a.value=f),top:"10vh",title:o.value,width:"70%","show-close":"",fullscreen:e.isFullScreen,"destroy-on-close":!0,onOpened:M,onClose:F},{footer:p(()=>[E("span",ee,[i(u,{onClick:I},{default:p(()=>[y(G(e.isFullScreen?"退出全屏":"全屏"),1)]),_:1}),i(u,{onClick:m},{default:p(()=>[...n[1]||(n[1]=[y("取 消",-1)])]),_:1})])]),default:p(()=>[E("div",{style:B(e.fullStyle)},[i(J,H(N(V(r))),null,16)],4)]),_:1},8,["modelValue","title","fullscreen"])}}}),oe={class:"size-full"},me=h({__name:"index",setup(w){const l=z(Q.MINE)(),t=L();v("compListStore",l);const r=P(new Map);v("callbacks",r);const s=O();function a({end:e}){t.updateComp().then(()=>{W.success("更新成功"),X({compId:t.editCompId}).then(o=>{var d;l.updateCompListItemById(t.editCompId,o.data),(d=s.value)==null||d.close()})}).catch(o=>{console.error(o)}).finally(()=>{e()})}return r.set(g.AFTER_COMP_DEL,e=>{console.log("删除的组件id",e),l.delCompListById(e)}),r.set(g.BEFORE_COMP_GO_UPDATE,async e=>{var o;t.setEditCompId(e),t.setCompDialogType("EDIT"),await t.initCompDep(),(o=s.value)==null||o.open()}),Y(async()=>{l.setOperate(["download","preview","update","delete","terminal"]),l.getCompList()}),j(()=>{l.$reset()}),(e,o)=>(D(),K("div",oe,[i(R),i(te,{ref_key:"compPreviewLocalDialogRef",ref:s,onConfirmUpload:a},null,512)]))}});export{me as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.text-error[data-v-d7f6835b]{color:#f56c6c;padding:0 4px}.is-ok[data-v-d7f6835b]{color:#67c23a}.active[data-v-e5eb792b]{border:1px solid #23b2c5;border-radius:8px}.custom-style .el-segmented[data-v-5f007e36]{--el-segmented-item-selected-color: var(--el-text-color-primary);--el-segmented-item-selected-bg-color: #409eff;--el-border-radius-base: 16px;--el-segmented-item-selected-color: #fff;--el-segmented-color: #8d8989;--el-fill-color-light: #e2dfdf}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{C as pe}from"./index-DXLireuI.js";import{d as L,c as V,o as d,a as h,t as N,A as w,r as y,F as z,ao as se,n as J,w as t,b as e,u as E,ap as me,f as D,x as le,h as T,D as fe,T as G,j as U,k as oe,a2 as B,a5 as Y,R as A,aq as _e,ar as ve,as as he,E as W,at as ye,au as be,ag as ge,al as xe,am as Ce,M as Ie,an as Ee,B as ee,i as ae,av as M,G as ke,aw as we,ax as Ve,ay as re,N as ie,az as te,a7 as K,aA as j,aB as Oe,Z as ue,aC as Re,aD as Pe,X as De,Y as Te,$ as $e,Q as Fe}from"./index-CFekoWse.js";import{G as Ne,b as ce,c as Ae,d as Me}from"./index-VyWQu_En.js";import{_ as Ue}from"./index.vue_vue_type_script_setup_true_lang-D3QMZIzq.js";const Le={class:"flex items-baseline"},Se={class:"w-[120px] flex items-center"},je={class:"flex-1 flex items-center"},He={class:"text-error"},Be=L({__name:"CheckItem",props:{label:{},status:{},errorText:{},showRetry:{type:Boolean},showIcon:{type:Boolean}},emits:["retry"],setup(I,{emit:g}){const _=g,n=()=>{_("retry")};return(u,r)=>{const i=y("el-button"),C=y("el-icon");return d(),V("div",Le,[h("div",Se,N(u.label),1),h("div",je,[u.status.loading?(d(),w(i,{key:0,link:"",loading:u.status.loading},null,8,["loading"])):u.status.value?(d(),V(z,{key:1},[se(u.$slots,"success",{},()=>[h("span",null,N(u.status.value),1)],!0),u.showIcon?(d(),w(C,{key:0,class:"is-ok ml-2"},{default:t(()=>[e(E(me))]),_:1})):J("",!0)],64)):(d(),V(z,{key:2},[h("span",He,[se(u.$slots,"error",{},()=>[D(N(u.errorText||"内容有误!"),1)],!0)]),u.showRetry?(d(),w(i,{key:0,plain:"",onClick:n},{default:t(()=>[...r[0]||(r[0]=[D(" 生成 ",-1)])]),_:1})):J("",!0)],64))])])}}}),Z=le(Be,[["__scopeId","data-v-d7f6835b"]]),ze={class:"flex items-center gap-[4px]"},Je=L({__name:"VersionInput",props:{initialVersion:{},disabled:{type:Boolean}},emits:["confirm"],setup(I,{emit:g}){const _=I,n=g,u=T(""),r=T(""),i=T("");fe(()=>{u.value=_.initialVersion.major,r.value=_.initialVersion.minor,i.value=_.initialVersion.patch});function C(){n("confirm",{major:u.value,minor:r.value,patch:i.value})}return(f,l)=>{const s=y("el-input"),p=y("el-button");return d(),V("div",ze,[e(s,{modelValue:u.value,"onUpdate:modelValue":l[0]||(l[0]=o=>u.value=o),style:{width:"60px"},min:0,type:"number"},null,8,["modelValue"]),l[4]||(l[4]=h("span",{class:"flex items-center"},".",-1)),e(s,{modelValue:r.value,"onUpdate:modelValue":l[1]||(l[1]=o=>r.value=o),style:{width:"60px"},min:0,type:"number"},null,8,["modelValue"]),l[5]||(l[5]=h("span",{class:"flex items-center"},".",-1)),e(s,{modelValue:i.value,"onUpdate:modelValue":l[2]||(l[2]=o=>i.value=o),style:{width:"60px"},min:0,type:"number"},null,8,["modelValue"]),e(p,{style:{"margin-left":"8px"},onClick:C},{default:t(()=>[...l[3]||(l[3]=[D("确认",-1)])]),_:1})])}}}),Ge={class:"size-full flex flex-col gap-2 overflow-auto"},Ke={key:0,class:"flex items-center"},We=L({__name:"index",setup(I){const g=G(),_=T(!0),n=T({major:"",minor:"",patch:""}),u=Y("callbacks"),r=T({entryIndex:{loading:!0,value:""},compHash:{loading:!0,value:""},compJsonIsOk:{loading:!0,value:""}}),i=U(()=>{var o;return(o=g.selectedFolder)==null?void 0:o.path}),C=U(()=>Object.values(r.value).every(o=>o.value)),f=async()=>{if(i.value)try{await he({compPath:i.value}),W.success("生成组件指纹成功"),l()}catch(o){console.error(o)}},l=async()=>{if(!i.value)return!1;Object.keys(r.value).forEach(o=>{r.value[o]={loading:!0,value:""}});try{const m=(await ye({compPath:i.value})).data;if(m)return r.value.entryIndex={loading:!1,value:m.entryIndex},r.value.compHash={loading:!1,value:m.compHash},r.value.compJsonIsOk={loading:!1,value:m.compJsonIsOk},m.compJsonIsOk&&s(m.compJsonIsOk),!!(m.entryIndex&&m.compHash&&m.compJsonIsOk)}catch(o){return console.error(o),!1}finally{_.value=!1}},s=o=>{const m=JSON.parse(o),[$,P,c]=m.version.split(".");n.value={major:$,minor:P,patch:c}},p=async({major:o,minor:m,patch:$})=>{if(i.value){_.value=!0;try{const P=`${o}.${m}.${$}`;await be({compPath:i.value,version:P}),W.success("修改版本号成功"),l()}catch(P){console.error(P)}finally{_.value=!1}}};return oe(()=>{i.value&&l()}),B(()=>r.value,o=>{const m={entryIndex:o.entryIndex.value,compHash:o.compHash.value,compJsonIsOk:o.compJsonIsOk.value};g.setConfigStatus(m)},{immediate:!0,deep:!0}),u.set(A.CHECK_COMP_CONFIG,l),(o,m)=>{const $=ve("loading");return _e((d(),V("div",Ge,[e(Z,{label:"入口文件:",status:r.value.entryIndex,showIcon:!0,"error-text":"缺少入口文件!"},null,8,["status"]),e(Z,{label:"组件指纹:",status:r.value.compHash,onRetry:f,"error-text":"缺少组件指纹文件!","show-retry":!r.value.compHash.value,showIcon:!0},null,8,["status","show-retry"]),C.value?(d(),V("div",Ke,[m[0]||(m[0]=h("div",{class:"w-[120px]"},"本地版本号:",-1)),e(Je,{"initial-version":n.value,onConfirm:p,disabled:_.value},null,8,["initial-version","disabled"])])):J("",!0),e(Z,{label:"comp.json内容:",status:r.value.compJsonIsOk,"show-icon":!0,"error-text":"comp.json文件内容有误!"},{success:t(()=>[e(pe,{code:r.value.compJsonIsOk.value},null,8,["code"])]),_:1},8,["status"])])),[[$,_.value]])}}}),Ye={class:"size-full overflow-auto tree-container"},Xe={class:"flex items-center gap-[50px]"},qe=L({__name:"index",setup(I){const g={children:"children",label:"name"},_=G(),n=T([]),u=U(()=>{var r;return(r=_.selectedFolder)==null?void 0:r.path});return B(()=>_.directory,r=>{n.value=ee.cloneDeep(r)},{deep:!0,immediate:!0}),oe(async()=>{var o,m,$;if(!u.value||(o=_.directory)!=null&&o.length)return;const r=await ge({compPath:u.value}),i=await xe(),C=await Ce(),{srcPath:f}=i.data,{pathSeparator:l}=C.data,s=(m=u.value)==null?void 0:m.replace(Ie.dirname,"").replaceAll("/",l),p=Ee(r.data||[],P=>(P.path=P.path.replace(`${f}${l}${s}`,""),P));($=p.children)!=null&&$.length&&_.setDirectory(p.children)}),(r,i)=>{const C=y("View"),f=y("el-icon"),l=y("router-link"),s=y("el-tree");return d(),V("div",Ye,[e(s,{data:n.value,props:g},{default:t(({node:p,data:o})=>[h("div",Xe,[h("span",null,N(p.label),1),p.label==="README.md"?(d(),w(l,{key:0,to:{name:"mdPreview",query:{mdPath:o==null?void 0:o.path,compPath:u.value}},target:"_blank",class:"flex"},{default:t(()=>[e(f,null,{default:t(()=>[e(C)]),_:1})]),_:1},8,["to"])):J("",!0)])]),_:1},8,["data"])])}}}),Qe=L({__name:"PreviewItem",props:{modelValue:{},index:{}},emits:["update:modelValue"],setup(I,{expose:g,emit:_}){const n=G(),u=Y("callbacks"),r=_,i=I,C=T({...i.modelValue}),f=T(),l=U(()=>n.previewList.findIndex(a=>a.uuid===i.modelValue.uuid)),s=U(()=>{var a;return(a=n.selectedFolder)==null?void 0:a.path}),p=ae({path:[{required:!0,message:"请选择预览文件",trigger:"change"}],desc:[{required:!0,message:"请填写备注说明",trigger:"blur"}]}),o=U(()=>{const a=JSON.parse(JSON.stringify(n.directory));return P(a),a}),m={value:"path",label:"name"};function $(a){r("update:modelValue",{...i.modelValue,desc:a})}function P(a){Array.isArray(a)&&a.forEach(x=>{x.disabled=x.type==="file"&&!x.name.endsWith(".vue"),Array.isArray(x.children)&&x.children.length>0&&P(x.children)})}function c(){n.delPreviewCompItemByUuid(i.modelValue.uuid)}async function v(a){r("update:modelValue",{...i.modelValue,path:a}),f.value&&(await Ve(),f.value.validateField("path"))}async function b(a){r("update:modelValue",{...i.modelValue,fullPath:a})}function O(){const a=n.previewList.findIndex(x=>x.uuid===i.modelValue.uuid);n.setCompCarouselIndex(a)}function S(){var a;return(a=f.value)==null?void 0:a.validate()}async function k(){var R;if(!((R=i.modelValue.path)!=null&&R.length)){C.value.entryUrl="",r("update:modelValue",{...C.value});return}const a=re((s==null?void 0:s.value)||"",i.modelValue.path),x=a?ie+"/"+a+"?v="+te():"";C.value.entryUrl=x,r("update:modelValue",{...C.value})}async function F(){const a=re((s==null?void 0:s.value)||"",i.modelValue.fullPath||[]),x=a?ie+"/"+a+"?v="+te():"";C.value.fullEntryUrl=x,r("update:modelValue",{...C.value})}return u.set(`${A.AFTER_COMP_RENDER_RETRY}_${i.modelValue.uuid}`,a=>{var x,R;if(a===M.MINI&&((x=i.modelValue.path)!=null&&x.length)){k();return}if(a===M.FULL&&((R=i.modelValue.fullPath)!=null&&R.length)){F();return}}),B(()=>i.modelValue,a=>{C.value={...a}},{deep:!0,immediate:!0}),B(()=>i.modelValue.path,async(a,x)=>{a!==x&&await k()},{immediate:!0}),B(()=>i.modelValue.fullPath,async(a,x)=>{a!==x&&await F()},{immediate:!0}),ke(()=>{u.delete(`${A.AFTER_COMP_RENDER_RETRY}_${i.modelValue.uuid}`)}),g({validateForm:S}),(a,x)=>{const R=y("el-cascader"),H=y("el-form-item"),X=y("el-input"),q=y("el-button"),Q=y("el-form");return d(),V("div",{class:we(["cursor-pointer w-full p-[5px] rounded-sm overflow-auto border-[1px] border-[#ccc]",{active:E(n).compCarouselIndex===l.value}]),onClick:O},[e(Q,{ref_key:"ruleFormRef",ref:f,model:a.modelValue,rules:p,"label-width":"130px"},{default:t(()=>[e(H,{label:"小窗预览文件:",prop:a.index===0?"path":""},{default:t(()=>[e(R,{"model-value":a.modelValue.path,options:o.value,props:m,placeholder:"请选择预览文件",onChange:v,clearable:a.index!==0},null,8,["model-value","options","clearable"])]),_:1},8,["prop"]),e(H,{label:"全屏预览文件:",prop:"fullPath"},{default:t(()=>[e(R,{"model-value":a.modelValue.fullPath,options:o.value,props:m,placeholder:"请选择预览文件",onChange:b,clearable:""},null,8,["model-value","options"])]),_:1}),e(H,{label:"备注说明:",prop:"desc"},{default:t(()=>[e(X,{"model-value":a.modelValue.desc,type:"textarea",onInput:$},null,8,["model-value"])]),_:1}),e(H,null,{default:t(()=>[e(q,{type:"danger",onClick:c},{default:t(()=>[...x[0]||(x[0]=[D("删除",-1)])]),_:1})]),_:1})]),_:1},8,["model","rules"])],2)}}}),Ze=le(Qe,[["__scopeId","data-v-e5eb792b"]]),et={class:"size-full overflow-auto flex flex-col"},tt={class:"pb-[5px]"},lt={class:"flex-1 overflow-auto"},ot=L({__name:"index",setup(I){const g=G(),_=Y("callbacks"),n=ae({});function u(f,l){if(!l||l instanceof Element){delete n[f];return}n[f]=l}function r(){if(g.previewList.length>=5){W.error("最多添加5个预览入口");return}g.addPreviewCompItem({uuid:te(),desc:"",path:[],fullPath:[]})}async function i(){if(!g.previewList.length)return W.error("请添加预览入口"),!1;const f=Object.values(n).map(s=>s==null?void 0:s.validateForm()),l=await Promise.all(f).then(s=>s.every(p=>p)).catch(s=>(console.error(s),!1));return l||g.setActiveName(j.PREVIEW),l}function C(f){const{uuid:l}=f;g.updatePreviewCompItemByUuid(l,f)}return _.set(A.CHECK_PREVIEW_LIST_FORM,i),(f,l)=>{const s=y("el-button");return d(),V("div",et,[h("div",tt,[e(s,{type:"primary",onClick:r},{default:t(()=>[...l[0]||(l[0]=[D(" 添加预览入口 ",-1)])]),_:1})]),h("div",lt,[e(Ne,{"item-min-width":360},{default:t(()=>[(d(!0),V(z,null,K(E(g).previewList,(p,o)=>(d(),w(Ze,{ref_for:!0,ref:m=>u(p.uuid,m),key:p.uuid,index:o,"model-value":p,"onUpdate:modelValue":C},null,8,["index","model-value"]))),128))]),_:1})])])}}}),at=L({__name:"index",props:{modelValue:{}},setup(I){const g=G(),_=Y("callbacks"),n=T(),u=T(200),r={description:[{required:!0,message:"请输入备注说明",trigger:"blur"},{min:3,max:u.value,message:`长度在 3 到 ${u.value} 个字符`,trigger:"blur"}]};async function i(){var f;try{return await((f=n.value)==null?void 0:f.validate()),!0}catch(l){return console.error(l),g.setActiveName(j.EXTRA),!1}}function C(f){g.setExtraInfo({...g.extraInfo,description:f})}return _.set(A.CHECK_EXTRA_INFO_FORM,i),(f,l)=>{const s=y("el-input"),p=y("el-form-item");return d(),w(E(Oe),{ref_key:"formRef",ref:n,"label-width":"80px",model:f.modelValue,rules:r},{default:t(()=>[e(p,{label:"备注说明",prop:"description"},{default:t(()=>[e(s,{maxlength:u.value,"show-word-limit":"","model-value":f.modelValue.description,placeholder:"请输入备注,有助于组件市场检索",rows:4,type:"textarea",onInput:C},null,8,["maxlength","model-value"])]),_:1})]),_:1},8,["model"])}}}),nt={class:"size-full flex justify-center items-center overflow-hidden"},st=L({__name:"PanelMini",props:{isLoadDeps:{type:Boolean,default:()=>!1},allDepEntryNameToFile:{type:Object,default:()=>({})},bg:{type:String,default:()=>"#f5f7fa"},compItem:{type:Object,default:()=>({})},dep:{type:Object,default:()=>({})},signedUrls:{type:Array,default:()=>[]},bgColor:{type:String,default:()=>"#f5f7fa"}},setup(I){return(g,_)=>(d(),V("div",nt,[h("div",{class:"border-1 border-[#e4e7ed] rounded-md h-full max-h-[230px] w-[400px]",style:ue({backgroundColor:I.bg})},[I.isLoadDeps?(d(),w(ce,{key:0,previewItem:I.compItem,dep:I.dep,signedUrls:I.signedUrls,allDepEntryNameToFile:I.allDepEntryNameToFile,panelType:E(M).MINI},null,8,["previewItem","dep","signedUrls","allDepEntryNameToFile","panelType"])):J("",!0)],4)]))}}),rt=L({__name:"PanelFull",props:{isLoadDeps:{type:Boolean,default:()=>!1},allDepEntryNameToFile:{type:Object,default:()=>({})},bg:{type:String,default:()=>"#f5f7fa"},compItem:{type:Object,default:()=>({})},dep:{type:Object,default:()=>({})},signedUrls:{type:Array,default:()=>[]},bgColor:{type:String,default:()=>"#f5f7fa"}},setup(I){return(g,_)=>(d(),V("div",{class:"flex-1 border-1 border-[#e4e7ed] overflow-hidden rounded-md size-full",style:ue({backgroundColor:I.bg})},[I.isLoadDeps?(d(),w(ce,{key:0,previewItem:I.compItem,dep:I.dep,signedUrls:I.signedUrls,allDepEntryNameToFile:I.allDepEntryNameToFile,panelType:E(M).FULL},null,8,["previewItem","dep","signedUrls","allDepEntryNameToFile","panelType"])):J("",!0)],4))}}),it={class:"flex flex-col size-full overflow-auto"},ut={class:"flex flex-1 gap-[10px]"},ct={class:"flex-1 border-[1px] rounded-sm border-[#ccc] p-[5px]"},dt={class:"inline-block"},pt={class:"flex-1 border-[1px] rounded-sm border-[#ccc] p-[5px]"},mt={class:"inline-block"},ft={class:"text-center"},_t={class:"flex-1 border-[1px] rounded-sm border-[#ccc] p-[5px]"},vt={class:"inline-block"},ht={class:"flex"},yt={class:"w-[300px]"},bt={key:0},gt=L({__name:"index",setup(I){const g=Y("callbacks"),_=G(),n=T({}),u=U(()=>_.compDep),r=U(()=>_.onlineCompDep),i=U(()=>{const l={};if(ee.keys(r.value).length===0&&_.compDialogType==="EDIT")return l;for(const s in u.value){const p=u.value[s],o={},m=r.value[s];m?m.version!==p.version?(o.type="change",o.selectedVersion=n.value[s]||"",o.versions=[{version:p.version,type:"local"},{version:m.version,type:"online"}]):(o.selectedVersion=p.version,o.type="consistent"):(o.selectedVersion=p.version,o.type="add"),l[s]=o}return l});function C(l,s){n.value[l]=s}function f(){const l=Object.keys(u.value),s=Object.keys(n.value);return s.length===0||l.length!==s.length?!1:Object.values(n.value).every(p=>!!p)}return B(()=>i.value,l=>{for(const s in l){const p=l[s];p.type!=="change"&&(n.value[s]=p.selectedVersion)}},{immediate:!0,deep:!0}),oe(()=>{_.setAffirmCompDep(ee.cloneDeep(n.value))}),g.set(A.CHECK_AFFIRM_VERSION,f),(l,s)=>{const p=y("el-descriptions-item"),o=y("el-descriptions"),m=y("Bottom"),$=y("el-icon"),P=y("el-radio"),c=y("el-radio-group"),v=y("el-tag");return d(),V("div",it,[h("div",ut,[h("div",ct,[h("div",null,[e(o,{title:"本地依赖",column:1,border:"","label-width":"auto"},{default:t(()=>[(d(!0),V(z,null,K(u.value,(b,O)=>(d(),w(p,{key:O},{label:t(()=>[h("div",dt,N(O),1)]),default:t(()=>[D(" "+N(b.version),1)]),_:2},1024))),128))]),_:1})])]),h("div",pt,[e(Ae,{isEmpty:Object.keys(r.value).length===0},{"empty-content":t(()=>[...s[0]||(s[0]=[h("div",{class:"size-full flex justify-center items-center text-[#999]"},"暂无数据!",-1)])]),default:t(()=>[e(o,{title:"线上依赖",column:1,border:"","label-width":"auto"},{default:t(()=>[(d(!0),V(z,null,K(r.value,(b,O)=>(d(),w(p,{key:O},{label:t(()=>[h("div",mt,N(O),1)]),default:t(()=>[D(" "+N(b.version),1)]),_:2},1024))),128))]),_:1})]),_:1},8,["isEmpty"])])]),h("div",ft,[e($,{style:{"font-size":"34px"}},{default:t(()=>[e(m)]),_:1})]),h("div",_t,[e(o,{title:"最终依赖",column:1,border:"","label-width":"auto"},{default:t(()=>[(d(!0),V(z,null,K(i.value,(b,O)=>(d(),w(p,{key:O},{label:t(()=>[h("div",vt,N(O),1)]),default:t(()=>{var S;return[h("div",ht,[h("div",yt,[(S=b.versions)!=null&&S.length?(d(),w(c,{key:1,"model-value":b.selectedVersion,onChange:k=>C(O,k),size:"small",class:"ml-[10px]"},{default:t(()=>[(d(!0),V(z,null,K(b.versions,k=>(d(),w(P,{key:k.version,label:k.version},{default:t(()=>[h("span",null,N(k.type==="local"?"本地:":"线上:")+" "+N(k.version),1)]),_:2},1032,["label"]))),128))]),_:2},1032,["model-value","onChange"])):(d(),V("span",bt,N(b.selectedVersion),1))]),h("div",null,[b.type==="consistent"?(d(),w(v,{key:0,type:"info"},{default:t(()=>[...s[1]||(s[1]=[D("版本一致",-1)])]),_:1})):b.type==="change"?(d(),w(v,{key:1,type:"danger"},{default:t(()=>[...s[2]||(s[2]=[D("版本变化,请手动选择最终版本",-1)])]),_:1})):b.type==="add"?(d(),w(v,{key:2,type:"success"},{default:t(()=>[...s[3]||(s[3]=[D("新增依赖",-1)])]),_:1})):J("",!0)])])]}),_:2},1024))),128))]),_:1})])])}}}),xt=["id"],Ct={class:"custom-style flex w-full justify-start gap-[10px] items-center mb-[2px] mt-[5px] h-[30px]"},It={class:"flex-1 overflow-auto"},Et={class:"flex justify-end mt-[5px]"},kt=L({__name:"index",emits:["confirmUpload"],setup(I,{emit:g}){const _=g,n=G(),u=ae(new Map);Fe("callbacks",u);const r=T({}),i=T(),C=T([{label:"小窗面板",value:M.MINI},{label:"全屏面板",value:M.FULL}]),f=U(()=>n.previewList.map(c=>{const v=r.value[c.uuid]||M.MINI;let b="";return v===M.MINI&&c.entryUrl?b=c.entryUrl:v===M.FULL&&c.fullEntryUrl&&(b=c.fullEntryUrl),{uuid:c.uuid,entryUrl:b,activeTab:v}})),l=U(()=>n.compDep||{});function s(c){var b;if(!c)return;const v=r.value[c]||M.MINI;(b=u.get(`${A.AFTER_COMP_RENDER_RETRY}_${c}`))==null||b(v)}function p(c,v){c.uuid&&(r.value[c.uuid]=v)}function o(c){n.setActiveName(c)}function m(c){n.setCompCarouselIndex(c)}async function $(){var c;for(const v of u.keys())if(v.startsWith(A.GET_COMP_ERROR)&&((c=u.get(v))==null?void 0:c()))return!0;return!1}async function P(c){var k,F,a,x;if(c.start(),!await((k=u.get(A.CHECK_COMP_CONFIG))==null?void 0:k())){n.setActiveName(j.CONFIG),c.end();return}if(await $()){W.error("请先处理编译错误"),c.end();return}if(!await((F=u.get(A.CHECK_PREVIEW_LIST_FORM))==null?void 0:F())){c.end();return}if(!await((a=u.get(A.CHECK_EXTRA_INFO_FORM))==null?void 0:a())){c.end();return}if(!await((x=u.get(A.CHECK_AFFIRM_VERSION))==null?void 0:x())){n.setActiveName(j.DEPS),c.end();return}_("confirmUpload",{end:c.end})}return B(()=>n.compCarouselIndex,async(c,v)=>{var b;c!==v&&((b=i.value)==null||b.setActiveItem(c))}),B(()=>n.editCompId,async c=>{if(!c)return;const v=await $e({compId:c}),{desc:b,previewConfigs:O,bgColor:S,dep:k}=v.data;n.setExtraInfo({description:b});const F=O.map(a=>({uuid:a.id,desc:a.desc,path:a.path||[],fullPath:a.fullPath||[]}));n.setPreviewCompList(F),n.setCompBgColor(S??"#fff"),n.setOnlineCompDep(k||{})},{immediate:!0}),(c,v)=>{const b=y("el-segmented"),O=y("el-button"),S=y("el-splitter-panel"),k=y("el-badge"),F=y("el-tab-pane"),a=y("el-tabs"),x=y("el-splitter");return d(),w(x,{class:"size-full",layout:"vertical"},{default:t(()=>[e(S,{class:"h-full border-1 border-[#ccc] rounded-sm",size:400,min:400},{default:t(()=>[e(Me,{previews:f.value,dep:l.value,bgColor:E(n).compBgColor,ref_key:"compCarouselRef",ref:i,arrow:"always",onChange:m},{editMode:t(({compItem:R,dep:H,signedUrls:X,bg:q,allDepEntryNameToFile:Q,isLoadDeps:de})=>[h("div",{class:"size-full border-1 border-[#ccc] rounded-md flex flex-col items-start bg-[#fff] overflow-hidden",id:R.uuid},[h("div",Ct,[e(b,{"model-value":R.activeTab,onChange:ne=>p(R,ne),options:C.value},null,8,["model-value","onChange","options"]),e(O,{class:"ml-auto",circle:"",icon:"refreshLeft",onClick:ne=>s(R.uuid)},null,8,["onClick"])]),(d(),w(Re,null,[(d(),w(Pe(R.activeTab===E(M).MINI?st:rt),De(Te({compItem:R,dep:H,signedUrls:X,bg:q,allDepEntryNameToFile:Q,isLoadDeps:de})),null,16))],1024))],8,xt)]),_:1},8,["previews","dep","bgColor"])]),_:1}),e(S,{class:"flex flex-col size-full border-1 border-[#ccc] rounded-sm p-[5px]",collapsible:""},{default:t(()=>[h("div",It,[e(a,{"model-value":E(n).activeName,class:"h-full",onTabChange:o,type:"border-card"},{default:t(()=>[e(F,{class:"h-full",name:E(j).PREVIEW},{label:t(()=>[e(k,{"is-dot":E(n).previewIsError},{default:t(()=>[...v[0]||(v[0]=[D("预览配置",-1)])]),_:1},8,["is-dot"])]),default:t(()=>[e(ot)]),_:1},8,["name"]),e(F,{class:"h-full",name:E(j).EXTRA},{label:t(()=>[e(k,{"is-dot":E(n).extraIsError},{default:t(()=>[...v[1]||(v[1]=[D("附加信息",-1)])]),_:1},8,["is-dot"])]),default:t(()=>[e(at,{modelValue:E(n).extraInfo},null,8,["modelValue"])]),_:1},8,["name"]),e(F,{class:"h-full",name:E(j).CONFIG},{label:t(()=>[e(k,{"is-dot":E(n).configIsError},{default:t(()=>[...v[2]||(v[2]=[D("配置检查",-1)])]),_:1},8,["is-dot"])]),default:t(()=>[e(We)]),_:1},8,["name"]),e(F,{class:"h-full",label:"组件目录",name:E(j).DIR},{default:t(()=>[e(qe)]),_:1},8,["name"]),e(F,{class:"h-full",name:E(j).DEPS},{label:t(()=>[e(k,{"is-dot":E(n).compDepIsError},{default:t(()=>[...v[3]||(v[3]=[D("组件依赖",-1)])]),_:1},8,["is-dot"])]),default:t(()=>[e(gt)]),_:1},8,["name"])]),_:1},8,["model-value"])]),h("div",Et,[e(Ue,null,{default:t(({instance:R,loading:H})=>[e(O,{loading:H,type:"primary",onClick:X=>P(R)},{default:t(()=>[D(N(E(n).compSubmitBtnText),1)]),_:1},8,["loading","onClick"])]),_:1})])]),_:1})]),_:1})}}}),Pt=le(kt,[["__scopeId","data-v-5f007e36"]]);export{Pt as C};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.unclickable[data-v-ca6e9327]{cursor:not-allowed;background-color:#0000004d;z-index:999}
|