PATH:
home
/
letacommog
/
laperouse
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-admin
/
dist
/
chunks
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[52],{175:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(0),r=new WeakMap;function i(e,t){return Object(o.useMemo)((function(){var n=function(e){var t=r.get(e)||0;return r.set(e,t+1),t}(e);return t?"".concat(t,"-").concat(n):n}),[e])}},690:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n(8),r=n(27),i=n(0),a=n(4),c=n.n(a),l=n(96);function s(e){var t,n,a,s,u,p,f=e.renderContent,d=e.renderToggle,b=e.position,h=void 0===b?"bottom right":b,m=e.className,y=e.contentClassName,v=e.expandOnMobile,O=e.headerTitle,g=e.focusOnMount,C=e.popoverProps,j=e.onClose,w=e.onToggle,k=Object(i.useRef)(),_=(t=!1,n=w,a=Object(i.useState)(t),s=Object(r.a)(a,2),u=s[0],p=s[1],[u,function(e){p(e),n&&n(e)}]),D=Object(r.a)(_,2),E=D[0],T=D[1];function R(){j&&j(),T(!1)}Object(i.useEffect)((function(){return function(){w&&w(!1)}}),[]);var M={isOpen:E,onToggle:function(){T(!E)},onClose:R};return Object(i.createElement)("div",{className:c()("components-dropdown",m),ref:k},d(M),E&&Object(i.createElement)(l.a,Object(o.a)({position:h,onClose:R,onFocusOutside:function(){k.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||R()},expandOnMobile:v,headerTitle:O,focusOnMount:g},C,{anchorRef:k.current,className:c()("components-dropdown__content",C?C.className:void 0,y)}),f(M)))}},691:function(e,t,n){"use strict";var o=n(8),r=n(19),i=n(20),a=n(21),c=n(23),l=n(7),s=n(22),u=n(0),p=n(74),f=n(175),d=Object(p.a)((function(e){return function(t){var n=Object(f.a)(e);return Object(u.createElement)(e,Object(o.a)({},t,{instanceId:n}))}}),"withInstanceId"),b=n(56),h=n(18),m=n(4),y=n.n(m),v=n(39),O=n(270),g=n(99),C=n(98),j=n(100),w=n(97);function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var _=function(e){Object(s.a)(o,e);var t,n=(t=o,function(){var e,n=Object(l.a)(t);if(k()){var o=Object(l.a)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return Object(c.a)(this,e)});function o(){var e;return Object(i.a)(this,o),(e=n.apply(this,arguments)).containerRef=Object(u.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(Object(h.a)(e)),e.handleFocusOutside=e.handleFocusOutside.bind(Object(h.a)(e)),e}return Object(a.a)(o,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.containerRef.current.focus()}},{key:"handleFocusOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===v.b&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.stopPropagation(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.contentLabel,o=e.aria,r=o.describedby,i=o.labelledby,a=e.children,c=e.className,l=e.role,s=e.style;return Object(u.createElement)(g.a,{className:y()("components-modal__screen-overlay",t),onKeyDown:this.handleKeyDown},Object(u.createElement)("div",{className:y()("components-modal__frame",c),style:s,ref:this.containerRef,role:l,"aria-label":n,"aria-labelledby":n?null:i,"aria-describedby":r,tabIndex:"-1"},a))}}]),o}(u.Component),D=Object(O.a)([j.a,w.a,C.a])(_),E=n(3),T=n(281),R=n(72),M=function(e){var t=e.icon,n=e.title,o=e.onClose,r=e.closeLabel,i=e.headingId,a=e.isDismissible,c=r||Object(E.__)("Close dialog");return Object(u.createElement)("div",{className:"components-modal__header"},Object(u.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(u.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(u.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),a&&Object(u.createElement)(R.a,{onClick:o,icon:T.a,label:c}))},P=n(2),S=new Set(["alert","status","log","marquee","timer"]),x=[],N=!1;function L(e){if(!N){var t=document.body.children;Object(P.forEach)(t,(function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||S.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),x.push(t))})),N=!0}}function V(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var I,W=0,z=function(e){Object(s.a)(p,e);var t,n=(t=p,function(){var e,n=Object(l.a)(t);if(V()){var o=Object(l.a)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return Object(c.a)(this,e)});function p(e){var t;return Object(i.a)(this,p),(t=n.call(this,e)).prepareDOM(),t}return Object(a.a)(p,[{key:"componentDidMount",value:function(){1===++W&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--W&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){I||(I=document.createElement("div"),document.body.appendChild(I)),this.node=document.createElement("div"),I.appendChild(this.node)}},{key:"cleanDOM",value:function(){I.removeChild(this.node)}},{key:"openFirstModal",value:function(){L(I),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),N&&(Object(P.forEach)(x,(function(e){e.removeAttribute("aria-hidden")})),x=[],N=!1)}},{key:"render",value:function(){var e=this.props,t=e.onRequestClose,n=e.title,i=e.icon,a=e.closeButtonLabel,c=e.children,l=e.aria,s=e.instanceId,p=e.isDismissible,f=e.isDismissable,d=Object(r.a)(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissible","isDismissable"]),h=l.labelledby||"components-modal-header-".concat(s);return f&&Object(b.a)("isDismissable prop of the Modal component",{alternative:"isDismissible prop (renamed) of the Modal component"}),Object(u.createPortal)(Object(u.createElement)(D,Object(o.a)({onRequestClose:t,aria:{labelledby:n?h:null,describedby:l.describedby}},d),Object(u.createElement)("div",{className:"components-modal__content",role:"document"},Object(u.createElement)(M,{closeLabel:a,headingId:h,icon:i,isDismissible:p||f,onClose:t,title:n}),c)),this.node)}}]),p}(u.Component);z.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,aria:{labelledby:null,describedby:null}};t.a=d(z)},742:function(e,t,n){var o;o=function(e,t){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},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=4)}([function(e,t,n){e.exports=n(5)()},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=function(e,t,n){var o=e.direction,r=e.value;switch(o){case"top":return n.top+r<t.top&&n.bottom>t.bottom&&n.left<t.left&&n.right>t.right;case"left":return n.left+r<t.left&&n.bottom>t.bottom&&n.top<t.top&&n.right>t.right;case"bottom":return n.bottom-r>t.bottom&&n.left<t.left&&n.right>t.right&&n.top<t.top;case"right":return n.right-r>t.right&&n.left<t.left&&n.top<t.top&&n.bottom>t.bottom}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return y}));var o=n(1),r=n.n(o),i=n(2),a=n.n(i),c=n(0),l=n.n(c),s=n(3),u=n.n(s);function p(e){return(p="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 f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){function t(e){var n,o,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=this,r=d(t).call(this,e),n=!r||"object"!==p(r)&&"function"!=typeof r?b(o):r,m(b(n),"getContainer",(function(){return n.props.containment||window})),m(b(n),"addEventListener",(function(e,t,o,r){var i;n.debounceCheck||(n.debounceCheck={});var a=function(){i=null,n.check()},c={target:e,fn:r>-1?function(){i||(i=setTimeout(a,r||0))}:function(){clearTimeout(i),i=setTimeout(a,o||0)},getLastTimeout:function(){return i}};e.addEventListener(t,c.fn),n.debounceCheck[t]=c})),m(b(n),"startWatching",(function(){n.debounceCheck||n.interval||(n.props.intervalCheck&&(n.interval=setInterval(n.check,n.props.intervalDelay)),n.props.scrollCheck&&n.addEventListener(n.getContainer(),"scroll",n.props.scrollDelay,n.props.scrollThrottle),n.props.resizeCheck&&n.addEventListener(window,"resize",n.props.resizeDelay,n.props.resizeThrottle),!n.props.delayedCall&&n.check())})),m(b(n),"stopWatching",(function(){if(n.debounceCheck)for(var e in n.debounceCheck)if(n.debounceCheck.hasOwnProperty(e)){var t=n.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),n.debounceCheck[e]=null}n.debounceCheck=null,n.interval&&(n.interval=clearInterval(n.interval))})),m(b(n),"check",(function(){var e,t,o=n.node;if(!o)return n.state;if(e=function(e){return void 0===e.width&&(e.width=e.right-e.left),void 0===e.height&&(e.height=e.bottom-e.top),e}(n.roundRectDown(o.getBoundingClientRect())),n.props.containment){var r=n.props.containment.getBoundingClientRect();t={top:r.top,left:r.left,bottom:r.bottom,right:r.right}}else t={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var i=n.props.offset||{};"object"===p(i)&&(t.top+=i.top||0,t.left+=i.left||0,t.bottom-=i.bottom||0,t.right-=i.right||0);var a={top:e.top>=t.top,left:e.left>=t.left,bottom:e.bottom<=t.bottom,right:e.right<=t.right},c=e.height>0&&e.width>0,l=c&&a.top&&a.left&&a.bottom&&a.right;if(c&&n.props.partialVisibility){var s=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof n.props.partialVisibility&&(s=a[n.props.partialVisibility]),l=n.props.minTopValue?s&&e.top<=t.bottom-n.props.minTopValue:s}"string"==typeof i.direction&&"number"==typeof i.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",i.direction,i.value),l=u()(i,e,t));var f=n.state;return n.state.isVisible!==l&&(f={isVisible:l,visibilityRect:a},n.setState(f),n.props.onChange&&n.props.onChange(l)),f})),n.state={isVisible:null,visibilityRect:{}},n}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.node=a.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(e){this.node=a.a.findDOMNode(this),this.props.active&&!e.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(e){return{top:Math.floor(e.top),left:Math.floor(e.left),bottom:Math.floor(e.bottom),right:Math.floor(e.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):r.a.Children.only(this.props.children)}}])&&f(n.prototype,o),i&&f(n,i),t}(r.a.Component);m(y,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:r.a.createElement("span",null)}),m(y,"propTypes",{onChange:l.a.func,active:l.a.bool,partialVisibility:l.a.oneOfType([l.a.bool,l.a.oneOf(["top","right","bottom","left"])]),delayedCall:l.a.bool,offset:l.a.oneOfType([l.a.shape({top:l.a.number,left:l.a.number,bottom:l.a.number,right:l.a.number}),l.a.shape({direction:l.a.oneOf(["top","right","bottom","left"]),value:l.a.number})]),scrollCheck:l.a.bool,scrollDelay:l.a.number,scrollThrottle:l.a.number,resizeCheck:l.a.bool,resizeDelay:l.a.number,resizeThrottle:l.a.number,intervalCheck:l.a.bool,intervalDelay:l.a.number,containment:"undefined"!=typeof window?l.a.instanceOf(window.Element):l.a.any,children:l.a.oneOfType([l.a.element,l.a.func]),minTopValue:l.a.number})},function(e,t,n){"use strict";var o=n(6);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},e.exports=o(n(11),n(88))}}]);
[+]
..
[-] 47.style.css
[edit]
[-] 5.c750e100a6fdd3a69f62.js
[edit]
[-] 54.7fac56b68b9f3e25d29a.js
[edit]
[-] 13.1fb65e2fff8975ecf26a.js
[edit]
[-] 30.style.css
[edit]
[-] 18.style.css
[edit]
[-] 46.style.css
[edit]
[-] 23.style.rtl.css
[edit]
[-] 33.style.css
[edit]
[-] 9.style.css
[edit]
[-] 47.style.rtl.css
[edit]
[-] 48.style.rtl.css
[edit]
[-] 0.d82e0e3293a5788ce1b3.js
[edit]
[-] 47.cd57928eaf0f6b1653b7.js
[edit]
[-] 29.style.rtl.css
[edit]
[-] 34.style.css
[edit]
[-] 38.style.rtl.css
[edit]
[-] 15.b43dc4898cfe64a80f40.js
[edit]
[-] 7.style.rtl.css
[edit]
[-] 36.style.css
[edit]
[-] 14.57ecb260ced16ea3d9cd.js
[edit]
[-] 10.style.rtl.css
[edit]
[-] 10.style.css
[edit]
[-] 17.3bb7411d9278dab5881f.js
[edit]
[-] 38.style.css
[edit]
[-] 11.style.css
[edit]
[-] 38.6eb0f9093968baecc7b4.js
[edit]
[-] 12.style.rtl.css
[edit]
[-] 53.a3f503c6370338b21be2.js
[edit]
[-] 52.6c12fab082eddf9686fc.js
[edit]
[-] 0.style.rtl.css
[edit]
[-] 12.style.css
[edit]
[-] 12.1e3fd4a0eb677c221f97.js
[edit]
[-] 30.7e1d8028430fa7148071.js
[edit]
[-] 13.style.css
[edit]
[-] 0.style.css
[edit]
[-] 7.98d5571225e8bb353b9c.js
[edit]
[-] 7.style.css
[edit]
[-] 1.9c6240fe0285336d4601.js
[edit]
[-] 18.style.rtl.css
[edit]
[-] 4.569ef0d82e269809ccea.js
[edit]
[-] 8.88cdb058cc37250e3894.js
[edit]
[-] 30.style.rtl.css
[edit]
[-] 48.style.css
[edit]
[-] 49.e78eb9119c8eac3f6923.js
[edit]
[-] 11.e31ce9931c09bfa70ffd.js
[edit]
[-] 9.17f4ec69378f7c8ffa0d.js
[edit]
[-] 34.style.rtl.css
[edit]
[-] 16.49b97e6388f1e4ab98e0.js
[edit]
[-] 10.7db1c967ff2c6fee000a.js
[edit]
[-] 3.9d9bcc97f47cdfb1b68d.js
[edit]
[-] 18.9a8ad51cd904fce65ba8.js
[edit]
[-] 29.style.css
[edit]
[-] 34.0d0ac48ee5f2de7cb625.js
[edit]
[-] 5.c750e100a6fdd3a69f62.js.LICENSE.txt
[edit]
[-] 6.a1cfaa769c3ae60919e3.js
[edit]
[-] 23.2a199043713d4e1770f4.js
[edit]
[-] 13.style.rtl.css
[edit]
[-] 21.0573c8f697c9f049bb48.js
[edit]
[-] 33.1d4c376e447be418680d.js
[edit]
[-] 53.a3f503c6370338b21be2.js.LICENSE.txt
[edit]
[-] 51.7833f6f14975491e98af.js
[edit]
[-] 11.style.rtl.css
[edit]
[-] 29.18be233035c4325ece57.js
[edit]
[-] 22.236bdfd5d0b2ac1d6f41.js
[edit]
[-] 20.4da69c21435efd2c9e40.js
[edit]
[-] 19.2c402410e34b9bac52cb.js
[edit]
[-] 28.381aadd00d85f921db60.js
[edit]
[-] 46.style.rtl.css
[edit]
[-] 33.style.rtl.css
[edit]
[-] 48.77063cbcc06c66457bda.js
[edit]
[-] 46.c754aac4b14123e58adb.js
[edit]
[-] 2.7c37f2d162f480b8a1f8.js
[edit]
[-] 36.style.rtl.css
[edit]
[-] 9.style.rtl.css
[edit]
[-] 23.style.css
[edit]
[-] 36.22aea36f504a5d4259ea.js
[edit]