System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js","./p-6333265f.system.js","./p-d6193876.system.js","./p-7efb8782.system.js"],(function(t){"use strict";var n,e,r,a,s,o,i,l,u,c;return{setters:[function(t){n=t.h;e=t.c;r=t.r},function(t){a=t.u;s=t.f;o=t.n},function(t){i=t._},function(t){l=t.g},function(t){u=t.u},function(t){c=t.u}],execute:function(){var p=function(t){var r=t.content,a=t.placement,s=t.textColor,o=s===void 0?"var(--sqm-text)":s;var i=!a||a==="top"||a==="bottom"?"var(--sl-spacing-x-large) 0;":"0 var(--sl-spacing-xx-large);";var l="\n    sl-tab-panel::part(base) {\n      padding: "+i+";\n    }\n\n    sl-tab::part(base) {\n      color: "+o+";\n      font-family: var(--sqm-primary-font);\n    }\n\n\n\n    sl-tab-group::part(tabs) {\n      border-bottom: 2px solid var(--sqm-border-color);\n      font-family: var(--sqm-primary-font);\n    }\n  ";return n(e,null,n("style",{type:"text/css"},l),n("sl-tab-group",{placement:a},r.tabs.map((function(t){var e=t.getAttribute("slot");if(t.tagName==="RAISINS-PLOP-TARGET"){return n("sl-tab",{slot:"nav"},n("div",{style:{marginTop:"10px"}},n("slot",{name:e})))}return[n("sl-tab",{slot:"nav",panel:e,part:"tab",id:t.getAttribute("id")||e},t.getAttribute("header")),n("sl-tab-panel",{name:e},n("slot",{name:e}))]}))),n("div",{style:{display:"none"}},n("slot",null)))};var f="sq:reveal";function v(){var t=c();var n=i();var e=u();var r=a((function(){return t.filter((function(t){return t.tagName==="SQM-TAB"||t.tagName==="RAISINS-PLOP-TARGET"})).map((function(t,n){if(t.tagName==="RAISINS-PLOP-TARGET"){var e=t;e.style.position="absolute";e.style.left="6px";var r=t.firstElementChild.childNodes[1];r.innerHTML="＋";r.style.lineHeight="20px"}t.setAttribute("slot","tab-"+n);t.setAttribute("id","tab-"+n);return t}))}),[t,e]);s((function(){var t=function(t){var e;var r=t.target;t.stopPropagation();if(!r)return;var a=r.closest("sqm-tabs");if(!n.contains(r)||!a)return;var s=r.closest("sqm-tab");var o=a.shadowRoot.querySelector("sl-tab-group");(e=o)===null||e===void 0?void 0:e.show(s.id)};n.addEventListener(f,t);return function(){n.removeEventListener(f,t)}}),[]);return{content:{tabs:r}}}var m=t("sqm_tabs",function(){function t(t){r(this,t);o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=v().content;var e=l(this),r=e.placement,a=e.textColor;return n(p,{placement:r,content:t,textColor:a},n("slot",null))};return t}())}}}));