import{c as r,g as n}from"./p-BFTU3MAI.js";var t,u,f=n(function(){if(u)return t;u=1;var n=1/0,f=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,c="\\ud800-\\udfff",a="\\u0300-\\u036f\\ufe20-\\ufe23",d="\\u20d0-\\u20f0",v="\\ufe0e\\ufe0f",p="["+c+"]",s="["+a+d+"]",b="\\ud83c[\\udffb-\\udfff]",y="[^"+c+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",g="\\u200d",m="(?:"+s+"|"+b+")?",h="["+v+"]?",x=h+m+"(?:"+g+"(?:"+[y,l,j].join("|")+")"+h+m+")*",N="(?:"+[y+s+"?",s,l,j,p].join("|")+")",$=RegExp(b+"(?="+b+")|"+N+x,"g"),M=RegExp("["+g+c+a+d+v+"]"),O=parseInt,A="object"==typeof self&&self&&self.Object===Object&&self,E="object"==typeof r&&r&&r.Object===Object&&r||A||Function("return this")(),F=function(r){return null==r?void 0:r.length};function I(r){return M.test(r)}function R(r){return I(r)?function(r){for(var n=$.lastIndex=0;$.test(r);)n++;return n}(r):F(r)}var w=Object.prototype.toString,B=E.Symbol,S=Math.ceil,T=Math.floor,U=B?B.prototype:void 0,k=U?U.toString:void 0;function q(r,n){var t="";if(!r||n<1||n>9007199254740991)return t;do{n%2&&(t+=r),(n=T(n/2))&&(r+=r)}while(n);return t}function z(r){if("string"==typeof r)return r;if(D(r))return k?k.call(r):"";var n=r+"";return"0"==n&&1/r==-1/0?"-0":n}function C(r){var n=typeof r;return!!r&&("object"==n||"function"==n)}function D(r){return"symbol"==typeof r||function(r){return!!r&&"object"==typeof r}(r)&&"[object Symbol]"==w.call(r)}return t=function(r,t,u){var c;r=null==(c=r)?"":z(c);var a=(t=function(r){var t=function(r){return r?(r=function(r){if("number"==typeof r)return r;if(D(r))return NaN;if(C(r)){var n="function"==typeof r.valueOf?r.valueOf():r;r=C(n)?n+"":n}if("string"!=typeof r)return 0===r?r:+r;r=r.replace(f,"");var t=o.test(r);return t||i.test(r)?O(r.slice(2),t?2:8):e.test(r)?NaN:+r}(r))===n||r===-1/0?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}(r),u=t%1;return t==t?u?t-u:t:0}(t))?R(r):0;return t&&a<t?function(r,n){var t=(n=void 0===n?" ":z(n)).length;if(t<2)return t?q(n,r):n;var u=q(n,S(r/R(n)));return I(n)?function(r,n,t){var u=r.length;return(t=void 0===t?u:t)>=u?r:function(r,n,t){var u=-1,f=r.length;n<0&&(n=-n>f?0:f+n),(t=t>f?f:t)<0&&(t+=f),f=n>t?0:t-n>>>0,n>>>=0;for(var e=Array(f);++u<f;)e[u]=r[u+n];return e}(r,n,t)}(function(r){return I(r)?function(r){return r.match($)||[]}(r):function(r){return r.split("")}(r)}(u),0,r).join(""):u.slice(0,r)}(t-a,u)+r:r}}());export{f as p}