https://mashbir.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1.html?id=c75f9d8b-b992-463e-ac03-89886965c153&p=1122

已提交的 URL:
https://mashbir.pairzon.com/1122/64davjqnMDzbgtQYSddXjB已重新導向
報告完成時間:

連結 · 找到 11 個

從頁面中識別的傳出連結

連結Text
https://pdf.pairzon.com/pdf/c75f9d8b-b992-463e-ac03-89886965c153/1122להורדת הקבלה
http://cal365vipcb.mltp.co.il/לבדיקת יתרת נקודות ה Cashback שברשותך
http://www.365mashbir.co.il
https://www.facebook.com/mashbir/
https://www.instagram.com/hamashbir/
https://www.youtube.com/channel/UCmDEN07nVHSgZtMpw0Wting
https://bit.ly/webmashcontactצור קשר עם שרות לקוחות
https://365mashbir.co.il/pages/%D7%94%D7%97%D7%96%D7%A8%D7%95%D7%AA-%D7%97%D7%99%D7%A0%D7%9D?utm_source=pairzon&utm_medium=invoice&utm_campaign=returnsהחזרות חינם עם שליח
https://bit.ly/mashprivתנאי שימוש ופרטיות
https://aws-static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/return.pngמדיניות החזרת המוצרים

JavaScript 變數 · 找到 68 個

在頁面的視窗物件上載入的全域 JavaScript 變數是在函數外部宣告的變數,可從目前範圍內程式碼中的任何位置存取

名稱類型
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
dataLayerobject
v_stampnumber
API_VERSIONstring
BUSINESS_STORAGE_URL_NEWstring
BUSINESSobject
EventDispatcherfunction
myEventDispatcherobject

主控台記錄訊息 · 找到 8 條

記錄到 Web 主控台的訊息

類型類別記錄
errornetwork
URL
https://pairzon.blob.core.windows.net/prod-pairzon-main-storage-container/resources/f39d16c1-506b-4325-b936-9a95f73693f1/bg1.jpg
Text
Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.)
errornetwork
URL
https://pairzon.blob.core.windows./
Text
Failed to load resource: net::ERR_CONNECTION_CLOSED
logjavascript
URL
https://mashbir.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1.html?id=c75f9d8b-b992-463e-ac03-89886965c153&p=1122
Text
foo JSHandle@object
logjavascript
URL
https://mashbir.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1.html?id=c75f9d8b-b992-463e-ac03-89886965c153&p=1122
Text
foo JSHandle@object
logother
Text
Tag for id:c75f9d8b-b992-463e-ac03-89886965c153
logother
URL
https://mashbir.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1.html?id=c75f9d8b-b992-463e-ac03-89886965c153&p=1122
Text
Tag for id:c75f9d8b-b992-463e-ac03-89886965c153
errorsecurity
URL
https://mashbir.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1.html?id=c75f9d8b-b992-463e-ac03-89886965c153&p=1122
Text
Access to XMLHttpRequest at 'https://aws-static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/content.he.json?3082020' from origin 'https://mashbir.pairzon.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
errornetwork
URL
https://aws-static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/content.he.json?3082020
Text
Failed to load resource: net::ERR_FAILED

HTML

頁面的原始 HTML 主體

<html style="direction: rtl;"><head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="generator" content="Pairzon">
  <meta name="robots" content="noindex">
  <title>המשביר לצרכן - Receipt</title>
  <base target="_self"> 


<!-- Google Tag Manager -->
<script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-911NQZ88MH&amp;cx=c&amp;_slc=1"></script><script type="text/javascript" async="" src="https://dmp.pairzon.com/v1.0/api/doc/f39d16c1-506b-4325-b936-9a95f73693f1/c75f9d8b-b992-463e-ac03-89886965c153"></script><script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-911NQZ88MH&amp;l=dataLayer&amp;cx=c"></script><script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-NVMVWQZ"></script><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NVMVWQZ');</script>
<!-- End Google Tag Manager -->
  
  
  <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">  
  <!--<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">-->
  <!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> -->
   <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.1/css/all.css">
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.1/css/v4-shims.css">

  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
  
  <link rel="stylesheet" href="/static/r.assets/css/loading.css">
  <link rel="stylesheet" href="/static/r.assets/libs/sweetalert2/sweetalert2.min.css">

  <link rel="stylesheet" href="/static/r.assets/css/main.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css" integrity="sha512-mSYUmp1HYZDFaVKK//63EcZq4iFWFjxSL+Z3T/aCt4IO9Cejm03q3NKKYN6pFQzY0SBOr8h+eCIAZHPXcpZaNw==" crossorigin="anonymous" referrerpolicy="no-referrer">
  <link rel="stylesheet" href="/static/r.assets/css/open-accessibility.min.css">

	<script>
var v_stamp = 03082020
		
//var BUSINESS_STORAGE_URL = 'https://pairzon.blob.core.windows.net/prod-resource-storage-container/'
var API_VERSION = '/v1.0/'
var BUSINESS_STORAGE_URL_NEW = 'https://aws-static.pairzon.com/__BID__/';


