PageSourceSearch

https://tea-salon.ru/wa-apps/shop/plugins/ordercall/assets/frontend.bundle.js?v=1.20.4

js tea-salon.ru collected 2026-10-08 14:35:41 UTC 17,772 bytes, 1 lines download raw bytes

1!function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=68)}({14:function(e,t,o){"use strict";function n(e){var t=shopOrdercallConfig.yandex,o=i;if(e=e||"send",!t[o]&&(o="general",!t[o]))return!1;var n={open:t[o].open||"",send:t[o].send||"",error:t[o].error||"",smart_button_click:t[o].smart_button_click||"",smart_button_send:t[o].smart_button_send||""},r=window["yaCounter"+(t[o].counter||"")];return!(!n[e]||"object"!=(void 0===r?"undefined":a(r)))&&(r.reachGoal(n[e]),!0)}function r(e){var t=shopOrdercallConfig.google,o=i;if(e=e||"send",!t[o]&&(o="general",!t[o]))return!1;var n={open:{category:t[o].open.category||"",action:t[o].open.action||""},send:{category:t[o].send.category||"",action:t[o].send.action||""},error:{category:t[o].error.category||"",action:t[o].error.action||""},smart_button_click:{category:t[o].smart_button_click.category||"",action:t[o].smart_button_click.action||""},smart_button_send:{category:t[o].smart_button_send.category||"",action:t[o].smart_button_send.action||""}};return!(!n[e].category||"function"!=typeof ga)&&(ga("send","event",n[e].category,n[e].action),!0)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=document.domain;t.a=function(e){e=e||"send";var t=n(e);return t=r(e)&&t}},19:function(e,t,o){"use strict";function n(){var e=c()(".oc-form, .oc-light-form"),t=!0;return e.find(".oc-light-form__captcha").removeClass("oc-light-form-field_error"),e.find('input[type="checkbox"]').each(function(){var e=c()(this);e.closest(".oc-light-form-field").removeClass("oc-light-form-field_error"),e.prop("required")&&(e.is(":checked")||(e.closest(".oc-light-form-field").addClass("oc-light-form-field_error"),t=!1))}),e.find(".oc-form__control, .oc-light-form-input-text, .oc-light-form-textarea, select.oc-light-form-select").each(function(){var e=c()(this);e.closest(".oc-form__field").removeClass("oc-form__control_validate"),e.closest(".oc-light-form-field").removeClass("oc-light-form-field_error"),e.prop("required")&&""==e.val()&&(e.closest(".oc-form__field").addClass("oc-form__control_validate"),e.closest(".oc-light-form-field").addClass("oc-light-form-field_error"),t=!1)}),t}function r(){if(!this.validate())return!1;var e=c()(".oc-form, .oc-light-form");return f(e.serialize(),function(t){if("fail"===t.status||void 0!=t.errors)return"Captcha not valid"===t.errors[0]?(e.find(".oc-light-form__not-valid-captcha").text("Капча не валидна!"),c()(".wa-captcha-refresh").click(),void(e.find(".wa-recaptcha, .wa-captcha").length>0&&e.find(".oc-light-form__captcha").addClass("oc-light-form-field_error"))):"Already exist"===t.errors[0]?void d("Вы уже отправляли заявку"):void d();u(t.data)},function(){d()}),!0}function a(){var e=window.wa_ordercall_userdata;if(e&&(e.wa_captcha&&c()(".ordercall-add-captcha").prepend(e.wa_captcha),e.wa_user_email&&c()(".ordercall-insert-email").val(e.wa_user_email),e.wa_user_name&&c()(".ordercall-insert-name").val(e.wa_user_name),e.wa_user_phone)){var t=c()(".ordercall-insert-phone");t.val(e.wa_user_phone),t.trigger("input")}}var i=o(5),c=o.n(i),l=o(72),s=o(14),u=function(e){Object(s.a)(),c()(".oc-modal").addClass("success").removeClass("error"),c()(".oc-light-form").removeClass("oc-light-form_error").addClass("oc-light-form_success"),c()("#oc-result-zagl, .oc-light-form__result-header").html("Ваша заявка успешно отправлена"),c()("#oc-result-content, .oc-light-form__result-content").html(e),c()(".oc-form__result, .oc-light-form__result").show(),c()("#oc-modal-content, .oc-light-form__content").hide()},d=function(e){e=e||"",Object(s.a)("error"),c()(".oc-modal").addClass("error").removeClass("success"),c()(".oc-light-form").addClass("oc-light-form_error").removeClass("oc-light-form_success"),c()("#oc-result-zagl, .oc-light-form__result-header").html("Ошибка"),c()("#oc-result-content, .oc-light-form__result-content").html(e),c()(".oc-form__result, .oc-light-form__result").show(),c()("#oc-modal-content, .oc-light-form__content").hide()},f=function(e,t,o){var n=l.a.get("_csrf"),r=document.location.href,a=-+(new Date).getTimezoneOffset()/60;c.a.ajax({url:window.shopOrdercallConfig.action,method:"post",data:"_csrf="+n+"&url="+r+"&timezone="+a+"&"+e}).done(function(e){t(e)}).fail(function(){o()})};t.a={validate:n,sendData:f,send:r,success:u,fail:d,fillOrdercallUserSpecifiedFields:a}},5:function(e,t){e.exports=jQuery},68:function(e,t,o){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n=o(5),r=(o.n(n),o(69));o.n(r),o(70)},69:function(e,t,o){var n,r,a;"function"==typeof Symbol&&Symbol.iterator;!function(i){r=[o(5)],n=i,void 0!==(a="function"==typeof n?n.apply(t,r):n)&&(e.exports=a)}(function(e){var t,o=navigator.userAgent,n=/iphone/i.test(o),r=(/chrome/i.test(o),/android/i.test(o));e.mask={definitions:{9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},autoclear:!0,dataName:"rawMaskFn",placeholder:"_"},e.fn.extend({caret:function(e,t){var o;if(0!==this.length&&!this.is(":hidden"))return"number"==typeof e?(t="number"==typeof t?t:e,this.each(function(){this.setSelectionRange?this.setSelectionRange(e,t):this.createTextRange&&(o=this.createTextRange(),o.collapse(!0),o.moveEnd("character",t),o.moveStart("character",e),o.select())})):(this[0].setSelectionRange?(e=this[0].selectionStart,t=this[0].selectionEnd):document.selection&&document.selection.createRange&&(o=document.selection.createRange(),e=0-o.duplicate().moveStart("character",-1e5),t=e+o.text.length),{begin:e,end:t})},unmask:function(){return this.trigger("unmask")},mask:function(o,a){var i,c,l,s,u,d,f,m;if(!o&&this.length>0){i=e(this[0]);var p=i.data(e.mask.dataName);return p?p():void 0}return a=e.extend({autoclear:e.mask.autoclear,placeholder:e.mask.placeholder,completed:null},a),c=e.mask.definitions,l=[],s=f=o.length,u=null,e.each(o.split(""),function(e,t){"?"==t?(f--,s=e):c[t]?(l.push(new RegExp(c[t])),null===u&&(u=l.length-1),s>e&&(d=l.length-1)):l.push(null)}),this.trigger("unmask").each(function(){function i(){if(a.completed){for(var e=u;d>=e;e++)if(l[e]&&O[e]===p(e))return;a.completed.call(C)}}function p(e){return a.placeholder.charAt(e<a.placeholder.length?e:0)}function h(e){for(;++e<f&&!l[e];);return e}function g(e){for(;--e>=0&&!l[e];);return e}function v(e,t){var o,n;if(!(0>e)){for(o=e,n=h(t);f>o;o++)if(l[o]){if(!(f>n&&l[o].test(O[n])))break;O[o]=O[n],O[n]=p(n),n=h(n)}x(),C.caret(Math.max(u,e))}}function _(e){var t,o,n,r;for(t=e,o=p(e);f>t;t++)if(l[t]){if(n=h(t),r=O[t],O[t]=o,!(f>n&&l[n].test(r)))break;o=r}C.caret(n)}function b(){j(),C.val()!=q&&C.change()}function w(e){if(!C.prop("readonly")){var t,o,r,a=e.which||e.keyCode;m=C.val(),8===a||46===a||n&&127===a?(t=C.caret(),o=t.begin,r=t.end,r-o==0&&(o=46!==a?g(o):r=h(o-1),r=46===a?h(r):r),k(o,r),v(o,r-1),e.preventDefault()):13===a?b.call(this,e):27===a&&(C.val(q),C.caret(0,j()),e.preventDefault())}}function y(t){if(!C.prop("readonly")){var o,n,a,c=t.which||t.keyCode,s=C.caret();if(!(t.ctrlKey||t.altKey||t.metaKey||32>c)&&c&&13!==c){if(s.end-s.begin!=0&&(k(s.begin,s.end),v(s.begin,s.end-1)),o=h(s.begin-1),f>o&&(n=String.fromCharCode(c),l[o].test(n))){if(_(o),O[o]=n,x(),a=h(o),r){var u=function(){e.proxy(e.fn.caret,C,a)()};setTimeout(u,0)}else C.caret(a);s.begin<=d&&i()}t.preventDefault()}}}function k(e,t){var o;for(o=e;t>o&&f>o;o++)l[o]&&(O[o]=p(o))}function x(){C.val(O.join(""))}function j(e){var t,o,n,r=C.val(),i=-1;for(t=0,n=0;f>t;t++)if(l[t]){for(O[t]=p(t);n++<r.length;)if(o=r.charAt(n-1),l[t].test(o)){O[t]=o,i=t;break}if(n>r.length){k(t+1,f);break}}else O[t]===r.charAt(n)&&n++,s>t&&(i=t);return e?x():s>i+1?a.autoclear||O.join("")===S?(C.val()&&C.val(""),k(0,f)):x():(x(),C.val(C.val().substring(0,i+1))),s?t:u}var C=e(this),O=e.map(o.split(""),function(e,t){return"?"!=e?c[e]?p(t):e:void 0}),S=O.join(""),q=C.val();C.data(e.mask.dataName,function(){return e.map(O,function(e,t){return l[t]&&e!=p(t)?e:null}).join("")}),C.one("unmask",function(){C.off(".mask").removeData(e.mask.dataName)}).on("focus.mask",function(){if(!C.prop("readonly")){clearTimeout(t);var e;q=C.val(),e=j(),t=setTimeout(function(){C.get(0)===document.activeElement&&(x(),e==o.replace("?","").length?C.caret(0,e):C.caret(e))},10)}}).on("blur.mask",b).on("keydown.mask",w).on("keypress.mask",y).on("input.mask paste.mask",function(){C.prop("readonly")||setTimeout(function(){var e=j(!0);C.caret(e),i()},0)}),j()})}})})},70:function(e,t,o){"use strict";var n=o(5),r=o.n(n),a=o(71),i=o(19),c=o(14);window.shopOrdercall={Modal:a.a,Form:i.a};var l=function(){var e=null;return window.shopOrdercallConfig.form_fields.forEach(function(t){"tel"===t.type&&t.mask&&(e=t.mask)}),e},s=function(){var e=r()(window.shopOrdercallConfig.button_html);e.filter(".ordercall-smart-button").each(function(e,t){var o=r()(t),n=o.filter(".ordercall-smart-button_text"),s=o.filter(".ordercall-smart-button_form");if(0!==n.length)n.on("click",function(){Object(c.a)("smart_button_click"),u()});else if(0!==s.length){var d=l(),f=o.find(".ordercall-smart-button__input"),m=function(){o.addClass("ordercall-smart-button_hidden")};d&&f.mask(d),s.on("submit",function(e){if(e.preventDefault(),0===f.val().length)return void f.focus();Object(c.a)("smart_button_send"),i.a.sendData(o.serialize()+"&button_bot_hash="+window.shopOrdercallConfig.button_bot_hash,function(e){if(a.a.open(),"fail"===e.status||void 0!==e.errors)return"Already exist"===e.errors[0]?void i.a.fail("Вы уже отправляли заявку"):void i.a.fail();i.a.success(e.data),m()},function(){a.a.open(),i.a.fail()})})}else o.find(".ordercall-smart-button__button").on("click",function(){Object(c.a)("smart_button_click"),u()})}),r()(document.body).append(e)},u=function(){d().then(function(){a.a.open()})},d=function(){var e=!1;return function(){if(e){var t=r.a.Deferred();return t.resolve(),t.promise()}e=!0;var o=[];return jQuery.ui||o.push(f(window.shopOrdercallStaticUrl+"wa-content/js/jquery-ui/jquery.ui.core.min.js")),jQuery.widget||o.push(f(window.shopOrdercallStaticUrl+"wa-content/js/jquery-ui/jquery.ui.widget.min.js")),jQuery.ui&&jQuery.ui.mouse||o.push(f(window.shopOrdercallStaticUrl+"wa-content/js/jquery-ui/jquery.ui.mouse.min.js")),jQuery.ui&&jQuery.ui.slider||o.push(f(window.shopOrdercallStaticUrl+"wa-content/js/jquery-ui/jquery.ui.slider.min.js")),o.push(f(window.shopOrdercallStaticUrl+"wa-content/js/jquery-ui/jquery.ui.touch-punch.min.js")),r.a.when.apply(null,o)}}(),f=function(e){var t=r.a.Deferred(),o=document.createElement("script");return o.src=e,o.async=!1,o.onload=function(){t.resolve()},o.onerror=function(){t.reject()},document.head.appendChild(o),t.promise()};r()(function(){var e=window.shopOrdercallConfig.smart_button_mobile_is_enabled;window.shopOrdercallActionUrl&&(window.shopOrdercallConfig.action=window.shopOrdercallActionUrl);var t=void 0;t=shopOrdercallConfig?r()(shopOrdercallConfig.form_tag_class):r()(),t.on("click",function(e){e.preventDefault(),u()}),1==window.shopOrdercallConfig.fixed_9_in_mask&&(r.a.mask.definitions[9]=""),r.a.mask.definitions["#"]="[0-9]",function(){var e=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e}()&&"0"===e||s(),i.a.fillOrdercallUserSpecifiedFields()})},71:function(e,t,o){"use strict";function n(){u=!0,Object(c.a)("open");var e=document.createElement("div");e.className="modal-scrollbar-measure",i()("body").append(e);var t=e.offsetWidth-e.clientWidth;i()("body").find(".modal-scrollbar-measure").remove(),m=f(),i()(document.body).css({paddingRight:t}).addClass("oc-modal-open"),setTimeout(function(){i()(".oc-modal, .oc-light-form").animate({top:"0",opacity:1},200,"linear",function(){i()(this).find(".oc-form__field").find("input, select, textarea").not(":hidden").eq(0).focus()})},200)}function r(){u=!1,i()(".oc-modal, .oc-light-form").animate({top:"-25%",opacity:0}
1,200,"linear",function(){i()(document.body).removeClass("oc-modal-open").css({paddingRight:0}),m.remove(),i()(".oc").remove(),i()(".oc-modal, .oc-light-form").removeClass("success, error").find("#oc-modal-content").show().siblings(".oc-form__result").hide()})}var a=o(5),i=o.n(a),c=o(14),l=o(19),s=o(73),u=!1,d=function(){var e=null;return i()(document).on("mousedown",function(t){e=t.target}),i()(document).on("mouseup",function(t){e=null}),function(t,o){t.on("mouseup",function(t){e===t.target&&o(t)})}}(),f=function(){i()(".oc").remove();var e=document.createElement("div");e.className="oc",e.style.display="none";var t=i()(e);t.append(i()(shopOrdercallConfig.form_html)),i()(document.body).append(t),shopOrdercallConfig.form_fields.forEach(function(e){t.find('[name="oc['+e.type+']"]').styler(),"tel"===e.type&&e.mask&&i()("input[name='oc[tel]']").mask(e.mask)}),t.find(".oc-form input[type=checkbox], .oc-light-form input[type=checkbox]").each(function(){var e=i()(this);e.styler({onFormStyled:function(){e.closest(".oc-light-form-checkbox.jq-checkbox").find(".jq-checkbox__div").html('<svg class="oc-light-form-checkbox__icon" width="12" height="9" viewBox="0 0 12 9" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><use class="oc-light-form-checkbox__icon-vector" xlink:href="#oc-light-form-checkbox-arrow" fill="#F2994A" /></svg>')}})}),t.find(".oc-form .oc-btn-accept, .oc-light-form__submit-button").on("click",function(e){e.preventDefault(),l.a.send()});var o=t.find(".oc-form__control");return o.on("change",function(){i()(this).val()?i()(this).addClass("not-empty"):i()(this).removeClass("not-empty")}),o.change(),i()(document).on("click",".oc .jq-selectbox ul",function(e){i()(e.target).closest("li").length||i()(this).closest(".jq-selectbox").find(".jq-selectbox__select").click()}),t.find(".oc-modal__close, .oc-btn-close, .oc-light-form__close-button").on("click",function(){r()}),d(t,function(e){i()(e.target).closest(".oc-modal, .oc-light-form").length||r()}),i()(document).keyup(function(e){27==e.keyCode&&r()}),Object(s.a)(),l.a.fillOrdercallUserSpecifiedFields(),t},m=i()();t.a={isOpen:u,open:n,close:r}},72:function(e,t,o){"use strict";var n=function(){function e(){}return e.set=function(e,t,o){o=o||{};var n=o.expires;if("number"==typeof n&&n){var r=new Date;r.setTime(r.getTime()+1e3*n),n=o.expires=r}n&&n.toUTCString&&(o.expires=n.toUTCString()),t=encodeURIComponent(t);var a=e+"="+t;for(var i in o){a+="; "+i;var c=o[i];!0!==c&&(a+="="+c)}document.cookie=a},e.get=function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):""},e}();t.a=n},73:function(e,t,o){"use strict";var n=o(5),r=o.n(n);t.a=function(){function e(e,n){if(e&&e.target)var a=r()(e.target),i=a.closest(".range"),c=parseInt(i.data("day")),l=a.next(".range-time");if(a.slider("enable"),void 0!==n)var s=n.values[0],u=n.values[1];else var s=a.slider("values",0),u=a.slider("values",1);var d=parseInt(s%60,10),f=parseInt(s/60%24,10),m=parseInt(u%60,10),p=parseInt(u/60%24,10);0==p&&(p=24),o[c]=[t(f,d),t(p,m)],l.text(o[c][0]+" - "+o[c][1]),r()('input[name="oc[time_before]"]').val(o[c][0]),r()('input[name="oc[time_after]"]').val(o[c][1])}function t(e,t){return t+="",1==t.length&&(t="0"+t),e+":"+t}var o=[],n=r()("#oc .range-slider"),a=n.data("min"),i=n.data("max"),c=n.data("step");n.slider({range:!0,min:a,max:i,values:[0,1440],step:c,slide: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.