Файловый менеджер - Редактировать - /home/harasnat/www/labour/wp-content/plugins/woocommerce-services/dist/chunks/3b4a5c7ef845f78e4ac9.min.js
Назад
(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{414:function(e,t,n){"use strict";var a=n(12),c=n(23),o=n(2),l=n(32),r=n.n(l),i=n(161);t.a=Object(o.forwardRef)(function(e,t){var n=e.className,l=Object(c.a)(e,["className"]),s=r()("components-flex__item",n);return Object(o.createElement)(i.b,Object(a.a)({},l,{className:s,ref:t}))})},423:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var a=n(2),c=new WeakMap;function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(a.useMemo)(function(){if(n)return n;var a=function(e){var t=c.get(e)||0;return c.set(e,t+1),t}(e);return t?"".concat(t,"-").concat(a):a},[e])}},672:function(e,t,n){"use strict";var a=n(12),c=n(23),o=n(25),l=n(29),r=n(31),i=n(30),s=n(15),u=n(2),b=n(112),d=n(180),m=n(423),p=Object(d.a)(function(e){return function(t){var n=Object(m.a)(e);return Object(u.createElement)(e,Object(a.a)({},t,{instanceId:n}))}},"withInstanceId"),f=n(115),h=n(17),O=n(32),j=n.n(O),y=n(118),v=n(0),g=v.flowRight,_=n(157),E=n(159),C=n(164),N=n(158);function k(e){var t=function(){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}}();return function(){var n,a=Object(s.a)(e);if(t){var c=Object(s.a)(this).constructor;n=Reflect.construct(a,arguments,c)}else n=a.apply(this,arguments);return Object(i.a)(this,n)}}var w=function(e){Object(r.a)(n,e);var t=k(n);function n(){var e;return Object(o.a)(this,n),(e=t.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(l.a)(n,[{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===y.a&&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,a=e.aria,c=a.describedby,o=a.labelledby,l=e.children,r=e.className,i=e.role,s=e.style;return Object(u.createElement)(_.a,{className:j()("components-modal__screen-overlay",t),onKeyDown:this.handleKeyDown},Object(u.createElement)("div",{className:j()("components-modal__frame",r),style:s,ref:this.containerRef,role:i,"aria-label":n,"aria-labelledby":n?null:o,"aria-describedby":c,tabIndex:"-1"},l))}}]),n}(u.Component),D=g([C.a,N.a,E.a])(w),R=n(117),x=n(671),M=n(160),F=function(e){var t=e.icon,n=e.title,a=e.onClose,c=e.closeLabel,o=e.headingId,l=e.isDismissible,r=c||Object(R.a)("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:o,className:"components-modal__header-heading"},n)),l&&Object(u.createElement)(M.a,{onClick:a,icon:x.a,label:r}))},L=new Set(["alert","status","log","marquee","timer"]),S=[],P=!1;function z(e){if(!P){var t=document.body.children;Object(v.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")||L.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),S.push(t))}),P=!0}}function I(e){var t=function(){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}}();return function(){var n,a=Object(s.a)(e);if(t){var c=Object(s.a)(this).constructor;n=Reflect.construct(a,arguments,c)}else n=a.apply(this,arguments);return Object(i.a)(this,n)}}var q,K=0,V=function(e){Object(r.a)(n,e);var t=I(n);function n(e){var a;return Object(o.a)(this,n),(a=t.call(this,e)).prepareDOM(),a}return Object(l.a)(n,[{key:"componentDidMount",value:function(){1===++K&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--K&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){q||(q=document.createElement("div"),document.body.appendChild(q)),this.node=document.createElement("div"),q.appendChild(this.node)}},{key:"cleanDOM",value:function(){q.removeChild(this.node)}},{key:"openFirstModal",value:function(){z(q),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),P&&(Object(v.forEach)(S,function(e){e.removeAttribute("aria-hidden")}),S=[],P=!1)}},{key:"render",value:function(){var e=this.props,t=e.onRequestClose,n=e.title,o=e.icon,l=e.closeButtonLabel,r=e.children,i=e.aria,s=e.instanceId,d=e.isDismissible,m=e.isDismissable,p=Object(c.a)(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissible","isDismissable"]),h=i.labelledby||"components-modal-header-".concat(s);return m&&Object(f.a)("isDismissable prop of the Modal component",{alternative:"isDismissible prop (renamed) of the Modal component"}),Object(b.createPortal)(Object(u.createElement)(D,Object(a.a)({onRequestClose:t,aria:{labelledby:n?h:null,describedby:i.describedby}},p),Object(u.createElement)("div",{className:"components-modal__content",role:"document"},Object(u.createElement)(F,{closeLabel:l,headingId:h,icon:o,isDismissible:d||m,onClose:t,title:n}),r)),this.node)}}]),n}(u.Component);V.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,aria:{labelledby:null,describedby:null}};t.a=p(V)},714:function(e,t,n){"use strict";var a=n(2),c=n(32),o=n.n(c),l=n(705),r=n(153),i=n(0),s={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function u(e){return Object(i.get)(s,e,"")}var b=n(841),d=n(851),m=Object(r.a)("div",{target:"e1puf3u0",label:"Wrapper"})("font-family:",u("default.fontFamily"),";font-size:",u("default.fontSize"),";"),p=Object(r.a)("div",{target:"e1puf3u1",label:"StyledField"})("margin-bottom:",Object(b.a)(1),";.components-panel__row &{margin-bottom:inherit;}"),f=Object(r.a)("label",{target:"e1puf3u2",label:"StyledLabel"})("display:inline-block;margin-bottom:",Object(b.a)(1),";"),h=Object(r.a)("p",{target:"e1puf3u3",label:"StyledHelp"})("margin-top:-",Object(b.a)(1),";font-size:",u("helpText.fontSize"),";font-style:normal;color:",Object(d.a)("mediumGray.text"),";");function O(e){var t=e.id,n=e.label,c=e.hideLabelFromVision,r=e.help,i=e.className,s=e.children;return Object(a.createElement)(m,{className:o()("components-base-control",i)},Object(a.createElement)(p,{className:"components-base-control__field"},n&&t&&(c?Object(a.createElement)(l.a,{as:"label",htmlFor:t},n):Object(a.createElement)(f,{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(c?Object(a.createElement)(l.a,{as:"label"},n):Object(a.createElement)(O.VisualLabel,null,n)),s),!!r&&Object(a.createElement)(h,{id:t+"__help",className:"components-base-control__help"},r))}O.VisualLabel=function(e){var t=e.className,n=e.children;return t=o()("components-base-control__label",t),Object(a.createElement)("span",{className:t},n)};t.a=O},761:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var a=n(12),c=n(23),o=n(2),l=n(423),r=n(714);function i(e){var t=e.label,n=e.hideLabelFromVision,s=e.value,u=e.help,b=e.className,d=e.onChange,m=e.type,p=void 0===m?"text":m,f=Object(c.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),h=Object(l.a)(i),O="inspector-text-control-".concat(h);return Object(o.createElement)(r.a,{label:t,hideLabelFromVision:n,id:O,help:u,className:b},Object(o.createElement)("input",Object(a.a)({className:"components-text-control__input",type:p,id:O,value:s,onChange:function(e){return d(e.target.value)},"aria-describedby":u?O+"__help":void 0},f)))}},810:function(e,t,n){"use strict";var a=n(16),c=n(23),o=n(2);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}t.a=function(e){var t=e.icon,n=e.size,r=void 0===n?24:n,i=Object(c.a)(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){Object(a.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({width:r,height:r},i))}},852:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var a=n(12),c=n(23),o=n(2),l=n(423),r=n(810),i=n(463),s=Object(o.createElement)(i.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(i.a,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"})),u=n(714);function b(e){var t=e.label,n=e.className,i=e.heading,d=e.checked,m=e.help,p=e.onChange,f=Object(c.a)(e,["label","className","heading","checked","help","onChange"]),h=Object(l.a)(b),O="inspector-checkbox-control-".concat(h);return Object(o.createElement)(u.a,{label:i,id:O,help:m,className:n},Object(o.createElement)("span",{className:"components-checkbox-control__input-container"},Object(o.createElement)("input",Object(a.a)({id:O,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return p(e.target.checked)},checked:d,"aria-describedby":m?O+"__help":void 0},f)),d?Object(o.createElement)(r.a,{icon:s,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(o.createElement)("label",{className:"components-checkbox-control__label",htmlFor:O},t))}}}]);
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка