1let oddCurrentScriptPreviewUrl=document.currentScript.src,oddPreviewDomainName=oddCurrentScriptPreviewUrl.replace("http://","").replace("https://","").split(/[/?#]/)[0];const ODDfinalSelector=[];let oddincrementIndex=1,increment_array=0,oddselectClass=odd_increment=0,page_title="",oddtoken=window.location.href.split("odd_token=")[1]||sessionStorage.getItem("previewToken");if(null!=oddtoken){null==sessionStorage.getItem("previewToken")&&sessionStorage.setItem("previewToken",oddtoken);let l={};function oddt_loadCss(e){let t=document.getElementsByTagName("head")[0],o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.href=e,o.media="all",t.appendChild(o)}let r="",e="",m=Shopify.shop,p="";function ODD_objIntoParams(e,t){let o=[];var a,r,d=Object.keys(e);let i=d.length;for(;i--;)e.hasOwnProperty(d[i])&&(a=t?`${t}[${d[i]}]`:d[i],r=e[d[i]],o.push(null!==r&&"object"==typeof r?ODD_objIntoParams(r,a):`${encodeURIComponent(a)}=${encodeURIComponent(r)}`));return o.join("&")}function ODDcloseBtn(e){sessionStorage.removeItem("previewToken"),1===e||2===e?window.location=`https://${m}/cart`:window.location.reload()}function ODDMinimize(e){1==e?(document.getElementsByClassName("odd_card")[0].style.display="none",document.getElementsByClassName("odd_cartdrawer")[0].style.cssText="width: 0px !important",document.getElementsByClassName("title_bar")[0].style.cssText="bottom: 0 !important",document.querySelector("svg.more-svg").style.display="block",document.querySelector("svg.odd-svg-cls").style.display="none",document.getElementsByClassName("footer-button")[0].style.display="none"):(document.getElementsByClassName("odd_card")[0].style.display="block",document.querySelector("svg.odd-svg-cls").style.display="block",document.querySelector("svg.more-svg").style.display="none",document.getElementsByClassName("odd_cartdrawer")[0].style.cssText=null,document.getElementsByClassName("title_bar")[0].style.cssText=null,document.getElementsByClassName("footer-button")[0].style.display="block")}function ODDajaxCart(e){var t=""!=l.cart_button_click?","+l.cart_button_click:"";document.querySelectorAll(`.site-header__cart,.js-drawer-open-cart,.header-cart-btn,.header__cart-indicator,.add-to-cart,.js-drawer-open-button-right,.js-drawer-open-right,.cart-block .offcanvas-toggle,.cartToggle,#CartLink,.slide-menu-cart${t}`)?.[0]?.click(),document.getElementsByClassName("odd_body")[0].innerHTML='<img class="welcomeImg" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="odd-discription"><div class="title-img">Configuring offer to the pop-up drawer</div></div><div class="odd-discription">It looks like the cart drawer is not open right now.</div><div class"odd-discription">So please add any product into the cart to open the cart drawer if your theme function like that and find the place to add the delivery.</div><div class="odd-discription">By the way: you can change the position of the calendar anytime by run the setup wizard again anytime.</div><b>Note:</b> To see cart drawer go to product page.</div></div></div>',document.getElementsByClassName("footer-button")[0].innerHTML='<div class="div-center"><div class="odd-discription"><a class="odd_btn ajaxDrawer" onClick="ODDdrawerUpdate('+e+')">Ok, I see the pop-up drawer</a></div></div>'}function ODDCartUpdate(t){fetch("/cart.json").then(e=>e.json()).then(e=>{e.items.length?ODDanalyzeFormData(t,1,"Cart page",["form#cart_form","form#cart-form","form#cartform","form#cartForm","form.cart","form.cartform","form.cartForm","form.cart-form","form.cart-form .cart-row:first","form.cart .cart__row:first","form.cart-form","table","footer.cart__footer","#shopify-section-cart-template","form[action='/cart']:not(#cart-notification-form)","form.cart-wrapper .cart__row:first","form#update_cart","div.grid.cart__row","form.cart.table-wrap","div.ten.columns.cart_items","div.grid__item.cart__buttons.text-end.small--text-center.medium-up--one-half","div.ten.columns","form[action^='/cart'] .cart__row:first","div.cart-tools","form#cart-form","form.cart__form","div.grid","div.cart__row.medium-down--hide.cart__header-labels","div.section-header","form.cart-wrapper","h2",".atc-banner--outer","div.cart-items","div.cart-subtotal","form#cart","div.grid__item.text-right.post-large--seven-twelfths",".step:first","div.grid__item.text-right.small--text-center","div#cart-notes","div.cart__row.text-center.large--text-right","div#cart-bottom","ul#cart-items-list","div.doubly-message","div.cart__row.cart__footer","div.cart-row.cart-summary","div.cart_bottom.grid","div.additional-checkout-buttons","div#cart-upsell","div.cart__shipping","div.clearfix.shopping-cart-btns","div.col-sm-8.col-md-9.col
1-left","form#cartform table","div.grid__item.text-center.medium-up--one-half.medium-up--text-right","form.cart.white","div.grid__item.large--seven-twelfths","div.twelve.columns.alpha","form.cart.ng-pristine.ng-valid","p.timer_box","div.grid-item.large--seven-twelfths","div.items","div.cart-bottom-box","div.cart__row","form.cart[action='/cart']","footer.cart-footer","div.checkout_table_header","div.cart__row.cart-btm","div.cart__body","form[action^='/cart']:first","form#cartform[action='/cart']","form.custom","div.cart__note",".section-header","div.cart__additional_checkout","p#CartSubtotal","ul.cart-list","form[action^='/cart'] .cart-row:first","form.cart .section-header","div.table-row","div.payment-methods-wrap","div#unseen",".in-cart-upsell","td.total.pr10","div.table-responsive.col-md-6.col-md-pull-6.col-sm-12.col-xs-12","form.cart.cartForm","tr.cart__row.border-bottom.line1.cart-flex.border-top","form","div.grid__item.large--three-fifths","li#cart-header","div.wrapper-cart.col-xs-12.col-sm-8.col-md-9","form#cart_form .ten.columns","p.txt--minor.txt--emphasis","table.shopping-cart-table","form[action^='/cart'] .cart__row:last","form.cart.clearfix","form.js-cart_content__form[action='/checkout']","form.cart .cart__row:last","#shopping-cart","div.cart-checkout","#upsell","div.group-bottom","p#agree-terms","h1.h2","div.container-widget","div.cart-total","h4.title","table.cart-table","form.cart[action^='/cart']:first","div.grid__item.medium-up--one-half.cart-note"]):document.getElementsByClassName("odd_body")[0].innerHTML='<img class="welcomeImg" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="odd-discription"><div class="odd_title">Please add atleast one product in cart</div></div><a class="odd_btn odd_btn-sm close_btn_class">Close</a>'})}function ODDdrawerUpdate(t){let o=""!=l.cart_drawer_selector?l.cart_drawer_selector.split(","):"";fetch("/cart.json").then(e=>e.json()).then(e=>{e.items.length?(page_title="Ajax drawer",e=[...e=[".rebuy-cart__flyout-actions",".rebuy-cart__flyout-items",".cart-drawer__content-container",".cart-popup__cta-link",".cart-popup__header",".cart-popup__dismiss","#CartContainer form[action^='/cart'] .ajaxcart__inner","#ajaxifyCart form[action^='/cart']:first","form.js-cart_content__form ul.cart_items",".ajaxcart__inner.ajaxcart__inner--has-fixed-footer","#ajaxifyCart .cart-row:first",".ajaxcart__row:first","form.cart.ajaxcart","#CartContainer .ajaxcart__inner","div.additional-checkout-buttons",".cart-drawer__footer-container","form.ajaxcart .ajaxcart__inner",".ajaxcart__footer",".ajaxcart__inner","form.cart-drawer .cart-drawer__item-list","#CartDrawer .ajaxcart__product:first","#ajaxifyCart form.cart-form","form.ajaxcart","#AjaxifyCart .cart__body","#AjaxifyCart .section-header:first","span.ajaxcart__product-meta","#CartContainer .ajaxcart__row:first",".cart-quickview_header",".cart-quickview__progress_bar.cart__progress_bar",".cart-quickview__progress_bar",".cart-quickview_content",".cart-quickview__table",".cart-quickview__footer",".cart__buttons-container",".scd__footer",".scd__body",".scd-item__inner","#CartDrawerForm .drawer__inner",".mini-products-list",".identix_drawer",".drawer__content",".cart-drawer__content",".cart-drawer__footer",".cart-drawer__totals",".cart-drawer__items",".sub-total",".mini-cart-button",".minicart-product-list",".single-product-cart",".mini-cart__navigation",".cart-summary__item-list-header",".cart-drawer .cart__form",".cart-drawer .checkout-buttons",".cart-drawer .cart__title",".cart-drawer .cart__table",".ajax-cart--bottom-wrapper",".cart-items"],...o],ODDanalyzeFormData(t,2,"Ajax drawer",e)):document.getElementsByClassName("odd_body")[0].innerHTML='<img class="welcomeImg" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="odd-discription"><div class="odd_title">Please add atleast one product in cart</div></div><a class="odd_btn odd_btn-sm close_btn_class" onClick="ODDcloseBtn()">Close</a>'})}function ODDOnproductPage(e){var t=""!=l.pc_position_selector?l.pc_position_selector.split(","):"";ODDanalyzeFormData(e,3,"Product page",[...["form.product-form","h1.product-single__title","div.grid__item.product-single__media-group.medium-up--one-half","product-form.product-form","form.form","h1.product__title","div.grid__item.product__media-wrapper","h1#ProductHeading","div.product-content-wrapper","ul.social-sharing","form.product-form--wide","div.product-single__photos","div.social-sharing normal","form#AddToCartForm--product-template","h1.product-single__title","div.grid__item.large--seven-twelfths.medium--seven-twelfths.text-center","div.s
1ocial-sharing","div.product-template__media","form#addToCartForm-product-template","h1.h2","div.product-photo-container","div.photos",".identixweb_addtocart","form.product-buy-buttons--form","h2.product-page--heading","div.product-buy-buttons--root",".type-title",".type-price",".type-quantity_selector",".type-variant_picker",".type-buy_buttons",".meal-information"],...t])}function ODDanalyzeFormData(e,t,o,a){var r=sessionStorage.getItem("previewToken"),d=a.length;let i="",n=0;for(;d>n;)a[n].includes(":first")?(i=a[n].replace(":first",""),document.querySelector(i)&&ODDfinalSelector.push(a[n])):a[n].includes(":last")?(i=a[n].replace(":last",""),Array.from(document.querySelectorAll(i)).pop()&&ODDfinalSelector.push(a[n])):document.querySelectorAll(a[n]).length&&ODDfinalSelector.push(a[n]),n++;document.getElementsByClassName("odd_card").length&&document.getElementsByClassName("odd_card")[0].remove();const c=document.createElement("div");if(c.className="odd_card",document.querySelectorAll("div:not(.icart).odd_cartdrawer")[0].appendChild(c),document.getElementsByClassName("odd_card")[0].innerHTML='<div class="odd_body"><img class="welcomeImg" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="odd-discription"><div class="title-img">'+o+'</div></div><div class="odd-discription">'+4*ODDfinalSelector.length+' suggestions available for this page. Preview with the buttons below, or type your own CSS selector.</div><div class="odd-form-row"><div class="counter-row"><a class="odd-previous previous-btn" onclick="ODDnextBtnClick('+e+","+4*ODDfinalSelector.length+', \'previous\')">‹</a><div class="count-selector">1</div><div class="odd-selector">of '+4*ODDfinalSelector.length+'</div><a class="odd-next next-btn" onclick="ODDnextBtnClick('+e+","+4*ODDfinalSelector.length+', \'next\')">›</a></div></div><div class="odd-form-row"><label class="odd-col-xs-4 col-form-label">Selector:</label><div class="odd-col-xs-8"><input type="text" class="odd_form-control form-control-sm cart_selector" value="'+ODDfinalSelector[0]+'" onchange="ODDtextSelector('+e+', this)"></div></div><div class="odd-form-row"><label class="odd-col-xs-4 col-form-label">Position:</label><div class="odd-col-xs-8"><select class="odd_form-control form-control-sm position" onchange=ODDpositionChange('+e+')><option value="before">Before</option><option value="beginning">At beginning</option><option value="end">At end</option><option value="after">After</option></select></div></div><div class="odd_card-position"><div class="card_body"><a class="odd_btn odd_btn-sm float-left" href="https://'+m+"/?odd_token="+r+'" target="_parent">Cancel</a><a class="odd_btn odd_btn-sm float-right" onclick=ODDsavePosition('+t+")>Save this position</a></div></div></div>",ODDfinalSelector.length){e=e?p+"img/spld_cal.png":p+"img/pc_cal_img.png",e='<div class="uiDeliveryCalendar div-center '+("Ajax drawer"==page_title?"odd-cart-drawer-custom":"")+'"> <img alt="" src="'+e+'"> </div>';const s=document.createElement("div");s.className="identixweb-order-delivery odd_frontstore",document.querySelectorAll(ODDfinalSelector[0])[0].parentNode.insertBefore(s,document.querySelectorAll(ODDfinalSelector[0])[0]),document.getElementsByClassName("odd_frontstore")[0].innerHTML=e}else document.getElementsByClassName("odd_body")[0].innerHTML='<img class="welcomeImg" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="odd-discription"><div class="odd_title">There is no matching class found.</div></div><a class="odd_btn odd_btn-sm close_btn_class" onclick=ODDcloseBtn()>Close</a>'}function ODDnextBtnClick(e,t,o){let a=document.getElementsByClassName("odd_frontstore"),r=a.length;for(;r--;)a[r].remove();e=e?p+"img/spld_cal.png":p+"img/pc_cal_img.png";"next"===o?(4*ODDfinalSelector.length===oddincrementIndex?(oddincrementIndex=1,increment_array=-1):oddincrementIndex<t&&oddincrementIndex++,3===oddselectClass?(oddselectClass=0,increment_array++):oddselectClass++,odd_increment<=3&&oddincrementIndex<=t&&odd_increment++,4===odd_increment&&oddincrementIndex<=t&&(odd_increment=0)):(1===oddincrementIndex?(oddincrementIndex=4*ODDfinalSelector.length,increment_array=ODDfinalSelector.length):oddincrementIndex<=4*ODDfinalSelector.length&&1<oddincrementIndex&&oddincrementIndex--,0===oddselectClass?(oddselectClass=3,increment_array--):oddselectClass--,oddselectClass<0&&(oddselectClass=0),odd_increment<=3&&0<=odd_increment&&odd_increment--,-1===odd_increment&&(odd_increment=3));o='<div class="uiDeliveryCalendar div-center '+("Ajax drawer"==page_title?"odd-cart-drawer-custom":"")+'"> <img alt="" src="'+e+'"> </div>',t=document.getElementsByClassName("position")[0].getElementsByTagName("option")[odd_increment].value;document.getElementsByClassName("position")[0].value=t,document.getElementsByClassName("cart_selector")[0].value=ODDfinalSelector[increment_array],document.getElementsByClassName("count-selector")[0].innerHTML=oddincrementIndex;let d=ODDfinalSelector[increment_array],i="";if(i=d.includes(":first")?(d=d.replace(":first",""),document.querySelector(d)):d.includes(":last")?(e=d.replace(":last",""),Array.from(document.querySelectorAll(e)).pop()):document.querySelectorAll(d)[0],""!==ODDfinalSelector[increment_array]&&i){const n=document.createElement("div");n.className="odd_frontstore","before"===t?i.parentNode.insertBefore(n,i):"after"===t?i.after(n):"end"===t?i.append(n):i.prepend(n),document.getElementsByClassName("odd_frontstore")[0].innerHTML=o}else for(a=document.getElementsByClassName("odd_frontstore"),r=a.length;r--;)a[r].remove()}function ODDpositionChange(e){let t=document.getElementsByClassName("odd_frontstore"),o=t.length;for(;o--;)t[o].remove();var a=document.getElementsByClassName("position")[0],r=a.options[a.selectedIndex].value,a=e?p+"img/spld_cal.png":p+"img/pc_cal_img.png";let d=document.getElementsByClassName("cart_selector")[0].value;
1e='<div class="uiDeliveryCalendar div-center '+("Ajax drawer"==page_title?"odd-cart-drawer-custom":"")+'"> <img alt="" src="'+a+'"> </div>';let i="";if(i=d.includes(":first")?(d=d.replace(":first",""),document.querySelector(d)):d.includes(":last")?(a=d.replace(":last",""),Array.from(document.querySelectorAll(a)).pop()):document.querySelectorAll(d)[0],""!==ODDfinalSelector[increment_array]&&i){const n=document.createElement("div");n.className="odd_frontstore","before"===r?i.parentNode.insertBefore(n,i):"after"===r?i.after(n):"end"===r?i.append(n):i.prepend(n),document.getElementsByClassName("odd_frontstore")[0].innerHTML=e}else for(t=document.getElementsByClassName("odd_frontstore"),o=t.length;o--;)t[o].remove()}function ODDtextSelector(a,r){if(r){const i=document.getElementsByClassName("odd_frontstore");let e=i.length;for(;e--;)i[e].remove();var d=document.getElementsByClassName("position")[0],d=d.options[d.selectedIndex].value,a=a?p+"img/spld_cal.png":p+"img/pc_cal_img.png",a='<div class="uiDeliveryCalendar div-center '+("Ajax drawer"==page_title?"odd-cart-drawer-custom":"")+'"> <img alt="" src="'+a+'"> </div>';let t=r.value;const n=document.createElement("div");n.className="odd_frontstore";let o="";o=t.includes(":first")?(t=t.replace(":first",""),document.querySelector(t)):t.includes(":last")?(r=t.replace(":last",""),Array.from(document.querySelectorAll(r)).pop()):document.querySelectorAll(t)[0],"before"===d?o.parentNode.insertBefore(n,o):"after"===d?o.after(n):"end"===d?o.append(n):o.prepend(n),document.getElementsByClassName("odd_frontstore")[0].innerHTML=a}}"localhost"===oddPreviewDomainName?(r="http://localhost:4000/api/",e="http://localhost/appsonrent-apps/order-delivery-date/",p="https://cdnstageodd.identixweb.com/"):"devodd.identixweb.com"===oddPreviewDomainName?(r="https://devodd.identixweb.com/dev_service/api/",e="https://devodd.identixweb.com/order-delivery-date/",p="https://cdndevodd.identixweb.com/"):"odd.identixweb.com"===oddPreviewDomainName?(r="https://odd.identixweb.com/service/api/",e="https://odd.identixweb.com/order-delivery-date/",p="https://cdnodd.identixweb.com/"):"stageodd.identixweb.com"===oddPreviewDomainName&&(r="https://stageodd.identixweb.com/stage_service/api/",e="https://stageodd.identixweb.com/staging/order-delivery-date/",p="https://cdnstageodd.identixweb.com/");let _="";function ODDsavePosition(t){var e=document.getElementsByClassName("position")[0],o=e.options[e.selectedIndex].value,e=document.getElementsByClassName("cart_selector")[0].value;let a={};a=1===t?{cart_selector:e,cart_position:o}:2===t?{drawer_selector:e,drawer_position:o}:{product_selector:e,product_position:o};o={authorization:_,action:"preview",saveData:a};fetch(r+"addons?shop="+m+"&odd_ref=1",{method:"post",body:ODD_objIntoParams(o),headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})}).then(e=>e.text()).then(e=>{1===JSON.parse(e)?.data?.status&&(document.getElementsByClassName("odd_body")[0].innerHTML='<img class="welcomeImg" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="text-margin">Congratulations!<br>You have completed and moved the calendar at your desired place. I am glad to see that. Now, please close this setup wizard window and wait for the page load to see the result.</div><a class="odd_btn odd_btn-sm close_btn" onClick="ODDcloseBtn('+t+')">Close</a>')})}null!=sessionStorage.getItem("previewToken")&&(null==sessionStorage.getItem("previewToken")&&sessionStorage.setItem("previewToken",oddtoken),oddt_loadCss(`${e}assets/css/odd_preview.min.css`),fetch(r+"shopInfo?shop="+m+"&scid=null&odd_ref=1",{method:"get",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})}).then(e=>e.text()).then(o=>{var a=JSON.parse(o);let e=document.querySelectorAll(['button[name="add"]','button[name="addtocart"]',".product-form .quantity-submit-row .quantity-submit-row__submit button[type=submit]",".product-form--add-to-cart",".product-form-submit-wrap",".ProductForm__AddToCart",'input[name="add"]']),t=e.length;for(;t--;)e[t].classList.contains("odd_atc_loader")&&(e[t].removeAttribute("disabled"),e[t].classList.remove("odd_atc_loader"));var r=a.data.previewData;if(_=a.data.auth,l=a.data.selectors.html_selectors,r.status){var d=r.setting?.on_cart_page,i=r.setting?.in_ajax_cart,n=r.setting?.on_product_page,c=r.spld,s=r.product_calander,o=1==d?"":"display:none;",a=1==i?"":"display:none;",r=1==n&&1==s?"":"display:none;";if(("1"==d||"1"==i)&&0==s||1==s&&"1"==n){let e=document.createElement("div");e.className="odd_cartdrawer",document.body.appendChild(e),document.getElementsByClassName("odd_cartdrawer")[0].innerHTML='<div class="title_bar">Calendar position<div class="p-3"><svg class="odd-svg-cls minimize" data-value="1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" onclick=ODDMinimize(1)><path onclick=ODDMinimize(1) stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg><svg class="more-svg minimize" data-value="0" style="display:none;" fill="currentColor" stroke="currentColor" onclick=ODDMinimize(0) xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M442 114H6a6 6 0 0 1-6-6V84a6 6 0 0 1 6-6h436a6 6 0 0 1 6 6v24a6 6 0 0 1-6 6zm0 160H6a6 6 0 0 1-6-6v-24a6 6 0 0 1 6-6h436a6 6 0 0 1 6 6v24a6 6 0 0 1-6 6zm0 160H6a6 6 0 0 1-6-6v-24a6 6 0 0 1 6-6h436a6 6 0 0 1 6 6v24a6 6 0 0 1-6 6z" onclick=ODDMinimize(0)></path></svg></div></div><div class="odd_card"><div class="odd_body"></div></div><div class="footer-button"></div>';let t="";"1"==n&&1==s?-1<window.location.href.indexOf("/product")?t='<img class="welcomeImg" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="odd-discription">Awesome, seems you are on the product detail page now and you are ready to setup the calendar at your preferred position. Please click on the below button to configure/move the calendar.</div><div class="odd-discription"></div><p class="odd-product-button"><a class="odd_btn productupdate odd_btn-sm" onclick=ODDOnproductPage('+c+")>OK, I see the product</a></p>":-1<window.location.href.indexOf("/collections/all")?t='<div class="odd_title">Setup calendar position!</div><img class="img-title" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="odd-discription">It looks like you are not on a prodct detail page.<br>Please select any product to go to the product details page<div class="odd-discription">By the way: don`t worry, all the next choices can be modified at any time.</div></div>':(t='<div class="odd_title">Setup calendar position!</div><img class="img-title" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="odd-discription">It looks like you are not on a Cart or Product page.<br>There are three places where your offers can be displayed: any product page, the page showing the Shopping Cart and the Pop-Up Drawer (the little window that appears when you click on the shoping cart icon). The current page is not one of those options.
1</div><div class="odd-discription">By the way: don`t worry, all the next choices can be modified at any time.</div><div class="odd-discription">Please go to a page showing a product or to the cart page:</div><div class="odd-discription">We couldn`t find a product in the store, please add one in the admin section.</div>',document.getElementsByClassName("footer-button")[0].innerHTML='<div class="div-center"><div class="odd-discription" style="'+r+'"><a class="odd_btn OnproductPage odd_btn-sm" href="https://'+m+'/collections/all" target="_parent">Go to the product page</a></div></div>'):"1"!=d&&"1"!=i||0!=s||!document.getElementsByClassName("odd_body").length||(-1<window.location.href.indexOf("/cart")&&null!==sessionStorage.getItem("previewToken")?t='<img class="welcomeImg" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="title-img">Add A Product To The Cart</div><div class="odd-discription"> When the shopping cart is visible, click below. For better results, be sure to have at least one product already in your cart.</div><a class="odd_btn cartupdate odd_btn-sm" onclick=ODDCartUpdate('+c+")>OK, I see the cart</a></div>":(t='<div class="odd_title">Setup calendar position!</div><img class="img-title" src="'+p+'img/welcome_template_logo.png" title="Welcome" alt="Welcome"><div class="odd-discription">It looks like you are not on a Cart or Product page.<br>There are three places where your offers can be displayed: any product page, the page showing the Shopping Cart and the Pop-Up Drawer (the little window that appears when you click on the shoping cart icon). The current page is not one of those options.</div><div class="odd-discription">By the way: don`t worry, all the next choices can be modified at any time.</div><div class="odd-discription">Please go to a page showing a product or to the cart page:</div><div class="odd-discription">We couldn`t find a product in the store, please add one in the admin section.</div>',document.getElementsByClassName("footer-button")[0].innerHTML='<div class="div-center"><div class="odd-discription" style="'+o+'"><a class="odd_btn cartpage odd_btn-sm" href="https://'+m+'/cart" target="_parent">Go to the Cart page</a></div><div class="odd-discription" style="'+a+'"><a class="odd_btn OnajaxCart" onclick=ODDajaxCart('+c+')>Go to the Cart drawer</a></div><div class="odd-discription" style="'+r+'"><a class="odd_btn OnproductPage odd_btn-sm" href="https://'+m+'/collections/all" target="_parent">Go to the product page</a></div></div>')),document.getElementsByClassName("odd_body")[0].innerHTML=t}}}))}else{let e=window.location.search,a=new URLSearchParams(e),t=a.get("odd_dummy_token");if("MWUwMTE0NjEzNjkyN2I1OTY1OGFlMzU2MDQ4NWUyZDYxODk4NzJjMTY2YzE2OGUyZjYwOWY1YmFmMDYzOTQ2Yi4wMzQ3OWJiMTlmYTVjNTQ2Y2YwNWE5MDEwZTk1MmI3OA=="==t){let e=a.get("variant"),t=a.get("pages"),o="odd_cart"==t?"/cart?odd_auto_select=1":"";var xhttp,items_pro,data;""!=o&&(xhttp=new XMLHttpRequest,data={items:items_pro=[{id:e,quantity:1}]},xhttp.onreadystatechange=function(){4==this.readyState&&200==this.status&&(window.location.href=o)},xhttp.open("POST","/cart/add.js",!0),xhttp.setRequestHeader("Content-Type","application/json;charset=UTF-8"),xhttp.send(JSON.stringify(data)))}}
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.