PageSourceSearch

https://www.quantum-connections.net/_nuxt/CuwGpDdb.js

js quantum-connections.net collected 2026-10-07 20:00:30 UTC 3,377 bytes, 1 lines download raw bytes

1import{A as e,g as t,l as o}from"./BH9vJ0M6.js";import"./D9EA0-5R.js";import"./Cxg6ndrz.js";import{u as n}from"./akZkEsXX.js";import{D as c}from"./1qKMI8NB.js";import{s as l,a as s,c as a}from"./BL255WC8.js";function r(){const{deviceType:r}=function(){const{isMobile:t}=n(),o=e(()=>t.value?"mobile":"desktop");return{isMobile:t,deviceType:o}}(),i=e=>{const t={header:e.title,body:e.allowHtml?()=>o("div",{innerHTML:e.content}):e.content,confirmBtn:e.confirmButton?.text,cancelBtn:e.cancelButton?.text,onConfirm:async({e:t})=>{e.onConfirm&&await e.onConfirm()},width:e.width||"520px",zIndex:e.zIndex||2500,className:e.className,placement:e.placement,showOverlay:e.showOverlay??!0,closeOnOverlayClick:e.closeOnClickOverlay??!1,closeOnEscKeydown:!0,preventScrollThrough:e.lockScroll??!0,closeBtn:e.closeBtn??!0};return e.onCancel&&(t.onCancel=()=>{e.onCancel?.()},t.onClose=({trigger:t})=>{"overlay"!==t&&"esc"!==t&&"close-btn"!==t||e.onCancel?.()}),t},m=e=>({title:e.title,message:e.content,showCancelButton:e.showCancelButton??!0,showConfirmButton:e.showConfirmButton??!0,cancelButtonText:e.cancelButton?.text,confirmButtonText:e.confirmButton?.text,confirmButtonColor:"danger"===e.confirmButton?.theme?"#ee0a24":"var(--theme-c1)",onConfirm:async()=>{e.onConfirm&&await e.onConfirm()},onCancel:e.onCancel,beforeClose:e.beforeClose,overlay:e.overlay??!0,overlayClass:e.overlayClass,overlayStyle:e.overlayStyle,closeOnPopstate:e.closeOnPopstate??!0,closeOnClickOverlay:e.closeOnClickOverlay??!1,lockScroll:e.lockScroll??!0,allowHtml:e.allowHtml??!1,className:e.className,zIndex:e.zIndex});return{deviceType:r,confirm:e=>{const t="string"==typeof e?{content:e}:e;return"desktop"===r.value?c.confirm(i(t)):s(m(t))},alert:e=>{const t="string"==typeof e?{content:e}:e;return"desktop"===r.value?c.alert(i({...t,showCancelButton:!1})):l({...m(t),showCancelButton:!1})},prompt:e=>{console.warn("Prompt dialog not implemented yet")},success:e=>{const o="string"==typeof e?{content:e}:e,n=e=>{try{const{$i18n:o}=t();return o?.t?.(e)??e}catch{return e}},l=o.title??n("T_提交成功"),s=o.content?`<div class="adaptive-success-dialog__description">${o.content}</div>`:"";let a;const r=()=>a?.hide?.(),m=()=>(a=c.alert(i({...o,allowHtml:!0,closeBtn:!1,closeOnClickOverlay:!0,placement:"center",width:o.width??"320px",className:o.className??"adaptive-success-dialog",confirmButton:o.confirmButton??{text:n("T_我知道了")},onCancel:o.onCancel??r,onConfirm:async()=>{await(o.onConfirm?.()),r()},content:`<div class="adaptive-success-dialog__body" style="text-align: center">\n            <svg class="adaptive-success-dialog__icon" width="60" height="60" viewB
1ox="0 0 48 48" fill="none" aria-hidden="true">\n              <circle cx="24" cy="24" r="22" fill="#10b981" />\n              <path d="M14.5 24.5l6.5 6.5 12.5-13" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" />\n            </svg>\n            <div class="adaptive-success-dialog__title">${l}</div>\n            ${s}\n          </div>`})),a);if(o.delay&&o.delay>0){const e=setTimeout(()=>{m()},o.delay);return{hide:()=>{clearTimeout(e),a?.hide?.()}}}return m()},close:e=>{e?.hide?.(),a()}}}const i={confirm:e=>{const{confirm:t}=r();return t(e)},alert:e=>{const{alert:t}=r();return t(e)},success:e=>{const{success:t}=r();return t(e)},close:e=>{const{close:t}=r();return t(e)}};export{i as $,r as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.