</script>  
  
	
	<style type="text/css">
    .ba {
      background-repeat: no-repeat !important;
		}
	.card{
		margin-top:10px !important;
	}
	#popup_form_consent{
		color:white !important;
	}
	.ba {
		background-image: url(https://pairzon.blob.core.windows.) ! important
	}
  </style>
	


	<script>
	
	
	
	var BUSINESS = {}
	
	
	function EventDispatcher(){
		// Create a dummy DOM element 
		var dummy = document.createTextNode('');

		// Create custom wrappers with nicer names
		this.off = dummy.removeEventListener.bind(dummy);
		this.on = dummy.addEventListener.bind(dummy);
		this.trigger = function(eventName, data){
			if( !eventName ) return;
			var e = new CustomEvent(eventName, {"detail":data});
			dummy.dispatchEvent(e);
		}
	}

	////////////////////////////////////
	// initialize the event dispatcher by creating an instance in an isolated way
	var myEventDispatcher = new EventDispatcher();
	</script>
<style>/* Default jquery-loading styles */

.loading-overlay {
  display: table;
  opacity: 0.7;
}

.loading-overlay-content {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 1.15em;
  font-weight: bold;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

.loading-overlay.loading-theme-light {
  background-color: #fff;
  color: #000;
}

.loading-overlay.loading-theme-dark {
  background-color: #000;
  color: #fff;
}
</style><style>.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;overflow-y:hidden;background:#fff;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row;padding:0}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;padding:0;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em;padding:0}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0;padding:0 1.6em}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#3085d6 transparent #3085d6 transparent}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dd6b55;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:.3125em;border-bottom-left-radius:.3125em}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto}.swal2-validation-message{display:none;align-items:center;justify-content:center;margin:0 -2.7em;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}</style><link rel="stylesheet" type="text/css" href="/static/r.assets/css/rtl.css"><link href="https://aws-static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/logo.png" rel="shortcut icon" type="image/x-icon"></head>

<body style="">
	<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NVMVWQZ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
	
	
			<div id="banner_n-con11" style="text-align:center;">
	<a id="banner_n-a11" href="" style="max-width:500px">
		<img id="banner_n-img11" src="https://static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/bg.jpg" style="width: 100%;max-width:500px">
	</a>
</div>	
		
	
	<div class="container py-3 ba" style="max-width: 500px; background-image: url(&quot;https://aws-static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/bg.jpg&quot;);">
		<div id="pay-invoice" class="card" style="border-radius:0px;border:0px solid;margin-top: 39px;">		
			
    
	
	<div class="row">
	<div class="col mx-auto text-center">
		<div id="p-place-holder-logo_center">
		</div>
	</div>
</div>

<div class="row" id="p-feature-row-logo_center">
	<div class="col mx-auto text-center" style="margin-top:10px;margin-button:10px important">
		


	<div class="card-title" style="text-align:center">
		<div class="Xcol-4 mx-auto Xpull-left">
			<img id="header-logo" xsrc="/static/r.assets/images/hm-logo.png" class="logo-text-dark" style="max-width:300px !important;margin-top:7px;max-height:120px" src="https://static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/logo-offline.png" alt="המשביר לצרכן">
		</div>
		<div class="Xcol-8 mx-auto Xpull-right" style="margin-top:20px">
			<h6 class="text-center p-loyalty-name" style="margin:10px">שלום יוספה לביא</h6>
			<h6 class="text-center p-store" style="margin:10px">המשביר חוצות כרמיאל</h6>
			<h6 class="text-center p-store-phone" style="margin:10px">1-800-346666</h6>
			<h4 class="text-center p-doc-type" data-i18n="Your Receipt">הקבלה שלך</h4>
		</div>
	</div>

<hr>


<script>

myEventDispatcher.on('foo', e =>{

	$('#header-logo').attr({src:BUSINESS_STORAGE_URL_NEW + "logo.png", alt:e.detail.store.business.name})
	
})

</script>


	</div>
</div>		


	
	
	
		
<div class="" style="width: 100%; margin: 0px auto; text-align: center; display: none;">
    
<div>
    
  <div style="text-align:center">
	<a id="download-button8" class="btn" style=" width: 80%;border:1px solid #000;margin:20px;font-weight:bold; display: inline-block ;height: 47 ;  padding-top:10px !important;" href="https://pdf.pairzon.com/pdf/c75f9d8b-b992-463e-ac03-89886965c153/1122">להורדת הקבלה</a>
  </div>
</div>
    
</div>	
    <!-- <hr /> -->


<script>

myEventDispatcher.on('foo', e =>{

	$('#download-button8').attr('href', 'https://pdf.pairzon.com/pdf/' + e.detail.id + '/' + e.detail.store.business.prefix )
	
  setTimeout(function(){
    $('#download-button8').text('להורדת ה' + $.i18n(getDocType(e.detail.documentType)))
  }, 500);

});

</script>

	
	
	<div class="row">
	<div class="col-12 mx-auto" style="margin-top:10px;margin-button:10px">
		<h1 id="big-total" class="text-center p-total bidirection">₪ 648.94</h1>										
	</div>
</div>
<hr>
	
	<div class="row">
	<div class="col mx-auto text-center">
		<div id="p-place-holder-coupon">
		</div>
	</div>
</div>

<div class="row" id="p-feature-row-coupon">
	<div class="col mx-auto text-center" style="margin-top:10px;margin-button:10px important">
		
		<div id="coupons"></div>




<script>

function coupon_img_Error(_this)
{	
	_this.style.display = 'none';
}

myEventDispatcher.on('foo', e =>{

	var coupons_html = '';
	var coupons = e.detail.icoupons
	for (i in coupons) {	
	
		var coupon_text = '';
	    if(coupons[i] && coupons[i].message)
		{
			coupon_text = coupons[i].message;
		}
		
		var current_coupon = '<div><img onerror="coupon_img_Error(this)" src="' + BUSINESS_STORAGE_URL_NEW + 'banners/' + coupons[i].id + '.png" style="width: 100%;height:140px" /><span> __TEXT__</span> __BARCODE__ </div><hr/>'
		.replace('__TEXT__', coupon_text)
		
		
		var aa = ''
		if (coupons[i].uniqueNumber)
		{
			aa = '<br/><svg id="coupons_' + coupons[i].id + '"></svg>'
			
		}
		current_coupon = current_coupon.replace('__BARCODE__' , aa)
		
		coupons_html += current_coupon
	}
	
	$('#coupons').append(coupons_html)
	
	for (i in coupons) {
		if (coupons[i].uniqueNumber)
		{
			
			setBarcode('#' + 'coupons_' + coupons[i].id, coupons[i].uniqueNumber)
		}
	}
	
	
    //console.log(e.type, e.detail);
});

</script>


	</div>
</div>		



	
	<div class="row">
	<div class="col">
		<div class="table-responsive">
			<table id="items-table" class="table table-borderless table-hover">						
				<tbody>
					<!-- <tr class="">								
						<td><dt class="i-name">Other jacket Blu </dt><span class="i-code">9939691901017</span></td>
						<td class="i-quantity">2</td>
						<td class="text-right">
							<dt class="i-total">620 €</dt>
						</td>							
					</tr>-->
				</tbody>
			<thead></thead><tbody><tr class="">						               	<td style="padding-bottom:0px"><span class="i-code">7299015950186</span><dt class="i-name">--LALEAPOUCH</dt></td>  	<td class="text-right bidirection" style="padding-bottom:0px;">                                                    		<span class="i-quantity">1</span><dt class="i-price bidirection">₪&nbsp;699.90</dt>                            	</td>							                                           </tr><tr style="padding-top:0px" class=""><td style="padding:0px" colspan="2"></td></tr><tr style="padding-top:0px;padding-bottom:0px"><td style="padding-top:0px;padding-bottom:0px">מחירון מועדון</td><td class="bidirection" style="padding-top:0px;padding-bottom:0px;"><span>₪</span>&nbsp;-350.91</td></tr><tr style="padding-top:0px;padding-bottom:0px"><td style="padding-top:0px;padding-bottom:0px">קופון מועדון                                                                    </td><td class="bidirection" style="padding-top:0px;padding-bottom:0px;"><span>₪</span>&nbsp;-24.97</td></tr><tr class="">						               	<td style="padding-bottom:0px"><span class="i-code">7299015933394</span><dt class="i-name">BACKPACK</dt></td>  	<td class="text-right bidirection" style="padding-bottom:0px;">                                                    		<span class="i-quantity">1</span><dt class="i-price bidirection">₪&nbsp;699.90</dt>                            	</td>							                                           </tr><tr style="padding-top:0px" class=""><td style="padding:0px" colspan="2"></td></tr><tr style="padding-top:0px;padding-bottom:0px"><td style="padding-top:0px;padding-bottom:0px">מחירון מועדון</td><td class="bidirection" style="padding-top:0px;padding-bottom:0px;"><span>₪</span>&nbsp;-349.95</td></tr><tr style="padding-top:0px;padding-bottom:0px"><td style="padding-top:0px;padding-bottom:0px">קופון מועדון                                                                    </td><td class="bidirection" style="padding-top:0px;padding-bottom:0px;"><span>₪</span>&nbsp;-25.03</td></tr></tbody></table>					
			
			<hr>
		</div>		
	</div>
</div>


<script>


myEventDispatcher.on('foo', e =>{

	var ITEM_TEMPLATE = '<tr class="{color}">						               '+
	'	<td  style="padding-bottom:0px"><span class="i-code">{code}</span><dt class="i-name">{name}</dt></td>  '+
	//'	<td class="i-quantity">{quantity}</td>                                     '+
	'	<td class="text-right bidirection"  style="padding-bottom:0px;">                                                    '+
	'		<span class="i-quantity">{quantity}</span><dt class="i-price bidirection" >{currency}&nbsp;{price}</dt>                            '+
	'	</td>							                                           '+
	'</tr><tr style="padding-top:0px" class="{color}"><td  style="padding:0px"  colspan="2">{info}</td></tr>{ai}'+
	''
	
	var displayItems = function(items, currency)
	{
		var itemsTable = '<thead></thead>'
		
		$.each(items, function (i, item) 		
		{	
			var itemAdditionalInfo = ''
			$.each(item.additionalInfo, function (i, ai) 		
			{
				var ival = ''
				if(ai.value) {
					ival = ai.value					
					if(!isNaN(ival))
						ival = ('<span>'+ currency + '</span>&nbsp;') + ival 					
				}
				
				itemAdditionalInfo += '<tr style="padding-top:0px;padding-bottom:0px"><td style="padding-top:0px;padding-bottom:0px">' 
				+ ai.key + 
				'</td><td class="bidirection" style="padding-top:0px;padding-bottom:0px;"  class="text-right" >'
				+ ival +
				'</td></tr>'
				
			})
			
			var quantity = 0
			if(item.weight)
			{
				var weight = item.weight.toFixed(3) / 1000
				quantity = '' + weight.toFixed(3) + ' x ק"ג' 
			}
			if(item.quantity)
			{
				quantity = Number.isInteger(item.quantity) ? item.quantity.toFixed(0):item.quantity.toFixed(2)
			}



			itemsTable += ITEM_TEMPLATE.format(
						{name:item.name,
						code:item.code || '', 
						quantity:quantity,
						price:addCommas(item.price.toFixed(decimalPoints)) ,
						color:(item.price <=0? 'text-danger':'' ),
						currency:currency,
						info:((item.info && item.info.length > 3)? ('<span class="i-info">' + item.info.replace(/\|/g,'<br/>') + '</span>'):'')
						,ai:itemAdditionalInfo
						})
		});	
		$('#items-table').append(itemsTable)
	}
	
	
	displayItems(e.detail.items, getCurrencySymbol(e.detail))

});

</script>
		
	<div class="row">
	<div class="col">
		<div class="table-responsive">
			<table class="table table-borderless table-hover">						
				<tbody>				
					<tr>						
						<td><dt data-i18n="Total">סכום לתשלום</dt></td>
						
						<td class="text-right">
							<dt class="p-total  bidirection">₪ 648.94</dt>
						</td>														
					</tr>
					
				</tbody>
			</table>										
		</div>
		
		<div class="table-responsive">
			<table id="payments-table" class="table table-borderless table-hover">						
				<tbody>							
				</tbody>
			<thead></thead><tbody><tr class="">						           	<td class="td-tight"><dt class="p-name">ישראכרט                     </dt><span class="p-code">0000</span></td>  	<td class="td-tight p-quantity"></td>                                     	<td class="td-tight text-right">                                                    		<dt class="p-amount bidirection">₪&nbsp;648.94</dt>                          	</td>							                                           </tr><tr class="text-danger">						           	<td class="td-tight"><dt class="p-name">עודף</dt><span class="p-code"></span></td>  	<td class="td-tight p-quantity"></td>                                     	<td class="td-tight text-right">                                                    		<dt class="p-amount bidirection">₪&nbsp;0.00</dt>                          	</td>							                                           </tr></tbody></table>					
			<hr>
		</div>
		
		
		<div class="table-responsive p-total-vat-row" style="">
			<table class="table table-borderless table-hover">						
				<tbody>
					<tr>

						<td><dt data-i18n="VAT">מע"מ</dt></td>								
						
						<td class="text-right">
							<dt class="p-total-vat  bidirection">₪ 94.29</dt>
						</td>	
														
					</tr>										
				</tbody>
			</table>										
		</div>
		<div class="table-responsive">
			<table id="info-table" class="table table-borderless table-hover">						
				<tbody>							
				</tbody>
			<thead></thead><tbody><tr class="{color}">								<td class="td-tight"><dt class="a-name">כדאי יותר מתמיד להיות חבר "מועדון 365" בקניה זו חסכת     750.86</dt><span class="a-code"></span></td>		<td class="td-tight text-right">                                                    			<dt class="a-value bidirection"></dt>                          		</td>							                                           	</tr><tr class="{color}">								<td class="td-tight"><dt class="a-name">מועדון 365</dt><span class="a-code"></span></td>		<td class="td-tight text-right">                                                    			<dt class="a-value bidirection">2729516015</dt>                          		</td>							                                           	</tr></tbody></table>					
			<hr style="Xwidth:80%;">
		</div>
		
		<div class="row">
	<div class="col mx-auto text-center">
		<div id="p-place-holder-barcode">
		</div>
	</div>
</div>

<div class="row" id="p-feature-row-barcode">
	<div class="col mx-auto text-center" style="margin-top:10px;margin-button:10px important">
		
		<svg id="barcode" width="288px" height="112px" x="0px" y="0px" viewBox="0 0 288 112" xmlns="http://www.w3.org/2000/svg" version="1.1" style="transform: translate(0px, 0px);"><rect x="0" y="0" width="288" height="112" style="fill:#ffffff;"></rect><g transform="translate(10, 10)" style="fill:#000000;"><rect x="0" y="0" width="4" height="70"></rect><rect x="6" y="0" width="2" height="70"></rect><rect x="12" y="0" width="6" height="70"></rect><rect x="22" y="0" width="4" height="70"></rect><rect x="28" y="0" width="4" height="70"></rect><rect x="36" y="0" width="4" height="70"></rect><rect x="44" y="0" width="2" height="70"></rect><rect x="52" y="0" width="4" height="70"></rect><rect x="62" y="0" width="2" height="70"></rect><rect x="66" y="0" width="2" height="70"></rect><rect x="72" y="0" width="4" height="70"></rect><rect x="80" y="0" width="2" height="70"></rect><rect x="88" y="0" width="2" height="70"></rect><rect x="98" y="0" width="2" height="70"></rect><rect x="102" y="0" width="4" height="70"></rect><rect x="110" y="0" width="4" height="70"></rect><rect x="118" y="0" width="6" height="70"></rect><rect x="128" y="0" width="2" height="70"></rect><rect x="132" y="0" width="2" height="70"></rect><rect x="140" y="0" width="2" height="70"></rect><rect x="146" y="0" width="4" height="70"></rect><rect x="154" y="0" width="4" height="70"></rect><rect x="164" y="0" width="2" height="70"></rect><rect x="170" y="0" width="2" height="70"></rect><rect x="176" y="0" width="4" height="70"></rect><rect x="184" y="0" width="2" height="70"></rect><rect x="190" y="0" width="6" height="70"></rect><rect x="198" y="0" width="6" height="70"></rect><rect x="206" y="0" width="2" height="70"></rect><rect x="212" y="0" width="4" height="70"></rect><rect x="220" y="0" width="4" height="70"></rect><rect x="228" y="0" width="2" height="70"></rect><rect x="236" y="0" width="2" height="70"></rect><rect x="242" y="0" width="4" height="70"></rect><rect x="252" y="0" width="6" height="70"></rect><rect x="260" y="0" width="2" height="70"></rect><rect x="264" y="0" width="4" height="70"></rect><text style="font: 20px monospace" text-anchor="middle" x="134" y="92">003806671805112024</text></g></svg>
        <br>

<script>

myEventDispatcher.on('foo', e =>{
	setBarcode('#barcode', e.detail.barcode	)
    //console.log(e.type, e.detail);
});

</script>


	</div>
</div>		



		
		<div class="table-responsive">
			<table class="table table-borderless table-hover">						
				<tbody>
					<tr>						
						<td><dt data-i18n="Transaction ID">מספר קבלה</dt></td>
						
						<td class="text-right">
							<dt class="p-transaction">6718</dt>
						</td>														
					</tr>
					<tr>						
						<td><dt data-i18n="Date">תאריך</dt></td>
						
						<td class="text-right">
							<dt class="p-datetime">2024-11-05 13:33</dt>
						</td>														
					</tr>
					<tr>						
						<td><dt data-i18n="POS ID">קופה</dt></td>
						
						<td class="text-right">
							<dt class="p-posid">6</dt>
						</td>														
					</tr>
					<tr>						
						<td><dt data-i18n="Cashier">קופאי</dt></td>
						
						<td class="text-right">
							<dt class="p-cashier">0897</dt>
						</td>														
					</tr>
					<tr>						
						<td><dt data-i18n="Number Of Items">כמות פריטים</dt></td>
						
						<td class="text-right">
							<dt class="p-numofitems  bidirection">2</dt>
						</td>														
					</tr>
					<tr class="p-loyalty-id-row" style="">						
						<td><dt data-i18n="Loyalty ID">מספר לקוח</dt></td>
						
						<td class="text-right">
							<dt class="p-loyalty-id  bidirection">2729516015</dt>
						</td>														
					</tr>
				</tbody>
			</table>										
		</div>
	</div>
</div>		
<hr>


<script>


myEventDispatcher.on('foo', e =>{

	var PAYMENT_TEMPLATE = '<tr class="{color}">						           '+
	'	<td class="td-tight"><dt class="p-name">{name}</dt><span class="p-code">{info}</span></td>  '+
	'	<td class="td-tight p-quantity">{quantity}</td>                                     '+
	'	<td class="td-tight text-right">                                                    '+
	'		<dt class="p-amount bidirection" >{currency}&nbsp;{amount}</dt>                          '+
	'	</td>							                                           '+
	'</tr>'	
	
	var displayPayments = function(payments, currency)
	{
		var paymentsTable = '<thead></thead>'
		
		$.each(payments, function (i, payment) 		
		{			
			paymentsTable += PAYMENT_TEMPLATE.format(
						{name:payment.name,
						info:payment.info||'', 
						quantity:'', //payment.quantity.toFixed(0), 
						amount:addCommas(payment.amount.toFixed(decimalPoints)) ,
						color:(payment.amount <=0? 'text-danger':'' ),
						currency:currency 
						})
		});	
		$('#payments-table').append(paymentsTable)
	}
	
	
	displayPayments(e.detail.payments, getCurrencySymbol(e.detail))

});

</script>
	
	<div id="additional_info_table-row" class="row" style="">
	<div class="col">			
		<div class="table-responsive">
			<table id="info-table" class="table table-borderless table-hover">						
				<tbody>							
				</tbody>
			</table>			
			<hr>
		</div>
	</div>
</div>


<script>


myEventDispatcher.on('foo', e =>{

	var ADDITIONAL_INFO_TEMPLATE = '<tr class="{color}">							'+
	'	<td class="td-tight"><dt class="a-name">{key}</dt><span class="a-code">{info}</span></td>	'+
	//'	<td class="td-tight a-quantity">{quantity}</td>                                 	    '+
	'	<td class="td-tight text-right">                                                    	'+
	'		<dt class="a-value bidirection">{value}</dt>                          	'+
	'	</td>							                                           	'+
	'</tr>'
		
	var infoTable = ''
	
	var displayAdditionalInfo = function(infos, currency)
	{	
		
		$.each(infos, function (i, info) 		
		{			
			v = ''			
			if(info.value && info.value.trim().length > 0 )
			{
				v = info.value.replace('@', '')			
				if(Number(info.value))
					v =  currency +'&nbsp;' +  addCommas(Number(info.value).toFixed(decimalPoints))				
			}
			infoTable += ADDITIONAL_INFO_TEMPLATE.format(
						{
							key:info.key,						
							info:'', 		//info.info, 		
							value:v ,
						})
		});	
		
	}
	
	displayAdditionalInfo(e.detail.additionalInfo, getCurrencySymbol(e.detail))
	
	if(e.detail.discountText && e.detail.discountText.trim().length > 1)
	{
		var discount_val = null
		if(e.detail.discountValue && e.detail.discountValue != 0) discount_val = e.detail.discountValue.toString()
		displayAdditionalInfo([{key:e.detail.discountText, value:discount_val}], getCurrencySymbol(e.detail))
	}
	
	if(e.detail.discounts && e.detail.discounts.length > 0)
	{
		displayAdditionalInfo(e.detail.discounts, getCurrencySymbol(e.detail))
	}
	
	if (infoTable.length > 2)
	{
		$('#info-table').append('<thead></thead>' + infoTable)
		$('#additional_info_table-row').show()
	}

});

</script>	
	
	<h6 style="font-size:16px;text-align: center;">הלוואה לכל מטרה לכולם, עד 200,000 ₪ בפריסה של עד 84 תשלומים<br>להצעת הלוואה חייגו 3651*<br>אי עמידה בפירעון ההלוואה עלולה לגרור חיוב בריבית פיגורים והליכי הוצאה לפועל.<br>המלווה: כאל מימון בע"מ.<br>כפוף לתנאי המלווה ולעמידה בתנאי החיתום.<br></h6>
	
	
	
	
	
	
		<style>
.center {
  
}

.buttons {
    Xpadding-left: 0px ;
    padding: 0px !important;
    margin: 0px;
}    

.buttons li {
    display: inline-block ;
  }
    
#buttons-test {
  display: table-cell ; 
  vertical-align: middle  ;
  text-align: center ;
  font-size: 14px ;
 
}
    
.buttons-li-a {
    Xmargin: 0 auto;
    color: rgba(0, 0, 0, 0.6);
	background-color:#FFF;
    border-radius: 0px ;
    list-style-type: none;
    display: inline-block ;
    
    height: 47 ;
    padding-top:10px !important;
    padding: 1% ;
    border: 1px solid rgba(0, 0, 0, 0.6) ;
    cursor: pointer ;
    margin: 10px ;
    
    text-align: center;
	vertical-align: middle;
	font-weight:bold;
  }

.buttons-li-a:hover {
      color: rgba(0, 0, 0, 1) ;
      border: 1px solid rgba(0, 0, 0, 1) ;
    }
    
.buttons:hover > li {
  opacity: 0.5 ;
}

.buttons:hover > li:hover {
  opacity: 1 ;
}
    
    .mymy{
        margin-top: 14px;
    }

</style>

<div class="" style=" width: 100%;  margin: 0 auto; text-align: center">
    
<div style="display: none; width: 100%;">
    
  <div id="buttons-test">
  <ul id="buttons-con20" class="buttons">
    
  <li style="width:95%"><a style="width: 90%; height: 65px;" class=" btn buttons-li-a" href="http://cal365vipcb.mltp.co.il/">ההזמנה בדרך אליך, למעקב לחץ כאן&gt;&gt;</a></li></ul>
  </div>
</div>
    
</div>	
    <!-- <hr /> -->


<script>

myEventDispatcher.on('foo', e =>{
	counter = 0;
	var links = ['http://cal365vipcb.mltp.co.il/']
	var labels = ['ההזמנה בדרך אליך, למעקב לחץ כאן>>']
	
	var width = 95 / links.length
	
	for(var l in links)
	{
		//alert(links[l])
		$("#buttons-con20").append('<li  style="width:' + width + '%"><a style="width:90%" class=" btn buttons-li-a" href="' + links[l] + '">' + labels[l] + '</a></li>');
	}
});

</script>

	
	
	
		<style>
.center {
  
}

.buttons {
    Xpadding-left: 0px ;
    padding: 0px !important;
    margin: 0px;
}    

.buttons li {
    display: inline-block ;
  }
    
#buttons-test {
  display: table-cell ; 
  vertical-align: middle  ;
  text-align: center ;
  font-size: 14px ;
 
}
    
