%PDF- %PDF-
Direktori : /home/dopla/www/wp-includes/js/dist/ |
Current File : /home/dopla/www/wp-includes/js/dist/core-data.min.js |
this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="dsJ0")}({"0xFR":function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},"1ZqX":function(e,t){!function(){e.exports=this.wp.data}()},"25BE":function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},ANjH:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return p}));var r=n("DbnI"),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function u(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function a(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,s=t,f=[],d=f,l=!1;function p(){d===f&&(d=f.slice())}function h(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return s}function v(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return p(),d.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,p();var n=d.indexOf(e);d.splice(n,1)}}}function b(e){if(!u(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,s=c(s,e)}finally{l=!1}for(var t=f=d,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,b({type:o.REPLACE})}function m(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e}return b({type:o.INIT}),(i={dispatch:b,subscribe:v,getState:h,replaceReducer:y})[r.a]=m,i}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function s(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var u,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:o.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){u=e}return function(e,t){if(void 0===e&&(e={}),u)throw u;for(var r=!1,i={},o=0;o<a.length;o++){var s=a[o],f=n[s],d=e[s],l=f(d,t);if(void 0===l){var p=c(s,t);throw new Error(p)}i[s]=l,r=r||l!==d}return r?i:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){f(e,t,n[t])}))}return e}function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return d({},n,{dispatch:r=l.apply(void 0,o)(n.dispatch)})}}}},DSFK:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},DbnI:function(e,t,n){"use strict";(function(e,r){var i,o=n("0xFR");i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var u=Object(o.a)(i);t.a=u}).call(this,n("yLpj"),n("3UD+")(e))},FtRg:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){var n=e._map,r=e._arrayTreeMap,i=e._objectTreeMap;if(n.has(t))return n.get(t);for(var o=Object.keys(t).sort(),u=Array.isArray(t)?r:i,a=0;a<o.length;a++){var c=o[a];if(void 0===(u=u.get(c)))return;var s=t[c];if(void 0===(u=u.get(s)))return}var f=u.get("_ekm_value");return f?(n.delete(f[0]),f[0]=t,u.set("_ekm_value",f),n.set(t,f),f):void 0}var u=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,u;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var i=Object.keys(t).sort(),o=[t,n],u=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,a=0;a<i.length;a++){var c=i[a];u.has(c)||u.set(c,new e),u=u.get(c);var s=t[c];u.has(s)||u.set(s,new e),u=u.get(s)}var f=u.get("_ekm_value");return f&&this._map.delete(f[0]),u.set("_ekm_value",o),this._map.set(t,o),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=o(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==o(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(i,o){null!==o&&"object"===r(o)&&(i=i[1]),e.call(n,i,o,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&i(t.prototype,n),u&&i(t,u),e}();e.exports=u},KQm4:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("25BE");function i(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}},Mmq9:function(e,t){!function(){e.exports=this.wp.url}()},ODXe:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("DSFK");var i=n("PYwp");function o(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||Object(i.a)()}},PYwp:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},YLtl:function(e,t){!function(){e.exports=this.lodash}()},dsJ0:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"receiveUserQuery",(function(){return M})),n.d(r,"addEntities",(function(){return U})),n.d(r,"receiveEntityRecords",(function(){return D})),n.d(r,"receiveThemeSupports",(function(){return C})),n.d(r,"receiveEmbedPreview",(function(){return N})),n.d(r,"saveEntityRecord",(function(){return q})),n.d(r,"receiveUploadPermissions",(function(){return L}));var i={};n.r(i),n.d(i,"isRequestingEmbedPreview",(function(){return ne})),n.d(i,"getAuthors",(function(){return re})),n.d(i,"getUserQueryResults",(function(){return ie})),n.d(i,"getEntitiesByKind",(function(){return oe})),n.d(i,"getEntity",(function(){return ue})),n.d(i,"getEntityRecord",(function(){return ae})),n.d(i,"getEntityRecords",(function(){return ce})),n.d(i,"getThemeSupports",(function(){return se})),n.d(i,"getEmbedPreview",(function(){return fe})),n.d(i,"isPreviewEmbedFallback",(function(){return de})),n.d(i,"hasUploadPermissions",(function(){return le}));var o={};n.r(o),n.d(o,"getAuthors",(function(){return ge})),n.d(o,"getEntityRecord",(function(){return we})),n.d(o,"getEntityRecords",(function(){return Oe})),n.d(o,"getThemeSupports",(function(){return Ee})),n.d(o,"getEmbedPreview",(function(){return je})),n.d(o,"hasUploadPermissions",(function(){return xe}));var u=n("vpQ4"),a=n("1ZqX"),c=n("ODXe"),s=n("KQm4"),f=n("rePB"),d=n("YLtl"),l=function(e){return function(t){return function(n,r){return void 0===n||e(r)?t(n,r):n}}},p=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,i=r[e];if(void 0===i)return n;var o=t(n[i],r);return o===n[i]?n:Object(u.a)({},n,Object(f.a)({},i,o))}}},h=function(e){return function(t){return function(n,r){return t(n,e(r))}}};var v=function(e){var t=new WeakMap;return function(n){var r;return t.has(n)?r=t.get(n):(r=e(n),Object(d.isObjectLike)(n)&&t.set(n,r)),r}};function b(e){return{type:"RECEIVE_ITEMS",items:Object(d.castArray)(e)}}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(u.a)({},b(e),{query:t})}var m=n("pPDe"),g=n("FtRg"),w=n.n(g),O=n("Mmq9");var E=v((function(e){for(var t={stableKey:"",page:1,perPage:10},n=Object.keys(e).sort(),r=0;r<n.length;r++){var i=n[r],o=e[i];switch(i){case"page":t[i]=Number(o);break;case"per_page":t.perPage=Number(o);break;default:t.stableKey+=(t.stableKey?"&":"")+Object(O.addQueryArgs)("",Object(f.a)({},i,o)).slice(1)}}return t})),j=new WeakMap;function x(e,t){var n=E(t),r=n.stableKey,i=n.page,o=n.perPage;if(!e.queries[r])return null;var u=e.queries[r];if(!u)return null;for(var a=-1===o?0:(i-1)*o,c=-1===o?u.length:Math.min(a+o,u.length),s=[],f=a;f<c;f++){var d=u[f];s.push(e.items[d])}return s}var k=Object(m.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=j.get(e);if(n){var r=n.get(t);if(void 0!==r)return r}else n=new w.a,j.set(e,n);var i=x(e,t);return n.set(t,i),i})),R=n("ANjH"),P=n("ywyh"),I=n.n(P);function _(e){return{type:"API_FETCH",request:e}}function S(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:"SELECT",selectorName:e,args:n}}var T={API_FETCH:function(e){var t=e.request;return I()(t)},SELECT:function(e){var t,n=e.selectorName,r=e.args;return(t=Object(a.select)("core"))[n].apply(t,Object(s.a)(r))}},A=regeneratorRuntime.mark(q);function M(e,t){return{type:"RECEIVE_USER_QUERY",users:Object(d.castArray)(t),queryID:e}}function U(e){return{type:"ADD_ENTITIES",entities:e}}function D(e,t,n,r){var i,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return i=r?y(n,r):b(n),Object(u.a)({},i,{kind:e,name:t,invalidateCache:o})}function C(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function N(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function q(e,t,n){var r,i,o,u,a;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,z(e);case 2:if(r=c.sent,i=Object(d.find)(r,{kind:e,name:t})){c.next=6;break}return c.abrupt("return");case 6:return o=i.key||K,u=n[o],c.next=10,_({path:"".concat(i.baseURL).concat(u?"/"+u:""),method:u?"PUT":"POST",data:n});case 10:return a=c.sent,c.next=13,D(e,t,a,void 0,!0);case 13:return c.abrupt("return",a);case 14:case"end":return c.stop()}}),A,this)}function L(e){return{type:"RECEIVE_UPLOAD_PERMISSIONS",hasUploadPermissions:e}}var B=regeneratorRuntime.mark(Y),V=regeneratorRuntime.mark(H),F=regeneratorRuntime.mark(z),K="id",Q=[{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"}],W=[{name:"postType",loadEntities:Y},{name:"taxonomy",loadEntities:H}];function Y(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(d.map)(e,(function(e,t){return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),B,this)}function H(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(d.map)(e,(function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),V,this)}var X=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=Object(d.find)(Q,{kind:e,name:t}),o="root"===e?"":Object(d.upperFirst)(Object(d.camelCase)(e)),u=Object(d.upperFirst)(Object(d.camelCase)(t))+(r?"s":""),a=r&&i.plural?Object(d.upperFirst)(Object(d.camelCase)(i.plural)):u;return"".concat(n).concat(o).concat(a)};function z(e){var t,n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,S("getEntitiesByKind",e);case 2:if(!(t=r.sent)||0===t.length){r.next=5;break}return r.abrupt("return",t);case 5:if(n=Object(d.find)(W,{name:e})){r.next=8;break}return r.abrupt("return",[]);case 8:return r.next=10,n.loadEntities();case 10:return t=r.sent,r.next=13,U(t);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}}),F,this)}function J(e,t,n,r){for(var i=(n-1)*r,o=Math.max(e.length,i+t.length),u=new Array(o),a=0;a<o;a++){var c=a>=i&&a<i+t.length;u[a]=c?t[a-i]:e[a]}return u}var Z=Object(d.flowRight)([l((function(e){return"query"in e})),h((function(e){return e.query?Object(u.a)({},e,E(e.query)):e})),p("stableKey")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.page,i=t.perPage,o=t.key,u=void 0===o?K:o;return"RECEIVE_ITEMS"!==n?e:J(e||[],Object(d.map)(t.items,u),r,i)})),G=Object(R.b)({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return Object(u.a)({},e,Object(d.keyBy)(t.items,t.key||K))}return e},queries:Z});function $(e){return Object(d.flowRight)([l((function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind})),h((function(t){return Object(u.a)({},t,{key:e.key||K})}))])(G)}function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return Object(s.a)(e).concat(Object(s.a)(t.entities))}return e}var te=Object(a.combineReducers)({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return Object(u.a)({},e,Object(f.a)({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:Object(u.a)({},e.byId,Object(d.keyBy)(t.users,"id")),queries:Object(u.a)({},e.queries,Object(f.a)({},t.queryID,Object(d.map)(t.users,(function(e){return e.id}))))}}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return Object(u.a)({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=ee(e.config,t),r=e.reducer;if(!r||n!==e.config){var i=Object(d.groupBy)(n,"kind");r=Object(a.combineReducers)(Object.entries(i).reduce((function(e,t){var n=Object(c.a)(t,2),r=n[0],i=n[1],o=Object(a.combineReducers)(i.reduce((function(e,t){return Object(u.a)({},e,Object(f.a)({},t.name,$(t)))}),{}));return e[r]=o,e}),{}))}var o=r(e.data,t);return o===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:o,config:n}},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var n=t.url,r=t.preview;return Object(u.a)({},e,Object(f.a)({},n,r))}return e},hasUploadPermissions:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_UPLOAD_PERMISSIONS":return t.hasUploadPermissions}return e}});function ne(e,t){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object(a.select)("core/data").isResolving("core",e,n)}("getEmbedPreview",t)}function re(e){return ie(e,"authors")}var ie=Object(m.a)((function(e,t){var n=e.users.queries[t];return Object(d.map)(n,(function(t){return e.users.byId[t]}))}),(function(e,t){return[e.users.queries[t],e.users.byId]}));function oe(e,t){return Object(d.filter)(e.entities.config,{kind:t})}function ue(e,t,n){return Object(d.find)(e.entities.config,{kind:t,name:n})}function ae(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"items",r])}function ce(e,t,n,r){var i=Object(d.get)(e.entities.data,[t,n]);return i?k(i,r):[]}function se(e){return e.themeSupports}function fe(e,t){return e.embedPreviews[t]}function de(e,t){var n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function le(e){return e.hasUploadPermissions}var pe=regeneratorRuntime.mark(ge),he=regeneratorRuntime.mark(we),ve=regeneratorRuntime.mark(Oe),be=regeneratorRuntime.mark(Ee),ye=regeneratorRuntime.mark(je),me=regeneratorRuntime.mark(xe);function ge(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,M("authors",e);case 5:case"end":return t.stop()}}),pe,this)}function we(e,t,n){var r,i,o;return regeneratorRuntime.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,z(e);case 2:if(r=u.sent,i=Object(d.find)(r,{kind:e,name:t})){u.next=6;break}return u.abrupt("return");case 6:return u.next=8,_({path:"".concat(i.baseURL,"/").concat(n,"?context=edit")});case 8:return o=u.sent,u.next=11,D(e,t,o);case 11:case"end":return u.stop()}}),he,this)}function Oe(e,t){var n,r,i,o,a,c=arguments;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return n=c.length>2&&void 0!==c[2]?c[2]:{},s.next=3,z(e);case 3:if(r=s.sent,i=Object(d.find)(r,{kind:e,name:t})){s.next=7;break}return s.abrupt("return");case 7:return o=Object(O.addQueryArgs)(i.baseURL,Object(u.a)({},n,{context:"edit"})),s.next=10,_({path:o});case 10:return a=s.sent,s.next=13,D(e,t,Object.values(a),n);case 13:case"end":return s.stop()}}),ve,this)}function Ee(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,C(e[0].theme_supports);case 5:case"end":return t.stop()}}),be,this)}function je(e){var t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,_({path:Object(O.addQueryArgs)("/oembed/1.0/proxy",{url:e})});case 3:return t=n.sent,n.next=6,N(e,t);case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,N(e,!1);case 12:case"end":return n.stop()}}),ye,this,[[0,8]])}function xe(){var e,t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,_({path:"/wp/v2/media",method:"OPTIONS",parse:!1});case 2:return e=n.sent,t=Object(d.hasIn)(e,["headers","get"])?e.headers.get("allow"):Object(d.get)(e,["headers","Allow"],""),n.next=6,L(Object(d.includes)(t,"POST"));case 6:case"end":return n.stop()}}),me,this)}Oe.shouldInvalidate=function(e,t,n){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&n===e.name};var ke=Q.reduce((function(e,t){var n=t.kind,r=t.name;return e[X(n,r)]=function(e,t){return ae(e,n,r,t)},e[X(n,r,"get",!0)]=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),u=1;u<t;u++)o[u-1]=arguments[u];return ce.apply(i,[e,n,r].concat(o))},e}),{}),Re=Q.reduce((function(e,t){var n=t.kind,r=t.name;e[X(n,r)]=function(e){return we(n,r,e)};var i=X(n,r,"get",!0);return e[i]=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return Oe.apply(o,[n,r].concat(t))},e[i].shouldInvalidate=function(e){for(var t,i=arguments.length,o=new Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];return(t=Oe).shouldInvalidate.apply(t,[e,n,r].concat(o))},e}),{}),Pe=Q.reduce((function(e,t){var n=t.kind,r=t.name;return e[X(n,r,"save")]=function(e){return q(n,r,e)},e}),{});Object(a.registerStore)("core",{reducer:te,controls:T,actions:Object(u.a)({},r,Pe),selectors:Object(u.a)({},i,ke),resolvers:Object(u.a)({},o,Re)})},pPDe:function(e,t,n){"use strict";var r,i;function o(e){return[e]}function u(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},i="undefined"!=typeof WeakMap,t.a=function(e,t){var n,c;function s(){n=i?new WeakMap:u()}function f(){var n,r,i,o,u,s=arguments.length;for(o=new Array(s),i=0;i<s;i++)o[i]=arguments[i];for(u=t.apply(null,o),(n=c(u)).isUniqueByDependants||(n.lastDependants&&!a(u,n.lastDependants,0)&&n.clear(),n.lastDependants=u),r=n.head;r;){if(a(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),c=i?function(e){var t,i,o,a,c,s=n,f=!0;for(t=0;t<e.length;t++){if(i=e[t],!(c=i)||"object"!=typeof c){f=!1;break}s.has(i)?s=s.get(i):(o=new WeakMap,s.set(i,o),s=o)}return s.has(r)||((a=u()).isUniqueByDependants=f,s.set(r,a)),s.get(r)}:function(){return n},f.getDependants=t,f.clear=s,s(),f}},rePB:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},vpQ4:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("rePB");function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Object(r.a)(e,t,n[t])}))}return e}},yLpj:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},ywyh:function(e,t){!function(){e.exports=this.wp.apiFetch}()}});