var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /*! This file is auto-generated */ this.wp=this.wp||{},this.wp.compose=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=445)}({0:function(t,e){t.exports=window.wp.element},11:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(38);var o=n(31),i=n(39);function u(t,e){return Object(r.a)(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,c=t[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(t,e)||Object(o.a)(t,e)||Object(i.a)()}},125:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(14);function o(t,e){var n=Object(r.useState)((function(){return{inputs:e,result:t()}}))[0],o=Object(r.useRef)(!0),i=Object(r.useRef)(n),u=o.current||Boolean(e&&i.current.inputs&&function(t,e){if(t.length!==e.length)return!1;for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=o()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=o()(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":i(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}(),a=n(1),f=n.n(a),s=n(2),l=n.n(s),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===d(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=l()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return v("action",t)}},{key:"defaultTarget",value:function(t){var e=v("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return v("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}]),e}(f.a);function v(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}e.default=h}]).default},t.exports=r()},284:function(t,e,n){var r;!function(o,i,u){if(o){for(var c,a={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},f={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},s={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},l={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},d=1;d<20;++d)a[111+d]="f"+d;for(d=0;d<=9;++d)a[d+96]=d.toString();m.prototype.bind=function(t,e,n){return t=t instanceof Array?t:[t],this._bindMultiple.call(this,t,e,n),this},m.prototype.unbind=function(t,e){return this.bind.call(this,t,(function(){}),e)},m.prototype.trigger=function(t,e){return this._directMap[t+":"+e]&&this._directMap[t+":"+e]({},t),this},m.prototype.reset=function(){return this._callbacks={},this._directMap={},this},m.prototype.stopCallback=function(t,e){if((" "+e.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function t(e,n){return null!==e&&e!==i&&(e===n||t(e.parentNode,n))}(e,this.target))return!1;if("composedPath"in t&&"function"==typeof t.composedPath){var n=t.composedPath()[0];n!==t.target&&(e=n)}return"INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable},m.prototype.handleKey=function(){var t=this;return t._handleKey.apply(t,arguments)},m.addKeycodes=function(t){for(var e in t)t.hasOwnProperty(e)&&(a[e]=t[e]);c=null},m.init=function(){var t=m(i);for(var e in t)"_"!==e.charAt(0)&&(m[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e))},m.init(),o.Mousetrap=m,t.exports&&(t.exports=m),void 0===(r=function(){return m}.call(e,n,e,t))||(t.exports=r)}function p(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)}function h(t){if("keypress"==t.type){var e=String.fromCharCode(t.which);return t.shiftKey||(e=e.toLowerCase()),e}return a[t.which]?a[t.which]:f[t.which]?f[t.which]:String.fromCharCode(t.which).toLowerCase()}function v(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function y(t,e,n){return n||(n=function(){if(!c)for(var t in c={},a)t>95&&t<112||a.hasOwnProperty(t)&&(c[a[t]]=t);return c}()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function b(t,e){var n,r,o,i=[];for(n=function(t){return"+"===t?["+"]:(t=t.replace(/\+{2}/g,"+plus")).split("+")}(t),o=0;o1?d(t,c,n,r):(u=b(t,r),e._callbacks[u.key]=e._callbacks[u.key]||[],f(u.key,u.modifiers,{type:u.action},o,t,i),e._callbacks[u.key][o?"unshift":"push"]({callback:n,modifiers:u.modifiers,action:u.action,seq:o,level:i,combo:t}))}e._handleKey=function(t,e,n){var r,o=f(t,e,n),i={},l=0,d=!1;for(r=0;r0&&void 0!==arguments[0]?arguments[0]:{};return o((function(e){return function(n){Object(s.a)(o,n);var r=R(o);function o(){var e;return Object(a.a)(this,o),(e=r.apply(this,arguments)).setState=e.setState.bind(Object(m.a)(e)),e.state=t,e}return Object(f.a)(o,[{key:"render",value:function(){return Object(u.createElement)(e,Object(b.a)({},this.props,this.state,{setState:this.setState}))}}]),o}(u.Component)}),"withState")}var P=n(17),A=n(27),M=n(71),D=n.n(M);var L=function(t,e){return Object(u.useCallback)(D()(t,{maxSize:1}),e)};var I=function(){return L((function(t){t&&t.addEventListener("keydown",(function(e){if(e.keyCode===P.TAB){var n=A.focus.tabbable.find(t);if(n.length){var r=n[0],o=n[n.length-1];e.shiftKey&&e.target===r?(e.preventDefault(),o.focus()):(e.shiftKey||e.target!==o)&&n.includes(e.target)||(e.preventDefault(),r.focus())}}}))}),[])},N=n(11),F=n(283),K=n.n(F);function q(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4e3,r=Object(u.useRef)(),o=Object(u.useState)(!1),i=Object(N.a)(o,2),c=i[0],a=i[1];return Object(u.useEffect)((function(){var o;return r.current=new K.a(t.current,{text:function(){return"function"==typeof e?e():e}}),r.current.on("success",(function(t){var e=t.clearSelection,r=t.trigger;e(),r&&r.focus(),n&&(a(!0),clearTimeout(o),o=setTimeout((function(){return a(!1)}),n))})),function(){r.current.destroy(),clearTimeout(o)}}),[e,n,a]),c}var H=n(5),U=n(72);function z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"firstElement",e=Object(u.useRef)(t);return Object(u.useEffect)((function(){e.current=t}),[t]),L((function(t){if(t&&!1!==e.current&&!t.contains(t.ownerDocument.activeElement)){var n=t;if("firstElement"===e.current){var r=A.focus.tabbable.find(t)[0];r&&(n=r)}n.focus()}}),[])}var B=function(t){var e=Object(u.useRef)(),n=Object(u.useRef)(),r=Object(u.useRef)(t);return Object(u.useEffect)((function(){r.current=t}),[t]),L((function(t){if(t){if(e.current=t,n.current)return;n.current=t.ownerDocument.activeElement}else if(n.current){var o=e.current.contains(e.current.ownerDocument.activeElement);if(e.current.isConnected&&!o)return;r.current?r.current():n.current.focus()}}),[])},G=["button","submit"];function W(t){var e=Object(u.useRef)(t);Object(u.useEffect)((function(){e.current=t}),[t]);var n=Object(u.useRef)(!1),o=Object(u.useRef)(),i=Object(u.useCallback)((function(){clearTimeout(o.current)}),[]);Object(u.useEffect)((function(){return function(){return i()}}),[]),Object(u.useEffect)((function(){t||i()}),[t,i]);var c=Object(u.useCallback)((function(t){var e=t.type,o=t.target;Object(r.includes)(["mouseup","touchend"],e)?n.current=!1:function(t){if(!(t instanceof window.HTMLElement))return!1;switch(t.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(r.includes)(G,t.type)}return!1}(o)&&(n.current=!0)}),[]),a=Object(u.useCallback)((function(t){t.persist(),n.current||(o.current=setTimeout((function(){document.hasFocus()?"function"==typeof e.current&&e.current(t):t.preventDefault()}),0))}),[]);return{onFocus:i,onMouseDown:c,onMouseUp:c,onTouchStart:c,onTouchEnd:c,onBlur:a}}function Q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function V(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:window,e=t.navigator.platform;return-1!==e.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],e)}var et=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.bindGlobal,i=void 0!==o&&o,c=n.eventName,a=void 0===c?"keydown":c,f=n.isDisabled,s=void 0!==f&&f,l=n.target,d=Object(u.useRef)(e);Object(u.useEffect)((function(){d.current=e}),[e]),Object(u.useEffect)((function(){if(!s){var e=new Z.a(l?l.current:document);return Object(r.castArray)(t).forEach((function(t){var n=t.split("+"),r=new Set(n.filter((function(t){return t.length>1}))),o=r.has("alt"),u=r.has("shift");if(tt()&&(1===r.size&&o||2===r.size&&o&&u))throw new Error("Cannot bind ".concat(t,". Alt and Shift+Alt modifiers are reserved for character input."));e[i?"bindGlobal":"bind"](t,(function(){return d.current.apply(d,arguments)}),a)})),function(){e.reset()}}}),[t,i,a,l,s])};function nt(t){var e=Object(u.useState)((function(){return!(!t||"undefined"==typeof window||!window.matchMedia(t).matches)})),n=Object(N.a)(e,2),r=n[0],o=n[1];return Object(u.useEffect)((function(){if(t){var e=function(){return o(window.matchMedia(t).matches)};e();var n=window.matchMedia(t);return n.addListener(e),function(){n.removeListener(e)}}}),[t]),t&&r}function rt(t){var e=Object(u.useRef)(void 0);return Object(u.useEffect)((function(){e.current=t}),[t]),e.current}var ot="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0?function(){return!0}:function(){return nt("(prefers-reduced-motion: reduce)")},it={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},ut={">=":"min-width","<":"max-width"},ct={">=":function(t,e){return e>=t},"<":function(t,e){return e1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(u.useContext)(at),r=!n&&"(".concat(ut[e],": ").concat(it[t],"px)"),o=nt(r);return n?ct[e](it[t],n):o};ft.__experimentalWidthProvider=at.Provider;var st=ft,lt=n(151),dt=n.n(lt).a,pt=n(15),ht=n(152);function vt(t,e){return"reset"===e.type?e.list:"append"===e.type?[].concat(Object(pt.a)(t),[e.item]):t}var yt=function(t){var e=Object(u.useReducer)(vt,[]),n=Object(N.a)(e,2),r=n[0],o=n[1];return Object(u.useEffect)((function(){var e=function(t,e){for(var n=[],r=0;r1&&void 0!==arguments[1]?arguments[1]:"Change detection",n=rt(t);Object.entries(null!=n?n:[]).forEach((function(n){var r=Object(N.a)(n,2),o=r[0],i=r[1];i!==t[o]&&console.warn("".concat(e,": ").concat(o," key changed:"),i,t[o])}))},mt=n(125);function gt(){for(var t=arguments.length,e=new Array(t),n=0;n