"use strict";(self.webpackChunkCCLibraries=self.webpackChunkCCLibraries||[]).push([[2668],{1640:(t,e,s)=>{s.r(e),s.d(e,{ActionMenu:()=>y});var o=s(12827),n=s(19392),i=s(30959),r=s(52185),l=s(71692),a=s(43053);(0,a.N)("sp-action-button",l.K);var c=s(6230),d=s(64210),h=s(8788);(0,a.N)("sp-icon-more",h.IconMore);const u=o.iv`
    :host{display:inline-flex}:host([quiet]){min-width:0}:host>sp-menu-1-0-228{display:none}::slotted([slot=icon]){flex-shrink:0}.icon{flex-shrink:0}#popover{max-width:none}:host([dir=ltr]) ::slotted([slot=icon]),:host([dir=ltr]) .icon{margin-left:calc(-1*(var(--spectrum-actionbutton-textonly-padding-left-adjusted) - var(--spectrum-actionbutton-padding-left-adjusted)))}:host([dir=rtl]) ::slotted([slot=icon]),:host([dir=rtl]) .icon{margin-right:calc(-1*(var(--spectrum-actionbutton-textonly-padding-left-adjusted) - var(--spectrum-actionbutton-padding-left-adjusted)))}:host([dir]) slot[icon-only]::slotted([slot=icon]),:host([dir]) slot[icon-only] .icon{margin-inline:calc(( var(--custom-actionbutton-edge-to-text,var(--spectrum-actionbutton-edge-to-text)) - var(--custom-actionbutton-edge-to-visual-only,var(--spectrum-actionbutton-edge-to-visual-only)))*-1)}sp-overlay-1-0-228:not(:defined){display:none}
`;var p=s(59052),b=Object.defineProperty,v=Object.getOwnPropertyDescriptor,g=(t,e,s,o)=>{for(var n,i=o>1?void 0:o?v(e,s):e,r=t.length-1;r>=0;r--)(n=t[r])&&(i=(o?n(e,s,i):n(i))||i);return o&&i&&b(e,s,i),i};class y extends((0,c.h)((0,d.o)(r.oS,"label"),'[slot="label-only"]')){constructor(){super(...arguments),this.selects=void 0,this.static=void 0,this.listRole="menu",this.itemRole="menuitem",this.handleSlottableRequest=t=>{this.dispatchEvent(new p.z(t.name,t.data))}}static get styles(){return[u]}get hasLabel(){return this.slotHasContent}get labelOnly(){return this.slotContentIsPresent}get buttonContent(){return[o.dy`
                ${this.labelOnly?o.dy``:o.dy`
                          <slot
                              name="icon"
                              slot="icon"
                              ?icon-only=${!this.hasLabel}
                              ?hidden=${this.labelOnly}
                          >
                              <sp-icon-more-1-0-228 class="icon"></sp-icon-more-1-0-228>
                          </slot>
                      `}
                <slot name="label" ?hidden=${!this.hasLabel}></slot>
                <slot name="label-only"></slot>
                <slot
                    name="tooltip"
                    @slotchange=${this.handleTooltipSlotchange}
                ></slot>
            `]}render(){return this.tooltipEl&&(this.tooltipEl.disabled=this.open),o.dy`
            <sp-action-button-1-0-228
                aria-describedby=${r.oO}
                ?quiet=${this.quiet}
                ?selected=${this.open}
                static=${(0,i.o)(this.static)}
                aria-haspopup="true"
                aria-controls=${(0,i.o)(this.open?"menu":void 0)}
                aria-expanded=${this.open?"true":"false"}
                aria-label=${(0,i.o)(this.label||void 0)}
                id="button"
                class="button"
                size=${this.size}
                @blur=${this.handleButtonBlur}
                @focus=${this.handleButtonFocus}
                @keydown=${{handleEvent:this.handleEnterKeydown,capture:!0}}
                ?disabled=${this.disabled}
            >
                ${this.buttonContent}
            </sp-action-button-1-0-228>
            ${this.renderMenu} ${this.renderDescriptionSlot}
        `}update(t){t.has("invalid")&&(this.invalid=!1),super.update(t)}}g([(0,n.Cb)({type:String})],y.prototype,"selects",2),g([(0,n.Cb)({type:String,reflect:!0})],y.prototype,"static",2),g([(0,n.SB)()],y.prototype,"labelOnly",1)},8788:(t,e,s)=>{s.r(e),s.d(e,{IconMore:()=>r});var o=s(12827),n=s(65851),i=s(60590);class r extends n.A{render(){return(0,i._)(o.dy),(({width:t=24,height:e=24,hidden:s=!1,title:o="More"}={})=>i.A`<svg
    xmlns="http://www.w3.org/2000/svg"
    width=${t}
    height=${e}
    viewBox="0 0 36 36"
    aria-hidden=${s?"true":"false"}
    role="img"
    fill="currentColor"
    aria-label=${o}
  >
    <circle cx="17.8" cy="18.2" r="3.4" />
    <circle cx="29.5" cy="18.2" r="3.4" />
    <circle cx="6.1" cy="18.2" r="3.4" />
  </svg>`)({hidden:!this.label,title:this.label})}}},59052:(t,e,s)=>{s.d(e,{p:()=>n,z:()=>o});class o extends Event{constructor(t,e,s){super("slottable-request",{bubbles:!1,cancelable:!0,composed:!1}),this.name=t,this.data=e,this.slotName=void 0!==s?`${t}.${s}`:t}}const n=Symbol("remove-slottable-request")},6230:(t,e,s)=>{s.d(e,{h:()=>i});var o=s(37792);const n=Symbol("slotContentIsPresent");function i(t,e){var s,i;const r=Array.isArray(e)?e:[e];class l extends(i=t,s=n,i){constructor(...t){super(t),this[s]=new Map,this.managePresenceObservedSlot=()=>{let t=!1;r.forEach((e=>{const s=!!this.querySelector(`:scope > ${e}`),o=this[n].get(e)||!1;t=t||o!==s,this[n].set(e,!!this.querySelector(`:scope > ${e}`))})),t&&this.updateComplete.then((()=>{this.requestUpdate()}))},new o._(this,{config:{childList:!0,subtree:!0},callback:()=>{this.managePresenceObservedSlot()}}),this.managePresenceObservedSlot()}get slotContentIsPresent(){if(1===r.length)return this[n].get(r[0])||!1;throw new Error("Multiple selectors provided to `ObserveSlotPresence` use `getSlotContentPresence(selector: string)` instead.")}getSlotContentPresence(t){if(this[n].has(t))return this[n].get(t)||!1;throw new Error(`The provided selector \`${t}\` is not being observed.`)}}return l}}}]);