.buttons-li-a {
    Xmargin: 0 auto;
    color: rgba(0, 0, 0, 0.6);
	background-color:#FFF;
    border-radius: 0px ;
    list-style-type: none;
    display: inline-block ;
    
    height: 47 ;
    padding-top:10px !important;
    padding: 1% ;
    border: 1px solid rgba(0, 0, 0, 0.6) ;
    cursor: pointer ;
    margin: 10px ;
    
    text-align: center;
	vertical-align: middle;
	font-weight:bold;
  }

.buttons-li-a:hover {
      color: rgba(0, 0, 0, 1) ;
      border: 1px solid rgba(0, 0, 0, 1) ;
    }
    
.buttons:hover > li {
  opacity: 0.5 ;
}

.buttons:hover > li:hover {
  opacity: 1 ;
}
    
    .mymy{
        margin-top: 14px;
    }

</style>

<div class="" style=" width: 100%;  margin: 0 auto; text-align: center">
    
<div style="display: table;  width: 100%;  Xheight: 100vh;">
    
  <div id="buttons-test">
  <ul id="buttons-con19" class="buttons">
    
  <li style="width:95%"><a style="width: 90%; height: 65px;" class=" btn buttons-li-a" href="http://cal365vipcb.mltp.co.il/">לבדיקת יתרת נקודות ה Cashback שברשותך</a></li></ul>
  </div>
</div>
    
</div>	
    <!-- <hr /> -->


<script>

