| 34 | - { placeholderPattern: /^`+s+"$/ }")}}),Object.keys(r).forEach(function(n){if(!e.placeholderNames.has(n))throw new Error('Unknown substitution "'+n+'" given')})),e.placeholders.slice().reverse().forEach(function(n){try{cFe(n,t,r&&r[n.name]||null)}catch(s){throw s.message='@babel/template placeholder "'+n.name+'": '+s.message,s}}),t}function cFe(e,r,t){e.isDuplicate&&(Array.isArray(t)?t=t.map(function(u){return O1(u)}):typeof t=="object"&&(t=O1(t)));var n=e.resolve(r),s=n.parent,a=n.key,i=n.index;if(e.type==="string"){if(typeof t=="string"&&(t=lFe(t)),!t||!dFe(t))throw new Error("Expected string substitution")}else if(e.type==="statement")i===void 0?t?Array.isArray(t)?t=oFe(t):typeof t=="string"?t=_1(cl(t)):n5(t)||(t=_1(t)):t=uFe():t&&!Array.isArray(t)&&(typeof t=="string"&&(t=cl(t)),n5(t)||(t=_1(t)));else if(e.type==="param"){if(typeof t=="string"&&(t=cl(t)),i===void 0)throw new Error("Assertion failure.")}else if(typeof t=="string"&&(t=cl(t)),Array.isArray(t))throw new Error("Cannot replace single expression with an array.");if(i===void 0)s5(s,a,t),s[a]=t;else{var o=s[a].slice();e.type==="statement"||e.type==="param"?t==null?o.splice(i,1):Array.isArray(t)?o.splice.apply(o,[i,1].concat(De(t))):o[i]=t:o[i]=t,s5(s,a,o),s[a]=o}}function o5(e,r,t){r=e.code(r);var n;return function(s){var a=r5(s);return n||(n=a5(e,r,t)),e.unwrap(i5(n,a))}}function u5(e,r,t){var n=xFe(e,r,t),s=n.metadata,a=n.names;return function(i){var o={};return i.forEach(function(u,d){o[a[d]]=u}),function(u){var d=r5(u);return d&&Object.keys(d).forEach(function(l){if(hasOwnProperty.call(o,l))throw new Error("Unexpected replacement overlap.")}),e.unwrap(i5(s,d?Object.assign(d,o):o))}}}function xFe(e,r,t){var n="BABEL_TPL$",s=r.join("");do n="$$"+n;while(s.includes(n));var a=DFe(r,n),i=a.names,o=a.code,u=a5(e,e.code(o),{parser:t.parser,placeholderWhitelist:new Set(i.concat(t.placeholderWhitelist?Array.from(t.placeholderWhitelist):[])),placeholderPattern:t.placeholderPattern,preserveComments:t.preserveComments,syntacticPlaceholders:t.syntacticPlaceholders});return{metadata:u,names:i}}function DFe(e,r){for(var t=[],n=e[0],s=1;s<e.length;s++){var a=""+r+(s-1);t.push(a),n+=a+e[s]}return{names:t,code:n}}var d5=Fu({placeholderPattern:!1});function Mi(e,r){var t=new WeakMap,n=new WeakMap,s=r||Fu(null);return Object.assign(function(a){for(var i=arguments.length,o=new Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];if(typeof a=="string"){if(o.length>1)throw new Error("Unexpected extra params.");return l5(o5(e,a,gu(s,Fu(o[0]))))}else if(Array.isArray(a)){var d=t.get(a);return d||(d=u5(e,a,s),t.set(a,d)),l5(d(o))}else if(typeof a=="object"&&a){if(o.length>0)throw new Error("Unexpected extra params.");return Mi(e,gu(s,Fu(a)))}throw new Error("Unexpected template param "+typeof a)},{ast:function(i){for(var o=arguments.length,u=new Array(o>1?o-1:0),d=1;d<o;d++)u[d-1]=arguments[d];if(typeof i=="string"){if(u.length>1)throw new Error("Unexpected extra params.");return o5(e,i,gu(gu(s,Fu(u[0])),d5))()}else if(Array.isArray(i)){var l=n.get(i);return l||(l=u5(e,i,gu(s,d5)),n.set(i,l)),l(u)()}throw new Error("Unexpected template param "+typeof i)}})}function l5(e){var r="";try{throw new Error}catch(t){t.stack&&(r=t.stack.split(` |