PageSourceSearch

https://asset.gradesfixer.com/build/js/Template/webpack_common_footer_scripts.d31b8ca7.js?1790256881

js gradesfixer.com collected 2026-09-24 18:41:25 UTC 136,442 bytes, 2 lines download raw bytes

1/*! For license information please see webpack_common_footer_scripts.d31b8ca7.js.LICENSE.txt */
2(self.webpackChunkedusson_platform=self.webpackChunkedusson_platform||[]).push([[3856],{34836:function(){function t(e){return t="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},t(e)}var e,n,o,i=this&&this.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)});!function(t){var e=function(){function e(e,n,o){var i=this;this.WRAPPER_CLASS="cookies-notify",this.TEXT_CLASS="cookies-notify__text",this.LINK_CLASS="cookies-notify__link",this.CLOSE_BTN_CLASS="cookies-notify__close",this.ACCEPT_BTN_CLASS="cookies-notify__accept",this.COOKIES_NAME="cookies_notify",this.COOKIES_LIFE_TIME=30,this.bodySelectorClass="cookies-notify_show",this.termsLink=e||"#",this.notifyText=n.mainText,this.cookieLinkText=n.linkText,this.bodySelector=document.querySelector("body"),this.phraseStorage=new t.Phrase.MessagePhraseStorage(o),this.renderNotify();var r=document.querySelector(".".concat(this.CLOSE_BTN_CLASS));r&&r.addEventListener("click",this.removeNotify.bind(this));var s=document.querySelector(".".concat(this.ACCEPT_BTN_CLASS));s&&s.addEventListener("click",this.removeNotify.bind(this)),setTimeout((function(){document.querySelector("dialog.cookiefirst-root")&&i.removeNotify()}),2e3)}return e.prototype.removeNotify=function(){CookieEditor.set(this.COOKIES_NAME,1,this.COOKIES_LIFE_TIME);var t=document.querySelector(".".concat(this.WRAPPER_CLASS));this.removeClass(),t.remove()},e.prototype.buildCookiesTemplate=function(){var t=this.getWrapTemplate();return t.appendChild(this.getTextTemplate()),t.appendChild(this.getAcceptButtonTemplate()),t.appendChild(this.getCloseButtonTemplate()),t},e.prototype.getWrapTemplate=function(){var t=document.createElement("div");return t.classList.add(this.WRAPPER_CLASS),t},e.prototype.getTextTemplate=function(){var t=document.createElement("p");return t.classList.add(this.TEXT_CLASS),t.innerText="".concat(this.notifyText," "),t.appendChild(this.getLinkTemplate()),t},e.prototype.getLinkTemplate=function(){var t=document.createElement("a");return t.classList.add(this.LINK_CLASS),t.innerText="".concat(this.cookieLinkText,"."),t.href="".concat(this.termsLink),t},e.prototype.getCloseButtonTemplate=function(){var t=document.createElement("button");return t.setAttribute("type","button"),t.classList.add(this.CLOSE_BTN_CLASS),t.innerText=this.phraseStorage.getPhrase("Close"),t},e.prototype.getAcceptButtonTemplate=function(){var t=document.createElement("button");return t.setAttribute("type","button"),t.classList.add(this.ACCEPT_BTN_CLASS),t.innerText=this.phraseStorage.getPhrase("Accept"),t},e.prototype.renderNotify=function(){CookieEditor.get(this.COOKIES_NAME)||(this.addClass(),this.bodySelector.appendChild(this.buildCookiesTemplate()))},e.prototype.addClass=function(){this.bodySelector.classList.contains(this.bodySelectorClass)||this.bodySelector.classList.add(this.bodySelectorClass)},e.prototype.removeClass=function(){this.bodySelector.classList.contains(this.bodySelectorClass)&&this.bodySelector.classList.remove(this.bodySelectorClass)},e}();t.CookiesNotify=e}(o||(o={})),void 0===window.Cookies&&(window.Cookies=o),window.Cookies.CookiesNotify=o.CookiesNotify,function(e){!function(e){var n=function(){function e(t){this.locale_name=t}return e.prototype.getPhrase=function(e,n){void 0===n&&(n=void 0);var o=e;if(void 0!==this.messages[e]){var i=this.messages[e][this.getLocale(e)];i&&(o=i)}return"object"===t(n)?this.getReplacedOutput(o,n):o},e.prototype.getLocale=function(t){var n=void 0===this.messages[t][this.locale_name]?e.DEFAULT_LOCALE_NAME:this.locale_name;if(void 0===this.messages[t][n])throw new Error("This phrase ('"+t+"') doesn't exist");return n},e.prototype.getReplacedOutput=function(t,e){var n="";return Object.keys(e).map((function(o){var i=n.length?n:t,r=new RegExp(o,"gm");n=i.replace(r,e[o])})),n},e.DEFAULT_LOCALE_NAME="en",e}();e.AbstractPhraseStorage=n}(e.Phrase||(e.Phrase={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.messages={Accept:{en:"Accept",es:"Aceptar"},Close:{en:"Close",es:"Cerrar"}},e}return i(e,t),e}(n.Phrase.AbstractPhraseStorage);t.MessagePhraseStorage=e}(t.Phrase||(t.Phrase={}))}(o||(o={}))},95514:function(){function t(e){return t="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},t(e)}!function(e){!function(e){var n=function(){function e(t,e,n,o,i){void 0===t&&(t=null),void 0===o&&(o=!1),void 0===i&&(i=null),this.listen_elem_selector=t,this.events_list=e,this.callback=n,this.on_document_ready=o,this.data=i,this.has_keyup_event=!1;var r=!1;null==t&&(r=!0),r||this._init()}return e.prototype.init=function(t){this.listen_elem_selector=t,this._init()},e.prototype.reinit=function(t){this.element=void 0,this.listen_elem_selector=t,this._initReal()},e.prototype._init=function(){this.on_document_ready?$((function(){this._initReal()})):this._initReal()},e.prototype._initReal=function(){var t=this.prepareEventList();if(this._initEvents(t,this.callback),this.has_keyup_event){var e=this.getKeyupCallback(this.getElement(),this.callback);this._initEvents("keyup",e)}},e.prototype._initEvents=function(t,e){this.data?this.getElement().on(t,this.data,e):this.getElement().on(t,e)},e.prototype.getKeyupCallback=function(t,e){return function(){var n=t.data("validate_timer");n&&clearTimeout(n),n=setTimeout((function(){e()}),1e3),t.data("validate_timer",n)}},e.prototype.getElement=function(){if(null==this.element)switch(t(this.listen_elem_selector)){case"object":this.element=this.listen_elem_selector;break;case"string":this.element=$(this.listen_elem_selector);break;default:throw new Error("listen_elem_selector must be object (jquery selected) or string")}return this.element},e.prototype.prepareEventList=function(){var t=this.events_list.split(",");this.has_keyup_event=!1;var e=t.indexOf("keyup");-1!==e&&(this.has_keyup_event=!0,t.splice(e,1));var n=t.indexOf("keypress");-1!==n&&(this.has_keyup_event=!0,t.splice(n,1));var o=t.indexOf("keydown");return-1!==o&&(this.has_keyup_event=!0,t.splice(o,1)),t.join(" ")},e}();e.EventHandler=n}(e.Event||(e.Event={}))}(n||(n={})),function(t){!function(t){var e=function(){function t(){this.listen_elem_selector=null,this.events_list=null,this.callback=null,this.on_document_ready=null,this.data=null}return t.prototype.setListenElemSelector=function(t){this.listen_elem_selector=t},t.prototype.setEventsList=function(t){this.events_list=t},t.prototype.setCallback=function(t){this.callback=t},t.prototype.setInitOnDocumentReady=function(t){this.on_document_ready=t},t.prototype.setData=function(t){this.data=t},t}();t.EventHandlerConfig=e}(t.Event||(t.Event={}))}(n||(n={})),function(e){var n=function(){function n(o,i,r){if(void 0===r&&(r=!0),this.params={show_errors:!0,only_first_error:!0,form_selector:null,elem_error_selector_suffix:n.DEFAULT_ELEM_ERROR_SELECTOR_SUFFIX,all_errors_class:"fv1_error"},this.elements=[],this.errors={},this.elements_with_errors=[],this.is_valid=!0,null==i.form_selector)throw new Error('Param "form_selector" required.');if("string"!=typeof i.form_selector)throw new Error('Param "form_selector" need to be String type.');if("object"==t(i)&&$.extend(this.params,i),r instanceof e.Event.EventHandlerConfig)this.eventHandlerConfig=r;else if(1==r){var s=new e.Event.EventHandlerConfig;s.setEventsList("change,keyup"),this.eventHandlerConfig=s}if(o)for(var a in o)this.addFormElement(o[a])}return n.prototype.reinit=function(){var t;for(t in this.elements)this.elements[t].reinit()},n.prototype.addFormElement=function(t){t.setFormValidationObject(this),this.eventHandlerConfig&&t.canInitEventHandler()&&t.initEventHandler(this.eventHandlerConfig.events_list,this.eventHandlerConfig.on_document_ready,this.eventHandlerConfig.data),this.elements.push(t)},n.prototype.validate=function(){var t,e;for(var n in this.is_valid=!0,this.errors={},this.elements_with_errors=[],this.elements)(t=this.elements[n]).validate()||(t.getErrors(),(e=t.getElementSelector())?this.errors[e]=t.getErrors():(null==this.errors.other&&(this.errors.other=[]),this.errors.other=this.errors.other.concat(t.getErrors())),this.elements_with_errors.push(t),this.is_valid=!1);return this.is_valid},n.prototype.isValid=function(){return this.is_valid},n.prototype.hideErrors=function(){$(this.params.form_selector+" ."+this.params.all_errors_class).text("")},n.prototype.getErrors=function(){return this.errors},n.prototype.getElementsWithErrors=function(t){void 0===t&&(t=!1);var e=[];for(var n in this.elements_with_errors){var o=this.elements_with_errors[n].getElement();t?o.is(":visible")&&e.push(o):e.push(o)}return e},n.prototype.getVisibleErrorElements=function(){var t,e=[];return $(this.params.form_selector+" ."+this.params.all_errors_class+":visible").each((function(n,o){t=$(o),""!=$.trim(t.text())&&e.push(t)})),e},n.prototype.getFirstVisibleErrorElement=function(){var t,e;return $(this.params.form_selector+" ."+this.params.all_errors_class+":visible").each((function(n,o){if(t=$(o),""!=$.trim(t.text()))return e=t,!1})),e},n.DEFAULT_ELEM_ERROR_SELECTOR_SUFFIX="_fv1_error",n}();e.FormValidation=n}(n||(n={})),window.FV=n,function(e){var n=function(){function n(e,n,o,i){if(void 0===o&&(o=null),void 0===i&&(i=null),this.elem_selector=e,this.validators=n,this.elem_error_selector=o,this.callbacks=i,this.is_event_handler_init_disabled=!1,this.errors=[],this.event_handlers=[],"object"==t(this.elem_selector)&&!this.elem_error_selector)throw new Error('Error selector param ("elem_error_selector") must be defined if "elem_selector" param is an object')}return n.prototype.reinit=function(){var t;for(t in this.element=void 0,this.error_element=void 0,this.event_handlers)this.event_handlers[t].reinit(this.getElement())},n.prototype.setFormValidationObject=function(t){this.formValidation=t,this.form_params=t.params},n.prototype.validate=function(){var t,e;this.errors=[];var n=!0;for(t in this.validators)(e=this.validators[t]).validate(this.getValue(),this.getElement(),this)||(n=!1,this.errors=this.errors.concat(e.getErrors()));null!==this.callbacks&&(n?this.callbacks.hasOnValid()&&this.callbacks.getOnValid()(this.getElement()):this.callbacks.hasOnInvali
2d()&&this.callbacks.getOnInvalid()(this.getElement(),this.errors));var o=!1;return this.form_params?this.form_params.show_errors&&(o=!0):o=!0,o&&(n?this.hideErrors():this.showErrors()),n},n.prototype.showErrors=function(){var t=this.getErrorElement();if(t){var e=this.prepareErrors();t.html(e),t.is(":visible")||t.show(),this.form_params&&this.form_params.all_errors_class&&t.addClass(this.form_params.all_errors_class)}},n.prototype.hideErrors=function(){var t=this.getErrorElement();t&&t.text("")},n.prototype.getErrors=function(){return this.errors},n.prototype.addError=function(t,e){e&&this.errors.unshift(t),this.errors.push(t)},n.prototype.initEventHandler=function(t,n,o){void 0===n&&(n=null),void 0===o&&(o=null),this.eventHandler=new e.Event.EventHandler(this.getElement(),t,$.proxy(this.validate,this),n,o),this.event_handlers.push(this.eventHandler)},n.prototype.canInitEventHandler=function(){var t=!1;return this.is_event_handler_init_disabled||this.eventHandler||(t=!0),t},n.prototype.addEventHandler=function(t){t.init(this.getElement()),this.event_handlers.push(t)},n.prototype.disableEventHandlerInit=function(){this.is_event_handler_init_disabled=!0},n.prototype.getElement=function(){var t,e;null==this.element&&(t=(e=this.getElementSelector())?$(e):this.elem_selector,this.element=t);return this.element},n.prototype.getElementSelector=function(){var t=null;return"string"==typeof this.elem_selector&&(t=this.elem_selector,this.form_params&&this.form_params.form_selector&&(t=this.form_params.form_selector+" "+this.elem_selector)),t},n.prototype.getErrorElement=function(){var n,o;null==this.error_element&&("object"==t(n=this.elem_error_selector?this.elem_error_selector:this.form_params?this.elem_selector+this.form_params.elem_error_selector_suffix:this.elem_selector+e.FormValidation.DEFAULT_ELEM_ERROR_SELECTOR_SUFFIX)?o=n:(o=$(n)).length||(o=null),this.error_element=o);return this.error_element},n.prototype.getValue=function(){var t,e=this.getElement();if(e.length>0)if(e.length>1){t=[];var n=$(e[0]);(n.is(":checkbox")||n.is(":radio"))&&e.filter(":checked").each((function(){t.push($(this).val())}))}else t=$.trim(e.val());return t},n.prototype.prepareErrors=function(){var t,e=!1;if(this.form_params?this.form_params.only_first_error&&(e=!0):e=!0,e)t=this.errors[0];else{for(var n in t='<ul class="error_list">',this.errors)t+="<li>".concat(this.errors[n],"</li>");t+="</ul>"}return t},n}();e.FormElement=n}(n||(n={})),function(e){!function(e){var n=function(){function e(){this.errors=[]}return e.prototype.initParams=function(e,n){if(n){if("object"!=t(n))throw new TypeError('Attribute "params" need to be json');var o;for(o in n){if(!e.hasOwnProperty(o))throw new Error("Try define unknown parameter: "+o);e[o]=n[o]}}},e.prototype.validate=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),this.errors=[],this.element=!1,this.element_selector=e,this.formElement=n,this.validateValue(t),this.isValid()},e.prototype.addError=function(t){this.errors.push(t)},e.prototype.getError=function(){return this.errors?this.errors[0]:null},e.prototype.getErrors=function(){return this.errors},e.prototype.isValid=function(){return!(this.errors.length>0)},e.prototype.getElement=function(){if(!1===this.element){var e=null;if(this.element_selector)switch(t(this.element_selector)){case"object":e=this.element_selector;break;case"string":e=$(this.element_selector);break;default:throw new Error("element_selector must be object or string")}this.element=e}return this.element},e.prototype.getFormElement=function(){return this.formElement},e.prototype.messageReplace=function(t,e,n){return t.replace(new RegExp(e),n.toString())},e.prototype.messageReplaceList=function(t,e){for(var n in e){var o=e[n];t=t.replace(new RegExp(n),o.toString())}return t},e.prototype.isBlankValue=function(e){var n=!1;return"string"==typeof e?n=""==$.trim(e):"object"==t(e)&&(n=!e.length),n},e}();e.AbstractValidator=n}(e.Validator||(e.Validator={}))}(n||(n={}));var e,n,o=this&&this.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)});!function(t){!function(e){!function(e){var n=function(t){function e(e){var n=t.call(this)||this;return n.errorMessage='Enter without dashes. No leading "1". Please, check the number.',n.intlTelObj=e.intlTelObj,n}return o(e,t),e.prototype.validateValue=function(t){this.intlTelObj.isValidNumber()||this.addError(this.errorMessage)},e}(t.Validator.AbstractValidator);e.PhoneIntlTel=n}(e.Common||(e.Common={}))}(t.CustomValidator||(t.CustomValidator={}))}(n||(n={})),function(t){!function(e){!function(e){var n=function(t){function e(e){var n=t.call(this)||this;if(n.allowed_percent=null,n.message_allowed_percent="You can not release this amount. The value should be equal or less than {{ allowed_percent }}%",n.message_allowed_percent_zero="You can not release money now. You will be able to release money after you get the next draft.",null==e.allowed_percent)throw new Error('Need to set "allowed_percent" param');if(e.allowed_percent&&"number"!=typeof e.allowed_percent)throw new Error('Params "allowed_percent" need to be Number');return t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){if(t>this.allowed_percent){var e=0==this.allowed_percent?this.message_allowed_percent_zero:this.message_allowed_percent;this.addError(this.messageReplace(e,"{{ allowed_percent }}",this.allowed_percent))}},e}(t.Validator.AbstractValidator);e.CompensationPercent=n}(e.Customer||(e.Customer={}))}(t.CustomValidator||(t.CustomValidator={}))}(n||(n={})),function(t){!function(e){var n=function(t){function e(e){var n=t.call(this)||this;if(n.pattern=null,n.message="Incorrect Format",n.can_be_blank=!1,null==e.pattern)throw new Error('Need to set "pattern" for check');if(e.pattern&&!(e.pattern instanceof RegExp))throw new Error('Param "pattern" need to be Regexp type');return t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){this.can_be_blank&&this.isBlankValue(t)||this.pattern.test(t)||this.addError(this.message)},e}(t.Validator.AbstractValidator);e.Regexp=n}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(e){!function(e){var n=function(t){function e(e){return e.pattern=/^([0-9]{1,})(([.,]{0,1})([0-9]{1,2}){0,1})$/,t.call(this,e)||this}return o(e,t),e}(t.Validator.Regexp);e.PriceAmountRegex=n}(e.Customer||(e.Customer={}))}(t.CustomValidator||(t.CustomValidator={}))}(n||(n={})),function(t){!function(e){!function(e){var n=function(t){function e(e){var n=t.call(this)||this;if(n.messageDefault="This is a required field for this type of service. Upload a proper document first, then save and continue.",n.services_required_file_attachments=null,n.service_element_selector=null,n.function_get_file_attachments_count=null,n.is_of_type_editing_service=null,n.errorPhraseStorage=null,n.description=null,n.is_form_type_presentation=null,null==e.services_required_file_attachments||null==e.service_element_selector||null==e.function_get_file_attachments_count||null==e.is_of_type_editing_service)throw new Error('Params "services_required_file_attachments", "service_element_selector", "function_get_file_attachments_count", "is_of_type_editing_service" must be defined');return t.prototype.initParams.call(n,n,e),n.validateClosure=n._createValidateClosure(),n}return o(e,t),e.prototype.validateValue=function(t){this.validateClosure()},e.prototype._createValidateClosure=function(){var t=this;return function(){var e=t.getSelectedService();t.is_form_type_presentation&&t.isAttachmentsEmpty()&&t.description&&0===t.description.getValue().length&&t.addError(t.getMessage()),e&&(e=parseInt(e,10),-1!==t.services_required_file_attachments.indexOf(e)&&t.isAttachmentsEmpty()&&t.addError(t.getMessage()))}},e.prototype.getSelectedService=function(){var t=this.getServiceElement();return t.is(":radio")?t.filter(":checked").val():t.val()},e.prototype.getServiceElement=function(){return"string"==typeof this.service_element_selector?$(this.service_element_selector):this.service_element_selector},e.prototype.getMessage=function(){return this.is_form_type_presentation?this.errorPhraseStorage.getPhrase("Required field. Add instructions or attach file to place the order."):this.is_of_type_editing_service?this.errorPhraseStorage.getPhrase("Required field. Attach the file that needs to be edited to place the order."):this.messageDefault},e.prototype.isAttachmentsEmpty=function(){return 0===parseInt(this.function_get_file_attachments_count(),10)},e}(t.Validator.AbstractValidator);e.AdditionalMaterials=n}(e.OrderForm||(e.OrderForm={}))}(t.CustomValidator||(t.CustomValidator={}))}(n||(n={})),function(t){!function(e){!function(e){var n=function(t){function e(e){var n=t.call(this)||this;if(n.deadline_time_shift_min_seconds=null,n.deadline_time_shift_max_seconds=null,n.time_data_selector=null,n.minutes_data_selector=null,n.is_mobile=!1,n.is_deadline_v2=!1,n.selector_error_base=null,n.message_min_time="Choose %min_time_shift_hours% Hours or More.",n.message_min_time_by_pages=n.message_min_time,n.message_max_time="The maximum Allowed Deadline is %max_time_shift_days% Days.",n.message_incorrect_format="Incorrect Data or Format",n.deadlineService=null,null==e.deadlineService)throw new Error('Need parameter "deadlineService"');if(null==e.deadline_time_shift_min_seconds)throw new Error('Need parameter "deadline_time_shift_min_seconds"');
2if(null==e.deadline_time_shift_max_seconds)throw new Error('Need parameter "deadline_time_shift_max_seconds"');return t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){this.time_data_selector&&(this.is_mobile&&(t+=" "+$(this.time_data_selector).val()),this.selector_error_base&&$(this.selector_error_base).empty().hide());try{var e=this.getSelectedDate(t),n=e.getTime(),o=this.deadlineService.getStaticMinDate(),i=this.deadlineService.getDynamicMinDate(e),r=this.deadlineService.getStaticMaxDate();if(o.getTime()===i.getTime()&&n<o.getTime()){var s=this.getMinTimeShiftHours();this.addError(this.messageReplace(this.message_min_time,"%min_time_shift_hours%",s))}else if(n<i.getTime()){var a=Math.ceil(this.deadlineService.getSelectedTimeInterval(i).hours);this.addError(this.messageReplace(this.message_min_time_by_pages,"%min_time_shift_hours%",a))}else if(n>r.getTime()){var c=this.getMaxTimeShiftDays();this.addError(this.messageReplace(this.message_max_time,"%max_time_shift_days%",c))}}catch(t){this.addError(this.message_incorrect_format)}},e.prototype.getSelectedDate=function(t){var e;if(this.is_deadline_v2||this.is_mobile){var n=t.split(" "),o=n[0].split("-"),i=n[1].split(":");e=new Date(o[0],o[1]-1,o[2],i[0],i[1])}else{var r=$(this.time_data_selector).val(),s=this.minutes_data_selector?$(this.minutes_data_selector).val():"00:00",a=moment(r,"h a").format("HH"),c=moment(s,"HH:mm").format("mm"),l=this.deadlineService.getYear();e=new Date(t+" "+l+" "+a+":"+c)}return e},e.prototype.getMinTimeShiftHours=function(){return parseInt(this.deadline_time_shift_min_seconds,10)/3600},e.prototype.getMaxTimeShiftDays=function(){return parseInt(this.deadline_time_shift_max_seconds,10)/3600/24},e}(t.Validator.AbstractValidator);e.Deadline=n}(e.OrderForm||(e.OrderForm={}))}(t.CustomValidator||(t.CustomValidator={}))}(n||(n={})),function(t){!function(e){!function(e){var n=function(t){function e(){var e=t.call(this,{pattern:/^\s*[\+\(]*(?:[0-9\s\(\)\-] ?){6,20}[0-9]$/,can_be_blank:!0}
2)||this;return e.message="Type phone in proper format. Example: +1 (999) 999 9999",e}return o(e,t),e}(t.Validator.Regexp);e.Phone=n}(e.OrderForm||(e.OrderForm={}))}(t.CustomValidator||(t.CustomValidator={}))}(n||(n={})),function(t){!function(e){!function(e){var n=function(t){function e(e){var n=t.call(this)||this;return n.min_length=1,n.message="This value is too short. Type in {{ limit }} characters or more.",t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){t.length>0&&t.length<this.min_length&&this.addError(this.messageReplace(this.message,"{{ limit }}",this.min_length))},e}(t.Validator.AbstractValidator);e.Topic=n}(e.OrderForm||(e.OrderForm={}))}(t.CustomValidator||(t.CustomValidator={}))}(n||(n={})),function(t){!function(e){!function(e){var n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.min=1,e.max=20,e.reqexp_pattern=/^[0-9a-zA-Z \s]+$/,e.blank_message="Obligatory Field",e.length_message="It should contain {{ min_limit }} characters or more but not more than {{ max_limit }} Example: Smith.",e.format_message="Incorrect Format.",e}return o(e,t),e.prototype.validateValue=function(t){var e=t.length;if(this.isBlankValue(t)&&this.addError(this.blank_message),null!=this.min&&e<this.min||null!=this.max&&e>this.max){var n=[];n["{{ min_limit }}"]=this.min,n["{{ max_limit }}"]=this.max,this.addError(this.messageReplaceList(this.length_message,n))}this.reqexp_pattern.test(t)||this.addError(this.format_message)},e}(t.Validator.AbstractValidator);e.Username=n}(e.WriterForm||(e.WriterForm={}))}(t.CustomValidator||(t.CustomValidator={}))}(n||(n={})),function(t){!function(e){!function(e){var n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.no_toggle_selected_message="You must select at least one category",e.no_subjects_selected_message="You must choose at least one subject in selected category",e}return o(e,t),e.prototype.validateValue=function(t){var e=$(".js_writing_subjects_toggle"),n=$(".js_presentation_subjects_toggle"),o=$(".js_stem_subjects_toggle"),i=e.is(":checked"),r=n.is(":checked"),s=o.is(":checked");if(!i&&!r&&!s)return this.showGeneralError(this.no_toggle_selected_message),void this.addError(this.no_toggle_selected_message);this.clearAllCategoryErrors();var a=!1,c=null;if(i&&0===$(".js_writing_subject_checkbox:checked").length){var l=this.showCategoryError("writing",this.no_subjects_selected_message);c||(c=l),a=!0}if(r&&0===$(".js_presentation_subject_checkbox:checked").length){l=this.showCategoryError("presentation",this.no_subjects_selected_message);c||(c=l),a=!0}if(s&&0===$(".js_stem_subject_checkbox:checked").length){l=this.showCategoryError("stem",this.no_subjects_selected_message);c||(c=l),a=!0}if(a)return this.addError(this.no_subjects_selected_message),void(c&&this.scrollToElement(c));this.clearAllCategoryErrors(),this.clearGeneralError()},e.prototype.showCategoryError=function(t,e){var n,o,i;switch(this.clearGeneralError(),t){case"writing":o=(n=$(".js_writing_subjects_toggle").closest(".writing-preferences__item")).find(".js_writing_error"),i=n.find("details");break;case"presentation":o=(n=$(".js_presentation_subjects_toggle").closest(".writing-preferences__item")).find(".js_presentation_error"),i=n.find("details");break;case"stem":o=(n=$(".js_stem_subjects_toggle").closest(".writing-preferences__item")).find(".js_stem_error"),i=n.find("details");break;default:return null}return 0===o.length&&(o=$('<div class="writing-preferences__error js_'.concat(t,'_error"></div>')),n.find(".writing-preferences__item-header").after(o)),o.html('<div class="error-message">'.concat(e,"</div>")),o.show(),i.length>0&&i.attr("open",""),n.addClass("writing-preferences__item_has-error"),n[0]},e.prototype.showGeneralError=function(t){var e=$(".js_writing_preferences_main_title"),n=e.next(".js_qualification_subject_errors");0===n.length&&(n=$('<div class="errorText js_qualification_subject_errors writing-preferences__error writing-preferences__error_general"></div>'),e.after(n)),n.html('<div class="error-message">'.concat(t,"</div>")),n.show(),this.scrollToElement(n[0])},e.prototype.clearGeneralError=function(){$(".js_writing_preferences_main_title").next(".js_qualification_subject_errors").hide().empty()}
2,e.prototype.clearCategoryError=function(t){var e=$(".js_".concat(t,"_subjects_toggle")).closest(".writing-preferences__item"),n=e.find(".js_".concat(t,"_error"));n.hide(),n.empty(),e.removeClass("writing-preferences__item_has-error")},e.prototype.clearAllCategoryErrors=function(){this.clearCategoryError("writing"),this.clearCategoryError("presentation"),this.clearCategoryError("stem")},e.prototype.scrollToElement=function(t){t&&t.scrollIntoView&&t.scrollIntoView({behavior:"smooth",block:"center"})},e}(t.Validator.AbstractValidator);e.WritePreferences=n}(e.WriterForm||(e.WriterForm={}))}(t.CustomValidator||(t.CustomValidator={}))}(n||(n={})),function(t){!function(t){var e=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=null),this.on_invalid=t,this.on_valid=e,this.checkCallbacks(this.on_invalid),this.checkCallbacks(this.on_valid)}return t.prototype.hasOnInvalid=function(){return null!==this.on_invalid},t.prototype.getOnInvalid=function(){return this.on_invalid},t.prototype.hasOnValid=function(){return null!==this.on_valid},t.prototype.getOnValid=function(){return this.on_valid},t.prototype.checkCallbacks=function(t){if(null!==t&&"function"!=typeof t)throw new Error("Passed arguments are wrong!")},t}();t.CallbackEvents=e}(t.Event||(t.Event={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.pattern=/^([\w-]+(?:\.[\w-]+)*(?:\+[\w-]+)?)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,10}(?:\.[a-z]{2})?)$/i,e.message="This value is not a valid email address.",e}return o(e,t),e.prototype.validateValue=function(t){""!=t&&(this.pattern.test(t)||this.addError(this.message))},e}(t.AbstractValidator);t.Email=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(e){var n=t.call(this)||this;return n.message="Wrong format.",t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){t.match(/^\d*(\.\d+)?$/)||this.addError(this.message)},e}(t.AbstractValidator);t.FloatNumber=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(e){var n=t.call(this)||this;if(n.min_value=null,n.message="This value should be greater than {{ compared_value }}.",n.format_message="Use integers only.",null==e.min_value)throw new Error('Need to set "min_value" param');if(e.min_value&&"number"!=typeof e.min_value)throw new Error('Params "min_value" need to be Number');return t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){var e=parseInt(t,10);isNaN(e)&&this.addError(this.format_message),this.min_value>=e&&this.addError(this.messageReplace(this.message,"{{ compared_value }}",this.min_value))},e}(t.AbstractValidator);t.GreaterThan=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(e){function n(t){var n=e.call(this)||this;if(n.min_value=null,n.message="This value should be greater than {{ compared_value }}.",n.format_message="Wrong format.",null==t.min_value)throw new Error('Need to set "min_value" param');if(t.min_value&&"number"!=typeof t.min_value)throw new Error('Params "min_value" need to be Number');return e.prototype.initParams.call(n,n,t),n}return o(n,e),n.prototype.validateValue=function(e){if(new t.FloatNumber({}).validate(e)){var n=parseFloat(e);this.min_value>=n&&this.addError(this.messageReplace(this.message,"{{ compared_value }}",this.min_value))}else this.addError(this.format_message)},n}(t.AbstractValidator);t.GreaterThanFloat=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(e){var n=t.call(this)||this;return n.message="Wrong format.",t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){var e=parseInt(t,10),n=e.toString();(isNaN(e)||n!=t.toString())&&this.addError(this.message)},e}(t.AbstractValidator);t.IntNumber=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(e){var n=t.call(this)||this;if(n.min=null,n.max=null,n.min_message="This value is too short. It should have {{ limit }} character or more.",n.max_message="This value is too long. It should have {{ limit }} character or less.",null==e.min&&null==e.max)throw new Error('Need to set "min" or/and "max" params');if(e.min&&"number"!=typeof e.min||e.max&&"number"!=typeof e.max)throw new Error('Params "min"/"max" need to be Number');return t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){var e=t.length;null!=this.min&&e<this.min&&this.addError(this.messageReplace(this.min_message,"{{ limit }}",this.min)),null!=this.max&&e>this.max&&this.addError(this.messageReplace(this.max_message,"{{ limit }}",this.max))},e}(t.AbstractValidator);t.Length=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.validateValue=function(t){if(!this.isBlankValue(t)){var e=t.length;null!=this.min&&e<this.min&&this.addError(this.messageReplace(this.min_message,"{{ limit }}",this.min)),null!=this.max&&e>this.max&&this.addError(this.messageReplace(this.max_message,"{{ limit }}",this.max))}},e}(t.Length);t.LengthOrBlank=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(e){function n(t){var n=e.call(this)||this;if(n.max_value=null,n.additional_message_value=null,n.message="This value should be less than or equal to __compared_value__.",n.format_message="Wrong format.",null==t.max_value)throw new Error('Need to set "max_value" param');if(t.max_value&&"number"!=typeof t.max_value)throw new Error('Params "max_value" need to be Number');return e.prototype.initParams.call(n,n,t),n}return o(n,e),n.prototype.validateValue=function(e){if(new t.FloatNumber({}).validate(e)){if(parseFloat(e)>
2this.max_value){var n=this.messageReplace(this.message,"__compared_value__",this.max_value);this.additional_message_value&&(n=this.messageReplace(n,"__additional_message_value__",this.additional_message_value)),this.addError(n)}}else this.addError(this.format_message)},n}(t.AbstractValidator);t.LessThanOrEqual=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.min=5,e.max=17,e.blank_message="Obligatory Field",e.length_message="It should contain {{ min_limit }} characters or more but not more than {{ max_limit }}.",e.forbidden_words_message="The use of such words as Ph.D., Doctor, or Professor is not allowed.",e}return o(e,t),e.prototype.validateValue=function(t){var e=t.length;if(this.isBlankValue(t)&&this.addError(this.blank_message),null!=this.min&&e<this.min||null!=this.max&&e>this.max){var n=[];n["{{ min_limit }}"]=this.min,n["{{ max_limit }}"]=this.max,this.addError(this.messageReplaceList(this.length_message,n))}this.containsForbiddenKeyword(t)&&this.addError(this.forbidden_words_message)},e.prototype.containsForbiddenKeyword=function(t){var e=t.replace(/[\/\-_.\s+]/g,"");e=e.toLowerCase();for(var n=0,o=["dr","doctor","prof","professor","phd"];n<o.length;n++){var i=o[n];if(e.includes(i))return!0}return!1},e}(t.AbstractValidator);t.Nickname=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(e){var n=t.call(this)||this;return n.message="Required field",t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){this.isBlankValue(t)&&this.addError(this.message)},e}(t.AbstractValidator);t.NotBlank=e}(t.Validator||(t.Validator={}))}(n||(n={})),function(t){!function(t){var e=function(t){function e(e){var n=t.call(this)||this;if(n.min=null,n.max=null,n.min_message="This value should be %limit% or more.",n.max_message="This value should be %limit% or less.",null==e.min&&null==e.max)throw new Error('Need to set "min" or/and "max" params');if(e.min&&"number"!=typeof e.min||e.max&&"number"!=typeof e.max)throw new Error('Params "min"/"max" need to be Number');return t.prototype.initParams.call(n,n,e),n}return o(e,t),e.prototype.validateValue=function(t){t=t.replace(/,/,"."),t=parseFloat(t),isNaN(t)||(null!=this.min&&t<this.min&&this.addError(this.messageReplace(this.min_message,"%limit%",this.min)),null!=this.max&&t>this.max&&this.addError(this.messageReplace(this.max_message,"%limit%",this.max)))},e}(t.AbstractValidator);t.NumberRange=e}(t.Validator||(t.Validator={}))}(n||(n={}))},52589:function(){var t,e=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;i<r;i++)!o&&i in e||(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return t.concat(o||Array.prototype.slice.call(e))};!function(t){var e=function(){function t(t){var e=this;this.options=null,this.elem=null,this.elemSelector="",this.activeClass="",this.options=t||{},this.elemSelector=this.options.hasOwnProperty("elemSelector")?this.options.elemSelector:".js_user-balance",this.elem=document.querySelector(this.elemSelector),this.activeClass=this.options.hasOwnProperty("activeClass")?this.options.activeClass:"active",this.elem.addEventListener("click",(function(){return e.toggleActiveClass(event)})),document.addEventListener("mouseup",(function(){return e.hideIfClickOutside(event)}))}return t.prototype.hideIfClickOutside=function(t){t.stopPropagation(),this.elem.contains(t.target).length||t.target.classList.contains(this.elemSelector.slice(1))||this.elem.classList.remove(this.activeClass)},t.prototype.toggleActiveClass=function(t){t.stopPropagation(),this.elem.classList.toggle(this.activeClass)},t}();t.BalanceDropdown=e}(t||(t={})),void 0===window.Header&&(window.Header=t),window.Header.BalanceDropdown=t.BalanceDropdown,function(t){var n=function(){function t(t,e){this.selector={main:".js_main-dropdown-v2",menu:".js_main-menu-v2",controlsV4:".js_main-menu-controls-v4",headingV4:".js_main-menu-heading-v4",shadow:".js_shadow-v2",menuItem:".js_main-menu-item",section:".js_main-dropdown-section",dropdownList:".js_main-dropdown-list",dropdownSubList:".js_main-dropdown-sublist",dropdownItem:".js_main-dropdown-item",title:".js_main-menu-title",subt
2itle:".js_main-dropdown-title",closeBtn:".js_main-menu-close",leftSide:".js_main-dropdown-left-side",rightSide:".js_main-dropdown-right-side",hamburger:".js_hamburger-menu-v4",userLogged:".js_user_logged",userMenu:".js_user_menu",header:".js_header__wrapper",prevBtn:".js_main-menu-prev",closeLink:".js_main-dropdown-close"},this.element={body:document.querySelector("body"),menu:document.querySelector(this.selector.menu),headingV4:document.querySelector(this.selector.headingV4),controlsV4:document.querySelector(this.selector.controlsV4),prevBtn:document.querySelector(this.selector.prevBtn),rightSides:[],itemsLvl2:[],itemsLvl3:[],closeBtn:document.querySelector(this.selector.closeBtn),leftSides:[],main:[],shadow:document.querySelector(this.selector.shadow),menuItem:[],section:[],hamburger:document.querySelector(this.selector.hamburger),header:document.querySelector(this.selector.header),userLogged:document.querySelector(this.selector.userLogged),userMenu:document.querySelector(this.selector.userMenu),closeLink:document.querySelector(this.selector.closeLink)},this.defaultConfig={isShow:"is-show",isPrevVisible:"is-prev-visible",isFadeIn:"is-fade-in",menuFadeOut:"is-fade-out",isOpen:"is-open",active:"active",itemExpandable:"main-dropdown-v2__item_expandable",slideOut:"slide-out",noBodyScroll:"no-body-scroll-v2",breakpoint:1100,fadeDuration:280,slideDuration:260,defaultMenuPosition:"afterLogo"},this.state={prevTitle:this.element.menu.attributes["data-heading"].value,prevTitleLvl2:null,prevHeading:null,currentItem:null,currentElemId:null,currentSection:null,currentMenuLvl:null,currentDropdown:null,currentSubtitle:null,newText:null},this.options={isLogged:null,defaultMenuPosition:null,highlightCurrentLink:null,linkGetParam:null,mobileOnDesktopIfLogged:!1,breakpoint:null,toggleActiveLeftSide:!1,isRightSideOpen:!1},this.setOptions(t,e),this.highlightCurrentLink(),this.setElements(),this.element.body.prepend(this.element.shadow),this.initHandlers()}return t.prototype.setOptions=function(t,e){this.options=e||{},this.options.isLogged=!!t,this.options.defaultMenuPosition=this.options.defaultMenuPosition||this.defaultConfig.defaultMenuPosition},t.prototype.setElements=function(){this.setItemsLvl2(),this.setItemsLvl3(),this.element.leftSides=Array.from(document.querySelectorAll(this.selector.leftSide)),this.element.rightSides=Array.from(document.querySelectorAll(this.selector.rightSide)),this.element.main=Array.from(document.querySelectorAll(this.selector.main)),this.element.menuItem=Array.from(document.querySelectorAll(this.selector.menuItem)),this.element.section=Array.from(document.querySelectorAll(this.selector.section))},t.prototype.setItemsLvl2=function(){var t=this,n=Array.from(document.querySelectorAll(this.selector.dropdownList));n.length>0&&n.forEach((function(n){t.element.itemsLvl2=e(e([],t.element.itemsLvl2,!0),Array.from(n.children),!0)}))},t.prototype.setItemsLvl3=function(){var t=this,n=Array.from(document.querySelectorAll(this.selector.dropdownSubList));n.length>0&&n.forEach((function(n){t.element.itemsLvl3=e(e([],t.element.itemsLvl3,!0),Array.from(n.children),!0)}))},t.prototype.highlightCurrentLink=function(){this.options.highlightCurrentLink&&this.getCurrentLink()&&this.getCurrentLink().classList.add(this.defaultConfig.active)},t.prototype.getCurrentLink=function(){return this.element.menu.querySelector("a[href='".concat(window.location.pathname,"']"))},t.prototype.turnOnItem=function(t){var e=this;this.isEnableMobileFunctions()||(this.state.currentItem=t.target,this.state.currentElemId=this.getItemId(),this.state.currentSection=this.getSection(),this.turnOffItem(),this.state.currentElemId&&(this.state.currentItem.classList.add(this.defaultConfig.isOpen),this.show(this.state.currentSection),this.element.rightSides.forEach((function(t){e.show(t)}))),this.options.toggleActiveLeftSide&&this.element.leftSides.forEach((function(t){t.classList.add(e.defaultConfig.isOpen)})))},t.prototype.turnOffItem=function(){var t=this;this.isEnableMobileFunctions()||(this.element.itemsLvl2.forEach((function(e){e.classList.remove(t.defaultConfig.isOpen)}
2)),this.element.rightSides.forEach((function(e){t.hide(e)})),this.element.section.forEach((function(e){t.hide(e)})),this.options.toggleActiveLeftSide&&this.element.leftSides.forEach((function(e){e.classList.remove(t.defaultConfig.isOpen)})))},t.prototype.isEnableMobileFunctions=function(){return this.options.mobileOnDesktopIfLogged&&this.options.isLogged||!this.isDesktop()},t.prototype.isDesktop=function(){var t=this.options.breakpoint||this.defaultConfig.breakpoint;return window.innerWidth>t},t.prototype.getItemId=function(){if(this.state.currentItem.attributes["data-id"])return this.state.currentItem.attributes["data-id"].value},t.prototype.getSection=function(){if(this.state.currentElemId)return this.state.currentItem.closest(this.selector.main).querySelector("".concat(this.selector.section,'[data-id="').concat(this.state.currentElemId,'"]'))},t.prototype.hide=function(t){t&&(t.style.display="none")},t.prototype.show=function(t){t&&(t.style.display="block")},t.prototype.slideToNextLvl=function(t){var e=this;if(this.isEnableMobileFunctions()&&3!==this.state.currentMenuLvl){var n=t.target;if(n.classList.contains(this.selector.title.slice(1))||n.classList.contains(this.selector.dropdownItem.slice(1))||(n=n.closest(this.selector.title)||n.closest(this.selector.dropdownItem)),null!==n){if(t.stopPropagation(),"A"===n.nodeName||"BUTTON"===n.nodeName)return;if(t.preventDefault(),this.setMobileHeading(n,"next"),this.element.menu.scrollTop=0,n.classList.contains(this.selector.title.slice(1)))this.state.currentMenuLvl=2,this.state.currentDropdown=n.closest(this.selector.menuItem).querySelector(this.selector.main),this.show(this.state.currentDropdown),this.element.controlsV4?this.element.controlsV4.classList.add(this.defaultConfig.isPrevVisible):this.element.prevBtn.classList.add(this.defaultConfig.isShow),this.element.menu.attributes["data-level"].value=2;else if(n.classList.contains(this.selector.dropdownItem.slice(1))){if(this.state.currentItem=n,this.state.currentElemId=this.getItemId(),this.state.currentSection=this.getSection(),!this.state.currentElemId)return;this.state.currentMenuLvl=3,this.state.currentItem.classList.add(this.defaultConfig.isOpen),this.show(this.state.currentSection),this.element.rightSides.forEach((function(t){e.show(t)})),this.element.menu.attributes["data-level"].value=3}}}},t.prototype.setMobileHeading=function(t,e){"next"===e?t?2===this.state.currentMenuLvl?this.state.newText=t.innerText:(this.state.prevTitleLvl2=t.innerText,this.state.newText=this.state.prevTitleLvl2):this.state.newText=t.innerText:"prev"===e&&(3===this.state.currentMenuLvl?this.state.newText=this.state.prevTitleLvl2:this.state.newText=this.state.prevTitle),this.element.menu.attributes["data-heading"].value=this.state.newText,this.element.headingV4&&(this.element.headingV4.innerHTML=this.state.newText)},t.prototype.setHeading=function(t){if(!this.isEnableMobileFunctions()){var e="";t.target.attributes["data-heading"]&&(e=t.target.attributes["data-heading"].value),this.state.currentSubtitle=t.target.closest(this.selector.section).querySelector(this.selector.subtitle),this.state.currentSubtitle&&(this.state.prevHeading=this.state.currentSubtitle.innerText,this.state.currentSubtitle.innerText=e)}},t.prototype.resetHeading=function(){this.isEnableMobileFunctions()||this.state.currentSubtitle&&(this.state.currentSubtitle.innerText=this.state.prevHeading)},t.prototype.slideToPrevLvl=function(t){var e=this;this.isEnableMobileFunctions()&&(this.setMobileHeading(t,"prev"),2===this.state.currentMenuLvl?(this.state.currentMenuLvl=null,this.state.currentDropdown.querySelector(this.selector.leftSide).classList.add(this.defaultConfig.slideOut),this.element.menu.attributes["data-level"].value=null,this.element.controlsV4?this.element.controlsV4.classList.remove(this.defaultConfig.isPrevVisible):this.element.prevBtn.classList.remove(this.defaultConfig.isShow),setTimeout((function(){e.state.currentDropdown.querySelector(e.selector.leftSide).classList.remove(e.defaultConfig.slideOut),e.hide(e.state.currentDropdown)}),this.defaultConfig.slideDuration)):3===this.state.currentMenuLvl&&(this.state.currentMenuLvl=2,this.element.rightSides.forEac
2h((function(t){t.classList.add(e.defaultConfig.slideOut)})),this.element.menu.attributes["data-level"].value=2,setTimeout((function(){e.state.currentItem.classList.remove(e.defaultConfig.isOpen),e.hide(e.state.currentSection),e.element.rightSides.forEach((function(t){t.classList.remove(e.defaultConfig.slideOut),e.hide(t)}))}),this.defaultConfig.slideDuration)))},t.prototype.toggleMenu=function(){this.element.menu.classList.contains(this.defaultConfig.isShow)?(this.closeMenu(),this.hideShadow()):(this.openMenu(),this.showShadow())},t.prototype.closeMenu=function(){var t=this;this.element.menu.classList.add(this.defaultConfig.menuFadeOut),window.matchMedia("(prefers-reduced-motion: reduce)").matches?(this.element.menu.classList.remove(this.defaultConfig.isShow),this.element.menu.classList.remove(this.defaultConfig.menuFadeOut),this.element.body.classList.remove(this.defaultConfig.noBodyScroll)):setTimeout((function(){t.element.menu.classList.remove(t.defaultConfig.isShow),t.element.menu.classList.remove(t.defaultConfig.menuFadeOut),t.element.body.classList.remove(t.defaultConfig.noBodyScroll)}),this.defaultConfig.fadeDuration)},t.prototype.openMenu=function(){var t=this;this.element.body.prepend(this.element.menu),this.element.menu.classList.add(this.defaultConfig.isShow),this.element.menu.classList.add(this.defaultConfig.isFadeIn),this.element.body.classList.add(this.defaultConfig.noBodyScroll),window.matchMedia("(prefers-reduced-motion: reduce)").matches?this.element.menu.classList.remove(this.defaultConfig.isFadeIn):setTimeout((function(){t.element.menu.classList.remove(t.defaultConfig.isFadeIn)}),this.defaultConfig.fadeDuration)},t.prototype.hideShadow=function(){this.hide(this.element.shadow)},t.prototype.showShadow=function(){this.show(this.element.shadow)},t.prototype.changeBtnIcon=function(){this.element.hamburger.classList.toggle("active")},t.prototype.toggleAriaExpanded=function(){var t="true"===this.element.hamburger.getAttribute("aria-expanded");this.element.hamburger.setAttribute("aria-expanded",String(!t))},t.prototype.normalizeMenu=function(){var t=this;"none"!==this.element.shadow.style.display&&(this.toggleMenu(),this.element.hamburger.classList.remove("active"),this.element.userLogged&&this.element.userLogged.classList.remove("active"),this.element.userMenu&&(this.element.userMenu.style.height="0",this.element.userMenu.style.overflow="hidden",setTimeout((function(){t.element.userMenu.style.overflow="visible",t.element.userMenu.style.clip="rect(1px, 1px, 1px, 1px)"}),200)),this.element.header.classList.toggle("bg"))},t.prototype.initHandlers=function(){var t=this;this.options.isRightSideOpen||this.element.main.forEach((function(e){e.addEventListener("mouseleave",t.turnOffItem.bind(t))})),this.element.menuItem.forEach((function(e){e.addEventListener("click",t.slideToNextLvl.bind(t))})),this.element.itemsLvl2.forEach((function(e){e.addEventListener("click",t.slideToNextLvl.bind(t)),t.options.isRightSideOpen||e.addEventListener("mouseenter",t.turnOnItem.bind(t))})),this.element.itemsLvl3.forEach((function(e){e.addEventListener("mouseenter",t.setHeading.bind(t)),e.addEventListener("mouseleave",t.resetHeading.bind(t))})),this.element.controlsV4?this.element.controlsV4.addEventListener("click",this.slideToPrevLvl.bind(this)):this.element.prevBtn.addEventListener("click",this.slideToPrevLvl.bind(this)),this.element.closeBtn&&this.element.closeBtn.addEventListener("click",(function(){t.toggleMenu(),t.changeBtnIcon(),t.toggleAriaExpanded(),t.element.header.classList.remove("bg")})),this.element.closeLink&&this.element.closeLink.addEventListener("click",(function(){t.toggleMenu(),t.changeBtnIcon(),t.element.header.classList.remove("bg")})),this.element.hamburger&&this.element.hamburger.addEventListener("click",(function(){t.toggleMenu(),t.changeBtnIcon(),t.toggleAriaExpanded(),t.element.userLogged&&t.element.userLogged.classList.remove("active"),t.element.userMenu&&(t.element.userMenu.style.height="0",t.element.userMenu.style.overflow="hidden",setTimeout((function(){t.element.userMenu.style.overflow="visible",t.element.userMenu.style.clip="rect(1px, 1px, 1px, 1px)"}),200)),t.element.header.classList.toggle("bg")})),this.element.shadow.addEventListener("click",(function(){t.toggleMenu(),t.changeBtnIcon(),t.toggleAriaExpanded(),t.element.header.classList.remove("bg")})),this.element.userLogged&&this.element.userLogged.addEventListener("click",(function(){t.closeMenu(),t.hideShadow(),t.element.hamburger&&t.element.hamburger.classList.remove("active"),t.element.header.classList.remove("bg")})),window.addEventListener("resize",this.normalizeMenu.bind(this))},t}();t.DropdownMenu=n}(t||(t={})),void 0===window.Header&&(window.Header=t),window.Header.DropdownMenu=t.DropdownMenu,function(t){var e=function(){function t(t){var e=this;this.DEFAULT_DESKTOP_SCREEN_SIZE_IN_PX=807,this.SCROLLED_HEIGHT_IN_PX=50,this.ANIMATION_DURATION_IN_MS=200,this.stickyClass="sticky",this.activeClass="active",this.headerSelector=".js_header__wrapper",this.userImgSelector=".js_user_img",this.userMenuSelector=".js_user_menu",this.userLoggedSelector=".js_user_logged",this.serviceBtnSelector=".js_header_service_list_btn",this.serviceListSelector=".js_header_service_list",this.siteMenuBtnSelector=".js_full_screen_menu_burger",this.desktopScreenSize=void 0!==t?t:this.DEFAULT_DESKTOP_SCREEN_SIZE_IN_PX,document.querySelector(this.userMenuSelector)&&(document.querySelector(this.userMenuSelector).style.display="block",document.querySelector(this.userMenuSelector).style.clip="rect(1px, 1px, 1px, 1px)",this.menuHeight=document.querySelector(this.userMenuSelector).offsetHeight),window.addEventListener("scroll",(function(){e.toggleStickyClass(document.querySelector(e.headerSelector))})),document.querySelector(this.userImgSelector)&&(document.querySelector(this.userMenuSelector).style.height="0",document.querySelector(this.userMenuSelector).style.transitionProperty="height",document.querySelector(this.userMenuSelector).style.transitionDuration="".concat(this.ANIMATION_DURATION_IN_MS,"ms"),document.querySelector(this.userMenuSelector).style.transitionTimingFunction="ease",document.querySelector(this.userImgSelector).addEventListener("click",(function(){document.querySelector(e.userLoggedSelector).classList.contains(e.activeClass)?(e.slideUpAnimation(document.querySelector(e.userMenuSelector),e.ANIMATION_DURATION_IN_MS),e.toggleActiveClass(document.querySelector(e.userLoggedSelector))):(e.toggleActiveClass(document.querySelector(e.userLoggedSelector)),e.slideDownAnimation(document.querySelector(e.userMenuSelector),e.menuHeight,e.ANIMATION_DURATION_IN_MS))}))),document.querySelector(this.siteMenuBtnSelector)&&document.querySelector(this.userLoggedSelector)&&document.querySelector(this.siteMenuBtnSelector).addEventListener("click",(function(){document.querySelector(e.userLoggedSelector).classList.contains(e.activeClass)&&(e.slideUpAnimation(document.querySelector(e.userMenuSelector),e.ANIMATION_DURATION_IN_MS),e.toggleActiveClass(document.querySelector(e.userLoggedSelector)))}))}return t.prototype.toggleStickyClass=function(t){t&&(window.pageYOffset>this.SCROLLED_HEIGHT_IN_PX?t.classList.add(this.stickyClass):t.classList.remove(this.stickyClass))},t.prototype.toggleActiveClass=function(t){t.classList.toggle(this.activeClass)},t.prototype.slideUpAnimation=function(t,e){t.style.height="0",t.style.overflow="hidden",setTimeout((function(){t.style.overflow="visible",t.style.clip="rect(1px, 1px, 1px, 1px)"}),e)},t.prototype.slideDownAnimation=function(t,e,n){t.style.height="".concat(e,"px"),t.style.overflow="hidden",t.style.clip="auto",setTimeout((function(){t.style.overflow="visible"}),n)},t.prototype.initServiceMenu=function(){var t=this;document.querySelector(this.serviceBtnSelector)&&document.querySelector(this.serviceBtnSelector).addEventListener("click",(function(){t.toggleActiveClass(document.querySelector(t.serviceListSelector))}))},t}();t.HeaderController=e}(t||(t={})),void 0===window.Header&&(window.Header=t),window.Header.HeaderController=t.HeaderController},1338:function(t,e,n){"use strict";n(86387),n(84112),n(64159),n(41645);var o=n(54410),i=n.n(o),r=n(46385),s=n.n(r),a=(n(9009),n(1082),n(95514),n(20166),n(34836),n(80354),n(91772),n(52589),n(41866),n(27687),n(55329),n(95087)),c=n.n(a);n(56643),n(62185),n(88341);window.UIkit=window.uikit=i(),window.UIkit.accordion=s(),window.sbjs=c()},64159:function(){var t;!function(t){var e=function(){function t(t,e){this.LOAD_BUTTON_SELECTOR=".js_block_load_more",this.LOAD_BUTTON_WRAPPER_SELECTOR=".js_block_load_more_wrapper",this.LOADER_SELECTOR=".js_block_loading",this.container=$(t),this.loadUrl=e,this.page=1,this.container.on("click",this.LOAD_BUTTON_SELECTOR,this.onLoadButtonClick.bind(this))}return t.prototype.preloadBlock=function(){var t=this;$.get(this.loadUrl,(function(e){if(e){t.container.empty(),t.container.html(e);var n=document.querySelector(".js_slider__our_writers_preload");
2n&&tns({container:n,speed:600,items:1,nav:!1,mouseDrag:!0,responsive:{1150:{items:2},1260:{items:3}}})}}))},t.prototype.onLoadButtonClick=function(){var t=this,e=this.container.find(this.LOAD_BUTTON_WRAPPER_SELECTOR),n=e.find(this.LOAD_BUTTON_SELECTOR),o=e.find(this.LOADER_SELECTOR);n.hide(),o.show(),$.get(this.loadUrl,{p:this.page},(function(n){n?(e.remove(),t.container.append(n),t.page++):o.hide()}))},t}();t.AjaxLoader=e}(t||(t={})),void 0===window.Block&&(window.Block=t),window.Block.AjaxLoader=t.AjaxLoader},91772:function(){!function(t){!function(t){var e=function(t){this.config=t};t.AbstractDomain=e}(t.Domain||(t.Domain={}))}(e||(e={}));var t,e,n=this&&this.__extends||(t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)});!function(t){!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.eventContentPageHireEditorParaphrasingClick=function(){var t=this.config.plag_checker.plagiarism_hire_re_paraph_click;gta("send","event",t._category,t._action,t._label)},e}(t.AbstractDomain);t.CustomPage=e}(t.Domain||(t.Domain={}))}(e||(e={})),function(t){!function(t){var e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.EVENT_NAME="Registration Event",e}return n(e,t),e.prototype.eventTopFormSubmit=function(){gta("send","event",this.config.top._category,this.config.top._action,this.config.top._label)},e.prototype.eventContentPageFindWriterClick=function(){gta("send","event",this.config.top._category,this.config.top._action,this.config.top._label)},e.prototype.eventSuccessRegistration=function(t,e){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"registration_success",flow:t,event_context:e})},e}(t.AbstractDomain);t.SignupForm=e}(t.Domain||(t.Domain={}))}(e||(e={})),function(t){var e=function(){function e(t){this.pool=[],this.config=t}return e.prototype.getCustomPage=function(){if(void 0===this.pool[0]){var e=this.config.custom_page;this.pool[0]=new t.Domain.CustomPage(e)}return this.pool[0]},e.prototype.getSignupForm=function(){if(void 0===this.pool[1]){var e=this.config.customer.register.signup_form;this.pool[1]=new t.Domain.SignupForm(e)}return this.pool[1]},e.prototype.getExitPopup=function(e){if(void 0===this.pool[2]){var n=this.config.customer.order.create_order.popup.exit_popup;this.pool[2]=new t.Domain.ExitPopup(n,e)}return this.pool[2]},e.prototype.getOrderForm=function(){if(void 0===this.pool[3]){var e=this.config.customer.order.create_order.form;this.pool[3]=new t.Domain.OrderForm(e)}return this.pool[3]},e.prototype.getLoginForm=function(){if(void 0===this.pool[4]){var e=this.config.customer.authenticate.popup.login_form;this.pool[4]=new t.Domain.LoginForm(e)}return this.pool[4]},e}();t.GaObjectPool=e}(e||(e={})),void 0===window.GaEvent&&(window.GaEvent=e),window.GaEvent.GaObjectPool=e.GaObjectPool,function(t){!function(t){var e=function(t){function e(e,n){var o=t.call(this,e)||this;return o.categories={OF:"OF",BIDDING:"bidding",CHECKOUT:"checkout"},o.popupPage=n,o}return n(e,t),e.prototype.eventExitPopupShow=function(){gta("send","event",this.getCategory(),this.config._action.display,this.config._label.exit_pop_up,{nonInteraction:!0})},e.prototype.eventExitPopupClose=function(){gta("send","event",this.getCategory(),this.config._action.close,this.config._label.exit_pop_up)},e.prototype.eventExitPopupCloseOnOrderButton=function(){gta("send","event",this.getCategory(),this.config._action.click,this.config._label.exit_pop_up)},e.prototype.getCategory=function(){if(this.popupPage){if(this.popupPage===CustomPopup.ExitPopup.PAGES.PAY)return this.categories.CHECKOUT;if(this.popupPage===CustomPopup.ExitPopup.PAGES.BIDDING)return this.categories.BIDDING;if(this.popupPage===CustomPopup.ExitPopup.PAGES.OF)return this.categories.OF}},e}(t.AbstractDomain);t.ExitPopup=e}(t.Domain||(t.Domain={}))}(e||(e={})),function(t){!function(t){var e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.EVENT_NAME="Login Event",e.SUCCESS_EVENT_NAME="login_success",e.ERROR_EVENT="login_error",e.LOCATION_PASSWORD="password_input",e.LOCATION_EMAIL="email_input",e}return n(e,t),e.prototype.eventShowLoginPopup=function(t,e,n){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_start",flow:t,event_location:this.getEventLocation(e),event_context:n?"Captcha is available":"Captcha is missing"})},e.prototype.eventLoginShowEmailInput=function(){gta("send","event",this.config.event._category,this.config.event._action.display,this.config.event._label.mail_input)},e.prototype.eventLoginShowPasswordInput=function(){gta("send","event",this.config.event._category,this.config.event._action.display,this.config.event._label.pass_input)},e.prototype.eventLoginEmailFieldClick=function(){gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.mail_input)},e.prototype.eventLoginPasswordFieldClick=function(){gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.pass_input)},e.prototype.eventUserAuthorizedFailureLogin=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:this.ERROR_EVENT,flow:t,error_description:"Invalid email"}),dataLayer.push({event:"ga4_click_btn_login_pop-up",btn_text:"continue"}),gta("send","event",this.config.event._category,this.config.event._action.error,this.config.event._label.mail_input)},e.prototype.eventUserAuthorizedFailurePassword=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:this.ERROR_EVENT,flow:t,error_description:"Invalid password"}),dataLayer.push({event:"ga4_click_btn_login_pop-up",btn_text:"login"}),gta("send","event",this.config.event._category,this.config.event._action.error,this.config.event._label.pass_input)},e.prototype.eventUserFailedCaptcha=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:this.ERROR_EVENT,flow:t,error_description:"Failed to validate CAPTCHA"})},e.prototype.eventInvalidEmailOnForgotPassword=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:this.ERROR_EVENT,flow:t,error_description:"Invalid email on forgot password"})},e.prototype.eventUserAuthorizedSuccessPassword=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:this.SUCCESS_EVENT_NAME,flow:t,event_c
2ontext:"email"}),dataLayer.push({event:"ga4_click_btn_login_pop-up",btn_text:"login"})},e.prototype.eventUserEmailSuccess=function(t,e){void 0===e&&(e=!1),dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_email_sent",flow:t,event_context:e?"registration":"login"}),dataLayer.push({event:"ga4_click_btn_login_pop-up",btn_text:"continue"}),gta("send","event",this.config.event._category,this.config.event._action.send,this.config.event._label.mail_input),gta("send","event",this.config.event._category,this.config.event._action.display,this.config.event._label.pass_input)},e.prototype.eventChangeUser=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_click_change_user",flow:t}),gta("send","event",this.config.event._category,this.config.event._action.change_user,this.config.event._label.pass_input)},e.prototype.eventForgotPassword=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_forgot_password_click",flow:t}),gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.forgot_password)},e.prototype.eventForgotPasswordSendEmailSubmitSuccess=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_forgot_password_send_form",flow:t}),gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.send_mail_for_new_pas)},e.prototype.eventForgotPasswordSendEmailSubmitClick=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_forgot_password_click_to_send_form",flow:t})},e.prototype.eventUserAuthorizedSocialGoogleSuccess=function(t,e,n){dataLayer.push({event:this.EVENT_NAME,ga_event_name:this.SUCCESS_EVENT_NAME,flow:t,event_location:this.getEventLocation(e),event_context:null!=n?n:"Google"}),gta("send","event",this.config.event._category,this.config.event._action.log_in,this.config.event._label.login_with_google)},e.prototype.eventLoginGoogleOpenPopup=function(t,e){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_social_click",flow:t,event_location:this.getEventLocation(e),event_context:"Google"}),dataLayer.push({event:"ga4_login_social",social_name:"google"}),gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.login_with_google)},e.prototype.eventSocialGoogleBindClick=function(){gta("send","event",this.config.event._category,this.config.event._action.connect,this.config.event._label.login_with_google)},e.prototype.eventSocialGoogleUnbind=function(){gta("send","event",this.config.event._category,this.config.event._action.disconnect,this.config.event._label.login_with_google)},e.prototype.eventUserAuthorizedSocialAppleSuccess=function(t,e){dataLayer.push({event:this.EVENT_NAME,ga_event_name:this.SUCCESS_EVENT_NAME,flow:t,event_location:this.getEventLocation(e),event_context:"Apple"}),gta("send","event",this.config.event._category,this.config.event._action.log_in,this.config.event._label.login_with_apple)},e.prototype.eventLoginAppleOpenPopup=function(t,e){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_social_click",flow:t,event_location:this.getEventLocation(e),event_context:"Apple"}),dataLayer.push({event:"ga4_login_social",social_name:"apple"}),gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.login_with_apple)},e.prototype.eventSocialAppleBindClick=function(){gta("send","event",this.config.event._category,this.config.event._action.connect,this.config.event._label.login_with_apple)},e.prototype.eventSocialAppleUnbind=function(){gta("send","event",this.config.event._category,this.config.event._action.disconnect,this.config.event._label.login_with_apple)},e.prototype.eventCloseLoginPopup=function(t,e){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_popup_close",flow:t,event_location:this.getEventLocation(e)})},e.prototype.getEventLocation=function(t){return t?this.LOCATION_PASSWORD:this.LOCATION_EMAIL},e.prototype.eventGoogleOneTapPopupCtaClick=function(t){dataLayer.push({event:this.EVENT_NAME,ga_event_name:"login_one_tap_popup_cta",flow:t})},e}(t.AbstractDomain);t.LoginForm=e}(t.Domain||(t.Domain={}))}(e||(e={})),function(t){!function(t){var e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.orderFormClickCount=0,e.orderFormFirstStepClickCount=0,e.orderFormSecondStepClickCount=0,e.orderFormThirdStepClickCount=0,e}return n(e,t),e.prototype.eventOrderFormClick=function(){this.orderFormClickCount++,1===this.orderFormClickCount&&gta("send","event",this.config.event._category,this.config.event._action.focus,this.config.event._label.confirm_step)},e.prototype.eventOrderFormFirstStepClick=function(){this.orderFormFirstStepClickCount++,1===this.orderFormFirstStepClickCount&&gta("send","event",this.config.event._category,this.config.event._action.focus,this.config.event._label.first_step)},e.prototype.eventOrderFormSecondStepClick=function(){this.orderFormSecondStepClickCount++,1===this.orderFormSecondStepClickCount&&gta("send","event",this.config.event._category,this.config.event._action.focus,this.config.event._label.second_step)},e.prototype.eventOrderFormThirdStepClick=function(){this.orderFormThirdStepClickCount++,1===this.orderFormThirdStepClickCount&&gta("send","event",this.config.event._category,this.config.event._action.focus,this.config.event._label.confirm_step)},e.prototype.eventOrderFormProductSubjectClick=function(){gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.select_subject)},e.prototype.eventOrderFormTopicClick=function(){gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.topic)},e.prototype.eventOrderFormDescriptionClick=function(){gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.description)},e.prototype.eventOrderFormUploadClick=function(){gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.upload)},e.prototype.eventOrderFormWrLevelClick=function(t){var e=1==t.target.value?this.config.event._label.wrlevel1:2==t.target.value?this.config.event._label.wrlevel2:this.config.event._label.wrlevel3;gta("send","event",this.config.event._category,this.config.event._action.click,e)},e.prototype.eventOrderFormOrderVasClick=function(){gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.order_vas)},e.prototype.eventOrderFormSubmitClick=function(){gta("send","event",this.config.event._category,this.config.event._action.click,this.config.event._label.submit)},e}(t.AbstractDomain);t.OrderForm=e}(t.Domain||(t.Domain={}))}(e||(e={}))},84112:function(){!function(t){!function(t){var e=function(){function t(){}return t.prototype.loadFormToContainer=function(){var t=this;this.isExistsPopupContainer()&&$.ajax(this.getPopupDataUrl()).done((function(e){t.getPopupContainer().html(e),$(document).trigger(t.getPopupEventContentLoaded())}))},t.prototype.getPopupDataUrl=function(){return this.getPopupContainer().attr(this.getDataUrlDataParam())},t.prototype.getPopupContainer=function(){return void 0===this.$popupDataContainer&&(this.$popupDataContainer=$(this.getPopupContainerSelector()),this.$popupDataContainer.length>1&&(this.$popupDataContainer=$(this.$popupDataContainer[this.$popupDataContainer.length-1]))),this.$popupDataContainer},t.prototype.isExistsPopupContainer=function(){return this.getPopupContainer().length>0},t}();t.AbstractPopup=e}(t.Popup||(t.Popup={}))}(o||(o={})),function(t){var e=function(){function t(){}return t.SHOW_POPUP="show_popup_login",t.POPUP_CONTENT_LOADED="popup_login_content_loaded",t}();t.Login=e}(e||(e={}));var t,e,n,o,i=this&&this.__extends||(t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)});!function(t){!function(t){var n=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i(n,t),n.prototype.getPopupEventContentLoaded=function(){return e.Login.POPUP_CONTENT_LOADED},n.prototype.getShowPopupEvent=function(){return e.Login.SHOW_POPUP},n.prototype.getPopupContainerSelector=function(){return n.POPUP_CONTAINER_SELECTOR},n.prototype.getDataUrlDataParam=function(){return n.DATA_URL_DATA_PARAM},n.DATA_URL_DATA_PARAM="data-js_get_login_form_url",n.POPUP_CONTAINER_SELECTOR=".js_pre_login_form_container",n}(t.AbstractPopup);t.LoginForm=n}(t.Popup||(t.Popup={}))}(o||(o={})),function(t){var e=function(){function t(){}return t.SHOW_POPUP="show_popup_forgot_password",t.POPUP_CONTENT_LOADED="popup_forgot_password_content_loaded",t}();t.ForgotPassword=e}(e||(e={})),function(t){!function(t){var n=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i(n,t),n.prototype.getPopupEventContentLoaded=function(){return e.ForgotPassword.POPUP_CONTENT_LOADED},n.prototype.getShowPopupEvent=function(){return e.ForgotPassword.SHOW_POPUP},n.prototype.getPopupContainerSelector=function(){return n.POPUP_CONTAINER_SELECTOR},n.prototype.getDataUrlDataParam=function(){return n.DATA_URL_DATA_PARAM},n.DATA_URL_DATA_PARAM="data-js_get_forgot_form_url",n.POPUP_CONTAINER_SELECTOR=".js_forgot_form_container",n}(t.AbstractPopup);t.ForgotPasswordForm=n}(t.Popup||(t.Popup={}))}(o||(o={})),function(t){var e=function(){function t(){}return t.SHOW_POPUP="show_popup_choose_order_for_hire_writer",t.POPUP_CONTENT_LOADED="choose_order_for_hire_writer_content_loaded",t}();t.HireWriter=e}(e||(e={})),function(t){!function(t){!function(e){var n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getDataUrlDataParam=function(){return e.DATA_URL_DATA_PARAM},e.DATA_URL_DATA_PARAM="data-js_get_hire_writer_popup_content",e.DATA_HIRE_WRITER_URL="data-js-hire-writer-url",e.DATA_HIRE_WRITER_FOR_NEW_ORDER_U
2RL="data-js-hire-writer-new-order-url",e.DATA_HIRE_WRITER_URL_IN_POPUP="data-js-hire-writer-url-in-popup",e.DATA_HIRE_WRITER_FOR_NEW_ORDER_URL_IN_POPUP="data-js-hire-writer-new-order-url-in-popup",e.DATA_HIRE_WRITER_URL_CHOOSE_ORDER="data-js-hire-writer-choose-order-url",e}(t.AbstractPopup);e.AbstractHireWriterPopup=n}(t.HireWriter||(t.HireWriter={}))}(t.Popup||(t.Popup={}))}(o||(o={})),function(t){!function(t){!function(t){var n=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i(n,t),n.prototype.getPopupEventContentLoaded=function(){return e.HireWriter.POPUP_CONTENT_LOADED},n.prototype.getShowPopupEvent=function(){return e.HireWriter.SHOW_POPUP},n.prototype.getPopupContainerSelector=function(){return n.POPUP_CONTAINER_SELECTOR},n.POPUP_ID="popup_choose_order_for_hire_writer",n.POPUP_CONTAINER_SELECTOR=".js_hw_co_container",n}(t.AbstractHireWriterPopup);t.HireWriterPopup=n}(t.HireWriter||(t.HireWriter={}))}(t.Popup||(t.Popup={}))}(o||(o={})),function(t){var e=function(){function t(){}return t.SHOW_POPUP="show_popup_choose_order_to_chat",t.POPUP_CONTENT_LOADED="popup_choose_order_to_chat_loaded",t}();t.HireWriterToChat=e}(e||(e={})),function(t){!function(t){!function(t){var n=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i(n,t),n.prototype.getPopupEventContentLoaded=function(){return e.HireWriterToChat.POPUP_CONTENT_LOADED},n.prototype.getShowPopupEvent=function(){return e.HireWriterToChat.SHOW_POPUP},n.prototype.getPopupContainerSelector=function(){return n.POPUP_CONTAINER_SELECTOR},n.POPUP_ID="popup_choose_order_to_chat",n.POPUP_CONTAINER_SELECTOR=".js_hw_to_chat_container",n}(t.AbstractHireWriterPopup);t.HireWriterToChatPopup=n}(t.HireWriter||(t.HireWriter={}))}(t.Popup||(t.Popup={}))}(o||(o={})),function(t){var e=function(){function t(){}return t.SHOW_BLOCK="show_login_block_in_sign_up_page",t.BLOCK_CONTENT_LOADED="login_block_in_sign_up_page_loaded",t}();t.LoginEventInSignUp=e}(n||(n={})),function(t){!function(e){var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getPopupEventContentLoaded=function(){return n.LoginEventInSignUp.BLOCK_CONTENT_LOADED},e.prototype.getShowPopupEvent=function(){return n.LoginEventInSignUp.SHOW_BLOCK},e.prototype.getPopupContainerSelector=function(){return e.BLOCK_CONTAINER_SELECTOR},e.prototype.getDataUrlDataParam=function(){return e.DATA_URL_DATA_PARAM},e.DATA_URL_DATA_PARAM="data-js_get_login_form_url",e.BLOCK_CONTAINER_SELECTOR=".js_pre_login_form_container_block_in_sign-up",e}(t.Popup.AbstractPopup);e.LoginForm=o}(t.LoginBlockInSignUpPage||(t.LoginBlockInSignUpPage={}))}(o||(o={})),function(t){var e=function(){function t(){}return t.SHOW_BLOCK="show_login_block_in_vertical_of",t.BLOCK_CONTENT_LOADED="login_block_in_of_content_loaded",t}();t.LoginEvent=e}(n||(n={})),function(t){!function(e){var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getPopupEventContentLoaded=function(){return n.LoginEvent.BLOCK_CONTENT_LOADED},e.prototype.getShowPopupEvent=function(){return n.LoginEvent.SHOW_BLOCK},e.prototype.getPopupContainerSelector=function(){return e.BLOCK_CONTAINER_SELECTOR},e.prototype.getDataUrlDataParam=function(){return e.DATA_URL_DATA_PARAM},e.DATA_URL_DATA_PARAM="data-js_get_login_form_url",e.BLOCK_CONTAINER_SELECTOR=".js_pre_login_form_container_block_in_of",e}(t.Popup.AbstractPopup);e.LoginForm=o}(t.LoginBlockInOF||(t.LoginBlockInOF={}))}(o||(o={})),function(t){var e=t.Popup.LoginForm,n=t.Popup.ForgotPasswordForm,o=t.Popup.HireWriter.HireWriterPopup,i=t.Popup.HireWriter.HireWriterToChatPopup,r=t.LoginBlockInSignUpPage.LoginForm,s=t.LoginBlockInOF.LoginForm,a=function(){function t(){this.observePopupElement([new e,new n,new o,new i,new s,new r])}return t.prototype.observePopupElement=function(t){for(var e=function(t){$(document).on(t.getShowPopupEvent(),(function(e){t.loadFormToContainer()}))},n=0,o=t;n<o.length;n++){e(o[n])}},t}();t.Core=a}(o||(o={})),window.PopupBodyLoad=o},41866:function(){var t,e;!function(t){var e=function(){function t(){}return t.SHOW_POPUP="show_popup_login",t.POPUP_CONTENT_LOADED="popup_login_content_loaded",t}();t.Login=e}(t||(t={})),function(t){var e=function(){function t(){}return t.SHOW_BLOCK="show_login_block_in_vertical_of",t.BLOCK_CONTENT_LOADED="login_block_in_of_content_loaded",t}();t.LoginEvent=e}(e||(e={})),function(e){!function(e){!function(e){var n=function(){function e(t){this.isActive=!1,this.elLine=".js_login_sub_action_line",this.configParams=t,this.ACTION_TYPE_PLACE_ORDER=this.configParams.pr_login_t_login_action_type.LOGIN_ACTION_TYPE_PLACE_ORDER,this.ACTION_TYPE_FAKE_USER_PLACE_ORDER=this.configParams.pr_login_t_login_action_type.LOGIN_ACTION_TYPE_FAKE_USER_PLACE_ORDER,this.ACTION_TYPE_NO_REDIRECT=this.configParams.pr_login_t_login_action_type.LOGIN_ACTION_TYPE_NO_REDIRECT}return e.prototype.actionPlaceOrder=function(){this.runAction(this.ACTION_TYPE_PLACE_ORDER,1)},e.prototype.actionFakeUserPlaceOrder=function(){this.runAction(this.ACTION_TYPE_FAKE_USER_PLACE_ORDER,1)},e.prototype.runAction=function(t,e,n){this._runAction(t,e),this.openLoginPopup(void 0,void 0,n)},e.prototype.actionNoRedirectAfterAuth=function(t){this.runAction(this.ACTION_TYPE_NO_REDIRECT,1,t)},e.prototype._runAction=function(e,n){var o=this;this.isActive=!0,e&&this.setCookies(e,n),$(document).on(t.Login.POPUP_CONTENT_LOADED,(function(){o.showSubActionText()})),this.showSubActionText()},e.prototype.openLoginPopup=function(t,e,n){var o="string"==typeof e?e:"popup_login";t?setTimeout(function(){PopupMaker.show(o,n)}.bind(this),0):PopupMaker.show(o,n)}
2,e.prototype.onCloseLoginPopup=function(){this.isActive=!1,$(this.elLine).hide(),this.deleteCookies()},e.prototype.onCloseLoginBlockInOF=function(){this.deleteCookies()},e.prototype.showSubActionText=function(){this.isActive&&$(this.elLine).show()},e.prototype.setCookies=function(t,e){CookieEditor.set(this.configParams.pr_login_t_cookie_action_type,t),CookieEditor.set(this.configParams.pr_login_t_cookie_action_value,e)},e.prototype.deleteCookies=function(){CookieEditor.del(this.configParams.pr_login_t_cookie_action_type),CookieEditor.del(this.configParams.pr_login_t_cookie_action_value)},e}();e.AbstractAction=n}(e.Action||(e.Action={}))}(e.Login||(e.Login={}))}(o||(o={}));var n,o,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});!function(t){!function(e){var n=function(t){function e(n){var o=t.call(this,n)||this;return o.attrPlaceOrder="[data-popup-login-place-order]",o.attrFakeUserPlaceOrder="[data-popup-login-fake-user-place-order]",o.attrNoRedirectAfterAuth="[data-popup-login-no-redirect]",o.configParams.pr_login_t_is_param_login_first&&(o.configParams.pr_login_t_is_param_login_cant_register?o.openCantRegisterPopup():o.configParams.pr_login_t_is_param_login_fast_signup_customer||o.configParams.pr_login_t_is_no_redirect_stay_order_form?o.actionFastSignupCustomer():o.configParams.pr_login_t_is_param_login_fast_signup_writer?o.actionFastSignupWriter():o.actionAccessPage()),$(document).on("click",o.attrPlaceOrder,o.actionPlaceOrder.bind(o)).on("click",o.attrFakeUserPlaceOrder,o.actionFakeUserPlaceOrder.bind(o)).on("click",o.attrNoRedirectAfterAuth,(function(t){var e=o.getPopupDataFromElement($(t.currentTarget));o.actionNoRedirectAfterAuth(e)})).on(e.EVENT_OPEN_POPUP_NO_REDIRECT,(function(t,e){o.actionNoRedirectAfterAuth(e)})),o}return i(e,t),e.prototype.getPopupDataFromElement=function(t){var e;return null===(e=t.data())||void 0===e?void 0:e.popupData},e.prototype.actionAccessPage=function(){this.runAction2()},e.prototype.actionFastSignupCustomer=function(){this.runAction2(this.ACTION_TYPE_PLACE_ORDER,1)},e.prototype.actionFastSignupWriter=function(){this.runAction2()},e.prototype.runAction2=function(t,e){this._runAction(t,e),this.openLoginPopup(!0)},e.prototype.openCantRegisterPopup=function(){this.openLoginPopup(null,"popup_cant_register")},e.EVENT_OPEN_POPUP_NO_REDIRECT="EVENT_LOGIN_OPEN_POPUP_NO_REDIRECT",e}(t.Login.Action.AbstractAction);e.AutoOpen=n}(t.Login||(t.Login={}))}(o||(o={})),void 0===window.Security&&(window.Security=o),void 0===window.Security.Login&&(window.Security.Login=o.Login),window.Security.Login.AutoOpen=o.Login.AutoOpen},80354:function(){var t;!function(t){var e=function(){function t(t){this.PASSWORD_SHOWN_CLASS="password-shown",this.passwordInputId="login__password",this.passwordToggleClass=".js-password-show-hide";var e=this.createMutationObserver();document.querySelector(t)&&e.observe(document.querySelector(t),{childList:!0}),this.initPasswordToggle()}return t.prototype.createMutationObserver=function(){var t=this;return new MutationObserver((function(e){e.forEach((function(){t.initPasswordToggle()}))}))},t.prototype.initPasswordToggle=function(){this.init(document.querySelector(this.passwordToggleClass),document.getElementById(this.passwordInputId))},t.prototype.init=function(t,e){var n=this;t&&e&&t.addEventListener("click",(function(t){n.switchBtnClass.call(n,e,t)}))},t.prototype.switchBtnClass=function(t,e){"password"===t.getAttribute("type")?(t.setAttribute("type","text"),e.target.classList.add(this.PASSWORD_SHOWN_CLASS),gta("send","event","Sign in","password","show")):(t.setAttribute("type","password"),e.target.classList.remove(this.PASSWORD_SHOWN_CLASS),gta("send","event","Sign in","password","hide"))},t}();t.Handler=e}(t||(t={})),window.ShowHidePassword=t},88341:function(){var t;!function(t){var e=function(){function t(){this.config_try_url="/un/get_user_notification",this.config_clear_url="/un/clear_data",this.notification_block_class="js_user_notification_block",this.notification_block_close_class="js_user_notification_block_close",this.notification_block_action_class="js_user_notification_block_action",this.notification_block_item_class="js_popup_notification_item",this.notification_block_item_active_class="popup-notifications__item_visible",this.notification_block_popup_notifications_class="popup-notifications"}return t.prototype.init=function(t){this.currentRoute=t,this.generateBlock(),this.tryToShowNotification(),$(document).on("click","."+this.notification_block_action_class,this.onClickLink.bind(this)),$(document).on("click","."+this.notification_block_close_class,this.hideBlock.bind(this))},t.prototype.generateBlock=function(){var t=$("<div>").addClass(this.notification_block_class);$("body").append(t),this.$notification_block=t},t.prototype.tryToShowNotification=function(){$.post(this.config_try_url,this.responseHandler.bind(this),"json")},t.prototype.responseHandler=function(t){var e=this;t&&t.result&&this.$notification_block.length&&setTimeout((function(){e.showBlock(t.data),"/cms/routes/writer/public"===e.currentRoute&&e.$notification_block.find("."+e.notification_block_popup_notifications_class).addClass("is-down")}),t.timeout)}
2,t.prototype.showBlock=function(t){this.$notification_block.html(t),$("."+this.notification_block_item_class).show(500).addClass(this.notification_block_item_active_class)},t.prototype.hideBlock=function(){$("."+this.notification_block_item_class).removeClass(this.notification_block_item_active_class),this.onCTA()},t.prototype.onClickLink=function(t){var e=$(t.currentTarget).data("url");e&&this.onCTA((function(){window.location=e}))},t.prototype.onCTA=function(t){$.post(this.config_clear_url).then(t)},t}();t.Core=e}(t||(t={})),window.UserNotification=t},56643:function(){var t;!function(t){!function(t){var e=function(){function t(){this.is_loaded=!1,this.waiting_array=[],document.addEventListener("EVENT_GOOGLE_RECAPTCHA_LOADED",this.onCaptchaJsLoaded.bind(this))}return t.prototype.addCaptchaContainer=function(t){0!=$("#"+t).length&&(this.is_loaded?(this.initRecaptchaSitekey(),this.renderCaptcha(t)):this.waiting_array.push(t))},t.prototype.resetAll=function(){grecaptcha.reset()},t.prototype.onCaptchaJsLoaded=function(){if(this.is_loaded=!0,this.waiting_array.length)for(var t in this.initRecaptchaSitekey(),this.waiting_array)this.renderCaptcha(this.waiting_array[t])},t.prototype.renderCaptcha=function(t){this.recaptcha_sitekey&&grecaptcha.render(t,{sitekey:this.recaptcha_sitekey})},t.prototype.initRecaptchaSitekey=function(){if(!this.recaptcha_sitekey){var t=$(".js_google_recaptcha_data_field").first();if(t.length){var e=t.attr("data-js-recaptcha-sitekey");e&&(this.recaptcha_sitekey=e)}}},t}();t.GoogleReCaptcha=e}(t.GoogleReCaptcha||(t.GoogleReCaptcha={}))}(t||(t={})),"undefined"!=typeof googleRecaptchaLoadedCallback&&(window.googleRecaptchaElement=new t.GoogleReCaptcha.GoogleReCaptcha)},62185:function(){try{setTimeout((function(){CookieEditor.get("spl2_before_login")&&fetch("/track_split_variant_before_login")}),1500)}catch(t){}},1082:function(){document.addEventListener("deferred_scripts_loaded",(function(){t.init()}));var t={init:function(){$(document).on("click","[data-block-click]",(function(){t.show($(this).attr("data-block-target"))})),$("[data-block-autoopen]").each((function(){t.show($(this).attr("id"))}))},show:function(t){var e="show_"+t;$(document).trigger(e,[t])},hide:function(t){$("#"+t).html(""),$(document).trigger("hide_"+t,[t])}};window.BlockMaker=t},9009:function(){var t="POPUP_CLOSED";document.addEventListener("deferred_scripts_loaded",(function(){e.init(),i()}));var e={init:function(){$(document).on("click","[data-popup-click]",n.showOnClick),$(document).on("click","[data-dismiss]",n.hideOnClick),$("[data-popup-autoopen]").each(n.initAndShow)},show:function(t,e){n._show(this._getObj(t,e))},hide:function(t,e){n._hide(n._get(t,e))},getData:function(t,e){return n._getData(this._getObj(t,e))},onClose:function(t,e,o){n._onClose(this._getObj(t,o),e)},onOpen:function(t,e,o){n._onOpen(this._getObj(t,o),e)},getOpenCount:function(){return n._openCount()},_getObj:function(t,e){var o=n._get(t,e);return null===o&&(o=n._init(t,e)),o}};window.PopupMaker=e;var n={popups:{},showOnClick:function(){n._show(n._initPopupByElement($(this)))}
2,hideOnClick:function(){var e=$(this).parents(".js_popup_content").children().attr("id");if("string"==typeof e){n._hide(n._get(e));var o=new CustomEvent(t,{detail:{popupId:e}});document.dispatchEvent(o)}},initAndShow:function(){n._show(n._initPopupByElement($(this)))},_initPopupByElement:function(t){if(t.length>0){var e=t.data(),i=e.popupTarget,r=n._get(i,e.popupData,t);return r instanceof o||(r=n._init(i,e.popupData,t)),r}},_show:function(t){t instanceof o&&t.show()},_hide:function(t){t instanceof o&&t.hide()},_getData:function(t){return t instanceof o?t.data:null},_onClose:function(t,e){t instanceof o&&t.onClose(e)},_onOpen:function(t,e){t instanceof o&&t.onOpen(e)},_init:function(t,e,i){var r=new o(t,e);return n._set(t,r,i),r},_get:function(t,e,i){var r=null;return void 0!==i&&(r=i.data("best_site_pupup"))instanceof o&&(n.popups[t]=r),r instanceof o||void 0!==n.popups[t]&&(r=n.popups[t],void 0!==e&&JSON.stringify(r.data)!==JSON.stringify(e)&&(r=null)),r},_set:function(t,e,o){n.popups[t]=e,void 0!==o&&o.data("best_site_pupup",e)},_openCount:function(){var t=0;for(var e in n.popups){n.popups[e].isOpen()&&t++}return t}};window.PopupStorage=n;var o=function(t,e){var n,o=this,i={},r=!1;o.isOpenState=!1,o.core_on_open_function=null,o.on_open_functions=[],o.core_on_close_function=null,o.on_close_functions=[],i.init=function(){var t={popup_id:"#"+o.popup_id,popup_data:o.data},e=$(t.popup_id);if(e.length>0){if(r=!0,e.is("script"))n=$("#_popup_tpl").tmpl(t),$("body").append(n);else{var i=$(t.popup_id).closest(".js_popup_all");if(0===i.length){var s=$($("#_popup_tpl").html());s.find(".js_popup_content").text(""),e.wrap(s).show(),n=e.closest(".js_popup_all"),$("body").append(n.detach())}else n=e.closest(".js_popup_all"),i.css("z-index",parseInt(i.css("z-index"))+1)}n instanceof jQuery&&n.data("popup_id",o.popup_id)}},i.prepareData=function(t){var e=!1;for(var n in t){e=!0;break}return e||(t={}),t},o.sendPopupEvent=function(t){$(document).trigger(t+"_"+o.popup_id,[o.popup_id,e])},o.show=function(){r&&(PopupPlugin.call(n,"show",this),o.sendPopupEvent("show"),o.isOpenState=!0)},o.hide=function(){PopupPlugin.call(n,"hide",$.Event("click")),o.sendPopupEvent("hide"),o.isOpenState=!1},o.onClose=function(t){o.on_close_functions.push(t),o.core_on_close_function||(o.core_on_close_function=function(){for(var t in o.on_close_functions){(0,o.on_close_functions[t])()}},PopupPlugin.call(n,"onClose",(function(){})),$(document).unbind("hide_"+o.popup_id).on("hide_"+o.popup_id,o.core_on_close_function))},o.onOpen=function(t){o.on_open_functions.push(t),o.core_on_open_function||(o.core_on_open_function=function(){for(var t in o.on_open_functions){(0,o.on_open_functions[t])()}},PopupPlugin.call(n,"onOpen",(function(){})),$(document).unbind("show_"+o.popup_id).on("show_"+o.popup_id,o.core_on_open_function))},o.isOpen=function(){return o.isOpenState},o.popup_id=t,o.data=i.prepareData(e),i.init()},i=function(){var t={elem_main:"body",css_rules:{position:"fixed",overflow:"hidden",width:"100%",height:"100%"},init:function(){if(!t.isIOS())return!1;t.addListeners(),t.initConfig()},initConfig:function(){t.link_main=$(t.elem_main)},addListeners:function(){for(var o in n.popups)e.onOpen(o,t.addFix),e.onClose(o,t.removeFix)},addFix:function(){t.link_main.css(t.css_rules)},removeFix:function(){t.link_main.removeAttr("style")},isIOS:function(){var t=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"],e=!1;if(navigator.platform)for(;t.length;)navigator.platform===t.pop()&&(e=!0);return e}};t.init()}},55329:function(){document.addEventListener("deferred_scripts_loaded",(function(){yall({observeChanges:!0})}))},46385:function(t,e,n){var o,i,r,s;r=function(t){"use strict";function e(e){var n=t.$(e),o="auto";if(n.is(":visible"))o=n.outerHeight();else{var i={position:n.css("position"),visibility:n.css("visibility"),display:n.css("display")};o=n.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),n.css(i)}return o}return t.component("accordion",{defaults:{showfirst:!0,collapse:!0,animate:!0,easing:"swing",duration:300,toggle:".uk-accordion-title",containers:".uk-accordion-content",clsactive:"uk-active"},boot:function(){t.ready((function(e){setTimeout((function(){t.$("[data-uk-accordion]",e).each((function(){var e=t.$(this);e.data("accordion")||t.accordion(e,t.Utils.options(e.attr("data-uk-accordion")))}))}),0)}))},init:function(){var e=this;this.element.on("click.uikit.accordion",this.options.toggle,(function(n){n.preventDefault(),e.toggleItem(t.$(this).data("wrapper"),e.options.animate,e.options.collapse)})),this.update(),this.options.showfirst&&this.toggleItem(this.toggle.eq(0).data("wrapper"),!1,
2!1)},toggleItem:function(n,o,i){var r=this;n.data("toggle").toggleClass(this.options.clsactive);var s=n.data("toggle").hasClass(this.options.clsactive);i&&this.toggle.not(n.data("toggle")).removeClass(this.options.clsactive).attr("aria-expanded","false"),this.content.not(n.data("content")).parent().stop().css("overflow","hidden").animate({height:0},{easing:this.options.easing,duration:o?this.options.duration:0}),n.stop().css("overflow","hidden"),o?n.animate({height:s?e(n.data("content")):0},{easing:this.options.easing,duration:this.options.duration,complete:function(){s&&(n.css({overflow:"",height:"auto"}),t.Utils.checkDisplay(n.data("content"))),r.trigger("display.uk.check")}}):(n.height(s?"auto":0),s&&(n.css({overflow:""}),t.Utils.checkDisplay(n.data("content"))),this.trigger("display.uk.check")),n.data("toggle").attr("aria-expanded",s),this.element.trigger("toggle.uk.accordion",[s,n.data("toggle"),n.data("content")])},update:function(){var e,n,o,i=this;this.toggle=this.find(this.options.toggle),this.content=this.find(this.options.containers),this.content.each((function(r){(e=t.$(this)).parent().data("wrapper")?n=e.parent():(n=t.$(this).wrap('<div data-wrapper="true" style="overflow:hidden;height:0;position:relative;"></div>').parent(),i.toggle.attr("aria-expanded","false")),o=i.toggle.eq(r),n.data("toggle",o),n.data("content",e),o.data("wrapper",n),e.data("wrapper",n)})),this.element.trigger("update.uk.accordion",[this])}}),t.accordion},window.UIkit&&(s=r(UIkit)),o=[n(43427)],void 0===(i=function(){return s||r(UIkit)}.apply(e,o))||(t.exports=i)},86387:function(){!function(t){var e,n=t.fn.domManip,o="_tmplitem",i={},r={},s={key:0,data:{}},a=0,c=0,l=[],u={sq_escape:/([\\'])/g,sq_unescape:/\\'/g,dq_unescape:/\\\\/g,nl_strip:/[\r\t\n]/g,shortcut_replace:/\$\{([^\}]*)\}/g,lang_parse:/\{\%(\/?)(\w+|.)(?:\(((?:[^\%]|\%(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\%]|\%(?!\}))*?)\))?\s*\%\}/g,old_lang_parse:/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,template_anotate:/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,text_only_template:/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,html_expr:/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! |\{\%! /,last_word:/\w$/};function p(e,n,o,s){var c={data:s||0===s||!1===s?s:n?n.data:{},_wrap:n?n._wrap:null,tmpl:null,parent:n||null,nodes:[],calls:v,nest:y,wrap:w,html:b,update:E};return e&&t.extend(c,e,{nodes:[],parent:n}),o&&(c.tmpl=o,c._ctnt=c._ctnt||t.isFunction(c.tmpl)&&c.tmpl(t,c)||o,c.key=++a,(l.length?r:i)[a]=c),c}function d(e,n,i){var r,s=i?t.map(i,(function(t){return"string"==typeof t?e.key?t.replace(u.template_anotate,"$1 "+o+'="'+e.key+'" $2'):t:d(t,e,t._ctnt)})):e;return n?s:((s=s.join("")).replace(u.text_only_template,(function(e,n,o,i){g(r=t(o).get()),n&&(r=h(n).concat(r)),i&&(r=r.concat(h(i)))})),r||h(s))}function h(e){var n=document.createElement("div");return n.innerHTML=e,t.makeArray(n.childNodes)}function f(e){var n=function(n,o,i,r,s,a,c){if(!i)return"');__.push('";var l,p,d,h=t.tmpl.tag[i];return h?(l=h._default||[],a&&!u.last_word.test(s)&&(s+=a,a=""),s?(s=_(s),c=c?","+_(c)+")":a?")":"",p=a?s.indexOf(".")>-1?s+_(a):"("+s+").call($item"+c:s,d=a?p:"(typeof("+s+")==='function'?("+s+").call($item):("+s+"))"):d=p=l.$1||"null",r=_(r),"');"+h[o?"close":"open"].split("$notnull_1").join(s?"typeof("+s+")!=='undefined' && ("+s+")!=null":"true").split("$1a").join(d).split("$1").join(p).split("$2").join(r||l.$2||"")+"__.push('"):(console.group("Exception"),console.error(e),console.error("Unknown tag: ",i),console.error(n),console.groupEnd("Exception"),"');__.push('")},o="var $=$,call,__=[],$data=$item.data; with($data){__.push('",i=t.trim(e);return i=(i=(i=(i=(i=i.replace(u.sq_escape,"\\$1")).replace(u.nl_strip," ")).replace(u.shortcut_replace,"{%= $1%}")).replace(u.lang_parse,n)).replace(u.old_lang_parse,(function(){return t.tmpl.tag[arguments[2]]?(console.group("Depreciated"),console.info(e),console.info("Markup has old style indicators, use {% %} instead of {{ }}"),console.info(arguments[0]),console.groupEnd("Depreciated"),n.apply(this,arguments)):"');__.push('{{"+arguments[2]+"}}');__.push('"})),o+=i,o+="');}return __;",new Function("$","$item",o)}function m(e,n){e._wrap=d(e,!0,t.isArray(n)?n:[u.html_expr.test(n)?n:t(n).html()]).join("")}function _(t){return t?t.replace(u.sq_unescape,"'").replace(u.dq_unescape,"\\"):null}function g(e){var n,s,l,u,d,h="_"+c,f={};for(l=0,u=e.length;l<u;l++)if(1===(n=e[l]).nodeType){for(d=(s=n.getElementsByTagName("*")).length-1;d>=0;d--)m(s[d]);m(n)}function m(e){var n,s,l,u,d=e;if(u=e.getAttribute(o)){for(;d.parentNode&&1===(d=d.parentNode).nodeType&&!(n=d.getAttribute(o)););n!==u&&(d=d.parentNode?11===d.nodeType?0:d.getAttribute(o)||0:0,(l=i[u])||((l=p(l=r[u],i[d]||r[d])).key=++a,i[a]=l),c&&m(u)),e.removeAttribute(o)}else c&&(l=t.data(e,"tmplItem"))&&(m(l.key),i[l.key]=l,d=(d=t.data(e.parentNode,"tmplItem"))?d.key:0);if(l){for(s=l;s&&s.key!=d;)s.nodes.push(e),s=s.parent;delete l._ctnt,delete l._wrap,t.data(e,"tmplItem",l)}function m(t){l=f[t+=h]=f[t]||p(l,i[l.parent.key+h]||l.parent)}}}function v(t,e,n,o){if(!t)return l.pop();l.push({_:t,tmpl:e,item:this,data:n,options:o})}function y(e,n,o){return t.tmpl(t.template(e),n,o,this)}function w(e,n){var o=e.options||{};return o.wrapped=n,t.tmpl(t.template(e.tmpl),e.data,o,e.item)}function b(e,n){var o=this._wrap;return t.map(t(t.isArray(o)?o.join(""):o).filter(e||"*"),(function(t){return n?t.innerText||t.textContent:t.outerHTML||(e=t,(o=document.createElement("div")).appendChild(e.cloneNode(!0)),o.innerHTML);var e,o}))}function E(){var e=this.nodes;t.tmpl(null,null,null,this).insertBefore(e[0]),t(e).remove()}t.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(n,o){t.fn[n]=function(r){var s,a,l,u,p=[],d=t(r),h=1===this.length&&this[0].parentNode;if(e=i||{},h&&11===h.nodeType&&1===h.childNodes.length&&1===d.length)d[o](this[0]),p=this;else{for(a=0,l=d.length;a<l;a++)c=a,s=(a>0?this.clone(!0):this).get(),t(d[a])[o](s),p=p.concat(s);c=0,p=this.pushStack(p,n,d.selector)}return u=e,e=null,t.tmpl.complete(u),p}})),t.fn.extend({tmpl:function(e,n,o){return t.tmpl(this[0],e,n,o)},tmplItem:function(){return t.tmplItem(this[0])},template:function(e){return t.template(e,this[0])},domManip:function(o,r,s,a){if(o[0]&&t.isArray(o[0])){for(var l,u=t.makeArray(arguments),p=o[0],d=p.length,h=0;h<d&&!(l=t.data(p[h++],"tmplItem")););l&&c&&(u[2]=function(e){t.tmpl.afterManip(this,e,s)}),n.apply(this,u)}else n.apply(this,arguments);return c=0,e||t.tmpl.complete(i),this}}),t.extend({tmpl:function(e,n,o,a){var c,l=!a;if(l)a=s,e=t.template[e]||t.template(null,e),r={};else if(!e)return e=a.tmpl,i[a.key]=a,a.nodes=[],a.wrapped&&m(a,a.wrapped),t(d(a,null,a.tmpl(t,a)));return e?("function"==typeof n&&(n=n.call(a||{})),o&&o.wrapped&&m(o,o.wrapped),c=t.isArray(n)?t.map(n,(function(t){return t?p(o,a,e,t):null})):[p(o,a,e,n)],l?t(d(a,null,c)):c):[]},tmplItem:function(e){var n;for(e instanceof t&&(e=e[0]);e&&1===e.nodeType&&!(n=t.data(e,"tmplItem"))&&(e=e.parentNode););return n||s},template:function(e,n){return n?("string"==typeof n?n=f(n):n instanceof t&&(n=n[0]||{}),n.nodeType&&(n=t.data(n,"tmpl")||t.data(n,"tmpl",f(n.innerHTML))),"string"==typeof e?t.template[e]=n:n):e?"string"!=typeof e?t.template(null,e):t.template[e]||t.template(null,e):null},encode:function(t){return(""+t).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}}),t.extend(t.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){__=__.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(__,$1,$2);__=[];",close:"call=$item.calls();__=call._.concat($item.wrap(call,__));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},if:{open:"if(($notnull_1) && $1a){",close:"}"},else:{open:"}else{"},elif:{open:"}else if(($notnull_1) && $1a){"},elseif:{open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){__.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){__.push($.encode($1a));}"},"!":{open:""}},complete:function(t){i={}},afterManip:function(e,n,o){var i=11===n.nodeType?t.makeArray(n.childNodes):1===n.nodeType?[n]:[];o.call(e,n),g(i),c++}})}(jQuery)},41645:function(){function t(e){return t="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},t(e)}var e=function(t,e){this.options=e,this.$body=$(document.body),this.$element=$(t),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal
2-content").load(this.options.remote,$.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};e.VERSION="3.2.0",e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.show=function(t){var e=this,n=$.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.$body.addClass("modal-open"),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',$.proxy(this.hide,this)),this.backdrop((function(){var n=$.support.transition&&e.$element.hasClass("fade");e.$element.parent().length||e.$element.appendTo(e.$body),e.$element.css("display","block").scrollTop(0),n&&e.$element[0].offsetWidth,e.$element.addClass("in").attr("aria-hidden",!1),e.enforceFocus();var o=$.Event("shown.bs.modal",{relatedTarget:t});n?e.$element.find(".modal-dialog").one("bsTransitionEnd",(function(){e.$element.trigger("focus").trigger(o)})).emulateTransitionEnd(300):e.$element.trigger("focus").trigger(o)})))},e.prototype.hide=function(t){t&&t.preventDefault(),t=$.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,1===PopupMaker.getOpenCount()&&this.$body.removeClass("modal-open"),$(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),$.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",$.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},e.prototype.onClose=function(t){"function"==typeof t&&$(document).on("hide.bs.modal",(function(){t()}))},e.prototype.onOpen=function(t){"function"==typeof t&&$(document).on("show.bs.modal",(function(){t()}))},e.prototype.enforceFocus=function(){$(document).off("focusin.bs.modal").on("focusin.bs.modal",$.proxy((function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$element.trigger("hidden.bs.modal")}))},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(t){var e=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=$.support.transition&&n;if(this.$backdrop=$('<div class="modal-backdrop '+n+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",$.proxy((function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))}),this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;o?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(150):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var i=function(){e.removeBackdrop(),t&&t()};$.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(150):i()}else t&&t()},window.PopupPlugin=function(n,o){return this.each((function(){var i=$(this),r=i.data("bs.modal"),s=$.extend({},e.DEFAULTS,i.data(),"object"==t(n)&&n);r||i.data("bs.modal",r=new e(this,s)),"string"==typeof n?r[n](o):s.show&&r.show(o)}))}},95087:function(t,e){var n,o,i,r;function s(t){return s="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},s(t)}r=function(){return function t(e,n,o){function i(s,a){if(!n[s]){if(!e[s]){if(r)return r(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};e[s][0].call(l.exports,(function(t){var n=e[s][1][t];return i(n||t)}),l,l.exports,t,e,n,o)}return n[s].exports}for(var r=void 0,s=0;s<o.length;s++)i(o[s]);return i}({1:[function(t,e,n){"use strict";var o=t("./init"),i={init:function(t){this.get=o(t),t&&t.callback&&"function"==typeof t.callback&&t.callback(this.get)}};e.exports=i},{"./init":6}],2:[function(t,e,n){"use strict";var o=t("./terms"),i=t("./helpers/utils"),r={containers:{current:"sbjs_current",current_extra:"sbjs_current_add",first:"sbjs_first",first_extra:"sbjs_first_add",session:"sbjs_session",udata:"sbjs_udata",promocode:"sbjs_promo"},service:{migrations:"sbjs_migrations"},delimiter:"|||",aliases:{main:{type:"typ",source:"src",medium:"mdm",campaign:"cmp",content:"cnt",term:"trm"},extra:{fire_date:"fd",entrance_point:"ep",referer:"rf"},session:{pages_seen:"pgs",current_page:"cpg"},udata:{visits:"vst",ip:"uip",agent:"uag"},promo:"code"},pack:{main:function(t){return r.aliases.main.type+"="+t.type+r.delimiter+r.aliases.main.source+"="+t.source+r.delimiter+r.aliases.main.medium+"="+t.medium+r.delimiter+r.aliases.main.campaign+"="+t.campaign+r.delimiter+r.aliases.main.content+"="+t.content+r.delimiter+r.aliases.main.term+"="+t.term},extra:function(t){return r.aliases.extra.fire_date+"="+i.setDate(new Date,t)+r.delimiter+r.aliases.extra.entrance_point+"="+document.location.href+r.delimiter+r.aliases.extra.referer+"="+(document.referrer||o.none)},user:function(t,e){return r.aliases.udata.visits+"="+t+r.delimiter+r.aliases.udata.ip+"="+e+r.delimiter+r.aliases.udata.agent+"="+navigator.userAgent},session:function(t){return r.aliases.session.pages_seen+"="+t+r.delimiter+r.aliases.session.current_page+"="+document.location.href},promo:function(t){return r.aliases.promo+"="+i.setLeadingZeroToInt(i.randomInt(t.min,t.max),t.max.toString().length)}}};e.exports=r},{"./helpers/utils":5,"./terms":9}],3:[function(t,e,n){"use strict";var o=t("../data").delimiter;e.exports={encodeData:function(t){return encodeURIComponent(t).replace(/\!/g,"%21").replace(/\~/g,"%7E").replace(/\*/g,"%2A").replace(/\'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")},decodeData:function(t){try{return decodeURIComponent(t).replace(/\%21/g,"!").replace(/\%7E/g,"~").replace(/\%2A/g,"*").replace(/\%27/g,"'").replace(/\%28/g,"(").replace(/\%29/g,")")}catch(e){try{return unescape(t)}catch(t){return""}}},set:function(t,e,n,o,i){var r,s;if(n){var a=new Date;a.setTime(a.getTime()+60*n*1e3),r="; expires="+a.toGMTString()}else r="";s=o&&!i?";domain=."+o:"",document.cookie=this.encodeData(t)+"="+this.encodeData(e)+r+s+"; path=/"},get:function(t){for(var e=this.encodeData(t)+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var i=n[o];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(e))return this.decodeData(i.substring(e.length,i.length))}return null},destroy:function(t,e,n){this.set(t,"",-1,e,n)},parse:function(t){var e=[],n={};if("string"==typeof t)e.push(t);else for(var i in t)t.hasOwnProperty(i)&&e.push(t[i]);for(var r=0;r<e.length;r++){var s;n[this.unsbjs(e[r])]={},s=this.get(e[r])?this.get(e[r]).split(o):[];for(var a=0;a<s.length;a++){var c=s[a].split("="),l=c.splice(0,1);l.push(c.join("=")),n[this.unsbjs(e[r])][l[0]]=this.decodeData(l[1])}}return n},unsbjs:function(t){return t.replace("sbjs_","")}}},{"../data":2}],4:[function(t,e,n){"use strict";e.exports={parse:function(t){for(var e=this.parseOptions,n=e.parser[e.strictMode?"strict":"loose"].exec(t),o={},i=14;i--;)o[e.key[i]]=n[i]||"";return o[e.q.name]={},o[e.key[12]].replace(e.q.parser,(function(t,n,i){n&&(o[e.q.name][n]=i)})),o},parseOptions:{strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},getParam:function(t){for(var e={},n=(t||window.location.search.substring(1)).split("&"),o=0;o<n.length;o++){var i=n[o].split("=");if(void 0===e[i[0]])e[i[0]]=i[1];else if("string"==typeof e[i[0]]){var r=[e[i[0]],i[1]];e[i[0]]=r}else e[i[0]].push(i[1])}return e},getHost:function(t){return this.parse(t).host.replace("www.","")}}},{}],5:[function(t,e,n){"use strict";e.exports={escapeRegexp:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},setDate:function(t,e){var n=t.getTimezoneOffset()/60,o=t.getHours(),i=e||0===e?e:-n;return t.setHours(o+n+i),t.getFullYear()+"-"+this.setLeadingZeroToInt(t.getMonth()+1,2)+"-"+this.setLeadingZeroToInt(t.getDate(),2)+" "+this.setLeadingZeroToInt(t.getHours(),2)+":"+this.setLeadingZeroToInt(t.getMinutes(),2)+":"+this.setLeadingZeroToInt(t.getSeconds(),2)},setLeadingZeroToInt:function(t,e){for(var n=t+"";n.length<e;)n="0"+n;return n},randomInt:function(t,e){return Math.floor(Math.random()*(e-t+1))+t}}},{}],6:[function(t,e,n){"use strict";
2var o=t("./data"),i=t("./terms"),r=t("./helpers/cookies"),s=t("./helpers/uri"),a=t("./helpers/utils"),c=t("./params"),l=t("./migrations");e.exports=function(t){function e(){var t;if(void 0!==w.utm_source||void 0!==w.utm_medium||void 0!==w.utm_campaign||void 0!==w.utm_content||void 0!==w.utm_term||void 0!==w.gclid||void 0!==w.yclid||void 0!==w[y.campaign_param]||void 0!==w[y.term_param]||void 0!==w[y.content_param])d(),t=n(i.traffic.utm);else if(u(i.traffic.organic))d(),t=n(i.traffic.organic);else if(!r.get(o.containers.session)&&u(i.traffic.referral))d(),t=n(i.traffic.referral);else{if(r.get(o.containers.first)||r.get(o.containers.current))return r.get(o.containers.current);d(),t=n(i.traffic.typein)}return t}function n(t){switch(t){case i.traffic.utm:h=i.traffic.utm,f=void 0!==w.utm_source?w.utm_source:void 0!==w.gclid?"google":void 0!==w.yclid?"yandex":i.none,m=void 0!==w.utm_medium?w.utm_medium:void 0!==w.gclid||void 0!==w.yclid?"cpc":i.none,_=void 0!==w.utm_campaign?w.utm_campaign:void 0!==w[y.campaign_param]?w[y.campaign_param]:void 0!==w.gclid?"google_cpc":void 0!==w.yclid?"yandex_cpc":i.none,g=void 0!==w.utm_content?w.utm_content:void 0!==w[y.content_param]?w[y.content_param]:i.none,v=void 0!==w.utm_term?w.utm_term:void 0!==w[y.term_param]?w[y.term_param]:function(){var t=document.referrer;if(w.utm_term)return w.utm_term;if(!(t&&s.parse(t).host&&s.parse(t).host.match(/^(?:.*\.)?yandex\..{2,9}$/i)))return!1;try{return s.getParam(s.parse(document.referrer).query).text}catch(t){return!1}}()||i.none;break;case i.traffic.organic:h=i.traffic.organic,f=f||s.getHost(document.referrer),m=i.referer.organic,_=i.none,g=i.none,v=i.none;break;case i.traffic.referral:h=i.traffic.referral,f=f||s.getHost(document.referrer),m=m||i.referer.referral,_=i.none,g=s.parse(document.referrer).path,v=i.none;break;case i.traffic.typein:h=i.traffic.typein,f=y.typein_attributes.source,m=y.typein_attributes.medium,_=i.none,g=i.none,v=i.none;break;default:h=i.oops,f=i.oops,m=i.oops,_=i.oops,g=i.oops,v=i.oops}var e={type:h,source:f,medium:m,campaign:_,content:g,term:v};return o.pack.main(e)}function u(t){var e=document.referrer;switch(t){case i.traffic.organic:return!!e&&p(e)&&function(t){var e="yandex",n="text",o="google",i=new RegExp("^(?:.*\\.)?"+a.escapeRegexp(e)+"\\..{2,9}$"),r=new RegExp(".*"+a.escapeRegexp(n)+"=.*"),c=new RegExp("^(?:www\\.)?"+a.escapeRegexp(o)+"\\..{2,9}$");if(s.parse(t).query&&s.parse(t).host.match(i)&&s.parse(t).query.match(r))return f=e,!0;if(s.parse(t).host.match(c))return f=o,!0;if(!s.parse(t).query)return!1;for(var l=0;l<y.organics.length;l++){if(s.parse(t).host.match(new RegExp("^(?:.*\\.)?"+a.escapeRegexp(y.organics[l].host)+"$","i"))&&s.parse(t).query.match(new RegExp(".*"+a.escapeRegexp(y.organics[l].param)+"=.*","i")))return f=y.organics[l].display||y.organics[l].host,!0;if(l+1===y.organics.length)return!1}}(e);case i.traffic.referral:return!!e&&p(e)&&function(t){if(!(y.referrals.length>0))return f=s.getHost(t),!0;for(var e=0;e<y.referrals.length;e++){if(s.parse(t).host.match(new RegExp("^(?:.*\\.)?"+a.escapeRegexp(y.referrals[e].host)+"$","i")))return f=y.referrals[e].display||y.referrals[e].host,m=y.referrals[e].medium||i.referer.referral,!0;if(e+1===y.referrals.length)return f=s.getHost(t),!0}}(e);default:return!1}}function p(t){if(y.domain){if(E)return s.getHost(t)!==s.getHost(b);var e=new RegExp("^(?:.*\\.)?"+a.escapeRegexp(b)+"$","i");return!s.getHost(t).match(e)}return s.getHost(t)!==s.getHost(document.location.href)}function d(){r.set(o.containers.current_extra,o.pack.extra(y.timezone_offset),C,b,E),r.get(o.containers.first_extra)||r.set(o.containers.first_extra,o.pack.extra(y.timezone_offset),C,b,E)}var h,f,m,_,g,v,y=c.fetch(t),w=s.getParam(),b=y.domain.host,E=y.domain.isolate,C=y.lifetime;return l.go(C,b,E),function(){var t,n,i;r.set(o.containers.current,e(),C,b,E),r.get(o.containers.first)||r.set(o.containers.first,r.get(o.containers.current),C,b,E),r.get(o.containers.udata)?(t=parseInt(r.parse(o.containers.udata)[r.unsbjs(o.containers.udata)][o.aliases.udata.visits])||1,t=r.get(o.containers.session)?t:t+1,n=o.pack.user(t,y.user_ip)):(t=1,n=o.pack.user(t,y.user_ip)),r.set(o.containers.udata,n,C,b,E),r.get(o.containers.session)?(i=parseInt(r.parse(o.containers.session)[r.unsbjs(o.containers.session)][o.aliases.session.pages_seen])||1,i+=1):i=1,r.set(o.containers.session,o.pack.session(i),y.session_length,b,E),y.promocode&&!r.get(o.containers.promocode)&&r.set(o.containers.promocode,o.pack.promo(y.promocode),C,b,E)}
vendor: 4,205 bytes, line 2
2(),r.parse(o.containers)}},{"./data":2,"./helpers/cookies":3,"./helpers/uri":4,"./helpers/utils":5,"./migrations":7,"./params":8,"./terms":9}],7:[function(t,e,n){"use strict";var o=t("./data"),i=t("./helpers/cookies");e.exports={go:function(t,e,n){var r,s=this.migrations,a={l:t,d:e,i:n};if(i.get(o.containers.first)||i.get(o.service.migrations)){if(!i.get(o.service.migrations))for(r=0;r<s.length;r++)s[r].go(s[r].id,a)}else{var c=[];for(r=0;r<s.length;r++)c.push(s[r].id);var l="";for(r=0;r<c.length;r++)l+=c[r]+"=1",r<c.length-1&&(l+=o.delimiter);i.set(o.service.migrations,l,a.l,a.d,a.i)}},migrations:[{id:"1418474375998",version:"1.0.0-beta",go:function(t,e){var n=t+"=1",r=t+"=0",s=function(t,e,n){return e||n?t:o.delimiter};try{var a=[];for(var c in o.containers)o.containers.hasOwnProperty(c)&&a.push(o.containers[c]);for(var l=0;l<a.length;l++)if(i.get(a[l])){var u=i.get(a[l]).replace(/(\|)?\|(\|)?/g,s);i.destroy(a[l],e.d,e.i),i.destroy(a[l],e.d,!e.i),i.set(a[l],u,e.l,e.d,e.i)}i.get(o.containers.session)&&i.set(o.containers.session,o.pack.session(0),e.l,e.d,e.i),i.set(o.service.migrations,n,e.l,e.d,e.i)}catch(t){i.set(o.service.migrations,r,e.l,e.d,e.i)}}}]}},{"./data":2,"./helpers/cookies":3}],8:[function(t,e,n){"use strict";var o=t("./terms"),i=t("./helpers/uri");e.exports={fetch:function(t){var e=t||{},n={};if(n.lifetime=this.validate.checkFloat(e.lifetime)||6,n.lifetime=parseInt(30*n.lifetime*24*60),n.session_length=this.validate.checkInt(e.session_length)||30,n.timezone_offset=this.validate.checkInt(e.timezone_offset),n.campaign_param=e.campaign_param||!1,n.term_param=e.term_param||!1,n.content_param=e.content_param||!1,n.user_ip=e.user_ip||o.none,e.promocode?(n.promocode={},n.promocode.min=parseInt(e.promocode.min)||1e5,n.promocode.max=parseInt(e.promocode.max)||999999):n.promocode=!1,e.typein_attributes&&e.typein_attributes.source&&e.typein_attributes.medium?(n.typein_attributes={},n.typein_attributes.source=e.typein_attributes.source,n.typein_attributes.medium=e.typein_attributes.medium):n.typein_attributes={source:"(direct)",medium:"(none)"},e.domain&&this.validate.isString(e.domain)?n.domain={host:e.domain,isolate:!1}:e.domain&&e.domain.host?n.domain=e.domain:n.domain={host:i.getHost(document.location.hostname),isolate:!1},n.referrals=[],e.referrals&&e.referrals.length>0)for(var r=0;r<e.referrals.length;r++)e.referrals[r].host&&n.referrals.push(e.referrals[r]);if(n.organics=[],e.organics&&e.organics.length>0)for(var s=0;s<e.organics.length;s++)e.organics[s].host&&e.organics[s].param&&n.organics.push(e.organics[s]);return n.organics.push({host:"bing.com",param:"q",display:"bing"}),n.organics.push({host:"yahoo.com",param:"p",display:"yahoo"}),n.organics.push({host:"about.com",param:"q",display:"about"}),n.organics.push({host:"aol.com",param:"q",display:"aol"}),n.organics.push({host:"ask.com",param:"q",display:"ask"}),n.organics.push({host:"globososo.com",param:"q",display:"globo"}),n.organics.push({host:"go.mail.ru",param:"q",display:"go.mail.ru"}),n.organics.push({host:"rambler.ru",param:"query",display:"rambler"}),n.organics.push({host:"tut.by",param:"query",display:"tut.by"}),n.referrals.push({host:"t.co",display:"twitter.com"}),n.referrals.push({host:"plus.url.google.com",display:"plus.google.com"}),n},validate:{checkFloat:function(t){return!(!t||!this.isNumeric(parseFloat(t)))&&parseFloat(t)},checkInt:function(t){return!(!t||!this.isNumeric(parseInt(t)))&&parseInt(t)},isNumeric:function(t){return!isNaN(t)},isString:function(t){return"[object String]"===Object.prototype.toString.call(t)}}}},{"./helpers/uri":4,"./terms":9}],9:[function(t,e,n){"use strict";e.exports={traffic:{utm:"utm",organic:"organic",referral:"referral",typein:"typein"},referer:{referral:"referral",organic:"organic",social:"social"},none:"(none)",oops:"(Houston, we have a problem)"}},{}]},{},[1])(1)},"object"==s(e)?t.exports=r():(o=[],void 0===(i="function"==typeof(n=r)?n.apply(e,o):n)||(t.exports=i))},54410:function(t,e,n){var o;!function(i){if(void 0!==(o=function(){var t=window.UIkit||i(window,window.jQuery,window.document);return t.load=function(e,n,o,i){var r,s=e.split(","),a=[],c=(i.config&&i.config.uikit&&i.config.uikit.base?i.config.uikit.base
2:"").replace(/\/+$/g,"");if(!c)throw new Error("Please define base path to UIkit in the requirejs config.");for(r=0;r<s.length;r+=1){var l=s[r].replace(/\./g,"/");a.push(c+"/components/"+l)}n(a,(function(){o(t)}))},t}.call(e,n,e,t))&&(t.exports=o),!window.jQuery)throw new Error("UIkit requires jQuery");window&&window.jQuery&&i(window,window.jQuery,window.document)}((function(t,e,n){"use strict";var o={},i=t.UIkit?Object.create(t.UIkit):void 0;if(o.version="2.20.3",o.noConflict=function(){return i&&(t.UIkit=i,e.UIkit=i,e.fn.uk=i.fn),o},o.prefix=function(t){return t},o.$=e,o.$doc=o.$(document),o.$win=o.$(window),o.$html=o.$("html"),o.support={},o.support.transition=function(){var t=function(){var t,e=n.body||n.documentElement,o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in o)if(void 0!==e.style[t])return o[t]}();return t&&{end:t}}(),o.support.animation=function(){var t=function(){var t,e=n.body||n.documentElement,o={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in o)if(void 0!==e.style[t])return o[t]}();return t&&{end:t}}(),function(){var e=0;t.requestAnimationFrame=t.requestAnimationFrame||t.webkitRequestAnimationFrame||function(n){var o=(new Date).getTime(),i=Math.max(0,16-(o-e)),r=t.setTimeout((function(){n(o+i)}),i);return e=o+i,r},t.cancelAnimationFrame||(t.cancelAnimationFrame=function(t){clearTimeout(t)})}(),o.support.touch="ontouchstart"in document||t.DocumentTouch&&document instanceof t.DocumentTouch||t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints>0||t.navigator.pointerEnabled&&t.navigator.maxTouchPoints>0||!1,o.support.mutationobserver=t.MutationObserver||t.WebKitMutationObserver||null,o.Utils={},o.Utils.str2json=function(t,e){try{return e?JSON.parse(t.replace(/([\$\w]+)\s*:/g,(function(t,e){return'"'+e+'":'})).replace(/'([^']+)'/g,(function(t,e){return'"'+e+'"'}))):new Function("","var json = "+t+"; return JSON.parse(JSON.stringify(json));")()}catch(t){return!1}},o.Utils.debounce=function(t,e,n){var o;return function(){var i=this,r=arguments,s=n&&!o;clearTimeout(o),o=setTimeout((function(){o=null,n||t.apply(i,r)}),e),s&&t.apply(i,r)}},o.Utils.removeCssRules=function(t){var e,n,o,i,r,s,a,c,l,u;t&&setTimeout((function(){try{for(u=document.styleSheets,i=0,a=u.length;a>i;i++){for(o=u[i],n=[],o.cssRules=o.cssRules,e=r=0,c=o.cssRules.length;c>r;e=++r)o.cssRules[e].type===CSSRule.STYLE_RULE&&t.test(o.cssRules[e].selectorText)&&n.unshift(e);for(s=0,l=n.length;l>s;s++)o.deleteRule(n[s])}}catch(t){}}),0)},o.Utils.isInView=function(t,n){var i=e(t);if(!i.is(":visible"))return!1;var r=o.$win.scrollLeft(),s=o.$win.scrollTop(),a=i.offset(),c=a.left,l=a.top;return n=e.extend({topoffset:0,leftoffset:0},n),l+i.height()>=s&&l-n.topoffset<=s+o.$win.height()&&c+i.width()>=r&&c-n.leftoffset<=r+o.$win.width()},o.Utils.checkDisplay=function(t,n){var i=o.$("[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]",t||document);return t&&!i.length&&(i=e(t)),i.trigger("display.uk.check"),n&&("string"!=typeof n&&(n='[class*="uk-animation-"]'),i.find(n).each((function(){var t=o.$(this),e=t.attr("class").match(/uk\-animation\-(.+)/);t.removeClass(e[0]).width(),t.addClass(e[0])}))),i},o.Utils.options=function(t){if(e.isPlainObject(t))return t;var n=t?t.indexOf("{"):-1,i={};if(-1!=n)try{i=o.Utils.str2json(t.substr(n))}catch(t){}return i},o.Utils.animate=function(t,n){var i=e.Deferred();return(t=o.$(t)).css("display","none").addClass(n).one(o.support.animation.end,(function(){t.removeClass(n),i.resolve()})).width(),t.css("display",""),i.promise()},o.Utils.uid=function(t){return(t||"id")+(new Date).getTime()+"RAND"+Math.ceil(1e5*Math.random())},o.Utils.template=function(t,e){for(var n,o,i,r,s=t.replace(/\n/g,"\\n").replace(/\{\{\{\s*(.+?)\s*\}\}\}/g,"{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g),a=0,c=[],l=0;a<s.length;){if((n=s[a]).match(/\{\{\s*(.+?)\s*\}\}/))switch(a+=1,n=s[a],o=n[0],i=n.substring(n.match(/^(\^|\#|\!|\~|\:)/)?1:0),o){case"~":c.push("for(var $i=0;$i<"+i+".length;
2$i++) { var $item = "+i+"[$i];"),l++;break;case":":c.push("for(var $key in "+i+") { var $val = "+i+"[$key];"),l++;break;case"#":c.push("if("+i+") {"),l++;break;case"^":c.push("if(!"+i+") {"),l++;break;case"/":c.push("}"),l--;break;case"!":c.push("__ret.push("+i+");");break;default:c.push("__ret.push(escape("+i+"));")}else c.push("__ret.push('"+n.replace(/\'/g,"\\'")+"');");a+=1}return r=new Function("$data",["var __ret = [];","try {","with($data){",l?'__ret = ["Not all blocks are closed correctly."]':c.join(""),"};","}catch(e){__ret = [e.message];}",'return __ret.join("").replace(/\\n\\n/g, "\\n");',"function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}"].join("\n")),e?r(e):r},o.Utils.events={},o.Utils.events.click=o.support.touch?"tap":"click",t.UIkit=o,o.fn=function(t,n){var i=arguments,r=t.match(/^([a-z\-]+)(?:\.([a-z]+))?/i),s=r[1],a=r[2];return o[s]?this.each((function(){var t=e(this),r=t.data(s);r||t.data(s,r=o[s](this,a?void 0:n)),a&&r[a].apply(r,Array.prototype.slice.call(i,1))})):(e.error("UIkit component ["+s+"] does not exist."),this)},e.UIkit=o,e.fn.uk=o.fn,o.langdirection="rtl"==o.$html.attr("dir")?"right":"left",o.components={},o.component=function(t,n){var i=function(n,r){var s=this;return this.UIkit=o,this.element=n?o.$(n):null,this.options=e.extend(!0,{},this.defaults,r),this.plugins={},this.element&&this.element.data(t,this),this.init(),(this.options.plugins.length?this.options.plugins:Object.keys(i.plugins)).forEach((function(t){i.plugins[t].init&&(i.plugins[t].init(s),s.plugins[t]=!0)})),this.trigger("init.uk.component",[t,this]),this};return i.plugins={},e.extend(!0,i.prototype,{defaults:{plugins:[]},boot:function(){},init:function(){},on:function(t,e,n){return o.$(this.element||this).on(t,e,n)},one:function(t,e,n){return o.$(this.element||this).one(t,e,n)},off:function(t){return o.$(this.element||this).off(t)},trigger:function(t,e){return o.$(this.element||this).trigger(t,e)},find:function(t){return o.$(this.element?this.element:[]).find(t)},proxy:function(t,e){var n=this;e.split(" ").forEach((function(e){n[e]||(n[e]=function(){return t[e].apply(t,arguments)})}))},mixin:function(t,e){var n=this;e.split(" ").forEach((function(e){n[e]||(n[e]=t[e].bind(n))}))},option:function(){return 1==arguments.length?this.options[arguments[0]]||void 0:void(2==arguments.length&&(this.options[arguments[0]]=arguments[1]))}},n),this.components[t]=i,this[t]=function(){var n,i;if(arguments.length)switch(arguments.length){case 1:"string"==typeof arguments[0]||arguments[0].nodeType||arguments[0]instanceof jQuery?n=e(arguments[0]):i=arguments[0];break;case 2:n=e(arguments[0]),i=arguments[1]}return n&&n.data(t)?n.data(t):new o.components[t](n,i)},o.domready&&o.component.boot(t),i},o.plugin=function(t,e,n){this.components[t].plugins[e]=n},o.component.boot=function(t){o.components[t].prototype&&o.components[t].prototype.boot&&!o.components[t].booted&&(o.components[t].prototype.boot.apply(o,[]),o.components[t].booted=!0)},o.component.bootComponents=function(){for(var t in o.components)o.component.boot(t)},o.domObservers=[],o.domready=!1,o.ready=function(t){o.domObservers.push(t),o.domready&&t(document)},o.on=function(t,e,n){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready&&e.apply(o.$doc),o.$doc.on(t,e,n)},o.one=function(t,e,n){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready?(e.apply(o.$doc),o.$doc):o.$doc.one(t,e,n)},o.trigger=function(t,e){return o.$doc.trigger(t,e)},o.domObserve=function(t,e){o.support.mutationobserver&&(e=e||function(){},o.$(t).each((function(){var t=this,n=o.$(t);if(!n.data("observer"))try{var i=new o.support.mutationobserver(o.Utils.debounce((function(){e.apply(t,[]),n.trigger("changed.uk.dom")}),50));i.observe(t,{childList:!0,subtree:!0}),n.data("observer",i)}catch(t){}})))},o.init=function(t){t=t||document,o.domObservers.forEach((function(e){e(t)}))},o.on("domready.uk.dom",(function(){o.init(),o.domready&&o.Utils.checkDisplay()})),e((function(){var t;o.$body=o.$("body"),o.ready((function(){o.domObserve("[data-uk-observe]")})),o.on("changed.uk.dom",(function(t){o.init(t.target),o.Utils.checkDisplay(t.target)})),o.trigger("beforeready.uk.dom"),o.component.bootComponents(),setInterval(function(){var t,e={x:window.pageXOffset,y:window.pageYOffset},n=function(){(e.x!=window.pageXOffset||e.y!=window.pageYOffset)&&(t={x:0,y:0},window.pageXOffset!=e.x&&(t.x=window.pageXOffset>e.x?1:-1),window.pageYOffset!=e.y&&(t.y=window.pageYOffset>e.y?1:-1),e={dir:t,x:window.pageXOffset,y:window.pageYOffset},o.$doc.trigger("scrolling.uk.document",[e]))};return o.support.touch&&o.$html.on("touchmove touchend MSPointerMove MSPointerUp pointermove pointerup",n),(e.x||e.y)&&n(),n}(),15),o.trigger("domready.uk.dom"),o.support.touch&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&o.$win.on("load orientationchange resize",o.Utils.debounce((t=function(){return e(".uk-height-viewport").css("height",window.innerHeight),t})(),100)),o.trigger("afterready.uk.dom"),o.domready=!0})),o.$html.addClass(o.support.touch?"uk-touch":"uk-notouch"),o.support.touch){var r,s=!1,a="uk-hover",c=".uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover";o.$html.on("touchstart MSPointerDown pointerdown",c,(function(){s&&e("."+a).removeClass(a),s=e(this).addClass(a)})).on("touchend MSPointerUp pointerup",(function(t){r=e(t.target).parents(c),s&&s.not(r).removeClass(a)}))}return o}
2)),function(t){function e(){var t;c=null,u.last&&(null!==(t=u.el)&&void 0!==t&&t.trigger("longTap"),u={})}function n(){c&&clearTimeout(c),c=null}function o(){r&&clearTimeout(r),s&&clearTimeout(s),a&&clearTimeout(a),c&&clearTimeout(c),r=s=a=c=null,u={}}function i(t){return t.pointerType==t.MSPOINTER_TYPE_TOUCH&&t.isPrimary}if(!t.fn.swipeLeft){var r,s,a,c,l,u={};t((function(){var p,d,h,f=0,m=0;"MSGesture"in window&&((l=new MSGesture).target=document.body),t(document).on("MSGestureEnd gestureend",(function(t){var e,n,o=t.originalEvent.velocityX>1?"Right":t.originalEvent.velocityX<-1?"Left":t.originalEvent.velocityY>1?"Down":t.originalEvent.velocityY<-1?"Up":null;o&&(null!==(e=u.el)&&void 0!==e&&e.trigger("swipe"),null===(n=u.el)||void 0===n||n.trigger("swipe"+o))})).on("touchstart MSPointerDown pointerdown",(function(n){("MSPointerDown"!=n.type||i(n.originalEvent))&&(h="MSPointerDown"==n.type||"pointerdown"==n.type?n:n.originalEvent.touches[0],p=Date.now(),d=p-(u.last||p),u.el=t("tagName"in h.target?h.target:h.target.parentNode),r&&clearTimeout(r),u.x1=h.pageX,u.y1=h.pageY,d>0&&250>=d&&(u.isDoubleTap=!0),u.last=p,c=setTimeout(e,750),!l||"MSPointerDown"!=n.type&&"pointerdown"!=n.type&&"touchstart"!=n.type||l.addPointer(n.originalEvent.pointerId))})).on("touchmove MSPointerMove pointermove",(function(t){("MSPointerMove"!=t.type||i(t.originalEvent))&&(h="MSPointerMove"==t.type||"pointermove"==t.type?t:t.originalEvent.touches[0],n(),u.x2=h.pageX,u.y2=h.pageY,f+=Math.abs(u.x1-u.x2),m+=Math.abs(u.y1-u.y2))})).on("touchend MSPointerUp pointerup",(function(e){("MSPointerUp"!=e.type||i(e.originalEvent))&&(n(),u.x2&&Math.abs(u.x1-u.x2)>30||u.y2&&Math.abs(u.y1-u.y2)>30?a=setTimeout((function(){var t,e;null!==(t=u.el)&&void 0!==t&&t.trigger("swipe"),null!==(e=u.el)&&void 0!==e&&e.trigger("swipe"+function(t,e,n,o){return Math.abs(t-e)>=Math.abs(n-o)?t-e>0?"Left":"Right":n-o>0?"Up":"Down"}(u.x1,u.x2,u.y1,u.y2)),u={}}),0):"last"in u&&(isNaN(f)||30>f&&30>m?s=setTimeout((function(){var e,n=t.Event("tap");n.cancelTouch=o,u.isDoubleTap?(null!==(e=u.el)&&void 0!==e&&e.trigger("doubleTap"),u={}):r=setTimeout((function(){r=null,u={}}),250)}),0):u={},f=m=0))})).on("touchcancel MSPointerCancel",o),t(window).on("scroll",o)})),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach((function(e){t.fn[e]=function(n){return t(this).on(e,n)}}))}}(jQuery),function(t){"use strict";var e,n=!1;t.component("dropdown",{defaults:{mode:"hover",remaintime:800,justify:!1,boundary:t.$win,delay:0,hoverDelayIdle:250},remainIdle:!1,boot:function(){var e=t.support.touch?"click":"mouseenter";t.$html.on(e+".dropdown.uikit","[data-uk-dropdown]",(function(n){var o=t.$(this);if(!o.data("dropdown")){var i=t.dropdown(o,t.Utils.options(o.attr("data-uk-dropdown")));("click"==e||"mouseenter"==e&&"hover"==i.options.mode)&&i.element.trigger(e),i.element.find(".uk-dropdown").length&&n.preventDefault()}}))},init:function(){var o=this;this.dropdown=this.find(".uk-dropdown"),this.centered=this.dropdown.hasClass("uk-dropdown-center"),this.justified=!!this.options.justify&&t.$(this.options.justify),this.boundary=t.$(this.options.boundary),this.flipped=this.dropdown.hasClass("uk-dropdown-flip"),this.boundary.length||(this.boundary=t.$win),this.element.attr("aria-haspopup","true"),this.element.attr("aria-expanded",this.element.hasClass("uk-open")),"click"==this.options.mode||t.support.touch?this.on("click.uikit.dropdown",(function(e){var n=t.$(e.target);n.parents(".uk-dropdown").length||((n.is("a[href='#']")||n.parent().is("a[href='#']")||o.dropdown.length&&!o.dropdown.is(":visible"))&&e.preventDefault(),n.blur()),o.element.hasClass("uk-open")?(n.is("a:not(.js-uk-prevent)")||n.is(".uk-dropdown-close")||!o.dropdown.find(e.target).length)&&o.hide():o.show()})):this.on("mouseenter",(function(){o.remainIdle&&clearTimeout(o.remainIdle),e&&clearTimeout(e),n&&n==o||(e=n&&n!=o?setTimeout((function(){e=setTimeout(o.show.bind(o),o.options.delay)}),o.options.hoverDelayIdle):setTimeout(o.show.bind(o),o.options.delay))})).on("mouseleave",(function(){e&&clearTimeout(e),o.remainIdle=setTimeout((function(){n&&n==o&&o.hide()}),o.options.remaintime)})).on("click",(function(e){var n=t.$(e.target);o.remainIdle&&clearTimeout(o.remainIdle),(n.is("a[href='#']")||n.parent().is("a[href='#']"))&&e.preventDefault(),o.show()}))},show:function(){t.$html.off("click.outer.dropdown"),n&&n!=this&&n.hide(),e&&clearTimeout(e),this.checkDimensions(),this.element.addClass("uk-open"),this.element.attr("aria-expanded","true"),this.trigger("show.uk.dropdown",[this]),t.Utils.checkDisplay(this.dropdown,!0),n=this,this.registerOuterClick()},hide:function(){this.element.removeClass("uk-open"),this.remainIdle&&clearTimeout(this.remainIdle),this.remainIdle=!1,this.element.attr("aria-expanded","fal
2se"),this.trigger("hide.uk.dropdown",[this]),n==this&&(n=!1)},registerOuterClick:function(){var o=this;t.$html.off("click.outer.dropdown"),setTimeout((function(){t.$html.on("click.outer.dropdown",(function(i){e&&clearTimeout(e);var r=t.$(i.target);n!=o||!r.is("a:not(.js-uk-prevent)")&&!r.is(".uk-dropdown-close")&&o.dropdown.find(i.target).length||(o.hide(),t.$html.off("click.outer.dropdown"))}))}),10)},checkDimensions:function(){if(this.dropdown.length){this.justified&&this.justified.length&&this.dropdown.css("min-width","");var e=this,n=this.dropdown.css("margin-"+t.langdirection,""),o=n.show().offset(),i=n.outerWidth(),r=this.boundary.width(),s=this.boundary.offset()?this.boundary.offset().left:0;if(this.centered&&(n.css("margin-"+t.langdirection,-1*(parseFloat(i)/2-n.parent().width()/2)),(i+(o=n.offset()).left>r||o.left<0)&&(n.css("margin-"+t.langdirection,""),o=n.offset())),this.justified&&this.justified.length){var a=this.justified.outerWidth();if(n.css("min-width",a),"right"==t.langdirection){var c=r-(this.justified.offset().left+a),l=r-(n.offset().left+n.outerWidth());n.css("margin-right",c-l)}else n.css("margin-left",this.justified.offset().left-o.left);o=n.offset()}i+(o.left-s)>r&&(n.addClass("uk-dropdown-flip"),o=n.offset()),o.left-s<0&&(n.addClass("uk-dropdown-stack"),n.hasClass("uk-dropdown-flip")&&(this.flipped||(n.removeClass("uk-dropdown-flip"),o=n.offset(),n.addClass("uk-dropdown-flip")),setTimeout((function(){(n.offset().left-s<0||!e.flipped&&n.outerWidth()+(o.left-s)<r)&&n.removeClass("uk-dropdown-flip")}),0)),this.trigger("stack.uk.dropdown",[this])),n.css("display","")}}})}(UIkit)},20166:function(){var t={updateParameter:function(t,e,n){null==n&&(n=window.parent.location.href);var o=new RegExp("([?|&])"+t+"=.*?(&|$)","i"),i=-1!==n.indexOf("?")?"&":"?";return n.match(o)?n.replace(o,"$1"+t+"="+e+"$2"):n+i+t+"="+e}};window.MyUrlEditor=t},27687:function(){"use strict";function t(){return(t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}window.yall=function(e){var n={intersectionObserverSupport:"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,mutationObserverSupport:"MutationObserver"in window,idleCallbackSupport:"requestIdleCallback"in window,eventsToBind:[[document,"scroll"],[document,"touchmove"],[window,"resize"],[window,"orientationchange"]]},o=t({lazyClass:"lazy",lazyBackgroundClass:"lazy-bg",lazyBackgroundLoaded:"lazy-bg-loaded",throttleTime:200,idlyLoad:!1,idleLoadTimeout:100,threshold:200,observeChanges:!1,observeRootSelector:"body",mutationObserverOptions:{childList:!0,subtree:!0}},e),i="img."+o.lazyClass+",video."+o.lazyClass+",iframe."+o.lazyClass+",."+o.lazyBackgroundClass,r={timeout:o.idleLoadTimeout},s=function(t){return[].slice.call(t)},a=function(t){if("IMG"===t.tagName){var e=t.parentNode;"PICTURE"===e.tagName&&s(e.querySelectorAll("source")).forEach((function(t){return c(t)})),c(t)}"VIDEO"===t.tagName&&(s(t.querySelectorAll("source")).forEach((function(t){return c(t)})),c(t),!0===t.autoplay&&t.load()),"IFRAME"===t.tagName&&c(t),t.classList.contains(o.lazyBackgroundClass)&&(t.classList.remove(o.lazyBackgroundClass),t.classList.add(o.lazyBackgroundLoaded))},c=function(t){null!==t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset")),null!==t.getAttribute("data-src")&&t.setAttribute("src",t.getAttribute("data-src")),null!==t.getAttribute("data-cksrc")&&t.setAttribute("src",t.getAttribute("data-cksrc")),null!==t.getAttribute("data-poster")&&t.setAttribute("poster",t.getAttribute("data-poster"))},l=function t(){var e=!1;!1===e&&0<u.length&&(e=!0,setTimeout((function(){u.forEach((function(t){t.getBoundingClientRect().top<=window.innerHeight+o.threshold&&t.getBoundingClientRect().bottom>=-o.threshold&&"none"!==getComputedStyle(t).display&&(!0===o.idlyLoad&&!0===n.idleCallbackSupport?requestIdleCallback((function(){a(t)}),r):a(t),t.classList.remove(o.lazyClass),u=u.filter((function(e){return e!==t})))})),e=!1,0===u.length&&!1===o.observeChanges&&n.eventsToBind.forEac
2h((function(e){return e[0].removeEventListener(e[1],t)}))}),o.throttleTime))},u=s(document.querySelectorAll(i));if(!0===n.intersectionObserverSupport){var p=new IntersectionObserver((function(t,e){t.forEach((function(t){if(!0===t.isIntersecting||0<t.intersectionRatio){var i=t.target;!0===o.idlyLoad&&!0===n.idleCallbackSupport?requestIdleCallback((function(){return a(i)}),r):a(i),i.classList.remove(o.lazyClass),e.unobserve(i),u=u.filter((function(t){return t!==i}))}}))}),{rootMargin:o.threshold+"px 0%"});u.forEach((function(t){return p.observe(t)}))}else n.eventsToBind.forEach((function(t){return t[0].addEventListener(t[1],l)})),l();!0===n.mutationObserverSupport&&!0===o.observeChanges&&new MutationObserver((function(t){return t.forEach((function(){s(document.querySelectorAll(i)).forEach((function(t){-1===u.indexOf(t)&&(u.push(t),!0===n.intersectionObserverSupport?p.observe(t):l())}))}))})).observe(document.querySelector(o.observeRootSelector),o.mutationObserverOptions)}},43427:function(t){"use strict";t.exports=UIkit}},function(t){var e;e=1338,t(t.s=e)}]);

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.