myEventDispatcher.on('foo', e =>{
	counter = 0;
	var links = ['http://cal365vipcb.mltp.co.il/']
	var labels = ['לבדיקת יתרת נקודות ה Cashback שברשותך']
	
	var width = 95 / links.length
	
	for(var l in links)
	{
		//alert(links[l])
		$("#buttons-con19").append('<li  style="width:' + width + '%"><a style="width:90%" class=" btn buttons-li-a" href="' + links[l] + '">' + labels[l] + '</a></li>');
	}
});

</script>

	
		    
	<div class="row">
	<div class="col">
		<div class="table-responsive text-center">
			<a href="http://www.365mashbir.co.il">
				<img id="banner-main" style="width: 100%;" src="https://aws-static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/banner.png" alt="המשביר לצרכן">
			</a>
			<hr>
		</div>
	</div>
</div>

<script>

////////////////////////////////////
// listen to a "foo" event
myEventDispatcher.on('foo', e =>{
	
	$('#banner-main').attr({src:BUSINESS_STORAGE_URL_NEW +  'banner.png', 
								alt:e.detail.store.business.name})
	$('#banner-main').parent().attr({href: e.detail.store.business.link || e.detail.store.business.linkWebsite})
    console.log(e.type, e.detail);
});

</script>

    <style>
.center {
  
}

.social {
    Xpadding-left: 0px ;
    padding: 0px !important;
    margin-top: 16px;
}    

.social li {
    display: inline-block ;
  }
    
#social-test {
  display: table-cell ; 
  vertical-align: middle  ;
  text-align: center ;
  font-size: 45px ;
 
}
    
.social-li-a {
    Xmargin: 0 auto;
    color: rgba(0, 0, 0, 0.6);
    border-radius: 0px ;
    list-style-type: none;
    display: inline-block ;
    width: 77px ;
    height: 77px ;
    line-height: 100px ;
    padding: 1% ;
    border: 1px solid rgba(0, 0, 0, 0.6) ;
    cursor: pointer ;
    margin: 10px ;
    Xmargin-bottom: 20px ;
    transition: ease .3s ;
    text-align: center;
  }

.social-li-a:hover {
      color: rgba(0, 0, 0, 1) ;
      border: 1px solid rgba(0, 0, 0, 1) ;
    }
    
.social:hover > li {
  opacity: 0.5 ;
}

.social:hover > li:hover {
  opacity: 1 ;
}
    
    .mymy{
        margin-top: 14px;
    }

</style>


<div class="" style=" width: 100%;  margin: 0 auto; text-align: center">
    <h6 data-i18n="Come Follow Us">בואו לעקוב אחרינו</h6>
<div style="display: table;  width: 100%;  Xheight: 100vh;">
    
  <div id="social-test">
  <ul id="social-btns" class="social">
    <!--<li><a class="facebook-link social-li-a" href="https://facebook.com/colorlib"><i class="mymy fa fa-facebook" aria-hidden="true"></i></a></li>
    <li><a class="social-li-a" href="https://twitter.com/colorlib"><i class="fa fa-twitter" aria-hidden="true"></a></i></li>
    <li><a class="instagram-link social-li-a" href="https://instagram.com/colorlib"><i class="mymy fa fa-instagram" aria-hidden="true"></i></a></li>
    <li><a class="youtube-link social-li-a" href="https://www.youtube.com/c/Colorlib"><i class="mymy fa fa-youtube" aria-hidden="true"></a></i></li>
    <!--<li><a class="social-li-a" href="#"><i class="fa fa-behance" aria-hidden="true"></i></a></li>
    <li><a class="social-li-a" href="#"><i class="fa fa-dribbble" aria-hidden="true"></a></i></li>
    <li><a class="social-li-a" href="https://github.com/puikinsh"><i class="fa fa-github" aria-hidden="true"></a></i></li>
  </li>-->
  <li><a class="facebook-link social-li-a" href="https://www.facebook.com/mashbir/"><i class="mymy fa fa-facebook" aria-hidden="true"></i></a></li><li><a class="instagram-link social-li-a" href="https://www.instagram.com/hamashbir/"><i class="mymy fa fa-instagram" aria-hidden="true"></i></a></li><li><a class="youtube-link social-li-a" href="https://www.youtube.com/channel/UCmDEN07nVHSgZtMpw0Wting"><i class="mymy fa fa-youtube" aria-hidden="true"></i></a></li></ul>
  </div>
</div>
    
</div>	
    <!-- <hr /> -->


<script>

myEventDispatcher.on('foo', e =>{
	counter = 0;
	if(e.detail.store.business.linkFacebook && e.detail.store.business.linkFacebook.length > 7 && counter < 3)
	{
		$("#social-btns").append('<li><a class="facebook-link social-li-a" href="' + e.detail.store.business.linkFacebook + '"><i class="mymy fa fa-facebook" aria-hidden="true"></i></a></li>');		
		counter += 1;
	}
	
	if(e.detail.store.business.linkInstegram && e.detail.store.business.linkInstegram.length > 7 && counter < 3)
	{
		$("#social-btns").append('<li><a class="instagram-link social-li-a" href="' + e.detail.store.business.linkInstegram + '"><i class="mymy fa fa-instagram" aria-hidden="true"></i></a></li>');		
		counter += 1;
	}
	
	if(e.detail.store.business.linkYoutube && e.detail.store.business.linkYoutube.length > 7 && counter < 3)
	{
		$("#social-btns").append('<li><a class="youtube-link social-li-a" href="' + e.detail.store.business.linkYoutube + '"><i class="mymy fa fa-youtube" aria-hidden="true"></a></i></li>');
		counter += 1;
	}
	
	if(e.detail.store.business.linkWebsite && e.detail.store.business.linkWebsite.length > 7 && counter < 3)
	{
		$("#social-btns").append('<li><a class="chrome-link social-li-a" href="' + e.detail.store.business.linkWebsite + '"><i class="mymy fa fa-globe" aria-hidden="true"></a></i></li>');
		counter += 1;
	}
    
});

</script>

	
	<div class="row">			
	<div class="col">			
		<div class="table-responsive text-center">
		<h5 data-i18n="[html]Thank You For Buying">תודה שקניתם !</h5>
		<h5 data-i18n="[html]We will be happy to hear about your experience">נשמח לשמוע על חווית הקנייה שלך</h5>
			<table class="table table-borderless table-hover text-center">
				<tbody>
					<tr>
					
						<td>
							<div class=" custom-checkbox custom-control-inline Xcustom-control-right">
								<div style="padding-top:15px">5</div>
								<div class="rate">
									<input type="radio" id="star5" name="rate" value="5">
									<label for="star5" title="text">5 stars</label>
									<input type="radio" id="star4" name="rate" value="4">
									<label for="star4" title="text">4 stars</label>
									<input type="radio" id="star3" name="rate" value="3">
									<label for="star3" title="text">3 stars</label>
									<input type="radio" id="star2" name="rate" value="2">
									<label for="star2" title="text">2 stars</label>
									<input type="radio" id="star1" name="rate" value="1">
									<label for="star1" title="text">1 star</label>
								</div>
								<div style="padding-top:15px">1</div>
							</div>
						</td>
						
					</tr>
				</tbody>
			</table>	
			<hr>
		</div>
	</div>
</div>

<script>

myEventDispatcher.on('foo', e =>{

	$('input[type=radio][name=rate]').change(function() {
	
		var f = {			  
			  "callMeBack": false,
			  "rate": parseInt(this.value),
			  "rid": e.detail.id, 
			  "text": null
			}


		if(typeof pop_survey === "function")
		{
			pop_survey(this.value)
			return
		}
  
		if (this.value >= 4) {
			//alert("אנחנו שמחים שנהנת");
			Swal.fire({
			  //icon: 'error',
			  title: 'אנחנו שמחים שנהנת',
			  imageUrl: 'static/r.assets/images/smile.png',
			  imageHeight: 100,
			  //text: 'Something went wrong!',
			  footer: '<a href="' + e.detail.store.business.linkFacebook + '">נשמח שתמליץ עלינו</a>'
			})
			sendFeedback(f)
		}
		else 
		{
			//alert("אנחנו מצטערים לשמוע, אנא השאר פרטים אם ברצנוך שנחזור אליך");
			Swal.fire({
				title: "אנחנו מצטערים לשמוע",
				text: "אנו ניקח לתשומת ליבנו",
				imageUrl: 'static/r.assets/images/sad.png',
				imageHeight: 100,
	//			input: 'email',
				showCancelButton: !1,
				//confirmButtonColor: "#3085d6",
				//cancelButtonColor: "#d33",
	//			cancelButtonText: "לא תודה",
	//			confirmButtonText: "חיזרו אלי"
				confirmButtonText: "סגור"
			}).then(function (r) {
				if (r.value) {				
					f.callMeBack = false
				}				
				sendFeedback(f)
			});
			
			//$('.swal2-textarea').show()
		}
		
		

	});

    console.log(e.type, e.detail);
	

});

var sendFeedback = function(f)
{

	$.ajax({
	url:API_VERSION + 'feedback' ,
	type: 'PUT',
	data:  JSON.stringify(f),
	contentType: "application/json",
    dataType: 'json'
	}).done(function (b) {
	
	})
	.fail(function (e) {
		console.log('Error Getting business : ' + e)

	})
	.always(function () {
		
	});
}

</script>
	
	
		<!-- Modal -->

 <style>


