PageSourceSearch

https://www.decor.ua/js_g/com/app.ProfileSystemsConfirmationAccept.509528e59a079a12a94b.js

js decor.ua collected 2026-10-08 06:12:34 UTC 7,162 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmaterial_ui_example_webpack=self.webpackChunkmaterial_ui_example_webpack||[]).push([[1388],{69028:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(73001);const o=n.n(r)().createActions(["handleInit","handleSetAcceptator"])},95869:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(73001),o=n.n(r),a=n(69028),c=n(80569),i=n.n(c);function u(e){return u="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},u(e)}function l(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 s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function f(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}const y=function(e){!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&&s(e,t)}(c,e);var t,n,r,o=f(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=o.call(this)).state=e.data={ready:!1},e.props={},e.listenToMany(a.Z),e}return t=c,(n=[{key:"onHandleInit",value:function(){this._handleXHRPost({server_class:"profileSystemsAcceptorsList",server_function:"profileSystemsAcceptorsList",data:{}},(function(e){this.data=e,this._handleTrigger()}))}},{key:"onHandleSetAcceptator",value:function(e){this.data.currentAcceptatorId=e,this._handleTrigger()}},{key:"_handleTrigger",value:function(){this.trigger(this.data)}},{key:"_handleXHRPost",value:function(e,t){var n=this;i().post("localhost"===window.location.hostname?"https://okna.ua/ajax_request/":"/ajax_request/").type("form").send({server_class:e.server_class,server_function:e.server_function,language:"undefined"!==("undefined"==typeof language?"undefined":u(language))?language:"",data:e.data}).end((function(e,r){e?console.log(e):"function"==typeof t&&t.call(n,r.body)}))}}])&&l(t.prototype,n),r&&l(t,r),c}(o().Store)},8356:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});var r=n(67294),o=n(45697),a=n.n(o),c=n(73001),i=n.n(c),u=n(66491),l=n(17918),s=n(92237),f=n(96168),p=n(80569),d=n.n(p),y=n(95869);n(69028);function h(e){return h="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},h(e)}function b(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 v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var k=function(e){!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&&v(e,t)}(c,e);var t,n,o,a=m(c);function c(e){var t,n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),t=a.call(this,e),n=g(t),o=function(){t.setState({accept:!t.state.accept},(function(){return t._handleXHRPost({server_class:"profileSystemsConfirmationAccept",server_function:"profileSystemsConfirmationAccept",data:{profileId:t.state.profileId,accept:t.state.accept,acceptatorId:t.state.currentAcceptatorId}},(function(){}))}))},(r="_handleOnCheck")in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t.state={profileId:e.profileId,accept:e.acceptorId>0,acceptorId:e.acceptorId},t.store=y.Z,t}return t=c,(n=[{key:"_handleCheckBoxDisabled",value:function(){return!(!(this.state.accept||this.state.acceptorId>0)&&this.state.currentAcceptatorId)}},{key:"render",value:function(){return this.state.ready?r.createElement("div",null,r.createElement(s.Z,{checked:this.state.accept,onCheck:this._handleOnCheck,disabled:this._handleCheckBoxDisabled(),"data-tip":this.state.selectAcceptor,"data-tip-disable":this.state.accept||!this._handleCheckBoxDisabled(),style:{width:"24px",display:"block"}}),r.createElement(f.Z,{place:"top",type:"dark",effect:"solid"})):r.createElement("div",null)}},{key:"_handleXHRPost",value:function(e,t){var n=this;d().post("localhost"===window.location.hostname?"https://okna.ua/ajax_request/":"/ajax_request/").type("form").send({server_class:e.server_class,server_function:e.server_function,language:"undefined"!==("undefined"==typeof language?"undefined":h(language))?language:"",data:e.data}).end((function(e,r){e?console.log(e):t.call(n,r.body)}))}}])&&b(t.prototype,n),o&&b(t,o),c}(i().Component);k.childContextTypes={muiTheme:a().object},k.prototype.getChildContext=function(){return{muiTheme:(0,l.Z)(u.Z)}};const C=k},66491:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(15630),o=n(18144),a=n(14888),c=n(48075);const i={spacing:a.default,zIndex:c.default,fontFamily:"Roboto, sans-serif",palette:{primary1Color:"#0197DD",primary2Color:r.cyan700,primary3Color:r.grey500,accent1Color:"#FF0000",accent2Color:r.grey100,accent3Color:r.grey400,textColor:r.darkBlack,alternateTextColor:r.white,canvasColor:r.white,borderColor:r.grey400,disabledColor:(0,o.fade)(r.darkBlack,.3),pickerHeaderColor:r.cyan500}}}}]);
2//# sourceMappingURL=app.ProfileSystemsConfirmationAccept.509528e59a079a12a94b.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.