1"use strict";!function(t,e){if("object"==typeof module&&"object"==typeof module.exports){if(!t.document)throw new Error("HC-Sticky requires a browser to run.");module.exports=e(t)}else"function"==typeof define&&define.amd?define("hcSticky",[],e(t)):e(t)}("undefined"!=typeof window?window:this,(function(t){var e=t.document,o={top:0,bottom:0,bottomEnd:0,innerTop:0,innerSticker:null,stickyClass:"sticky",stickTo:null,followScroll:!0,responsive:null,mobileFirst:!1,onStart:null,onStop:null,onBeforeResize:null,onResize:null,resizeDebounce:100,disable:!1},i=function(t,e,o){console.warn("%cHC Sticky:%c "+o+"%c '"+t+"'%c is now deprecated and will be removed. Use%c '"+e+"'%c instead.","color: #fa253b","color: default","color: #5595c6","color: default","color: #5595c6","color: default")},n=function(s,r){var l=this;if(r=r||{},"string"==typeof s&&(s=e.querySelector(s)),!s)return!1;r.queries&&i("queries","responsive","option"),r.queryFlow&&i("queryFlow","mobileFirst","option");var a={},c=n.Helpers,f=s.parentNode;function p(t){t=t||{},c.isEmptyObject(t)&&!c.isEmptyObject(a)||(a=Object.assign({},o,a,t))}function u(){return a.disable}function d(){var e,i=a.responsive||a.queries;if(i){var n=t.innerWidth;if(e=r,(a=Object.assign({},o,e||{})).mobileFirst)for(var s in i)s<=n&&!c.isEmptyObject(i[s])&&p(i[s]);else{var l=[];for(var f in i){var u={};u[f]=i[f],l.push(u)}for(var d=l.length-1;0<=d;d--){var g=l[d],m=Object.keys(g)[0];n<=m&&!c.isEmptyObject(g[m])&&p(g[m])}}}}function g(){I=q(),T=F(),A=E+T-C-H,B=O<I;var o,i=t.pageYOffset||e.documentElement.scrollTop,n=c.offset(s).top,r=n-i;M=i<V?"up":"down",U=i-V,R<(V=i)?A+C+(B?z:0)-(a.followScroll&&B?0:C)<=i+I-N-(O-(R-N)<I-N&&a.followScroll&&0<(o=I-O-N)?o:0)?D.release({position:"absolute",bottom:j+f.offsetHeight-A-C}):B&&a.followScroll?"down"==M?r+I+z<=O+.9?D.stick({bottom:z}):"fixed"===D.position&&D.release({position:"absolute",top:n-C-R-U+N}):Math.ceil(r+N)<0&&"fixed"===D.position?D.release({position:"absolute",top:n-C-R+N-U}):i+C-N<=n&&D.stick({top:C-N}):D.stick({top:C-N}):D.release({stop:!0})}function m(){Y&&(t.removeEventListener("scroll",g,c.supportsPassive),Y=!1)}function y(){null!==s.offsetParent&&"none"!==c.getStyle(s,"display")?(function(){var o,i,n,r;D.css=(o=s,i=c.getCascadedStyle(o),n=c.getStyle(o),r={height:o.offsetHeight+"px",left:i.left,right:i.right,top:i.top,bottom:i.bottom,position:n.position,display:n.display,verticalAlign:n.verticalAlign,boxSizing:n.boxSizing,marginLeft:i.marginLeft,marginRight:i.marginRight,marginTop:i.marginTop,marginBottom:i.marginBottom,paddingLeft:i.paddingLeft,paddingRight:i.paddingRight},i.float&&(r.float=i.float||"none"),i.cssFloat&&(r.cssFloat=i.cssFloat||"none"),n.MozBoxSizing&&(r.MozBoxSizing=n.MozBoxSizing),r.width="auto"!==i.width?i.width:"border-box"===r.boxSizing||"border-box"===r.MozBoxSizing?o.offsetWidth+"px":n.width,r),W.init(),k=!(!a.stickTo||!("document"===a.stickTo||a.stickTo.nodeType&&9===a.stickTo.nodeType||"object"==typeof a.stickTo&&a.stickTo instanceof("undefined"!=typeof HTMLDocument?HTMLDocument:Document))),L=a.stickTo?k?e:"string"==typeof a.stickTo?e.querySelector(a.stickTo):a.stickTo:f,I=(q=function(){var t=s.offsetHeight+(parseInt(D.css.marginTop)||0)+(parseInt(D.css.marginBottom)||0),e=(I||0)-t;return-1<=e&&e<=1?I:t})(),T=(F=function(){return k?Math.max(e.documentElement.clientHeight,e.body.scrollHeight,e.documentElement.scrollHeight,e.body.offsetHeight,e.documentElement.offsetHeight):L.offsetHeight})(),E=k?0:c.offset(L).top,j=a.stickTo?k?0:c.offset(f).top:E,O=t.innerHeight,P=s.offsetTop-(parseInt(D.css.marginTop)||0),x=a.innerSticker?"string"==typeof a.innerSticker?e.querySelector(a.innerSticker):a.innerSticker:null,C=isNaN(a.top)&&-1<a.top.indexOf("%")?parseFloat(a.top)/100*O:a.top,z=isNaN(a.bottom)&&-1<a.bottom.indexOf("%")?parseFloat(a.bottom)/100*O:a.bottom,N=x?x.offsetTop:a.innerTop?a.innerTop:0,H=isNaN(a.bottomEnd)&&-1<a.bottomEnd.indexOf("%")?parseFloat(a.bottomEnd)/100*O:a.bottomEnd,R=E-C+N+P}(),T<I?m():(g(),Y||(t.addEventListener("scroll",g,c.supportsPassive),Y=!0))):m()}function h(){s.style.position="",s.style.left="",s.style.top="",s.style.bottom="",s.style.width="",s.classList?s.classList.remove(a.stickyClass):s.className=s.className.replace(new RegExp("(^|\\b)"+a.stickyClass.split(" ").join("|")+"(\\b|$)","gi")," "),D.css={},!(D.position=null)===W.isAttached&&W.detach()}function b(){h(),d(),(u()?m:y)()}function v(){a.onBeforeResize&&a.onBeforeResize.call(s,Object.assign({},a)),b(),a.onResize&&a.onResize.call(s,Object.assign({},a))}function S(){$&&(t.removeEventListener("resize",Q,c.supportsPassive),$=!1),m()}function w(){$||(t.addEventListener("resize",Q,c.supportsPassive),$=!0),d(),(u()?m:y)()}"static"===c.getStyle(f,"position")&&(f.style.position="relative");var k,L,x,T,E,j,O,C,z,N,H,R,A,B,I,P,F,q,M,D={css:{},position:null,stick:function(t){t=t||{},c.hasClass(s,a.stickyClass)||(!1===W.isAttached&&W.attach(),D.position="fixed",s.style.position="fixed",s.style.left=W.offsetLeft+"px",s.style.width=W.width,void 0===t.bottom?s.style.bottom="auto":s.style.bottom=t.bottom+"px",void 0===t.top?s.style.top="auto":s.style.top=t.top+"px",s.classList?s.classList.add(a.stickyClass):s.className+=" "+a.stickyClass,a.onStart&&a.onStart.call(s,Object.assign({},a)))},release:function(t){if((t=t||{}).stop=t.stop||!1,!0===t.stop||"fixed"===D.position||null===D.position||!(void 0===t.top&&void 0===t.bottom||void 0!==t.top&&(parseInt(c.getStyle(s,"top"))||0)===t.top||void 0!==t.bottom&&(parseInt(c.getStyle(s,"bottom"))||0)===t.bottom)){!0===t.stop?!0===W.isAttached&&W.detach():!1===W.isAttached&&W.attach();var e=t.position||D.css.position;D.position=e,s.style.position=e,s.style.left=!0===t.stop?D.css.left:W.positionLeft+"px",s.style.width="absolute"!==e?D.css.width:W.width,void 0===t.bottom?s.style.bottom=!0===t.stop?"":"auto":s.style.bottom=t.bottom+"px",void 0===t.top?s.style.top=!0===t.stop?"":"auto":s.style.top=t.top+"px",s.classList?s.classList.remove(a.stickyClass):s.className=s.className.replace(new RegExp("(^|\\b)"+a.stickyClass.split(" ").join("|")+"(\\b|$)","gi")," "),a.onStop&&a.onStop.call(s,Object.assign({},a))}}},W={el:e.createElement("div"),offsetLeft:null,positionLeft:null,width:null,isAttached:!1,init:function(){for(var t in W.el.className="sticky-spacer",D.css)W.el.style[t]=D.css[t];W.el.style["z-index"]="-1";var e=c.getStyle(s);W.offsetLeft=c.offset(s).left-(parseInt(e.marginLeft)||0),W.positionLeft=c.position(s).left,W.width=c.getStyle(s,"width")},attach:function(){f.insertBefore(W.el,s),W.isAttached=!0},detach:function(){W.el=f.removeChild(W.el),W.isAttached=!1}},V=t.pageYOffset||e.documentElement.scrollTop,U=0,Y=!1,$=!1,Q=a.resizeDebounce?c.debounce(v,a.resizeDebounce):v;this.options=function(t){return t?a[t]:Object.assign({},a)},this.refresh=b,this.update=function(t){p(t),r=Object.assign({},r,t||{}),b()},this.attach=w,this.detach=S,this.destroy=function(){S(),h()},this.triggerMethod=function(t,e){"function"==typeof l[t]&&l[t](e)},this.reinit=function(){i("reinit","refresh","method"),b()},p(r),w(),t.addEventListener("load",b)};if(void 0!==t.jQuery){var s=t.jQuery,r="hcSticky";s.fn.extend({hcSticky:function(t,e){return this.length?"options"===t?s.data(this.get(0),r).options():this.each((function(){var o=s.data(this,r);o?o.triggerMethod(t,e):(o=new n(this,t),s.data(this,r,o))})):this}})}return t.hcSticky=t.hcSticky||n,n})),function(t){var e=t.hcSticky,o=t.document;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(null!=n)for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(o[s]=n[s])}return o},writable:!0,configurable:!0}),Array.prototype.forEach||(Array.prototype.forEach=function(t){var e,o;if(null==this)throw new TypeError("this is null or not defined");var i=Object(this),n=i.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(1<arguments.length&&(e=arguments[1]),o=0;o<n;){var s;o in i&&(s=i[o],t.call(e,s,o,i)),o++}});var i=!1;try{var n=Object.defineProperty({},"passive",{get:function(){i={passive:!1}}});t.addEventListener("testPassive",null,n),t.removeEventListener("testPassive",null,n)}catch(e){}function s(e,i){return t.getComputedStyle?i?o.defaultView.getComputedStyle(e,null).getPropertyValue(i):o.defaultView.getComputedStyle(e,null):e.currentStyle?i?e.currentStyle[i.replace(/-\w/g,(function(t){return t.toUpperCase().replace("-","")}))]:e.currentStyle:void 0}function r(e){var i=e.getBoundingClientRect(),n=t.pageYOffset||o.documentElement.scrollTop,s=t.pageXOffset||o.documentElement.scrollLeft;return{top:i.top+n,left:i.left+s}}e.Helpers={supportsPassive:i,isEmptyObject:function(t){for(var e in t)return!1;return!0},debounce:function(t,e,o){var i;return function(){var n=this,s=arguments,r=o&&!i;clearTimeout(i),i=setTimeout((function(){i=null,o||t.apply(n,s)}),e),r&&t.apply(n,s)}},hasClass:function(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)},offset:r,position:function(t){var e=t.offsetParent,o=r(e),i=r(t),n=s(e),l=s(t);return o.top+=parseInt(n.borderTopWidth)||0,o.left+=parseInt(n.borderLeftWidth)||0,{top:i.top-o.top-(parseInt(l.marginTop)||0),left
1:i.left-o.left-(parseInt(l.marginLeft)||0)}},getStyle:s,getCascadedStyle:function(e){var i,n=e.cloneNode(!0);n.style.display="none",Array.prototype.slice.call(n.querySelectorAll('input[type="radio"]')).forEach((function(t){t.removeAttribute("name")})),e.parentNode.insertBefore(n,e.nextSibling),n.currentStyle?i=n.currentStyle:t.getComputedStyle&&(i=o.defaultView.getComputedStyle(n,null));var s={};for(var r in i)!isNaN(r)||"string"!=typeof i[r]&&"number"!=typeof i[r]||(s[r]=i[r]);if(Object.keys(s).length<3)for(var l in s={},i)isNaN(l)||(s[i[l].replace(/-\w/g,(function(t){return t.toUpperCase().replace("-","")}))]=i.getPropertyValue(i[l]));if(s.margin||"auto"!==s.marginLeft?s.margin||s.marginLeft!==s.marginRight||s.marginLeft!==s.marginTop||s.marginLeft!==s.marginBottom||(s.margin=s.marginLeft):s.margin="auto",!s.margin&&"0px"===s.marginLeft&&"0px"===s.marginRight){var a=e.offsetLeft-e.parentNode.offsetLeft,c=a-(parseInt(s.left)||0)-(parseInt(s.right)||0),f=e.parentNode.offsetWidth-e.offsetWidth-a-(parseInt(s.right)||0)+(parseInt(s.left)||0)-c;0!=f&&1!=f||(s.margin="auto")}return n.parentNode.removeChild(n),n=null,s}}}(window); 2window.addComment=function(e){var t,n,i,r=e.document,o="comment-reply-link",d="reply-title",l="cancel-comment-reply-link",a="commentform",s="wp-temp-form-div",u="comment_parent",c="comment_post_ID",m=e.MutationObserver||e.WebKitMutationObserver||e.MozMutationObserver,f="querySelector"in r&&"addEventListener"in e,v=!!r.documentElement.dataset;function y(){p(),function(){if(!m)return;var e={childList:!0,subtree:!0};new m(E).observe(r.body,e)}()}function p(e){if(f&&(t=g(l),n=g(a),t)){t.addEventListener("touchstart",h),t.addEventListener("click",h);var i=function(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode)return n.removeEventListener("keydown",i),e.preventDefault(),n.submit.click(),!1};n&&n.addEventListener("keydown",i);for(var d,s=function(e){var t,n=o;e&&e.childNodes||(e=r);t=r.getElementsByClassName?e.getElementsByClassName(n):e.querySelectorAll("."+n);return t}(e),u=0,c=s.length;u<c;u++)(d=s[u]).addEventListener("touchstart",C),d.addEventListener("click",C)}}function h(e){var t=g(s);
2if(t&&i){g(u).value="0";var n=t.textContent;t.parentNode.replaceChild(i,t),this.style.display="none";var r=g(d),o=r&&r.firstChild,a=o&&o.nextSibling;o&&o.nodeType===Node.TEXT_NODE&&n&&(a&&"A"===a.nodeName&&a.id!==l&&(a.style.display=""),o.textContent=n),e.preventDefault()}}function C(t){var n=g(d),i=n&&n.firstChild.textContent,r=this,o=b(r,"belowelement"),l=b(r,"commentid"),a=b(r,"respondelement"),s=b(r,"postid"),u=b(r,"replyto")||i;o&&l&&a&&s&&!1===e.addComment.moveForm(o,l,a,s,u)&&t.preventDefault()}function E(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void p()}function b(e,t){return v?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return r.getElementById(e)}return f&&"loading"!==r.readyState?y():f&&e.addEventListener("DOMContentLoaded",y,!1),{init:p,moveForm:function(o,a,m,f,v){var y=g(o);i=g(m);var p,h,C,E=g(u),b=g(c),N=g(d),k=N&&N.firstChild,x=k&&k.nextSibling;if(y&&i&&E){void 0===v&&(v=k&&k.textContent),function(e){var t=s,n=g(t),i=g(d),o=i?i.firstChild.textContent:"";if(n)return;(n=r.createElement("div")).id=t,n.style.display="none",n.textContent=o,e.parentNode.insertBefore(n,e)}(i),f&&b&&(b.value=f),E.value=a,t.style.display="",y.parentNode.insertBefore(i,y.nextSibling),k&&k.nodeType===Node.TEXT_NODE&&(x&&"A"===x.nodeName&&x.id!==l&&(x.style.display="none"),k.textContent=v),t.onclick=function(){return!1};try{for(var L=0;L<n.elements.length;L++)if(p=n.elements[L],h=!1,"getComputedStyle"in e?C=e.getComputedStyle(p):r.documentElement.currentStyle&&(C=p.currentStyle),(p.offsetWidth<=0&&p.offsetHeight<=0||"hidden"===C.visibility)&&(h=!0),"hidden"!==p.type&&!p.disabled&&!h){p.focus();break}}catch(e){}return!1}}}}(window); 3!function(e){let o={init:function(o){return this.each((function(){let n,a=e(this);if(a.data("cpm_loadmore")?n=a.data("cpm_loadmore"):(n=e.extend({pagination_type:"load_more",posts_container:"",ajax_container:"",entry_template:"",loaded_html:"",ajax_url:"",infinite_pages_count:3,start_page:2,page:2,loading:!1,loaded:!1,insert_type:"append",async:!0},o),n.start_page=n.page,a.cpmLoadmore("refresh",n)),!n.loaded&&("load_more"===n.pagination_type&&e("body").find(n.ajax_container).find(".load-more-btn").on("click",(function(e){e.preventDefault(),a.cpmLoadmore("ajax",n)})),"infinite"===n.pagination_type)){let o=function(){a.cpmLoadmore("ajax",n),n.page-n.start_page>=n.infinite_pages_count&&(e(window).unbind("scroll",o),e("body").find(n.ajax_container).find(".infinite-btn").hide(),e("body").find(n.ajax_container).find(".load-more-btn").show(),n.pagination_type="load_more",a.cpmLoadmore(n))};e(window).bind("scroll",o)}}))},refresh:function(o){e("body").find(o.posts_container).data("cpm_loadmore",o)},ajax:function(o){let n=e(e("body").find(o.posts_container)[0]);if(o.loading||o.loaded)return!1;if("infinite"===o.pagination_type){let o=n.offset().top+n.outerHeight()-(window.innerHeight+350);if(e(window).scrollTop()<=o)return!1}o.loading=!0,e(document).trigger("cpm_loadmore_start",[o]);let a={entry_template:o.entry_template,query_vars:o.query_vars,page:o.page};o.template_options&&(a.template_options=o.template_options),e.ajax({url:o.ajax_url,method:"POST",data:a,dataType:"json",async:o.async,success:function(a){if(a.success){switch(e(document).trigger("cpm_loadmore_before_insert",[a,o]),o.insert_type){case"append":n.append(a.content);break;case"replace":n.html(a.content)}n.trigger("post-load").trigger("cpm_loadmore_success",[o]),o.page=o.page+1,!a.posts_end&&a.content||(o.loaded=!0,e(document).trigger("cpm_loadmore_complete",[o]))}else e(document).trigger("cpm_loadmore_error",[o]);o.loading=!1,n.cpmLoadmore("refresh",o),e(document).trigger("cpm_loadmore_ajax_finished",[o])},error:function(){e(document).trigger("cpm_loadmore_error",[o]),o.loading=!1,n.cpmLoadmore("refresh",o),e(document).trigger("cpm_loadmore_ajax_finished",[o])}})}};e.fn.cpmLoadmore=function(n){return o[n]?o[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void e.error("Method "+n+" not found."):o.init.apply(this,arguments)},e(document).on("cpm_loadmore_start",(function(o,n){e("body").find(n.posts_container).addClass("loading"),e("body").find(n.ajax_container).show().addClass("loading")})),e(document).on("cpm_loadmore_success cpm_loadmore_error",(function(o,n){e("body").find(n.posts_container).removeClass("loading"),e("body").find(n.ajax_container).removeClass("loading")})),e(document).on("cpm_loadmore_complete",(function(o,n){n.loaded_html?e("body").find(n.ajax_container).find(".load-more-btn").html(n.loaded_html).show():e("body").find(n.ajax_container).hide()}))}(jQuery);
4!function(o){o(document).ready((function(){let n=o(".cpm-back-button");o(window).scroll((function(){o(window).scrollTop()>300?n.addClass("show"):n.removeClass("show")})),n.on("click",(function(n){n.preventDefault(),o("html, body").animate({scrollTop:0},"300")}))}))}(jQuery); 5"use strict";!function(e){let o=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame;window.requestAnimationFrame=o,window.cpmAddPopupOverlay=function(o=!0){e("body").addClass("popup-overlay-active"),o&&!e("body > .popup-overlay").length&&e("body").prepend('<div class="popup-overlay"></div>')},window.cpmRemovePopupOverlay=function(){e("body").removeClass("popup-overlay-active"),e("body > .popup-overlay").remove()}}(jQuery); 6!function(e){let n=e("#header");n.find(".menu-toggle").on("click",(function(){let n=e(this),i=e("#header .ct-menu");n.hasClass("is-active")?(i.removeClass("is-active"),n.removeClass("is-active"),window.cpmRemovePopupOverlay()):(i.addClass("is-active"),n.addClass("is-active"),window.cpmAddPopupOverlay(!1))})),e(".header-menu .menu-item-has-children").mouseenter((function(e){window.innerWidth>=992&&function(e){if(!e)return;let n=e.getBoundingClientRect().right+e.querySelector(".sub-menu").scrollWidth;e.setAttribute("direction",n>window.innerWidth?"left":"right")}(e.currentTarget)})),e("body").on("click",".popup-overlay",(function(){n.find(".header-menu-wrap").removeClass("is-active"),n.find(".menu-toggle").removeClass("is-active")})),e(window).resize((function(){window.innerWidth>=992&&(n.find(".header-menu .sub-menu").removeAttr("style"),n.find(".header-menu .menu-item.opened").removeClass("opened"),n.find(".header-menu-wrap").removeClass("is-active"),n.find(".menu-toggle").removeClass("is-active"),window.cpmRemovePopupOverlay())})),e(".header-menu").on("click",".cpm-menu-dropdown-icon",(function(n){n.preventDefault();let i=e(this).closest(".menu-item");i.hasClass("opened")?(i.removeClass("opened"),i.children(".sub-menu").stop().slideUp(300)):(i.addClass("opened"),i.children(".sub-menu").stop().slideDown(300))})),e(document).ready((function(){n.find(".header-menu .sub-menu").each((function(){let n=e(this);n.children(".menu-item-has-children").length>0&&n.addClass("has-submenu")}))}))}(jQuery); 7!function(e){e("#commentform").submit((function(n){n.preventDefault();let s=e(this);if(s.find(".submit-errors").remove(),s.hasClass("loading"))return;let r=(e=>{let t=[],n=e.find("#comment").val();(!n||n.length<3)&&t.push(CpmTheme.strings.commentShort);let s=e.find("#email");s.length&&(s.val()&&/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/.test(s.val())||t.push(CpmTheme.strings.invalidEmail));let r=e.find("#author");return r.length&&r.val().length<3&&t.push(CpmTheme.strings.invalidUserName),t})(s);r.length?s.prepend('<div class="submit-errors">'+r.join("<br>")+"</div>"):e.ajax({type:"POST",url:CpmTheme.restUrl+"/comments",data:s.serialize(),dataType:"json",beforeSend:e=>{CpmTheme.restNonce&&e.setRequestHeader("X-WP-Nonce",CpmTheme.restNonce),e.setRequestHeader("X-Cpm-Nonce",t("cpm|"+location.host+"|"+(new Date).toLocaleDateString("en-US",{timeZone:"UTC"}))),s.addClass("loading")},success:t=>{try{(t=>{let n=e(".ct-comments-title");n.length||e("#comments").prepend('<div class="ct-comments-title"></div>'),n.html(t)})(t.heading),(t=>{let n=e("#respond"),s=e(".ct-comments-list");s.length||n.before('<ol class="ct-comments-list"></ol>'),n.parent().hasClass("comment")?(n.parent().children(".children").length||n.parent().append('<ol class="children"></ol>'),n.parent().children(".children").append(t)):s.append(t)})(t.content),e("#comment").val(""),document.getElementById("cancel-comment-reply-link").click()}catch(e){alert(CpmTheme.strings.somethingWentWrong)}},error:e=>{let t=e.responseJSON?e.responseJSON.message:CpmTheme.strings.somethingWentWrong;s.prepend('<div class="submit-errors">'+t+"</div>")},complete:()=>{s.removeClass("loading")}})}));const t=e=>{const n=(e,t)=>e>>>t|e<<32-t;let s,r,l=Math.pow,o=l(2,32),m="length",i="",a=[],c=8*e[m],h=t.h=t.h||[],d=t.k=t.k||[],p=d[m],g={};for(let e=2;p<64;e++)if(!g[e]){for(s=0;s<313;s+=e)g[s]=e;h[p]=l(e,.5)*o|0,d[p++]=l(e,1/3)*o|0}for(e+="Â";e[m]%64-56;)e+="\0";for(s=0;s<e[m];s++){if(r=e.charCodeAt(s),r>>8)return;a[s>>2]|=r<<(3-s)%4*8}for(a[a[m]]=c/o|0,a[a[m]]=c,r=0;r<a[m];){let e=a.slice(r,r+=16),t=h;for(h=h.slice(0,8),s=0;s<64;s++){let t=e[s-15],r=e[s-2],l=h[0],o=h[4],m=h[7]+(n(o,6)^n(o,11)^n(o,25))+(o&h[5]^~o&h[6])+d[s]+(e[s]=s<16?e[s]:e[s-16]+(n(t,7)^n(t,18)^t>>>3)+e[s-7]+(n(r,17)^n(r,19)^r>>>10)|0);h=[m+((n(l,2)^n(l,13)^n(l,22))+(l&h[1]^l&h[2]^h[1]&h[2]))|0].concat(h),h[4]=h[4]+m|0}for(s=0;s<8;s++)h[s]=h[s]+t[s]|0}for(s=0;s<8;s++)for(r=3;r+1;r--){let e=h[s]>>8*r&255;i+=(e<16?0:"")+e.toString(16)}return i}}(jQuery); 8!function(e){e(document).ready((function(){e(".schema-faq .schema-faq-question").on("click",(function(){let s=e(this).parent();s.hasClass("active")?s.removeClass("active").children(".schema-faq-answer").stop().slideUp(200,(()=>{e(document).trigger("cpm-update-sticky-sidebar")})):(s.addClass("active").children(".schema-faq-answer").stop().slideDown(300,(()=>{e(document).trigger("cpm-update-sticky-sidebar")})),s.siblings(".active").removeClass("active").children(".schema-faq-answer").stop().slideUp(200,(()=>{e(document).trigger("cpm-update-sticky-sidebar")})))}
8))}))}(jQuery); 9!function(e){let s=e("#header .header-search .header-search-toggle");s.on("click",(function(){e("#header .header-search-form").stop().animate({width:"toggle"},{start:function(){e(this).css("display","flex"),s.hasClass("cpm-icon-search")?s.removeClass("cpm-icon-search").addClass("cpm-icon-close"):s.addClass("cpm-icon-search").removeClass("cpm-icon-close")}})}))}(jQuery); 10!function(t){t(document).ready((function(){let e=!1,a={posts_container:"",ajax_container:"",ajax_btn_text:"Load More",ajax_url:CpmTheme.restUrl+"/more-posts",query_vars:"",entry_template:""};t(".post-filters-block .filters-list .filter").on("click",(function(){if(!0===e)return;let r=t(this),s=r.parents(".post-filters-block"),i=s.find(".post-filters-list")[0],n=t(i);if(a.entry_template=s.data("entry-template"),r.hasClass("active"))return;r.siblings().removeClass("active"),r.addClass("active");let l=[];0===r.data("filter")?r.parent().children().each(((e,a)=>{let r=t(a).data("filter");0!==r&&l.push(parseInt(r))})):l.push(parseInt(r.data("filter"))),t.ajax({type:"GET",url:CpmTheme.restUrl+"/filter-posts/",dataType:"json",data:{terms:l,count:parseInt(s.data("count"))},beforeSend:()=>{e=!0,s.addClass("loading"),s.find(".ajax-pagination").remove()},success:t=>{n.replaceWith(t.data);try{a.posts_container="#"+s.find(".post-filters-list")[0].id,a.ajax_container="#"+s.find(".ajax-pagination")[0].id,a.query_vars=JSON.stringify(t.query),n.cpmLoadmore("init",a)}catch(t){}},complete:()=>{e=!1,s.removeClass("loading")}})}))}))}(jQuery); 11!function(o){"use strict";let n=o("#scroll-progress");o(window).scroll((function(){const o=document.body.scrollHeight,t=window.innerHeight,e=(document.documentElement.scrollTop?document.documentElement:document.body).scrollTop,c=Math.min(100,e/(o-t)*100);n.css("width",c+"%")}))}(jQuery); 12!function(t){t("a.scroll-to").on("click",(function(e){e.preventDefault();let n=t(this).attr("href"),o=t(n);if(!o.length)return!1;t("html").stop().animate({scrollTop:o.offset().top-20},500,"swing")}))}(jQuery); 13!function(t){"use strict";t(document).ready((function(){const e=(t,e={})=>{let r=new URL(t);for(const[t,n]of Object.entries(e))r.searchParams.set(t,String(n));return r.toString()};t(".ct-share-item").on("click",(function(r){r.preventDefault();let n=(r=>{switch(r){case"facebook":return e("https://www.facebook.com/sharer/sharer.php",{u:window.location.href});case"twitter":return e("https://twitter.com/share",{url:window.location.href,text:document.title,hashtags:"simplesharebuttons"});case"pinterest":return e("https://pinterest.com/pin/create/button",{url:window.location.href,media:t('meta[property="og:image"]').attr("content")||""});case"reddit":return e("https://reddit.com/submit",{url:window.location.href,title:document.title});default:return""}})(this.dataset.network);n&&window.open(n,"_blank")}))}))}(jQuery); 14!function(t){t(document).ready((function(){let e=t(".widget-area");e.hcSticky({stickTo:t("#content")[0]}),e.hcSticky("update",{top:50,responsive:{991:{disable:!0}}})}))}(jQuery); 15!function(e){"use strict";e(document).ready((()=>{e(".cpm-toc-nav .cpm-toc-title").on("click",(function(t){t.preventDefault();let o=e(this),c=o.parent(),n=o.next(".cpm-toc-list");c.hasClass("opened")?(n.stop().slideUp(200),c.removeClass("opened")):(c.addClass("opened"),n.stop().slideDown(300))})),e(document).on("click",(function(t){let o=e("#cpm-footer-toc .cpm-toc-title"),c=e("#cpm-footer-toc"),n=o.next(".cpm-toc-list");window.innerWidth<769||c.hasClass("opened")&&(o.is(t.target)||0!==o.has(t.target).length||(c.removeClass("opened"),n.stop().slideUp(200)))})),function(t){if(!e(t).length)return;let o=new hcSticky(t,{stickTo:"#main",top:200});e(document).on("cpm-update-sticky-sidebar cpm_loadmore_success cpm_loadmore_error cpm-reviews-widget-collapse",(()=>{o.update()}))}("#cpm-footer-toc")}))}(jQuery);
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.