.overlay { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(64, 64, 64, 0.4); transition: opacity 500ms; visibility: hidden; Xopacity: 0; z-index: 1050;}
.overlay:target { visibility: visible; Xopacity: 1;}
#popup1 { }
#popup1 .popup {margin: 0px auto; padding: 50px 0px;background: #fff; border-radius: 0px; height: 433px; width:341px; position: relative;    text-align: center;top: 50% !important;   position: fixed !important;-moz-transform: translateY(-50%);    -webkit-transform: translateY(-50%);  -o-transform: translateY(-50%);   -ms-transform: translateY(-50%);    transform: translateY(-50%);right: 0px; left: 0;}
#popup1 .popup h2 { margin-top: 0; color: #333;}
#popup1 .popup .close {position: absolute; top: 0px;  right: 0px; transition: all 200ms; font-size: 30px;  font-weight: normal; text-decoration: none;  text-align: center;    background: #333;  border-radius: 0;  cursor: pointer;  float: right;  padding: 0;  color: #fff;  margin-top: 0;  margin-right: 0;  height: 40px;  width: 40px;    line-height: 45px;}
#popup1 .popup .close:hover {color: #06D85F;}
#popup1 .popup .content {max-height: 30%;overflow: auto;}
#popup1 .newletter-title h2 {   font-size: 24px;  text-transform: uppercase;  color: #000;  font-weight: 700;  letter-spacing: 3px;  margin: 0 0 15px;}
#popup1 .box-content label {  font-weight: 400;  max-width: 560px;  display: inline-block;  margin-bottom: 5px;  font-size: 14px; Xline-height: 26px; line-height: 130%; margin:10px auto !important;}
.newletter-popup {  background: #fff;  top: 50% !important;   position: fixed !important; padding: 0;  text-align: center;  -moz-transform: translateY(-50%);    -webkit-transform: translateY(-50%);  -o-transform: translateY(-50%);   -ms-transform: translateY(-50%);    transform: translateY(-50%);}
#popup1 #frm_subscribe #subscribe_pemail { display:True;   background: #EBEBEB none repeat scroll 0% 0%;    border: medium none;    height: 40px;    width: 65%;    margin: 10px 0 0 0;    padding-left: 15px;}
#popup1 #frm_subscribe #subscribe_date { display:none;   background: #EBEBEB none repeat scroll 0% 0%;    border: medium none;    height: 40px;    width: 65%;    margin: 10px 0 0 0;    padding-left: 15px;}
#popup1 #frm_subscribe #subscribe_month { display:none;   background: #EBEBEB none repeat scroll 0% 0%;    border: medium none;    height: 40px;    width: 65%;    margin: 0px 0 0 0;    padding-left: 15px;}

#popup1 #frm_subscribe #subscribe_first_name { display:none;   background: #EBEBEB none repeat scroll 0% 0%;    border: medium none;    height: 40px;    width: 65%;    margin: 10px 0 0 0;    padding-left: 15px;}
#popup1 #frm_subscribe #subscribe_last_name { display:none;   background: #EBEBEB none repeat scroll 0% 0%;    border: medium none;    height: 40px;    width: 65%;    margin: 10px 0 0 0;    padding-left: 15px;}
#popup1 #frm_subscribe #subscribe_comments { display:none;   background: #EBEBEB none repeat scroll 0% 0%;    border: medium none;    height: 70px;    width: 65%;    margin: 10px 0 0 0;    padding-left: 15px;}

#popup1 #frm_subscribe button {   cursor: pointer;   border: none;    background: #333;    padding: 3px 25px;    text-transform: uppercase;   font-size: 14px;    color: #fff;
    font-weight: 600;    line-height: 34px;    display: inline-block;    border-radius: 0;    letter-spacing: 2px;}
#popup1 .box-content .subscribe-bottom {   margin-top: 0px;}
#popup1 .box-content .subscribe-bottom #cb-approve-loyalty {    display: inline-block;    margin: 0;    vertical-align: middle;    margin-top: -1px;}
#popup1 .box-content .subscribe-bottom label {margin: 0;    font-weight: bold;    max-width: 650px;    display: inline-block;    margin-bottom: 5px;    font-size: 11px;}



.ui-datepicker-calendar {
    display: none;
    }
	
	[type="date"]::-webkit-inner-spin-button {
  display: none;
}
[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

</style>

<!-- <link href="https://fonts.googleapis.com/css?family=Poppins" rel="stylesheet">   -->
<div id="popup1" class="overlay" style="visibility: visible;">
  <div id="popup-container" class="popup" style="background-position: center top; background-repeat: repeat-x; z-index: 1080; background-image: url(&quot;https://aws-static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/pop.png&quot;);"> <a id="popup-close" class="close">×</a>
    <div id="dialog" class="window">
      
      <div class="box">
        <!-- <div class="newletter-title"> -->
          <!-- <h2>Sign up &amp; get 10% off</h2> -->
        <!-- </div> -->
        <div class="box-content newleter-content">
          <!-- <label>Subscribe to our newsletters now and stay up-to-date with new collections, the latest lookbooks and exclusive offers.</label> -->
          <div id="frm_subscribe" style="position: absolute;    bottom: 0;    width: 100%;  left: 0px">
            <form name="subscribe" id="subscribe_popup">
				<div>
					<!-- <span class="required">*</span><span>Email</span>-->

					<input type="text" value="" name="subscribe_first_name" id="subscribe_first_name" data-i18n="[placeholder]First Name" style="text-align:center" placeholder="שם פרטי">

					<input type="text" value="" name="subscribe_last_name" id="subscribe_last_name" data-i18n="[placeholder]Last Name" style="text-align:center" placeholder="שם משפחה">

					<select value="" name="subscribe_month" id="subscribe_month" data-i18n="[placeholder]Birth Month" style="text-align:center" placeholder="חודש לידה">

						<option value="">חודש יום הולדת</option>
						<option value="01">01</option>
						<option value="02">02</option>
						<option value="03">03</option>
						<option value="04">04</option>
						<option value="05">05</option>
						<option value="06">06</option>
						<option value="07">07</option>
						<option value="08">08</option>
						<option value="09">09</option>
						<option value="10">10</option>
						<option value="11">11</option>
						<option value="12">12</option>
						

					</select>

					<input type="text" value="" name="subscribe_pemail" id="subscribe_pemail" data-i18n="[placeholder]Email Address" style="text-align:center" placeholder="כתובת מייל">

					<input type="text" value="" name="subscribe_date" id="subscribe_date" data-i18n="[placeholder]Birthdate" style="text-align:center" placeholder="יום הולדת">


					<textarea id="subscribe_comments" data-i18n="[placeholder]Your Comments" style="resize: none; " placeholder="הערות"></textarea>



					<input type="hidden" value="" name="subscribe_pname" id="subscribe_pname">
					<div id="notification" style="color:red"></div>
					<div class="subscribe-bottom">
					
						<div class="custom-control custom-checkbox custom-control-inline custom-control-right" style="width:90%">
							<input type="checkbox" id="cb-approve-loyalty" style="margin-top:10px">
							<label id="popup_form_consent" style="margin-left: 1px !important;" data-i18n="[html]I approve to receive marketing communication" for="cb-approve-loyalty">בהירשמותי זו אני מאשר/ת לרישום פרטיי במאגר מידע, לרבות לצורך דיוור ישיר של כל דבר פרסומת ועדכונים באמצעי המדיה השונים, לרבות דוא"ל, סמס וכו'</label>
						</div>
					</div>
					<button id="btn-loyalty" class="button" style="cursor: pointer;   border: none;    background: #333;    padding: 3px 25px;    text-transform: uppercase;   font-size: 14px;    color: #fff;
    font-weight: 600;    line-height: 34px;    display: inline-block;    border-radius: 0;    letter-spacing: 2px;"><span data-i18n="Submit">להרשמה</span></button> 
				</div>
            </form>
            
          </div>
          <!-- /#frm_subscribe -->
        </div>
        <!-- /.box-content -->
      </div>
    </div>
  </div>
</div>

<div class="row p-popup-join-link-row" style="display:none">
<hr>
	
	<div class="col">			
		<div class="table-responsive text-center">
		<h6>עדיין לא מאוחר</h6>
		<h6>רוצים תיבת מייל מלאה במבצעים?</h6>
			<table class="table table-borderless table-hover">
				<tbody>
					<tr>
						<td class="text-center">
							<a id="p-popup-join-link-btn" style="background-color:white;color:#0382c4;font-weight:bold">להצטרפות לחץ כאן</a>
						</td>														
					</tr>
				</tbody>
			</table>	
			<hr>
		</div>
	</div>
</div>

<script>

var popup_form_rr = function()
{
	return true
}

var popup_form_allow_communication = true

myEventDispatcher.on('foo', e =>{

	$('#subscribe_date').datepicker({
		dateFormat: "mm/yy",
		changeMonth: true,
		changeYear: false,
		showButtonPanel: true,
		language: 'he'
	});
	
	
	//$('#subscribe_date').val('01/01/1900');

	
	var close_model = function()
	{
		$('.overlay').css('visibility','hidden')
		//$('.overlay').css('opacity',0)
	}
	
	var open_model = function()
	{
		$('.overlay').css('visibility','visible')
		//$('.overlay').css('opacity',1)
	}


	$('#p-popup-join-link-btn').click(function(){ open_model()})
	
	
	$(document).mouseup(function(e) 
	{
		var container = $("#popup-container");

		// if the target of the click isn't the container nor a descendant of the container
		if (!container.is(e.target) && (e.target).id === "popup1") 		
		{			
			close_model()
		}
	});

	$('#popup-close').click(function(){
		//$('#popup1').modal('hide')		
		close_model()
	})

	$('#popup-container').css("background-image", "url(" + BUSINESS_STORAGE_URL_NEW + "pop.png)");
	
	//alert(e.detail.loyaltyID.length)	
	//if(isNullOrEmply(e.detail.loyaltyID) || (e.detail.loyaltyID && e.detail.loyaltyID.length < 3))
	//{
	//	$('#loyalty-modal').modal('show')
	//}
	
	
	
	
	
	/*$.ajax({
		type: 'POST',
		url:API_VERSION + 'loyalty' ,
		data: JSON.stringify({'did': e.detail.id, 'bid': e.detail.businessID}),
        contentType: "application/json",
        dataType: 'json'
		
		}).done(function (r) {
			if(r.display)
				$('#popup1').modal('show')			
		}).fail(function (r) { 					
			$('#popup1').modal('show')
		});	
	*/

	if(e.detail.store.business.aLoyalty )
	{
		if(false)
			$('.p-popup-join-link-row').show()
			
		var p = getUrlParameter('p')
		$.ajax({
			url:API_VERSION + 'loyalty/' + e.detail.id + '?p=' + p,
			
			}).done(function (r) {			
				if(r.display)
					//$('#popup1').modal('show')	
					setTimeout(function(){			
						open_model()
					}, 400);
					
			}).fail(function (r) { 					
				setTimeout(function(){			
					open_model()
				}, 400);
			});	
	}
    //console.log(e.type, e.detail);
	
		$('#btn-loyalty').click(function(event){
		event.preventDefault();
	
	if(!$('#cb-approve-loyalty').is(':checked')) {
		//alert('על מנת להרשם עליך לאשר את תנאי השימוש')
		Swal.fire({
		  //icon: 'error',
		  //title: 'שמחים שברצונך להצטרף !!!',
		  //imageUrl: 'static/r.assets/images/smile.png',
          //imageHeight: 100,
		  //text: 'על מנת להרשם עליך לאשר את תנאי השימוש',
		  text: $.i18n('Please approve the terms and conditions'),
		  //footer: '<a href>נשמח שתמליץ עלינו</a>'
		})
	} else {
		
		
		var fill_first_name = $('#subscribe_first_name').is(':hidden') || !true
		if(!fill_first_name)
		{			
			if ($('#subscribe_first_name').val().trim().length == 0)
			{
				Swal.fire({
				  icon: 'error',				  
				  text: $.i18n('Please fill a valid first name'),
				})
				return
			}			
		}

		var fill_last_name = $('#subscribe_last_name').is(':hidden') || !true
		if(!fill_last_name)
		{			
			if ($('#subscribe_last_name').val().trim().length == 0)
			{
				Swal.fire({
				  icon: 'error',				  
				  text: $.i18n('Please fill a valid last name'),
				})
				return
			}			
		}

		
		var fill_comments = $('#subscribe_comments').is(':hidden') || !true
		if(!fill_comments)
		{			
			if ($('#subscribe_comments').val().trim().length == 0)
			{
				Swal.fire({
				  icon: 'error',				  
				  text: $.i18n('Please fill a valid comments'),
				})
				return
			}			
		}



		var fill_email = $('#subscribe_pemail').is(':hidden') || !true
		if(!fill_email)
		{
			if (!/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test($('#subscribe_pemail').val().trim()))
			{
				Swal.fire({
				  icon: 'error',				  
				  //text: 'אנא הזן כתובת מייל חוקית',	
				  text: $.i18n('Please fill a valid email address'),
				})
				return
			}
		}
	

		var birthday_date = null
		var fill_date = $('#subscribe_date').is(':hidden')
		if(!fill_date)
		{
			// alert($('#subscribe_date').val().trim())
			// alert($('#subscribe_date').val().trim().length)
			if ($('#subscribe_date').val().trim().length == 0)
			{
				Swal.fire({
				  icon: 'error',				  
				  //text: 'אנא הזן תאריך יום הולדת חוקי',
				  text: $.i18n('Please fill a valid birthdate'),
				})
				return
			}
			birthday_date = $('#subscribe_date').val().trim()
		}


		var fill_month = $('#subscribe_month').is(':hidden')
		if(!fill_month)
		{
			// alert($('#subscribe_month').val().trim())
			// alert($('#subscribe_month').val().trim().length)
			if ($('#subscribe_month').val().trim().length == 0)
			{
				Swal.fire({
				  icon: 'error',				  
				  text: $.i18n('Please fill a valid birthdate'),
				})
				return
			}
			birthday_date = '2000-' + $('#subscribe_month').val().trim() + '-01'
		}

		//$.ajax({url:API_VERSION + 'loyalty/' + e.detail.id + '?p=' + p,	})
		
		$('#btn-loyalty').attr('disabled', 'disabled')
		$('#btn-loyalty').prop('disabled', true)		
		$.ajax({
		type: 'PUT',
		url:API_VERSION + 'loyalty' ,
		data: JSON.stringify({'did': e.detail.id
								,'bid': e.detail.businessID
								,'email':$('#subscribe_pemail').val()
								,'name':$('#subscribe_first_name').val()
								,'last_name':$('#subscribe_last_name').val()
								,'birthDate':birthday_date
								,'comments':$('#subscribe_comments').val()
								,'allow_communication': popup_form_allow_communication
								,'rr': popup_form_rr()
							}),
								
        contentType: "application/json",
        dataType: 'json'
		
		})
		
		.done(function (b) {
			
			
			Swal.fire({
			  //icon: 'error',
			  title: $.i18n('Thank you for join'),
			  imageUrl: BUSINESS_STORAGE_URL_NEW + LOGO_FILE,
			  imageHeight: 100,
			  text: $.i18n('You will be the first to get personal benefits'),
			  footer: '<a href="' + e.detail.store.business.linkFacebook + '">' + $.i18n('Please share') +'</a>'
			})
			//alert('תודה פרטיך עודכנו בהצלחה')			
		})
		.fail(function (e) {
			console.log('Error Getting business : ' + e)
			//$('#modal').modal({backdrop: 'static', keyboard: false})
			//setlanguage('en')
		})
		.always(function () {			
			$('#btn-loyalty').removeAttr('disabled');
			
			close_model()
		});		
	}
  })
});

</script>
	
	
	<div class="row">
	<div class="col mx-auto text-center">
		<div id="p-place-holder-note">
		</div>
	</div>
</div>

<div class="row" id="p-feature-row-note">
	<div class="col mx-auto text-center" style="margin-top:10px;margin-button:10px important">
		

<p id="document-notes" style="text-align: right; font-family: monospace; font-weight: bold; font-size: 11px;">המשביר חוצות כר<br>מס. כספיט: 6329565<br>תוכנה: CST001665T<br>מספר עסק: 4554051<br>13:33  05/11/24<br>יורוקרד מסטרקרד<br>552517XXXXXX9214<br>מס' שובר: 17006006<br>עסקה: חובה<br>4696658 חברה<br>ביצוע: חכם<br>אשראי: רגיל<br>סכום עיסקה:<br>648.94<br>מטבע: ש"ח<br>UID:24110513331163295650064<br>RRN:431013696658<br>ATC:000C,CSN:00,TSI:E800,ARC:3030<br>TVR:0000008000<br>AID:A0000000041010<br>PIN by Verified<br>*** עותק ללקוח ***<br>תודה ולהתראות!<br><br><br></p>

<p id="note-feature-content" data-i18n="[html]Disclaimer Note" style="text-align:right;font-family:monospace">  </p>

<script>

myEventDispatcher.on('foo', e =>{
	
	if (e.detail.notes && e.detail.notes.length > 3)
	{
		$('#document-notes').html(e.detail.notes)
		$('#document-notes').show()
	}

});

</script>


	</div>
</div>		



	
	
	
		<style>
.center {
  
}

.buttons {
    Xpadding-left: 0px ;
    padding: 0px !important;
    margin: 0px;
}    

.buttons li {
    display: inline-block ;
  }
    
#buttons-test {
  display: table-cell ; 
  vertical-align: middle  ;
  text-align: center ;
  font-size: 14px ;
 
}
    
