module.exports=[30553,a=>{"use strict";var b=a.i(572131),c=a.i(935112),d=a.i(811011),e=a.i(187924),f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((a,c)=>{let f=(0,d.createSlot)(`Primitive.${c}`),g=b.forwardRef((a,b)=>{let{asChild:d,...g}=a;return(0,e.jsx)(d?f:c,{...g,ref:b})});return g.displayName=`Primitive.${c}`,{...a,[c]:g}},{});a.s(["Primitive",0,f,"dispatchDiscreteCustomEvent",0,function(a,b){a&&c.flushSync(()=>a.dispatchEvent(b))}])},669520,a=>{"use strict";let b=(0,a.i(170106).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",0,b],669520)},555211,a=>{"use strict";var b=a.i(187924),c=a.i(90408);let d={default:"bg-white dark:bg-gray-800 border border-border hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300",primary:"bg-blue-600 border border-blue-600 hover:bg-blue-700 text-white",destructive:"bg-white dark:bg-gray-800 border border-red-300 dark:border-red-600 hover:bg-red-50 dark:hover:bg-red-900/20 text-red-600 dark:text-red-400",accent:"bg-white dark:bg-gray-800 border border-blue-300 dark:border-blue-600 hover:bg-blue-50 dark:hover:bg-blue-900/20 text-blue-600 dark:text-blue-400",orange:"bg-white dark:bg-gray-800 border border-orange-300 dark:border-orange-700 hover:bg-orange-50 dark:hover:bg-orange-900/20 text-orange-600 dark:text-orange-400"};function e({onClick:a,disabled:f,title:g,icon:h,label:i,variant:j="default",className:k}){return(0,b.jsx)(c.HoverTooltip,{content:g??i,children:(0,b.jsxs)("button",{onClick:()=>a(),disabled:f,className:`flex items-center gap-1 px-2.5 py-1.5 text-xs rounded disabled:opacity-40 disabled:cursor-not-allowed whitespace-nowrap ${d[j]}${k?` ${k}`:""}`,children:[h,i]})})}function f(){return(0,b.jsx)("span",{className:"w-px h-5 bg-border mx-0.5 shrink-0"})}let g={default:"bg-gray-50 dark:bg-gray-700 border border-border hover:bg-gray-100 dark:hover:bg-gray-600 text-gray-700 dark:text-gray-200",primary:"bg-blue-600 border border-blue-600 hover:bg-blue-700 text-white",destructive:"bg-gray-50 dark:bg-gray-700 border border-red-300 dark:border-red-500 hover:bg-red-50 dark:hover:bg-red-900/30 text-red-600 dark:text-red-400",accent:"bg-gray-50 dark:bg-gray-700 border border-blue-300 dark:border-blue-500 hover:bg-blue-50 dark:hover:bg-blue-900/30 text-blue-600 dark:text-blue-400",orange:"bg-gray-50 dark:bg-gray-700 border border-orange-300 dark:border-orange-600 hover:bg-orange-50 dark:hover:bg-orange-900/30 text-orange-600 dark:text-orange-400"};function h({onClick:a,disabled:d,title:e,icon:f,label:i,variant:j="default"}){return(0,b.jsx)(c.HoverTooltip,{content:e??i,side:"right",children:(0,b.jsxs)("button",{onClick:()=>a(),disabled:d,className:`flex flex-col items-center gap-0.5 w-full px-1 py-1.5 text-[10px] leading-tight rounded disabled:opacity-40 disabled:cursor-not-allowed ${g[j]}`,children:[f,(0,b.jsx)("span",{children:i})]})})}a.s(["AdaptiveBtn",0,function(a){let{orientation:c,...d}=a;return"vertical"===c?(0,b.jsx)(h,{...d}):(0,b.jsx)(e,{...d})},"AdaptiveSeparator",0,function({orientation:a}){return"vertical"===a?(0,b.jsx)("span",{className:"w-full h-px bg-border my-0.5"}):(0,b.jsx)(f,{})}])},114548,a=>{"use strict";let b=(0,a.i(170106).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);a.s(["Save",0,b],114548)},701110,a=>{"use strict";let b=(0,a.i(170106).default)("undo-2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);a.s(["Undo2",0,b],701110)},467538,a=>{"use strict";var b=a.i(187924),c=a.i(669520),d=a.i(114548),e=a.i(701110),f=a.i(555211);a.s(["OidcActionPanel",0,function({position:a,save:g,refresh:h,discard:i,dirty:j,saving:k,loading:l,viewOnly:m=!1}){let n="left"===a||"right"===a?"vertical":"horizontal";return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(f.AdaptiveBtn,{orientation:n,onClick:g,disabled:!j||k||m,variant:"primary",icon:(0,b.jsx)(d.Save,{className:"w-4 h-4"}),label:k?"Saving...":"Save",title:"Save settings"}),(0,b.jsx)(f.AdaptiveBtn,{orientation:n,onClick:h,disabled:l,icon:(0,b.jsx)(c.RefreshCw,{className:"w-4 h-4"}),label:"Refresh",title:"Refresh settings"}),(0,b.jsx)(f.AdaptiveBtn,{orientation:n,onClick:i,disabled:!j||l,icon:(0,b.jsx)(e.Undo2,{className:"w-4 h-4"}),label:"Discard",title:"Discard unsaved changes"})]})}])}];

//# sourceMappingURL=_1opca8g._.js.map