wp-go/static/wp-includes/js/dist/components.min.js

45 lines
774 KiB
JavaScript
Raw Normal View History

2022-09-13 03:23:28 +00:00
/*! This file is auto-generated */
!function(){var e={5096:function(e){"use strict";function t(){return null}function n(){return t}t.isRequired=t,e.exports={and:n,between:n,booleanSome:n,childrenHavePropXorChildren:n,childrenOf:n,childrenOfType:n,childrenSequenceOf:n,componentWithName:n,disallowedIf:n,elementType:n,empty:n,explicitNull:n,forbidExtraProps:Object,integer:n,keysOf:n,mutuallyExclusiveProps:n,mutuallyExclusiveTrueProps:n,nChildren:n,nonNegativeInteger:t,nonNegativeNumber:n,numericString:n,object:n,or:n,predicate:n,range:n,ref:n,requiredBy:n,restrictedProp:n,sequenceOf:n,shape:n,stringEndsWith:n,stringStartsWith:n,uniqueArray:n,uniqueArrayOf:n,valuesOf:n,withShape:n}},4882:function(e,t,n){e.exports=n(5096)},4485:function(e,t,n){"use strict";var r=n(1539),o=n(6739),i=n(6448),a=n(1723),s=n(6840),l=n(1283);e.exports=function(){var e=l(this),t=s(i(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=a(arguments[0]));var u=r(e,0);return o(u,e,t,0,n),u}},116:function(e,t,n){"use strict";var r=n(9170),o=n(9961),i=n(4485),a=n(616),s=a(),l=n(2059),u=o(s);r(u,{getPolyfill:a,implementation:i,shim:l}),e.exports=u},9630:function(e,t,n){"use strict";var r=n(1801),o=n(9961),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},9961:function(e,t,n){"use strict";var r=n(1930),o=n(1801),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=s(r,a,arguments);if(l&&u){var n=l(t,"length");n.configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var d=function(){return s(r,i,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},4219:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=n(9828)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?r:f(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},8495:function(e,t,n){"use strict";n.r(t),n.d(t,{addEventListener:function(){return u}});var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var o=void 0;function i(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}()),o}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);a(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(o);var s=o.nextHandlers.indexOf(t);o.nextHandlers.splice(s,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};var l="__consolidated_events_handlers__";function u(e,t,n,r){e[l]||(e[l]=new s(e));var o=function(e){if(e)return i()?e:!!e.capture}(r);return e[l].add(t,n,o)}},9170:function(e,t,n){"use strict";var r=n(806),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),u=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)u(e,i[s],t[i[s]],n[i[s]])};c.supportsDescriptors=!!l,e.exports=c},8110:function(e){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (other) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},6789:function(e,t,n){"use strict";var r=n(9170),o=n(8110),i=n(8267),a=i(),s=function(e,t){return a.apply(e,[t])};r(s,{getPolyfill:i,implementation:o,shim:n(714)}),e.exports=s},8267:function(e,t,n){"use strict";var r=n(8110);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)try{if("boolean"==typeof document.body.contains.call(document,""))return document.body.contains}catch(e){}}return r}},714:function(e,t,n){"use strict";var r=n(9170),o=n(8267);e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},1345:function(e,t,n){"use strict";var r=n(5022);e.exports=function(e
/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),l=b("react.context"),u=b("react.forward_ref"),c=b("react.suspense"),d=b("react.suspense_list"),f=b("react.memo"),p=b("react.lazy"),h=b("react.block"),m=b("react.server.block"),v=b("react.fundamental"),g=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case p:case f:case s:return e;default:return t}}case r:return t}}}},2797:function(e,t,n){"use strict";n(9214)},2505:function(e,t,n){"use strict";var r=n(9284),o="function"==typeof Symbol&&"symbol"==typeof Symbol.unscopables,i=o&&Array.prototype[Symbol.unscopables],a=TypeError;e.exports=function(e){if("string"!=typeof e||!e)throw new a("method must be a non-empty string");if(!r(Array.prototype,e))throw new a("method must be on Array.prototype");o&&(i[e]=!0)}},5249:function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(3777),i=n(5443),a=n(8659),s=n(3082),l=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,a,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(n=e[s[a]],i(n)&&(r=n.call(e),o(r)))return r;throw new TypeError("No default value")},u=function(e,t){var n=e[t];if(null!=n){if(!i(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}};e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=u(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var i=t.call(e,n);if(o(i))return i;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(a(e)||s(e))&&(n="string"),l(e,"default"===n?"number":n)}},3777:function(e){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},9930:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||r.call(i)!==o)throw new TypeError(t+i);for(var a,s=n.call(arguments,1),l=function(){if(this instanceof a){var t=i.apply(this,s.concat(n.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(n.call(arguments)))},u=Math.max(0,i.length-s.length),c=[],d=0;d<u;d++)c.push("$"+d);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(l),i.prototype){var f=function(){};f.prototype=i.prototype,a.prototype=new f,f.prototype=null}return a}},1930:function(e,t,n){"use strict";var r=n(9930);e.exports=Function.prototype.bind||r},1801:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=n(9905)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p=s("async function* () {}"),h=p?p.prototype:r,m=h?h.prototype:r,v="undefined"==typeof Uint8Array?r:f(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":s("async function () {}"),"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":m?f(m):r,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return _(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||_(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===v},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=_},338:function(e,t,n){"use strict";e.exports=n(4821)},9217:function(e){var t={invalidPredicate:"`predicate` must be a function",invalidPropValidator:"`propValidator` must be a function",requiredCore:"is marked as required",invalidTypeCore:"Invalid input type",predicateFailureCore:"Failed to succeed with predicate",anonymousMessage:"<<anonymous>>",baseInvalidMessage:"Invalid "};function n(e){if("function"!=typeof e)throw new Error(t.invalidPropValidator);var n=e.bind(null,!1,null);return n.isRequired=e.bind(null,!0,null),n.withPredicate=function(n){if("function"!=typeof n)throw new Error(t.invalidPredicate);var r=e.bind(null,!1,n);return r.isRequired=e.bind(null,!0,n),r},n}function r(e,n,r){return new Error("The prop `"+e+"` "+t.requiredCore+" in `"+n+"`, but its value is `"+r+"`.")}e.exports={constructPropValidatorVariations:n,createMomentChecker:function(e,o,i,a){return n((function(n,s,l,u,c,d,f){var p=l[u],h=typeof p,m=function(e,t,n,o){var i=void 0===o,a=null===o;if(e){if(i)return r(n,t,"undefined");if(a)return r(n,t,"null")}return i||a?null:-1}(n,c=c||t.anonymousMessage,f=f||u,p);if(-1!==m)return m;if(o&&!o(p))return new Error(t.invalidTypeCore+": `"+u+"` of type `"+h+"` supplied to `"+c+"`, expected `"+e+"`.");if(!i(p))return new Error(t.baseInvalidMessage+d+" `"+u+"` of type `"+h+"` supplied to `"+c+"`, expected `"+a+"`.");if(s&&!s(p)){var v=s.name||t.anonymousMessage;return new Error(t.baseInvalidMessage+d+" `"+u+"` of type `"+h+"` supplied to `"+c+"`. "+t.predicateFailureCore+" `"+v+"`.")}return null}))},messages:t}},6150:function(e,t,n){var r=n(6292),o=n(3416),i=n(9217);e.exports={momentObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:i.createMomentChecker("string",(function(e){return"string"==typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(functi
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var Fi=function(e,t){return Fi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Fi(e,t)};function ji(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Fi(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Bi=function(){return Bi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bi.apply(this,arguments)};function zi(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function Vi(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Hi(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Wi(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var Ui=("undefined"==typeof process||process.env,"production"),$i=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Ki={measureLayout:$i(["layout","layoutId","drag"]),animation:$i(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:$i(["exit"]),drag:$i(["drag","dragControls"]),focus:$i(["whileFocus"]),hover:$i(["whileHover","onHoverStart","onHoverEnd"]),tap:$i(["whileTap","onTap","onTapStart","onTapCancel"]),pan:$i(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:$i(["whileInView","onViewportEnter","onViewportLeave"])};var Gi=(0,b.createContext)({strict:!1}),qi=Object.keys(Ki),Yi=qi.length;var Xi=(0,b.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Zi=(0,b.createContext)({});var Ji=(0,b.createContext)(null),Qi="undefined"!=typeof document,ea=Qi?b.useLayoutEffect:b.useEffect,ta={current:null},na=!1;function ra(){return!na&&function(){if(na=!0,Qi)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return ta.current=e.matches};e.addListener(t),t()}else ta.current=!1}(),Hi((0,b.useState)(ta.current),1)[0]}function oa(e,t,n,r){var o,i,a=(0,b.useContext)(Gi),s=(0,b.useContext)(Zi).visualElement,l=(0,b.useContext)(Ji),u=(o=ra(),"never"!==(i=(0,b.useContext)(Xi).reducedMotion)&&("always"===i||o)),c=(0,b.useRef)(void 0);r||(r=a.renderer),!c.current&&r&&(c.current=r(e,{visualState:t,parent:s,props:n,presenceId:null==l?void 0:l.id,blockInitialAnimation:!1===(null==l?void 0:l.initial),shouldReduceMotion:u}));var d=c.current;return ea((function(){null==d||d.syncRender()})),(0,b.useEffect)((function(){var e;null===(e=null==d?void 0:d.animationState)||void 0===e||e.animateChanges()})),ea((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}function ia(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function aa(e){return Array.isArray(e)}function sa(e){return"string"==typeof e||aa(e)}function la(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),t}func
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
`,aD=Vn("svg",{target:"e1bj2jdf2"})("width:",$p.spinnerSize,"px;height:",$p.spinnerSize,"px;display:inline-block;margin:5px 11px 0;position:relative;color:var( --wp-admin-theme-color );overflow:visible;"),sD={name:"9s4963",styles:"fill:transparent;stroke-width:1.5px"},lD=Vn("circle",{target:"e1bj2jdf1"})(sD,";stroke:",zo.gray[300],";"),uD=Vn("path",{target:"e1bj2jdf0"})(sD,";stroke:currentColor;stroke-linecap:round;transform-origin:50% 50%;animation:1.4s linear infinite both ",iD,";");function cD(e){let{className:t,...n}=e;return(0,s.createElement)(aD,a({className:c()("components-spinner",t),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false"},n),(0,s.createElement)(lD,{cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,s.createElement)(uD,{d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"}))}var dD=On((function(e,t){const n=OE(e);return(0,s.createElement)(Wn,a({},n,{ref:t}))}),"Surface");const fD=e=>{let{tabId:t,onClick:n,children:r,selected:o,...i}=e;return(0,s.createElement)(Kn,a({role:"tab",tabIndex:o?null:-1,"aria-selected":o,id:t,onClick:n},i),r)};function pD(e){var t;let{className:n,children:r,tabs:o,initialTabName:i,orientation:a="horizontal",activeClass:u="is-active",onSelect:d=l.noop}=e;const p=(0,f.useInstanceId)(pD,"tab-panel"),[h,m]=(0,s.useState)(null),v=e=>{m(e),d(e)},g=(0,l.find)(o,{name:h}),y=`${p}-${null!==(t=null==g?void 0:g.name)&&void 0!==t?t:"none"}`;return(0,s.useEffect)((()=>{(0,l.find)(o,{name:h})||m(i||(o.length>0?o[0].name:null))}),[o]),(0,s.createElement)("div",{className:n},(0,s.createElement)(Xk,{role:"tablist",orientation:a,onNavigate:(e,t)=>{t.click()},className:"components-tab-panel__tabs"},o.map((e=>(0,s.createElement)(fD,{className:c()("components-tab-panel__tabs-item",e.className,{[u]:e.name===h}),tabId:`${p}-${e.name}`,"aria-controls":`${p}-${e.name}-view`,selected:e.name===h,key:e.name,onClick:(0,l.partial)(v,e.name)},e.title)))),g&&(0,s.createElement)("div",{key:y,"aria-labelledby":y,role:"tabpanel",id:`${y}-view`,className:"components-tab-panel__tab-content"},r(g)))}var hD=(0,s.forwardRef)((function e(t,n){let{label:r,hideLabelFromVision:o,value:i,help:l,className:u,onChange:c,type:d="text",...p}=t;const h=`inspector-text-control-${(0,f.useInstanceId)(e)}`;return(0,s.createElement)(gv,{label:r,hideLabelFromVision:o,id:h,help:l,className:u},(0,s.createElement)("input",a({className:"components-text-control__input",type:d,id:h,value:i,onChange:e=>c(e.target.value),"aria-describedby":l?h+"__help":void 0,ref:n},p)))}));const mD=Zr("box-shadow:0 0 0 transparent;transition:box-shadow 0.1s linear;border-radius:",$p.radiusBlockUi,";border:",$p.borderWidth," solid ",zo.ui.border,";",""),vD=Zr("border-color:var( --wp-admin-theme-color );box-shadow:0 0 0 calc( ",$p.borderWidthFocus," - ",$p.borderWidth," ) var( --wp-admin-theme-color );outline:2px solid transparent;","");var gD={huge:"1440px",wide:"1280px","x-large":"1080px",large:"960px",medium:"782px",small:"600px",mobile:"480px","zoomed-in":"280px"};const yD=Zr("font-family:",lv("default.fontFamily"),";padding:6px 8px;",mD,";font-size:",lv("mobileTextMinFontSize"),";line-height:normal;",`@media (min-width: ${gD["small"]})`,"{font-size:",lv("default.fontSize"),";line-height:normal;}&:focus{",vD,";}&::-webkit-input-placeholder{color:",zo.darkGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",zo.darkGray.placeholder,";}&:-ms-input-placeholder{color:",zo.darkGray.placeholder,";}.is-dark-theme &{&::-webkit-input-placeholder{color:",zo.lightGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",zo.lightGray.placeholder,";}&:-ms-input-placeholder{color:",zo.lightGray.placeholder,";}}","");const bD=Vn("textarea",{target:"ebk7yr50"})("width:100%;",yD,";");function wD(e){let{label:t,hideLabelFromVision:n,value:r,help:o,onChange:i,rows:l=4,className:u,...c}=e;const d=`inspector-textarea-control-${(0,f.useInstanceId)(wD)}`;return(0,s.createElement)(gv,{label:t,hideLabelFromVision:n,id:d,help:o,className:u},(0,s.createElement)(bD,a({className:"components-textarea-control__i