.buttons-li-a {
    Xmargin: 0 auto;
    color: rgba(0, 0, 0, 0.6);
	background-color:#FFF;
    border-radius: 0px ;
    list-style-type: none;
    display: inline-block ;
    
    height: 47 ;
    padding-top:10px !important;
    padding: 1% ;
    border: 1px solid rgba(0, 0, 0, 0.6) ;
    cursor: pointer ;
    margin: 10px ;
    
    text-align: center;
	vertical-align: middle;
	font-weight:bold;
  }

.buttons-li-a:hover {
      color: rgba(0, 0, 0, 1) ;
      border: 1px solid rgba(0, 0, 0, 1) ;
    }
    
.buttons:hover > li {
  opacity: 0.5 ;
}

.buttons:hover > li:hover {
  opacity: 1 ;
}
    
    .mymy{
        margin-top: 14px;
    }

</style>

<div class="" style=" width: 100%;  margin: 0 auto; text-align: center">
    
<div style="display: none; width: 100%;">
    
  <div id="buttons-test">
  <ul id="buttons-con7" class="buttons">
    
  <li style="width:47.5%"><a style="width: 90%; border: 0px; color: rgb(0, 123, 255);" class=" btn buttons-li-a" href="https://bit.ly/webmashcontact">צור קשר עם שרות לקוחות </a></li><li style="width:47.5%"><a style="width: 90%; border: 0px; color: rgb(0, 123, 255);" class=" btn buttons-li-a" href="https://365mashbir.co.il/pages/%D7%94%D7%97%D7%96%D7%A8%D7%95%D7%AA-%D7%97%D7%99%D7%A0%D7%9D?utm_source=pairzon&amp;utm_medium=invoice&amp;utm_campaign=returns">החזרות חינם עם שליח </a></li></ul>
  </div>
</div>
    
</div>	
    <!-- <hr /> -->


<script>

myEventDispatcher.on('foo', e =>{
	counter = 0;
	var links = ['https://bit.ly/webmashcontact', 'https://365mashbir.co.il/pages/%D7%94%D7%97%D7%96%D7%A8%D7%95%D7%AA-%D7%97%D7%99%D7%A0%D7%9D?utm_source=pairzon&utm_medium=invoice&utm_campaign=returns']
	var labels = ['צור קשר עם שרות לקוחות ', 'החזרות חינם עם שליח ']
	
	var width = 95 / links.length
	
	for(var l in links)
	{
		//alert(links[l])
		$("#buttons-con7").append('<li  style="width:' + width + '%"><a style="width:90%" class=" btn buttons-li-a" href="' + links[l] + '">' + labels[l] + '</a></li>');
	}
});

</script>

	

    

<div class="row">

	<div class="col mx-auto text-center" style="margin-top:10px;margin-button:10px">
		<a class="privacy-link" href="https://bit.ly/mashpriv"><h6 data-i18n="Privary">תנאי שימוש ופרטיות</h6></a>        
	</div>
	<div class="col mx-auto text-center" style="margin-top:10px;margin-button:10px">
		<a class="p-return-policy-link" href="https://aws-static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/return.png"><h6 data-i18n="Return Policy">מדיניות החזרת המוצרים</h6></a>        
	</div>
</div>	



<script>

myEventDispatcher.on('foo', e =>{
	
    $('.privacy-link').attr('href', e.detail.store.business.linkPrivacy)
	$('.p-return-policy-link').attr('href', BUSINESS_STORAGE_URL_NEW + "return.png" )
	


});

</script>

	
	<!-- <div id="footer-main" class="row" style=" background: #333;    position: fixed;    left: 0;    right: 0;    bottom: 0;    height: 47px; color:"> -->
<!-- <table  class="table table-borderless table-hover">						 -->
	<!-- <tbody> -->
		<!-- <tr class="">								 -->
				<!-- <span class="" style="color:white;white;font-size:9px">לאתר זה משתמש בעוגויות לצורך הזדהות והתאמת התוכן שיוצג ברשת, בהתאם לתנאי <a id="footer-privacy-link">השימוש והפרטיות</a></span> -->
			<!-- </td> -->
			<!-- <td> -->
			
			<!-- <td class="text-right"> -->
				<!-- <button type="button" id="btn-footer-privcy" class="btn btn-primary " style="background-color:white;color:#0382c4;Xfont-weight:bold;font-size:9px">אני&nbsp;מסכים</button> -->
			<!-- </td>							 -->
		<!-- </tr> -->
	<!-- </tbody> -->
<!-- </table> -->
<!-- </div> -->

<script>

