"use strict";var wp;(wp||={}).shortcode=(()=>{var h=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var $=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var z=(e,n)=>{for(var s in n)h(e,s,{get:n[s],enumerable:!0})},O=(e,n,s,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of $(n))!j.call(e,t)&&t!==s&&h(e,t,{get:()=>n[t],enumerable:!(i=b(n,t))||i.enumerable});return e};var E=e=>O(h({},"__esModule",{value:!0}),e);var L={};z(L,{attrs:()=>m,default:()=>C,fromMatch:()=>f,next:()=>x,regexp:()=>c,replace:()=>w,string:()=>y});function v(e,n){var s=0,i,t;n=n||{};function a(){var r=i,u=arguments.length,l,o;e:for(;r;){if(r.args.length!==arguments.length){r=r.next;continue}for(o=0;o{let n={},s=[],i=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;e=e.replace(/[\u00a0\u200b]/g," ");let t;for(;t=i.exec(e);)t[1]?n[t[1].toLowerCase()]=t[2]:t[3]?n[t[3].toLowerCase()]=t[4]:t[5]?n[t[5].toLowerCase()]=t[6]:t[7]?s.push(t[7]):t[8]?s.push(t[8]):t[9]&&s.push(t[9]);return{named:n,numeric:s}});function f(e){let n;return e[4]?n="self-closing":e[6]?n="closed":n="single",new g({tag:e[2],attrs:e[3],type:n,content:e[5]})}var g=Object.assign(function(e){let{tag:n,attrs:s,type:i,content:t}=e||{};if(Object.assign(this,{tag:n,type:i,content:t}),this.attrs={named:{},numeric:[]},!s)return;let a=["named","numeric"];typeof s=="string"?this.attrs=m(s):s.length===a.length&&a.every((r,u)=>r===s[u])?this.attrs=s:Object.entries(s).forEach(([r,u])=>{this.set(r,u)})},{next:x,replace:w,string:y,regexp:c,attrs:m,fromMatch:f});Object.assign(g.prototype,{get(e){return this.attrs[typeof e=="number"?"numeric":"named"][e]},set(e,n){return this.attrs[typeof e=="number"?"numeric":"named"][e]=n,this},string(){let e="["+this.tag;return this.attrs.numeric.forEach(n=>{/\s/.test(n)?e+=' "'+n+'"':e+=" "+n}),Object.entries(this.attrs.named).forEach(([n,s])=>{e+=" "+n+'="'+s+'"'}),this.type==="single"?e+"]":this.type==="self-closing"?e+" /]":(e+="]",this.content&&(e+=this.content),e+"[/"+this.tag+"]")}});var C=g;return E(L);})(); if (typeof wp.shortcode === 'object' && wp.shortcode.default) { wp.shortcode = wp.shortcode.default; }