this.wp=this.wp||{},this.wp.notices=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=217)}({10:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",function(){return r})},18:function(t,e,n){"use strict";var r=n(31);function i(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||Object(r.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"a",function(){return i})},2:function(t,e){!function(){t.exports=this.lodash}()},21:function(t,e){!function(){t.exports=this.regeneratorRuntime}()},217:function(t,e,n){"use strict";n.r(e);var r={};n.d(r,"createNotice",function(){return O}),n.d(r,"createSuccessNotice",function(){return g}),n.d(r,"createInfoNotice",function(){return y}),n.d(r,"createErrorNotice",function(){return h}),n.d(r,"createWarningNotice",function(){return j}),n.d(r,"removeNotice",function(){return m});var i={};n.d(i,"getNotices",function(){return x});var o=n(4),c=n(18),u=n(2),a=n(10),s=n(8),f=function(t){return function(e){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,i=r[t];if(void 0===i)return n;var o=e(n[i],r);return o===n[i]?n:Object(s.a)({},n,Object(a.a)({},i,o))}}}("context")(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[].concat(Object(c.a)(Object(u.reject)(t,{id:e.notice.id})),[e.notice]);case"REMOVE_NOTICE":return Object(u.reject)(t,{id:e.id})}return t}),d=n(21),l=n.n(d),p="global",v="info",b=l.a.mark(O);function O(){var t,e,n,r,i,o,c,a,s,f,d,O,g,y,h,j,m=arguments;return l.a.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(t=m.length>0&&void 0!==m[0]?m[0]:v,e=m.length>1?m[1]:void 0,n=m.length>2&&void 0!==m[2]?m[2]:{},r=n.speak,i=void 0===r||r,o=n.isDismissible,c=void 0===o||o,a=n.context,s=void 0===a?p:a,f=n.id,d=void 0===f?Object(u.uniqueId)(s):f,O=n.actions,g=void 0===O?[]:O,y=n.type,h=void 0===y?"default":y,j=n.__unstableHTML,e=String(e),!i){l.next=8;break}return l.next=8,{type:"SPEAK",message:e,ariaLive:"snackbar"===h?"polite":"assertive"};case 8:return l.next=10,{type:"CREATE_NOTICE",context:s,notice:{id:d,status:t,content:e,__unstableHTML:j,isDismissible:c,actions:g,type:h}};case 10:case"end":return l.stop()}},b)}function g(t,e){return O("success",t,e)}function y(t,e){return O("info",t,e)}function h(t,e){return O("error",t,e)}function j(t,e){return O("warning",t,e)}function m(t){return{type:"REMOVE_NOTICE",id:t,context:arguments.length>1&&void 0!==arguments[1]?arguments[1]:p}}var w=[];function x(t){return t[arguments.length>1&&void 0!==arguments[1]?arguments[1]:p]||w}var E=n(45),_={SPEAK:function(t){Object(E.speak)(t.message,t.ariaLive||"assertive")}};Object(o.registerStore)("core/notices",{reducer:f,actions:r,selectors:i,controls:_})},31:function(t,e,n){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}n.d(e,"a",function(){return r})},4:function(t,e){!function(){t.exports=this.wp.data}()},45:function(t,e){!function(){t.exports=this.wp.a11y}()},8:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(10);function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){Object(r.a)(t,e,n[e])})}return t}}});