myEventDispatcher.on('foo', e =>{
	
    $('#footer-privacy-link').attr('href', e.detail.store.business.linkPrivacy)
	
	$('#btn-footer-privcy').click(function (){	
		$('#footer-main').hide()	
	})
	
	setTimeout(function() {
	
	$('body').ihavecookies({
	  title:  $.i18n('Terms and Privacy'),
	  message:$.i18n('Cookies enable us to personalize your experience on our website'),
	  link:e.detail.store.business.linkPrivacy,
	  moreInfoLabel: $.i18n('Terms and Privacy'),
      acceptBtnLabel: $.i18n('Accept Cookies'),
      advancedBtnLabel:  $.i18n('More information'),
	  cookieTypesTitle: $.i18n('Select cookies to accept'),
	  fixedCookieTypeLabel: $.i18n('Necessary'),
	  fixedCookieTypeDesc:  $.i18n('These are cookies that are essential for the website to work correctly.'),
	   uncheckBoxes:false,
      cookieTypes: [      
      /*{
          type: 'ניתוח תעבורת האתר',
          value: 'Analytics',
          description: 'Cookies related to site visits, browser types, etc.'
      },*/
      {
          type: $.i18n('Marketing'), 
          value: 'marketing',
          description:  $.i18n('Cookies related to marketing, Not Spam'), 
      }
	],
	});

	}, 1500);

	

});

</script>


	
	<script>
	
	
	myEventDispatcher.on('foo', e =>
	{
	
	
	var resource_url = 'https://static.pairzon.com/f39d16c1-506b-4325-b936-9a95f73693f1/'
	
		$('#buttons-con19 li a').css('height' , '65px')
		$('#buttons-con20 li a').css('height' , '65px')
		$('#buttons-con7 li a').css('border', '0px')
		$('#buttons-con7 li a').css('color', '#007BFF')
		var shipping_true = null;
		
	if(e.detail.storeInternalID == '60')
		{
			$('#buttons-con19').parent().parent().hide()
			$('#header-logo').attr("src",  resource_url + "web-logo.png"); 
			$('.py-3').css("background-color",  "#000")
			//$('.py-3').css("padding",  "4 8 4 8")
			//$('.py-3').css("padding-top",  "4px", "!important");
			$('.py-3').attr('style','background-color:black;padding:4 8 4 8;padding-top:2 !important;padding-bottom: 4 !important;max-width: 500px;')
			$('.p-return-policy-link').attr("href",  "https://bit.ly/mashwebrtrn");
			$('.privacy-link').attr("href",  "https://365mashbir.co.il/pages/privacy-policy");	
			$('#banner_n-img11').attr("src",  resource_url + "web-bg.jpg");
			$('#banner-main').attr("src",  resource_url + "web-banner.jpg"); 	
			
			/*
			if(e.detail.transactionID == '11111')
			{
				
				$('#popup-container').attr('style', 'background-position: center top; background-repeat: repeat-x; z-index: 1080; background-image: url("' + resource_url + 'web-popup1.jpg' + '");')
				$('#subscribe_pemail').attr('style','display: True;background: #EBEBEB none repeat scroll 0% 0%;border: medium none;height: 40px;width: 65%;margin: 10px 0 0 0;padding-left: 15px;margin-bottom: 5;')
				$('#popup_form_consent').attr('style','text-align:right;font-size:13px;color: white !important; line-height:15px;')
				$('#btn-loyalty').attr('style', 'background-color: #fff;color: #000;Xfont-weight:bold;border: 0px solid;width: 183px;padding:5 30 5 30')
			}
			else if(e.detail.transactionID == '22222')
			{
				
				$('#popup-container').attr('style', 'background-position: center top; background-repeat: repeat-x; z-index: 1080; background-image: url("' + resource_url + 'web-popup2.jpg' + '");')
				$('#subscribe_pemail').attr('style','display: True;background: #EBEBEB none repeat scroll 0% 0%;border: medium none;height: 40px;width: 65%;margin: 10px 0 0 0;padding-left: 15px;margin-bottom: 5;')
				$('#popup_form_consent').attr('style','text-align:right;font-size:13px;color: black !important; line-height:15px;')
				$('#btn-loyalty').attr('style', 'background-color: #89c263;color: #fff;Xfont-weight:bold;border: 0px solid;width: 183px;padding:5 30 5 30')
			}
			else if(e.detail.transactionID == '33333')
			{	
				
				$('#popup-container').attr('style', 'background-position: center top; background-repeat: repeat-x; z-index: 1080; background-image: url("' + resource_url + 'web-popup3.jpg' + '");')
				$('#subscribe_pemail').attr('style','display: True;background: #EBEBEB none repeat scroll 0% 0%;border: medium none;height: 40px;width: 65%;margin: 10px 0 0 0;padding-left: 15px;margin-bottom: 5;')
				$('#popup_form_consent').attr('style','text-align:right;font-size:13px;color: white !important; line-height:15px;')
				$('#btn-loyalty').attr('style', 'background-color: #fff;color: #000;Xfont-weight:bold;border: 0px solid;width: 183px;padding:5 30 5 30')
			}
			else
			{
				$('#popup-container').attr('style', 'background-position: center top; background-repeat: repeat-x; z-index: 1080; background-image: url("' + resource_url + 'web-popup.jpg' + '");')
				$('#subscribe_pemail').attr('style','display: True;background: #EBEBEB none repeat scroll 0% 0%;border: medium none;height: 40px;width: 65%;margin: 10px 0 0 0;padding-left: 15px;margin-bottom: 35;')
				$('#popup_form_consent').attr('style','text-align:right;font-size:13px;color: black !important; line-height:15px;')
				$('#btn-loyalty').attr('style', 'background-color: #89c263;color: #fff;Xfont-weight:bold;border: 0px solid;width: 183px;padding:5 30 5 30')
			}
			*/
			$('#popup-container').attr('style', 'background-position: center top; background-repeat: repeat-x; z-index: 1080; background-image: url("' + resource_url + 'web-popup.jpg' + '");')
			$('#subscribe_pemail').attr('style','display: True;background: #EBEBEB none repeat scroll 0% 0%;text-align: center;height: 40px;width: 65%;margin: 10px 0 0 0;padding-left: 15px;')
			$('#popup_form_consent').attr('style','text-align:right;font-size:13px;color: white !important; line-height:15px;')
			$('#btn-loyalty').attr('style', 'background-color: #fff;color: #000;Xfont-weight:bold;border: 0px solid;width: 221.65px;height: 40;padding:5 30 5 30')
			$('#cb-approve-loyalty').attr( "style" , "margin-left: 15;")
			$('#popup-close').attr( "style" , "line-height: 35px; !important")
			$('#download-button8').text('להורדת חשבונית המס')
			$('#download-button8').attr('id', 'download-button1')			
			
			
			try {
			
				$('h4.p-doc-type')	
				
				$('#btn-loyalty').html('להרשמה')
				$('h6.p-store-phone:first').before ("<h6> נתקלתם בבעיה ? או סתם שאלה ? אנחנו זמינים כאן ! </h6>")
								
				
				} catch {
		
						}
					//$('#banner-main').parent().attr('href', 'https://bit.ly/3fd7n7B')
					$('#banner-main').parent().attr('href', 'https://365mashbir.co.il/?utm_source=pairzon&utm_medium=invoice&utm_campaign=sale_banner')									
					$.each(e.detail.additionalInfo, function (i, additionalinfo) 
					{					
						if(additionalinfo.key.includes('הזמנה'))
						{
															 
															setTimeout(function(){ 
								$('.p-doc-type').text('ההזמנה שלך: ' + additionalinfo.value.replace('@', ''))
								
																			 }, 2000);	 
						}
						
						
						if(additionalinfo.key.includes('חברת שליחויות'))
						{
							
							shipping_true = additionalinfo.value.replace('@', '')
																								 
						}
															
					});	
						if (shipping_true)
							{
								$('#buttons-con20').find('li').eq(0).html('<a style="width:90%" class=" btn buttons-li-a" href="' + shipping_true + '">ההזמנה בדרך אליך, למעקב לחץ כאן>></a>');
							}
						else
						{
							$('#buttons-con20').parent().parent().hide()
						}

								
				
		}
		if(e.detail.storeInternalID == '20')
		{
			
			$('#buttons-con7').parent().parent().hide()
			$('#buttons-con20').parent().parent().hide()
			$('#download-button8').parent().parent().parent().hide()
			
			if(e.detail.posInternalID > "0" && e.detail.posInternalID < "5")
			{
				
				$('#header-logo').attr("src",  resource_url + "beauty-logo.png"); 
				$('.py-3').css("background-color",  "#9c2d34")
				//$('.py-3').css("padding",  "4 8 4 8")
				//$('.py-3').css("padding-top",  "4px", "!important");
				$('.py-3').attr('style','background-color: #9c2d34;padding:4 8 4 8;padding-top:2 !important;padding-bottom: 4 !important;max-width: 500px;')
				$('#banner_n-img11').attr("src",  resource_url + "beauty-bg.jpg");
				$('#banner-main').attr("src",  resource_url + "beauty-banner.png"); 
				$('#popup-container').attr('style', 'background-position: center top; background-repeat: repeat-x; z-index: 1080; background-image: url("' + resource_url + 'beauty-pop.png' + '");')
				//$('#subscribe_pemail').attr('style','display: True;background: #EBEBEB none repeat scroll 0% 0%;text-align: center;height: 40px;width: 65%;margin: 10px 0 0 0;padding-left: 15px;')
				//$('#popup_form_consent').attr('style','text-align:right;font-size:13px;color: white !important; line-height:15px;')
				//$('#btn-loyalty').attr('style', 'background-color: #fff;color: #000;Xfont-weight:bold;border: 0px solid;width: 221.65px;height: 40;padding:5 30 5 30')
				//$('#cb-approve-loyalty').attr( "style" , "margin-left: 15;")
				$('#popup-close').attr( "style" , "line-height: 35px; !important")
										
				$('#btn-loyalty').attr('style', 'background-color: #cdaf3f;color: #FFF;Xfont-weight:bold;border: 0px solid;width: 183px;margin-bottom: 20px;margin-top: 20px;padding:5 30 5 30')
				
			}
			else if(e.detail.posInternalID == "5" || e.detail.posInternalID == "6")
			{
				
				$('#header-logo').attr("src",  resource_url + "eitam-logo.png"); 
				$('.py-3').css("background-color",  "#000")
				//$('.py-3').css("padding",  "4 8 4 8")
				//$('.py-3').css("padding-top",  "4px", "!important");
				$('.py-3').attr('style','background-color:black;padding:4 8 4 8;padding-top:2 !important;padding-bottom: 4 !important;max-width: 500px;')
				$('#banner_n-img11').attr("src",  resource_url + "eitam-bg.jpg");
				$('#banner-main').attr("src",  resource_url + "eitam-banner.png"); 
				$('#popup-container').attr('style', 'background-position: center top; background-repeat: repeat-x; z-index: 1080; background-image: url("' + resource_url + 'eitam-pop.png' + '");')
				//$('#subscribe_pemail').attr('style','display: True;background: #EBEBEB none repeat scroll 0% 0%;text-align: center;height: 40px;width: 65%;margin: 10px 0 0 0;padding-left: 15px;')
				//$('#popup_form_consent').attr('style','text-align:right;font-size:13px;color: white !important; line-height:15px;')
				//$('#btn-loyalty').attr('style', 'background-color: #fff;color: #000;Xfont-weight:bold;border: 0px solid;width: 221.65px;height: 40;padding:5 30 5 30')
				//$('#cb-approve-loyalty').attr( "style" , "margin-left: 15;")
				$('#popup-close').attr( "style" , "line-height: 35px; !important")
										
				$('#btn-loyalty').attr('style', 'background-color: #ed3140;color: #FFF;Xfont-weight:bold;border: 0px solid;width: 183px;margin-bottom: 20px;margin-top: 20px;padding:5 30 5 30')
			}			
			else
			{
				
				$('#header-logo').attr("src",  resource_url + "kenneth-logo.png"); 
				$('.py-3').css("background-color",  "#000")
				//$('.py-3').css("padding",  "4 8 4 8")
				//$('.py-3').css("padding-top",  "4px", "!important");
				$('.py-3').attr('style','background-color:black;padding:4 8 4 8;padding-top:2 !important;padding-bottom: 4 !important;max-width: 500px;')
				$('#banner_n-img11').attr("src",  resource_url + "kenneth-bg.jpg");
				$('#banner-main').attr("src",  resource_url + "kenneth-banner.png"); 
				$('#popup-container').attr('style', 'background-position: center top; background-repeat: repeat-x; z-index: 1080; background-image: url("' + resource_url + 'kenneth-pop.png' + '");')
				//$('#subscribe_pemail').attr('style','display: True;background: #EBEBEB none repeat scroll 0% 0%;text-align: center;height: 40px;width: 65%;margin: 10px 0 0 0;padding-left: 15px;')
				//$('#popup_form_consent').attr('style','text-align:right;font-size:13px;color: white !important; line-height:15px;')
				//$('#btn-loyalty').attr('style', 'background-color: #fff;color: #000;Xfont-weight:bold;border: 0px solid;width: 221.65px;height: 40;padding:5 30 5 30')
				//$('#cb-approve-loyalty').attr( "style" , "margin-left: 15;")
				$('#popup-close').attr( "style" , "line-height: 35px; !important")
										
				$('#btn-loyalty').attr('style', 'background-color: #000;color: #FFF;Xfont-weight:bold;border: 0px solid;width: 183px;margin-bottom: 20px;margin-top: 20px;padding:5 30 5 30')
			}
									
			try {
			
				} catch {
		
						}
						
		}
		else
		{	
			if(e.detail.storeInternalID == '80')
			{
				$('#header-logo').attr("src",  resource_url + "logo-80.png");
			}
			else
			{
				$('#header-logo').attr("src",  resource_url + "logo-offline.png");
			}
			
			$('#banner_n-img11').attr("src",  resource_url + "bg.jpg"); 
			$('#buttons-con7').parent().parent().hide()
			$('#buttons-con20').parent().parent().hide()
			$('#download-button8').parent().parent().parent().hide()
		}
	
		
		$('.a-name').each(function(){
			if($(this).text().includes('חשבונית'))
			{
				$(this).parent().parent().hide()
			}
			if($(this).text().includes('במקור'))
			{
				
				$(this).attr('style', 'font-size:15px;font-weight:bold;padding-right: 20px;text-align: center;')
			}
			
			/*
			if($(this).text().includes('חברת שליחויות'))
			{
				$(this).parent().parent().hide()
			}*/
		})
		
		
		
		var _temp_dup = {}
		
		$('.a-name').each(function(){
			
			if (_temp_dup[$(this).text()])
			{
				$(this).parent().parent().hide()			
			}
			else
			{
				_temp_dup[$(this).text()] = true 
			}
		})
		
		if(e.detail.documentType == 'refund')
				{		
					
					var dd = $('.p-datetime').text()
					var dd_a = dd.split(' ')
					var tt_a = dd_a[0].split('-')
					var new_dd = tt_a[2] + '-' +tt_a[1] + '-'+ tt_a[0]
									
					var dateArray = new_dd.split("-");
					var originalDate = new Date(dateArray[2], dateArray[1] - 1, dateArray[0]);

					// Add 2 years to the Date object
					var newDate = new Date(originalDate);
					newDate.setFullYear(newDate.getFullYear() + 2);

					// Format the new date to "dd-mm-yyyy"
					var day = newDate.getDate();
					var month = newDate.getMonth() + 1;
					var year = newDate.getFullYear();

					var formattedDate = (day < 10 ? '0' : '') + day + '-' + (month < 10 ? '0' : '') + month + '-' + year;
					
					var ref_num = ''
					var mess1 = 'הזיכוי בתוקף עד:'
											
					
					$('.p-name').each(function(){
			
						if($(this).text().includes('זיכוי הנפקה'))
						{
							
							var ref_num = $( this ).next().text()
							$( this ).next().html(ref_num + '<br/>' + mess1 + ' ' + formattedDate)
						}
								
					})
					
				}
			
	});

