WordPress/wp-includes/js/dist/vendor/wp-polyfill.min.js

4 lines
90 KiB
JavaScript
Raw Normal View History

!function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var c="function"==typeof require&&require;if(!u&&c)return c(o,!0);if(i)return i(o,!0);var a=new Error("Cannot find module '"+o+"'");throw a.code="MODULE_NOT_FOUND",a}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(n){var r=t[o][1][n];return s(r||n)},f,f.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}return e}()({1:[function(t,n,r){(function(n){"use strict";t(2),t(3),t(9),t(8),t(10),t(5),t(6),t(4),t(7),t(275),t(276),n._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),n._babelPolyfill=!0}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{10:10,2:2,275:275,276:276,3:3,4:4,5:5,6:6,7:7,8:8,9:9}],2:[function(t,n,r){t(250),t(187),t(189),t(188),t(191),t(193),t(198),t(192),t(190),t(200),t(199),t(195),t(196),t(194),t(186),t(197),t(201),t(202),t(153),t(155),t(154),t(204),t(203),t(174),t(184),t(185),t(175),t(176),t(177),t(178),t(179),t(180),t(181),t(182),t(183),t(157),t(158),t(159),t(160),t(161),t(162),t(163),t(164),t(165),t(166),t(167),t(168),t(169),t(170),t(171),t(172),t(173),t(237),t(242),t(249),t(240),t(232),t(233),t(238),t(243),t(245),t(228),t(229),t(230),t(231),t(234),t(235),t(236),t(239),t(241),t(244),t(246),t(247),t(248),t(148),t(150),t(149),t(152),t(151),t(136),t(134),t(141),t(138),t(144),t(146),t(133),t(140),t(130),t(145),t(128),t(143),t(142),t(135),t(139),t(127),t(129),t(132),t(131),t(147),t(137),t(220),t(226),t(221),t(222),t(223),t(224),t(225),t(205),t(156),t(227),t(262),t(263),t(251),t(252),t(257),t(260),t(261),t(255),t(258),t(256),t(259),t(253),t(254),t(206),t(207),t(208),t(209),t(210),t(213),t(211),t(212),t(214),t(215),t(216),t(217),t(219),t(218),n.exports=t(29)},{127:127,128:128,129:129,130:130,131:131,132:132,133:133,134:134,135:135,136:136,137:137,138:138,139:139,140:140,141:141,142:142,143:143,144:144,145:145,146:146,147:147,148:148,149:149,150:150,151:151,152:152,153:153,154:154,155:155,156:156,157:157,158:158,159:159,160:160,161:161,162:162,163:163,164:164,165:165,166:166,167:167,168:168,169:169,170:170,171:171,172:172,173:173,174:174,175:175,176:176,177:177,178:178,179:179,180:180,181:181,182:182,183:183,184:184,185:185,186:186,187:187,188:188,189:189,190:190,191:191,192:192,193:193,194:194,195:195,196:196,197:197,198:198,199:199,200:200,201:201,202:202,203:203,204:204,205:205,206:206,207:207,208:208,209:209,210:210,211:211,212:212,213:213,214:214,215:215,216:216,217:217,218:218,219:219,220:220,221:221,222:222,223:223,224:224,225:225,226:226,227:227,228:228,229:229,230:230,231:231,232:232,233:233,234:234,235:235,236:236,237:237,238:238,239:239,240:240,241:241,242:242,243:243,244:244,245:245,246:246,247:247,248:248,249:249,250:250,251:251,252:252,253:253,254:254,255:255,256:256,257:257,258:258,259:259,260:260,261:261,262:262,263:263,29:29}],3:[function(t,n,r){t(264),n.exports=t(29).Array.includes},{264:264,29:29}],4:[function(t,n,r){t(265),n.exports=t(29).Object.entries},{265:265,29:29}],5:[function(t,n,r){t(266),n.exports=t(29).Object.getOwnPropertyDescriptors},{266:266,29:29}],6:[function(t,n,r){t(267),n.exports=t(29).Object.values},{267:267,29:29}],7:[function(t,n,r){"use strict";t(205),t(268),n.exports=t(29).Promise.finally},{205:205,268:268,29:29}],8:[function(t,n,r){t(269),n.exports=t(29).String.padEnd},{269:269,29:29}],9:[function(t,n,r){t(270),n.exports=t(29).String.padStart},{270:270,29:29}],10:[function(t,n,r){t(271),n.exports=t(124).f("asyncIterator")},{124:124,271:271}],11:[function(t,n,r){n.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],12:[function(t,n,r){var e=t(25);n.exports=function(t,n){if("number"!=typeof t&&"Numbe
;n.exports=function(t,n){if(!e(t))return t;var r,i;if(n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!e(i=r.call(t)))return i;if(!n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},{56:56}],117:[function(t,n,r){"use strict";if(t(35)){var e=t(64),i=t(45),o=t(41),u=t(39),c=t(119),a=t(118),f=t(31),s=t(14),l=t(91),h=t(47),p=t(92),v=t(112),y=t(114),d=t(111),g=t(110),m=t(116),x=t(46),b=t(24),w=t(56),S=t(115),_=t(53),E=t(73),F=t(80),O=t(78).f,P=t(126),I=t(120),A=t(125),M=t(19),k=t(18),N=t(100),j=t(137),T=t(63),L=t(61),R=t(96),C=t(17),D=t(16),G=t(74),W=t(76),U=G.f,V=W.f,B=i.RangeError,z=i.TypeError,q=i.Uint8Array,Y=Array.prototype,K=a.ArrayBuffer,J=a.DataView,H=M(0),X=M(2),Z=M(3),$=M(4),Q=M(5),tt=M(6),nt=k(!0),rt=k(!1),et=j.values,it=j.keys,ot=j.entries,ut=Y.lastIndexOf,ct=Y.reduce,at=Y.reduceRight,ft=Y.join,st=Y.sort,lt=Y.slice,ht=Y.toString,pt=Y.toLocaleString,vt=A("iterator"),yt=A("toStringTag"),dt=I("typed_constructor"),gt=I("def_constructor"),mt=c.CONSTR,xt=c.TYPED,bt=c.VIEW,wt=M(1,function(t,n){return Ot(N(t,t[gt]),n)}),St=o(function(){return 1===new q(new Uint16Array([1]).buffer)[0]}),_t=!!q&&!!q.prototype.set&&o(function(){new q(1).set({})}),Et=function(t,n){var r=v(t);if(r<0||r%n)throw B("Wrong offset!");return r},Ft=function(t){if(w(t)&&xt in t)return t;throw z(t+" is not a typed array!")},Ot=function(t,n){if(!(w(t)&&dt in t))throw z("It is not a typed array constructor!");return new t(n)},Pt=function(t,n){return It(N(t,t[gt]),n)},It=function(t,n){for(var r=0,e=n.length,i=Ot(t,e);e>r;)i[r]=n[r++];return i},At=function(t,n,r){U(t,n,{get:function(){return this._d[r]}})},Mt=function from(t){var n,r,e,i,o,u,c=S(t),a=arguments.length,s=a>1?arguments[1]:void 0,l=void 0!==s,h=P(c);if(void 0!=h&&!_(h)){for(u=h.call(c),e=[],n=0;!(o=u.next()).done;n++)e.push(o.value);c=e}for(l&&a>2&&(s=f(s,arguments[2],2)),n=0,r=y(c.length),i=Ot(this,r);r>n;n++)i[n]=l?s(c[n],n):c[n];return i},kt=function of(){for(var t=0,n=arguments.length,r=Ot(this,n);n>t;)r[t]=arguments[t++];return r},Nt=!!q&&o(function(){pt.call(new q(1))}),jt=function toLocaleString(){return pt.apply(Nt?lt.call(Ft(this)):Ft(this),arguments)},Tt={copyWithin:function copyWithin(t,n){return D.call(Ft(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function every(t){return $(Ft(this),t,arguments.length>1?arguments[1]:void 0)},fill:function fill(t){return C.apply(Ft(this),arguments)},filter:function filter(t){return Pt(this,X(Ft(this),t,arguments.length>1?arguments[1]:void 0))},find:function find(t){return Q(Ft(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function findIndex(t){return tt(Ft(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(t){H(Ft(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(t){return rt(Ft(this),t,arguments.length>1?arguments[1]:void 0)},includes:function includes(t){return nt(Ft(this),t,arguments.length>1?arguments[1]:void 0)},join:function join(t){return ft.apply(Ft(this),arguments)},lastIndexOf:function lastIndexOf(t){return ut.apply(Ft(this),arguments)},map:function map(t){return wt(Ft(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function reduce(t){return ct.apply(Ft(this),arguments)},reduceRight:function reduceRight(t){return at.apply(Ft(this),arguments)},reverse:function reverse(){for(var t,n=this,r=Ft(n).length,e=Math.floor(r/2),i=0;i<e;)t=n[i],n[i++]=n[--r],n[r]=t;return n},some:function some(t){return Z(Ft(this),t,arguments.length>1?arguments[1]:void 0)},sort:function sort(t){return st.call(Ft(this),t)},subarray:function subarray(t,n){var r=Ft(this),e=r.length,i=g(t,e);return new(N(r,r[gt]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,y((void 0===n?e:g(n,e))-i))}},Lt=function slice(t,n){return Pt(this,lt.call(Ft(this),t,n))},Rt=function set(t){Ft(this);var n=Et(arguments[1],1),r=this.length,e=S(t),i=y(e.length),o=0;if(i+n>r)throw B("Wrong length!");for(;o<i;)this[n+o]=e[o++]},Ct={entries:function entries(){return ot.call(Ft(this))},keys:function k
;e(e.S+e.F*!t(41)(function(){u(function(){})}),"Reflect",{apply:function apply(t,n,r){var e=i(t),a=o(r);return u?u(e,n,a):c.call(e,n,a)}})},{11:11,15:15,39:39,41:41,45:45}],207:[function(t,n,r){var e=t(39),i=t(73),o=t(11),u=t(15),c=t(56),a=t(41),f=t(23),s=(t(45).Reflect||{}).construct,l=a(function(){function F(){}return!(s(function(){},[],F)instanceof F)}),h=!a(function(){s(function(){})});e(e.S+e.F*(l||h),"Reflect",{construct:function construct(t,n){o(t),u(n);var r=arguments.length<3?t:o(arguments[2]);if(h&&!l)return s(t,n,r);if(t==r){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var e=[null];return e.push.apply(e,n),new(f.apply(t,e))}var a=r.prototype,p=i(c(a)?a:Object.prototype),v=Function.apply.call(t,p,n);return c(v)?v:p}})},{11:11,15:15,23:23,39:39,41:41,45:45,56:56,73:73}],208:[function(t,n,r){var e=t(74),i=t(39),o=t(15),u=t(116);i(i.S+i.F*t(41)(function(){Reflect.defineProperty(e.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function defineProperty(t,n,r){o(t),n=u(n,!0),o(r);try{return e.f(t,n,r),!0}catch(t){return!1}}})},{116:116,15:15,39:39,41:41,74:74}],209:[function(t,n,r){var e=t(39),i=t(76).f,o=t(15);e(e.S,"Reflect",{deleteProperty:function deleteProperty(t,n){var r=i(o(t),n);return!(r&&!r.configurable)&&delete t[n]}})},{15:15,39:39,76:76}],210:[function(t,n,r){"use strict";var e=t(39),i=t(15),o=function(t){this._t=i(t),this._i=0;var n,r=this._k=[];for(n in t)r.push(n)};t(59)(o,"Object",function(){var t,n=this,r=n._k;do{if(n._i>=r.length)return{value:void 0,done:!0}}while(!((t=r[n._i++])in n._t));return{value:t,done:!1}}),e(e.S,"Reflect",{enumerate:function enumerate(t){return new o(t)}})},{15:15,39:39,59:59}],211:[function(t,n,r){var e=t(76),i=t(39),o=t(15);i(i.S,"Reflect",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(t,n){return e.f(o(t),n)}})},{15:15,39:39,76:76}],212:[function(t,n,r){var e=t(39),i=t(80),o=t(15);e(e.S,"Reflect",{getPrototypeOf:function getPrototypeOf(t){return i(o(t))}})},{15:15,39:39,80:80}],213:[function(t,n,r){function get(t,n){var r,u,f=arguments.length<3?t:arguments[2];return a(t)===f?t[n]:(r=e.f(t,n))?o(r,"value")?r.value:void 0!==r.get?r.get.call(f):void 0:c(u=i(t))?get(u,n,f):void 0}var e=t(76),i=t(80),o=t(46),u=t(39),c=t(56),a=t(15);u(u.S,"Reflect",{get:get})},{15:15,39:39,46:46,56:56,76:76,80:80}],214:[function(t,n,r){var e=t(39);e(e.S,"Reflect",{has:function has(t,n){return n in t}})},{39:39}],215:[function(t,n,r){var e=t(39),i=t(15),o=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function isExtensible(t){return i(t),!o||o(t)}})},{15:15,39:39}],216:[function(t,n,r){var e=t(39);e(e.S,"Reflect",{ownKeys:t(86)})},{39:39,86:86}],217:[function(t,n,r){var e=t(39),i=t(15),o=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function preventExtensions(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},{15:15,39:39}],218:[function(t,n,r){var e=t(39),i=t(95);i&&e(e.S,"Reflect",{setPrototypeOf:function setPrototypeOf(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},{39:39,95:95}],219:[function(t,n,r){function set(t,n,r){var c,l,h=arguments.length<4?t:arguments[3],p=i.f(f(t),n);if(!p){if(s(l=o(t)))return set(l,n,r,h);p=a(0)}if(u(p,"value")){if(!1===p.writable||!s(h))return!1;if(c=i.f(h,n)){if(c.get||c.set||!1===c.writable)return!1;c.value=r,e.f(h,n,c)}else e.f(h,n,a(0,r));return!0}return void 0!==p.set&&(p.set.call(h,r),!0)}var e=t(74),i=t(76),o=t(80),u=t(46),c=t(39),a=t(91),f=t(15),s=t(56);c(c.S,"Reflect",{set:set})},{15:15,39:39,46:46,56:56,74:74,76:76,80:80,91:91}],220:[function(t,n,r){var e=t(45),i=t(50),o=t(74).f,u=t(78).f,c=t(57),a=t(43),f=e.RegExp,s=f,l=f.prototype,h=/a/g,p=/a/g,v=new f(h)!==h;if(t(35)&&(!v||t(41)(function(){return p[t(125)("match")]=!1,f(h)!=h||f(p)==p||"/a/i"!=f(h,"i")}))){f=function RegExp(t,n){var r=this instanceof f,e=c(t),o=void 0===n;return!r&&e&&t.constructor===f&&o?t:i(v?new s(e&&!o?t.source:t,n):s((e=t instanceof f)?t.source:t,e&&o?a.call(t):n),r?this:l,f)};for(var y=u(s),d