import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{ms as t,ps as n}from"./control-ui-core-pH6nakZ-.js";import{G as r,J as i,W as a}from"./lit-runtime-BEtFSUCp.js";import{Ft as o,Ht as s,Lt as c,Q as l,Rt as u,Z as d,qt as f}from"./control-ui-core-Br5DB0Zj.js";import{n as p,t as m}from"./channel-picker-DBMoQAsl.js";import{n as h,t as g}from"./select-picker-BINM0f88.js";function _(e){return`*`.repeat(Array.from(b.segment(e)).length)}function v(e){let t=e.closest(`[data-sensitive-input]`)?.querySelector(`[data-sensitive-mask-text]`);t&&(t.textContent=_(e.value),t.style.transform=`translateX(${-e.scrollLeft}px)`)}function y(e){let t=e.revealed?e.hideLabel:e.revealLabel,n=e.className?`oc-sensitive-input ${e.className}`:`oc-sensitive-input`,a=t=>{let n=t.currentTarget;v(n),e.onInput(n.value)},o=e=>{v(e.currentTarget)};return i`
`}var b;function x(){return(x=e((()=>{a(),u(),o(),b=new Intl.Segmenter(void 0,{granularity:`grapheme`})})))()}function S(e,t=f(`modelSetup.wizard.continue`)){return i`
`}function C(e,t){return`${e.presentation===`channels`?`channels-wizard`:`wizard-step`}__${t}`}function w(e){return e.step.message?i`