</script>	
	
	
	

			
			<div class="row">
				<div class="col mx-auto text-center" style="Xmargin-top:10px;margin-bottom:10px">
					<a class="powered-by-link" style="font-size:10px" href="https://www.pairzon.com">™Powered By Pairzon AI ©</a>   <img style="height:13px" src="/favicon.ico"> 
				</div>
			</div>	
		</div>
	</div>
  
	<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
	<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js"></script>
	<script src="https://cdn.jsdelivr.net/jsbarcode/3.6.0/JsBarcode.all.min.js"></script>
	<script src="/static/r.assets/js/jquery.loading.js"></script>
	<script src="/static/r.assets/js/locale/jquery.i18n.js"></script>
	<script type="text/javascript" id="" charset="">myEventDispatcher.on("tag-loader",function(e){console.log("Tag for id:"+e.detail.id);try{ga("create","UA-165921445-1");var b={};$.each(e.detail.items,function(a,c){if("0897b131-ccfa-4980-b641-daabc940cb0e"==e.detail.businessID){a=null;var g=c.code&&1<c.code.length?c.code.charAt(0):"";switch(g){case "1":a="\u05e0\u05e9\u05d9\u05dd";break;case "2":a="\u05d2\u05d1\u05e8\u05d9\u05dd";break;case "3":a="\u05d1\u05e0\u05d9\u05dd";break;case "4":a="\u05d1\u05e0\u05d5\u05ea";break;case "5":a="\u05d0\u05d1\u05d9\u05d6\u05e8\u05d9\u05dd"}a&&
(a in b||(b[a]=0),b[a]+=c.price)}"21a8e337-4ec3-4c59-a358-c977e51dcbce"==e.detail.businessID&&c.code.includes("1111-007")&&(b["1111007"]=c.price);$.each(c.category,function(h,d){isNaN(parseFloat(d))&&d&&2<d.length&&(d in b||(b[d]=0),b[d]+=c.price)})});for(var f in b)ga("send",{hitType:"event",eventCategory:f,eventAction:"category",eventLabel:e.detail.businessID,eventValue:parseInt(b[f])}),console.log(f+":"+b[f])}catch(a){console.log("Error message: "+a)}});</script>	<script src="/static/r.assets/js/locale/jquery.i18n.language.js"></script>
	<script src="/static/r.assets/js/locale/jquery.i18n.fallbacks.js"></script>
	<script src="/static/r.assets/js/locale/jquery.i18n.language.js"></script>
	<script src="/static/r.assets/js/locale/jquery.i18n.messagestore.js"></script>
	<script src="/static/r.assets/libs/sweetalert2/sweetalert2.min.js"></script>
	<script src="/static/r.assets/js/main.js?2219"></script>
	<script src="/static/r.assets/libs/jquery.ihavecookies/jquery.ihavecookies.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js" integrity="sha512-T/tUfKSV1bihCnd+MxKD0Hm1uBBroVYBOYSk1knyvQ9VyZJpc/ALb4P0r6ubwVPSGB2GvjeoMAJJImBG12TiaQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
	<script src="/static/r.assets/js/open-accessibility.min.js"></script>
	

	<div id="custom-overlay" class="loading-hidden" style="position: fixed; z-index: 2; top: 0px; left: 0px; width: 100%; height: 100%; display: none;">
		<div class="loader">Loading...</div>
	</div>

<div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" data-i18n="Error Loading Document">שגיאה בטעינת החשבונית</h5>
        
      </div>
      <div class="modal-body">        
	  <p class="text-left" data-i18n="Document not exist">המסמך שחיפשת אינו קיים אנא פנה לשירות הלקוחות</p>
    </div>
  </div></div></div>
<!-- </div> -->

<!-- Google tag (gtag.js) -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-911NQZ88MH"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-911NQZ88MH');
</script>



<script>

	myEventDispatcher.on('tag-loader', function(e) {
		console.log('Tag for id:' + e.detail.id)
	   
	 try {		
		gtag('config', 'G-911NQZ88MH');
	 	gtag('event', 
	 		'store_visit', 
			{
				'event_category': e.detail.storeID,
				'event_label': e.detail.businessID,
				'value': parseInt(e.detail.total)
			});

		var cat_arr = {}
		$.each(e.detail.items, function (i, item) 		
		{
	
			$.each(item.category, function (c, cat) 		
			{
			  if(  isNaN(parseFloat(cat))  && (cat && cat.length > 2))
				{
					if (!(cat in cat_arr))
					{
						cat_arr[cat] = 0;
					}
				
					cat_arr[cat] += item.price;
				}
			})
		});
		

		for (var cc in cat_arr) {
		
			/*ga('send', {
				  hitType: 'event',
				  eventCategory: cc,
				  eventAction: 'category',
				  eventLabel: e.detail.businessID,
				  eventValue:parseInt(cat_arr[cc])
				});*/

				gtag('event',
				'category', {
					'event_category': cc,
					'event_label': e.detail.businessID,
					'value': parseInt(cat_arr[cc])
				});
				
		
		  console.log(cc + ':' + cat_arr[cc]);
		}
	   
	  }
	catch(error) {
		
		console.log('Error message: ' + error);  
	}
	  
	   
	  
	  
	  
	});
	
	</script>	


</body></html>