@assaabloy/amarr-wc-read-a-review 5.0.8 → 5.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/read-a-review.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assaabloy/amarr-wc-read-a-review",
3
- "version": "5.0.8",
3
+ "version": "5.0.9",
4
4
  "description": "Web component - Read-a-review",
5
5
  "type": "module",
6
6
  "main": "read-a-review.js",
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "author": "Nagarro",
13
13
  "license": "MIT",
14
- "gitHead": "a7eddb27e01514b3f9310d1c9d8759de8d1cfbed"
14
+ "gitHead": "dc76ce6f38b4f87f3a4125de9c9dc747deeadcb5"
15
15
  }
package/read-a-review.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var a,i,c=t[0],l=t[1],d=t[2],u=0,p=[];u<c.length;u++)i=c[u],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&p.push(r[i][0]),r[i]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(s&&s(t);p.length;)p.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,c=1;c<n.length;c++){var l=n[c];0!==r[l]&&(a=!1)}a&&(o.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},r={84:0},o=[];function i(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var c=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var d=0;d<c.length;d++)t(c[d]);var s=l;o.push([653,0]),n()}({0:function(e,t){e.exports=React},1:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"gb",(function(){return o})),n.d(t,"y",(function(){return i})),n.d(t,"i",(function(){return c})),n.d(t,"M",(function(){return l})),n.d(t,"P",(function(){return d})),n.d(t,"w",(function(){return s})),n.d(t,"K",(function(){return u})),n.d(t,"p",(function(){return p})),n.d(t,"s",(function(){return m})),n.d(t,"R",(function(){return f})),n.d(t,"Q",(function(){return h})),n.d(t,"bb",(function(){return b})),n.d(t,"N",(function(){return g})),n.d(t,"v",(function(){return x})),n.d(t,"h",(function(){return w})),n.d(t,"u",(function(){return v})),n.d(t,"A",(function(){return A})),n.d(t,"x",(function(){return U})),n.d(t,"L",(function(){return M})),n.d(t,"t",(function(){return y})),n.d(t,"cb",(function(){return k})),n.d(t,"r",(function(){return D})),n.d(t,"S",(function(){return O})),n.d(t,"O",(function(){return N})),n.d(t,"db",(function(){return S})),n.d(t,"n",(function(){return L})),n.d(t,"k",(function(){return j})),n.d(t,"o",(function(){return C})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return T})),n.d(t,"D",(function(){return W})),n.d(t,"W",(function(){return z})),n.d(t,"z",(function(){return R})),n.d(t,"eb",(function(){return I})),n.d(t,"fb",(function(){return Z})),n.d(t,"b",(function(){return $})),n.d(t,"Z",(function(){return H})),n.d(t,"F",(function(){return J})),n.d(t,"a",(function(){return F})),n.d(t,"hb",(function(){return G})),n.d(t,"d",(function(){return V})),n.d(t,"f",(function(){return K})),n.d(t,"e",(function(){return q})),n.d(t,"kb",(function(){return Y})),n.d(t,"c",(function(){return B})),n.d(t,"ib",(function(){return Q})),n.d(t,"jb",(function(){return X})),n.d(t,"T",(function(){return ee})),n.d(t,"U",(function(){return te})),n.d(t,"V",(function(){return ne})),n.d(t,"X",(function(){return ae})),n.d(t,"Y",(function(){return re})),n.d(t,"q",(function(){return oe})),n.d(t,"ab",(function(){return ie})),n.d(t,"C",(function(){return ce})),n.d(t,"J",(function(){return le})),n.d(t,"j",(function(){return de})),n.d(t,"E",(function(){return se})),n.d(t,"H",(function(){return ue})),n.d(t,"I",(function(){return pe})),n.d(t,"G",(function(){return me})),n.d(t,"B",(function(){return he}));var a=n(4),r=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},o=function(e){return btoa(unescape(encodeURIComponent(e)))},i=function(e){return o(JSON.stringify(e))},c=function(e){return e.toUpperCase()},l=function(e){return e.replaceAll(" ","-").toLowerCase()},d=new a.a(!1),s=new a.a(!1),u=new a.a(!1),p=new a.a(!1),m=new a.a(""),f=new a.a(!1),h=new a.a(!1),b=new a.a(!1),g=new a.a(!1),x=new a.a(!1),w=new a.a(!1),v=new a.a(""),A=new a.a(!0),U=new a.a(!0),M=new a.a(!0),y=new a.a(!0),k=new a.a(!0),D=new a.a(!0),O=new a.a({}),P=new a.a(!1),E=0,N=new a.a(!1),S=new a.a(""),L=new a.a(""),j=new a.a(""),C=new a.a(""),_=new a.a(""),T=new a.a(""),W=new a.a(""),z=new a.a(""),R=new a.a(!1),I=new a.a(!1),Z=new a.a(!1),$=(new a.a(!1),new a.a(!1),new a.a({flag:!1}),function(){setTimeout((function(){E++,P.next(!0)}),0)}),H=function(){setTimeout((function(){E>0&&E--,0==E&&P.next(!1)}),0)},J=function(){return P.asObservable()},F=function(e){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},G=function(e){var t=0;return!!/(?=.{8,})/.test(e)&&(/([a-z])/.test(e)&&t++,/([A-Z])/.test(e)&&t++,/(\d)/.test(e)&&t++,/([!@#$%^&*])/.test(e)&&t++,!(t<3))},V=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},K=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},q=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},Y=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},B=function(e){return/^[0-9]*$/.test(e)},Q=function(e){return new RegExp("^[0-9]+[.][0-9]{0,2}$").test(e)},X=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},ee=function(e){if(e&&""!==e&&-1===e.indexOf("(")&&-1===e.indexOf(") ")&&-1===e.indexOf("-")){return"("+e.substring(0,3)+") "+e.substring(3,6)+"-"+e.substring(6,e.length)}return e},te=function(e){var t=(""+e).replace(/\D/g,"");if(t.length>10){var n=(t=t.slice(0,10)).match(/^(\d{3})(\d{3})(\d{4})$/);if(n)return"("+n[1]+") "+n[2]+"-"+n[3]}var a="";return t.split("").forEach((function(e,t){a+=0==t?"("+e:2==t?e+") ":5==t?e+"-":e})),a},ne=function(e){var t=e.target.value;return 1==t.length?"("+t:5==t.length?t.slice(0,t.length-1)+") "+t[t.length-1]:10==t.length&&"-"!==t[t.length-1]?t.slice(0,t.length-1)+"-"+t[t.length-1]:10==t.length&&"-"===t[t.length-1]?t.substring(0,t.length-1):6==t.length?t.substring(0,t.length-2):t},ae=function(e){return e&&(e=Number(e).toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==e&&"0"!==e||(e=e.toFixed(2)),e},re=function(e,t){return e=e?Number(e):0,(0===(t=t?Number(t):0)||"0"===t?0:(e-t)/t*100).toFixed(2)},oe=function(e){var t={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:e.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:e.selectedHeight,glass:e.selectedGlass,collection:e.selectedCollection,print:!0,baseUrl:"",gplacement:e.selectedWindowPlacement,width:e.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return e.selectedColor&&(t.color=e.selectedColor),e.colorHex&&(t.colorHex=e.colorHex),e.colorZone&&(t.colorZone=e.colorZone),e.selectedConstruction&&(t.model=e.selectedConstruction),e.selectedWindowDesign&&(t.top=e.selectedWindowDesign),e.glazepattern&&(t.glazepattern=e.glazepattern),e.selectedHardware&&(t.hardware=e.selectedHardware),t},ie=function(e,t,n){var a="",r=e.split(t);return r.forEach((function(e,t){"undefined"!==e&&e&&(a+=e,t!==r.length-1&&(a+=n))})),a},ce=function(e){return e.length>0?e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,""):e};function le(e,t){var n=t||"html",a=e;return n||(n="html"),"html"==n&&(a=function(e){var t,n,a,i,c,s=e,u="";t=r(s,"&lt;!--","--&gt;",l,"W3HTMLCOMMENTPOS"),s=t.rest;for(;s.indexOf("&lt;")>-1;)i="",n=s.indexOf("&lt;"),"&LT;STYLE"==s.substr(n,9).toUpperCase()&&(i="css"),"&LT;SCRIPT"==s.substr(n,10).toUpperCase()&&(i="javascript"),-1==(a=s.indexOf("&gt;",n))&&(a=s.length),u+=s.substring(0,n),u+=o(s.substring(n,a+4)),s=s.substr(a+4),"css"==i&&(a=s.indexOf("&lt;/style&gt;"))>-1&&(u+=d(s.substring(0,a)),s=s.substr(a)),"javascript"==i&&(a=s.indexOf("&lt;/script&gt;"))>-1&&(u+=m(s.substring(0,a)),s=s.substr(a));for(s=u+s,c=0;c<t.arr.length;c++)s=s.replace("W3HTMLCOMMENTPOS",t.arr[c]);return s}(a)),"css"==n&&(a=d(a)),"js"==n&&(a=m(a)),a;function r(e,t,n,a,r){for(var o,i,c="",l=[];e.search(t)>-1;)o=e.search(t),-1==(i=e.indexOf(n,o))&&(i=e.length),r?(l.push(a(e.substring(o,i+n.length))),e=e.substring(0,o)+r+e.substr(i+n.length)):(c+=e.substring(0,o),c+=a(e.substring(o,i+n.length)),e=e.substr(i+n.length));return{rest:c+e,arr:l}}function o(e){for(var t,n,a,r=e,o="";r.search(/(\s|<br>)/)>-1;)t=r.search(/(\s|<br>)/),-1==(n=r.indexOf("&gt;"))&&(n=r.length),o+=r.substring(0,t),o+=i(r.substring(t,n)),r=r.substr(n);return"&gt;"==(a="<span style=color:grey>&lt;</span>"+(a=o+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>&gt;</span>"),"<span style=color:#a10d5f>"+a+"</span>"}function i(e){for(var t,n,a,r,o,i=e,l="";i.indexOf("=")>-1;)n=-1,t=i.indexOf("="),a=i.indexOf("'",t),r=i.indexOf('"',t),(o=i.indexOf(" ",t+2))>-1&&(o<a||-1==a)&&(o<r||-1==r)?n=i.indexOf(" ",t):r>-1&&(r<a||-1==a)&&(r<o||-1==o)?n=i.indexOf('"',i.indexOf('"',t)+1):a>-1&&(a<r||-1==r)&&(a<o||-1==o)&&(n=i.indexOf("'",i.indexOf("'",t)+1)),(!n||-1==n||n<t)&&(n=i.length),l+=i.substring(0,t),l+=c(i.substring(t,n+1)),i=i.substr(n+1);return"<span style=color:green>"+l+i+"</span>"}function c(e){return"<span style=color:#1c8a9c>"+e+"</span>"}function l(e){return"<span style=color:green>"+e+"</span>"}function d(e){var t,n,a,o,i,c,d,u=e,p="";for(u=(a=r(u,/\/\*/,"*/",l,"W3CSSCOMMENTPOS")).rest;u.search("{")>-1;){for(t=u.search("{"),i=u.substr(t+1),d=1,c=0,o=0;o<i.length&&("{"==i.substr(o,1)&&(d++,c++),"}"==i.substr(o,1)&&d--,0!=d);o++);for(0!=d&&(c=0),n=t,o=0;o<=c;o++)n=u.indexOf("}",n+1);-1==n&&(n=u.length),p+=u.substring(0,t+1),p+=s(u.substring(t+1,n)),u=u.substr(n)}for(u=(u=(u=p+u).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),o=0;o<a.arr.length;o++)u=u.replace("W3CSSCOMMENTPOS",a.arr[o]);return"<span style=color:green>"+u+"</span>"}function s(e){var t,n,a,r,o=e,i="";if(o.indexOf("{")>-1)return d(o);for(;o.search(":")>-1;){for(r=!0,a=t=o.search(":");1==r;)r=!1,n=o.indexOf(";",a),"&nbsp;"==o.substring(n-5,n+1)&&(r=!0,a=n+1);-1==n&&(n=o.length),i+=o.substring(0,t),i+=u(o.substring(t,n+1)),o=o.substr(n+1)}return"<span style=color:#a10d5f>"+i+o+"</span>"}function u(e){var t,n=e,a="";for(n="<span style=color:grey>:</span>"+n.substring(1);n.search(/!important/i)>-1;)t=n.search(/!important/i),a+=n.substring(0,t),a+=p(n.substring(t,t+10)),n=n.substr(t+10);var r=a+n;return";"==r.substr(r.length-1,1)&&"&nbsp;"!=r.substr(r.length-6,6)&&"&lt;"!=r.substr(r.length-4,4)&&"&gt;"!=r.substr(r.length-4,4)&&"&amp;"!=r.substr(r.length-5,5)&&(r=r.substring(0,r.length-1)+"<span style=color:grey>;</span>"),"<span style=color:black>"+r+"</span>"}function p(e){return"<span style=color:red;font-weight:bold;>"+e+"</span>"}function m(e){var t,n,a,r,o,i,c,d,s,u,p=e,m="",M=[],y="";for(t=0;t<p.length;t++)"\\"==(n=p.substr(t,1))&&(M.push(p.substr(t,2)),n="W3JSESCAPE",t++),y+=n;for(p=y,1;a=A(p,"'","'",f),r=A(p,'"','"',f),o=A(p,/\/\*/,"*/",l),i=A(p,/\/\//,"<br>",l),d=U(p,b),c=v("js",p,h),u=x(p,g),-1!=Math.max(d[0],a[0],r[0],o[0],i[0],c[0],u[0])&&-1!=(s=w(d,a,r,o,i,c,u))[0];)s[0]>-1&&(m+=p.substring(0,s[0]),m+=s[2](p.substring(s[0],s[1])),p=p.substr(s[1]));for(p=m+p,t=0;t<M.length;t++)p=p.replace("W3JSESCAPE",M[t]);return"<span style=color:black>"+p+"</span>"}function f(e){return"<span style=color:brown>"+e+"</span>"}function h(e){return"<span style=color:mediumblue>"+e+"</span>"}function b(e){return"<span style=color:red>"+e+"</span>"}function g(e){return"<span style=color:black>"+e+"</span>"}function x(e,t){var n,a,r,o,i=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((o=e.indexOf("."))>-1)for(n=e.substr(o+1),r=0;r<n.length;r++){var c=n[r];for(a=0;a<i.length;a++)if(c.indexOf(i[a])>-1)return[o+1,r+o+1,t]}return[-1,-1,t]}function w(e,t,n,a,r,o,i){var c,l=[];for(c=0;c<arguments.length;c++)arguments[c][0]>-1&&(0==l.length||arguments[c][0]<l[0])&&(l=arguments[c]);return 0==l.length&&(l=arguments[c]),l}function v(e,t,n){var a,r,o,i,c=-1,l=-1;for("js"==e&&(i=["abstract","arguments","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","eval","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","NaN","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with","yield"]),a=0;a<i.length;a++)(r=t.indexOf(i[a]))>-1&&(o=/\W/g,t.substr(r+i[a].length,1).match(o)&&t.substr(r-1,1).match(o)&&r>-1&&(-1==c||r<c)&&(l=(c=r)+i[a].length));return[c,l,n]}function A(e,t,n,a){var r,o;return r=e.search(t),-1==(o=e.indexOf(n,r+n.length))&&(o=e.length),[r,o+n.length,a]}function U(e,t){var n,a,r,o,i,c=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],l=0;for(n=0;n<e.length;n++)for(a=0;a<c.length;a++)if((r=e.substr(n,c[a].length))==c[a]){if("-"==r&&("e"==e.substr(n-1,1)||"E"==e.substr(n-1,1)))continue;if(l<(o=n)&&(i=e.substring(l,o),!isNaN(i)))return[l,o,t];l=n+=c[a].length,n-=1;break}return[-1,-1,t]}}var de=function(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""},se=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()},ue=function(){return getComputedStyle(document.body).getPropertyValue("--accent").trim()},pe=function(e){if("string"===typeof e){var t=e;return t=(t=t.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')}return e},me=function(e){return Math.floor(Math.random()*e)+1},fe=["January","February","March","April","May","June","July","August","September","October","November","December"],he=function(e){var t=new Date(e);if("Invalid Date"==t.toString())return e;var n=t.getFullYear(),a=t.getMonth(),r=(t.getDate()+"").padStart(2,"0");return"".concat(fe[a].slice(0,3)," ").concat(r,", ").concat(n)}},10:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(0),r=n.n(a),o=n(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(e){return e.padding?"0 var(--grid-margin);":0}),(function(e){e.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),i=function(e){var t=e.className,n=e.children,a=e.maxWidth,i=void 0===a?1520:a,c=e.padding,l=void 0===c||c;return r.a.createElement(o,{className:t,maxWidth:i,padding:l},n)};t.b=i},14:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var a=n(28),r=n(0),o=n.n(r),i=n(5),c=(n(42),i.default.div.withConfig({displayName:"styles__View",componentId:"sc-10ksvu2-0"})([".loader{position:fixed;left:0;right:0;top:0;bottom:0;text-align:var(--text-center);z-index:9999;background:rgba(0,0,0,0.5);overflow:hidden;div{align-items:center;}}"])),l=n(33),d=n.n(l),s=n(1),u=function(e){return Object(a.a)(e),o.a.createElement(c,null,o.a.createElement("div",{className:"d-flex justify-content-center loader"},o.a.createElement("div",{className:"d-flex"},o.a.createElement(d.a,{type:"ThreeDots",color:Object(s.H)(),height:100,width:100}))))}},147:function(e,t,n){"use strict";var a=n(36),r=n(3),o=n(0),i=n.n(o),c=n(1),l=n(25),d=n(14),s=n(7),u=n.n(s),p=n(81),m=n(13),f=n.n(m),h={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},b=n(12),g=n(5),x=n(2);function w(){var e=Object(b.a)(['\n .capitalize {\n text-transform: capitalize;\n }\n .p-w-r .pr-review-snapshot.pr-review-enhanced .pr-review-snapshot-header .pr-review-snapshot-header-intro .pr-headline {font-size: var(--font-size-l1) !important;}\n .p-w-r .pr-category-snippet {\n margin: 0\n }\n \n a {\n color: var(--accent);\n font-weight: var(--font-weight-semi-bold);\n }\n \n .marker-pin {\n /* background-image: url("https://d23g0hayoxy5dh.cloudfront.net/ul/6975/images/18/platinum-badge.svg"); */\n height: 100px;\n width: 100px;\n background-repeat: no-repeat;\n }\n \n @media '," {\n .google-map {\n height: 400px !important;\n }\n }\n "]);return w=function(){return e},e}var v=g.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1eylu3j-0"})(["",""],(function(e){var t;(null===(t=e.gradients)||void 0===t?void 0:t.visible)?e.theme.gradient:e.theme;return Object(g.css)(w(),x.b.mobileMax)})),A=n(8),U=n(9),M=n(10),y={badgeImagesRootPath:"",iconsRootPath:"",addressLabel:"",phoneLabel:"",emailLabel:"",apiURLDealerInfo:"",parentRedirectURL:"",cta:{label:"",linkAction:"",color:""},googleMapPublicAPIKey:"",geoCodingAPIPath:"",reviewsAPIPath:"",dealerServicesLabel:""},k=function(e){var t,n,s,m,b,g,x,w,k,D,O,P,E,N,S,L,j,C=f()({},y,Object(c.g)(e.content)),_=Object(o.useState)(!1),T=Object(r.a)(_,2),W=T[0],z=T[1],R=Object(o.useState)(0),I=Object(r.a)(R,2),Z=I[0],$=I[1],H=Object(o.useState)(!1),J=Object(r.a)(H,2),F=J[0],G=J[1],V=Object(o.useState)(0),K=Object(r.a)(V,2),q=K[0],Y=K[1],B=Object(o.useState)({lat:0,lng:0}),Q=Object(r.a)(B,2),X=Q[0],ee=Q[1],te=Object(o.useState)({name:"",webSite:"",serviceTypeSelections:[],id:0,dealerReviewsNotificationEmail:"",address:{address1:"",address2:"",city:"",state:"",country:"",zip:""},businessPhone:"",dealer:{address:{address1:"",address2:"",city:"",state:"",country:"",zip:""},resolvedDealerLevel:{id:0,level:"",uuid:""},companyName:"",serviceTypeSelections:[]}}),ne=Object(r.a)(te,2),ae=ne[0],re=ne[1];Object(o.useEffect)((function(){Object(c.F)().subscribe((function(e){z(e)})),Object(c.b)();var e=0;if(window.location.search){var t,n=new URLSearchParams(window.location.search),o=Object(a.a)(n);try{for(o.s();!(t=o.n()).done;){var i=Object(r.a)(t.value,2),l=i[0],d=i[1];"id"===l&&(e=Number(d))}}catch(s){o.e(s)}finally{o.f()}}u.a.get(C.reviewsAPIPath+"/"+e).then((function(e){re(e.data),oe(e.data);var t=e.data.address,n=t.address1;t.address2&&(n=n+"+"+t.address2),t.city&&(n=n+"+"+t.city),t.state&&(n=n+"+"+t.state),t.country&&(n=n+"+"+t.country),t.zip&&(n=n+"+"+t.zip),fetch("".concat(C.geoCodingAPIPath).concat(n),{method:"GET"}).then((function(e){return e.json()})).then((function(e){var t=e.results[0].geometry.location;$(t.lat),Y(t.lng),ee({lat:t.lat,lng:t.lng}),G(!0)})).catch((function(e){return console.log(e)})),Object(c.Z)()}),(function(e){Object(c.Z)()})).catch((function(e){Object(c.Z)()}))}),[]);var oe=function(e){var t=window.location.origin+"/us/en/write-a-review/?pr_page_id=_dealer_loc_id_"+e.id,n="",a="POWERREVIEWS.display.render(["+(n=n+'{\n "read_services_base_url": "stable",\n "api_key": `'+l.a.PowerReviewApi+'`,\n "locale": `'+l.a.Locale+'`,\n "merchant_group_id": `'+l.a.MerchantGroupId+'`,\n "merchant_id": `'+l.a.DealerMerchantId+'`,\n "page_id": `_dealer_loc_id_'+e.id+'`,\n "review_wrapper_url": `'+t+"`,\n \"on_read_reviews_click\": function () {\n document.getElementById('reviewsTab')?.scrollIntoView({ block: 'start', behavior: 'smooth' })\n }, \n \"components\": {\n \"ReviewSnippet\": `"+e.id+'`,\n "ReviewDisplay": `'+e.id+"-display`\n }\n },")+"]);",r=document.createElement("script");r.innerHTML=a,setTimeout((function(){document.body.appendChild(r),setTimeout((function(){var e=document.querySelectorAll(".pr-snippet-rating-decimal");e&&e.length>0&&e.forEach((function(e){var t=Number(e.textContent).toFixed(1);e.innerText=t}))}),3e3)}),1500)},ie=function(e,t){var n,a,r;return i.a.createElement("div",{className:"marker-pin",style:{backgroundImage:"url(".concat(C.iconsRootPath,"/").concat(null===(n=ae.dealer)||void 0===n||null===(a=n.resolvedDealerLevel)||void 0===a||null===(r=a.level)||void 0===r?void 0:r.toLowerCase(),"-icon.png)")}})};return i.a.createElement(A.a,{setter:{componentThemes:h,selectedTheme:e.theme}},i.a.createElement(U.a,null,i.a.createElement(M.a,null,i.a.createElement(v,{isReversed:!1},W&&i.a.createElement(d.a,null),i.a.createElement("div",{className:"container my-3"},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-md-6 mb-4 mb-md-0"},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12"},i.a.createElement("div",{className:"d-flex align-items-center mb-3"},"customer"===(null===(t=ae.dealer)||void 0===t||null===(n=t.resolvedDealerLevel)||void 0===n||null===(s=n.level)||void 0===s?void 0:s.toLowerCase())?"":i.a.createElement("img",{loading:"lazy",src:"".concat(C.badgeImagesRootPath,"/").concat(null===(m=ae.dealer)||void 0===m||null===(b=m.resolvedDealerLevel)||void 0===b||null===(g=b.level)||void 0===g?void 0:g.toLowerCase(),"-badge.png"),alt:"dealer level image",className:"mr-3 dealer-badge-image"}),i.a.createElement("div",{className:"amarr-h3"},ae.name)),i.a.createElement("div",{id:ae.id.toString()}))),i.a.createElement("hr",null),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12"},i.a.createElement("div",{className:"amarr-h6 mb-1 mb-xl-2"},C.addressLabel),i.a.createElement("p",{className:"m-0 body-text2 capitalize"},null===ae||void 0===ae||null===(x=ae.address)||void 0===x||null===(w=x.address1)||void 0===w?void 0:w.toLowerCase()," ",(null===ae||void 0===ae||null===(k=ae.address)||void 0===k?void 0:k.address2)&&(null===ae||void 0===ae||null===(D=ae.address)||void 0===D||null===(O=D.address2)||void 0===O?void 0:O.toLowerCase()),", ",i.a.createElement("br",null),null===ae||void 0===ae||null===(P=ae.address)||void 0===P||null===(E=P.city)||void 0===E?void 0:E.toLowerCase()," ",null===ae||void 0===ae||null===(N=ae.address)||void 0===N||null===(S=N.state)||void 0===S?void 0:S.toLowerCase()," ",null===ae||void 0===ae||null===(L=ae.address)||void 0===L||null===(j=L.country)||void 0===j?void 0:j.toLowerCase()," ",ae.address.zip))),i.a.createElement("hr",null),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12 body-text2"},ae.serviceTypeSelections&&ae.serviceTypeSelections.length>0&&i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},C.dealerServicesLabel,":"),ae.serviceTypeSelections.map((function(e,t){return i.a.createElement("span",{key:t},i.a.createElement("img",{loading:"lazy",src:"".concat(C.iconsRootPath,"/").concat(null===e||void 0===e?void 0:e.type,".png"),alt:null===e||void 0===e?void 0:e.type,className:"mr-2"}))}))),i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},C.phoneLabel,":"),Object(c.T)(ae.businessPhone)),i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},C.emailLabel,":"),i.a.createElement("a",{className:"amarrHighlight",href:"mailTo:".concat(ae.dealerReviewsNotificationEmail)},ae.dealerReviewsNotificationEmail)),i.a.createElement("a",{className:"amarrHighlight",href:"http://".concat(ae.webSite),target:C.cta.linkAction},C.cta.label)))),i.a.createElement("div",{className:"col-md-6"},i.a.createElement("div",{style:{height:"100%",width:"100%"},className:"google-map"},F&&i.a.createElement(p.a,{bootstrapURLKeys:{key:C.googleMapPublicAPIKey},defaultCenter:X,defaultZoom:11},i.a.createElement(ie,{lat:Z,lng:q,text:"My Marker"}))))),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12 mt-4",id:"reviewsTab"},i.a.createElement("div",{id:"".concat(ae.id,"-display")}))))))))};k.defaultProps={theme:"",content:""};t.a=k},2:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a={mobileAndUpMin:128,mobileAndUp:320,smallMobileAndUp:375,largeMobileAndUp:426,tabletPortraitUp:606,largeMobileAndUp2:576,tabletPortraitAndUp:768,tabletPortraitAndUp2:835,tabletLandscapeAndUp:992,desktopAndUp:1024,smallDesktopAndUp1:1100,smallDesktopAndUp:1200,smallDesktopAndUp2:1280,smallDesktopAndUp3:1300,smallDesktopAndUp4:1150,mediumDesktopAndUp:1400,mediumDesktopAndUp2:1600,mediumDesktopAndUp3:1680,mediumDesktopAndUp4:1440,mediumDesktopAndUp5:1520,largeDesktop:1800,maxWidthAndUp:1900,wrapperMaxWidth:1920,extraLarge:2560},r={mobileAndUpMin:"(min-width: ".concat(a.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(a.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileMax:"(max-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMin:"(min-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(a.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(a.largeMobileAndUp-2,"px)"),largeMobileAndUpMax3:"(max-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUpMin:"(min-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUp2:"(min-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(a.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(a.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(a.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(a.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(a.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(a.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(a.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(a.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(a.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(a.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(a.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(a.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(a.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(a.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(a.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(a.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(a.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(a.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(a.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(a.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(a.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(a.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp2Max:"(max-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(a.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(a.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(a.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMax2:"(max-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(a.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(a.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(a.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(a.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(a.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(a.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(a.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(a.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(a.maxWidthAndUp+1,"px)"),extraLargeMax:"(max-width: ".concat(a.extraLarge,"px)"),extraLargeMin:"(min-width: ".concat(a.extraLarge,"px)")}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a={PowerReviewApi:"3783f7b5-5e6f-4da2-90ce-1a55c1fd02b2",Locale:"en_US",MerchantGroupId:"48814",ProductMerchantId:"445672",DealerMerchantId:"135036"}},32:function(e,t){e.exports=ReactDOM},535:function(e,t,n){"use strict";n.r(t);var a=n(22),r=n(147);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-read-review",useShadow:!1},plugins:[]})},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(5),r=n(0),o=n.n(r),i=function(e){var t=e.setter,n=t.componentThemes,r=t.selectedTheme;return o.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return n.theme1;var e=r.match(/\d+/g).map(Number),t=Object.keys(n).find((function(t){return!(!Array.isArray(e)||1!==e.length)&&(t.includes(e[0])&&n[t])}));return t?n["".concat(t)]:n.theme1}},e.children)};t.b=i},9:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(5),i=n(23),c=Object(a.createContext)({});t.a=function(e){var t=!1;try{var n;t=(null===(n=document)||void 0===n?void 0:n.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(l){console.log(l)}var a=t?[i.a]:[];return r.a.createElement(o.StyleSheetManager,{stylisPlugins:a},r.a.createElement(c.Provider,{value:{rtl:t}},e.children))}}});
1
+ !function(e){function t(t){for(var a,i,c=t[0],l=t[1],d=t[2],u=0,p=[];u<c.length;u++)i=c[u],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&p.push(r[i][0]),r[i]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(s&&s(t);p.length;)p.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,c=1;c<n.length;c++){var l=n[c];0!==r[l]&&(a=!1)}a&&(o.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},r={84:0},o=[];function i(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var c=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var d=0;d<c.length;d++)t(c[d]);var s=l;o.push([653,0]),n()}({0:function(e,t){e.exports=React},1:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"gb",(function(){return o})),n.d(t,"y",(function(){return i})),n.d(t,"i",(function(){return c})),n.d(t,"M",(function(){return l})),n.d(t,"P",(function(){return d})),n.d(t,"w",(function(){return s})),n.d(t,"K",(function(){return u})),n.d(t,"p",(function(){return p})),n.d(t,"s",(function(){return m})),n.d(t,"R",(function(){return f})),n.d(t,"Q",(function(){return h})),n.d(t,"bb",(function(){return b})),n.d(t,"N",(function(){return g})),n.d(t,"v",(function(){return x})),n.d(t,"h",(function(){return w})),n.d(t,"u",(function(){return v})),n.d(t,"A",(function(){return A})),n.d(t,"x",(function(){return U})),n.d(t,"L",(function(){return M})),n.d(t,"t",(function(){return y})),n.d(t,"cb",(function(){return k})),n.d(t,"r",(function(){return D})),n.d(t,"S",(function(){return O})),n.d(t,"O",(function(){return N})),n.d(t,"db",(function(){return S})),n.d(t,"n",(function(){return L})),n.d(t,"k",(function(){return j})),n.d(t,"o",(function(){return C})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return T})),n.d(t,"D",(function(){return W})),n.d(t,"W",(function(){return z})),n.d(t,"z",(function(){return R})),n.d(t,"eb",(function(){return I})),n.d(t,"fb",(function(){return Z})),n.d(t,"b",(function(){return $})),n.d(t,"Z",(function(){return H})),n.d(t,"F",(function(){return J})),n.d(t,"a",(function(){return F})),n.d(t,"hb",(function(){return G})),n.d(t,"d",(function(){return V})),n.d(t,"f",(function(){return K})),n.d(t,"e",(function(){return q})),n.d(t,"kb",(function(){return Y})),n.d(t,"c",(function(){return B})),n.d(t,"ib",(function(){return Q})),n.d(t,"jb",(function(){return X})),n.d(t,"T",(function(){return ee})),n.d(t,"U",(function(){return te})),n.d(t,"V",(function(){return ne})),n.d(t,"X",(function(){return ae})),n.d(t,"Y",(function(){return re})),n.d(t,"q",(function(){return oe})),n.d(t,"ab",(function(){return ie})),n.d(t,"C",(function(){return ce})),n.d(t,"J",(function(){return le})),n.d(t,"j",(function(){return de})),n.d(t,"E",(function(){return se})),n.d(t,"H",(function(){return ue})),n.d(t,"I",(function(){return pe})),n.d(t,"G",(function(){return me})),n.d(t,"B",(function(){return he}));var a=n(4),r=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},o=function(e){return btoa(unescape(encodeURIComponent(e)))},i=function(e){return o(JSON.stringify(e))},c=function(e){return e.toUpperCase()},l=function(e){return e.replaceAll(" ","-").toLowerCase()},d=new a.a(!1),s=new a.a(!1),u=new a.a(!1),p=new a.a(!1),m=new a.a(""),f=new a.a(!1),h=new a.a(!1),b=new a.a(!1),g=new a.a(!1),x=new a.a(!1),w=new a.a(!1),v=new a.a(""),A=new a.a(!0),U=new a.a(!0),M=new a.a(!0),y=new a.a(!0),k=new a.a(!0),D=new a.a(!0),O=new a.a({}),P=new a.a(!1),E=0,N=new a.a(!1),S=new a.a(""),L=new a.a(""),j=new a.a(""),C=new a.a(""),_=new a.a(""),T=new a.a(""),W=new a.a(""),z=new a.a(""),R=new a.a(!1),I=new a.a(!1),Z=new a.a(!1),$=(new a.a(!1),new a.a(!1),new a.a({flag:!1}),function(){setTimeout((function(){E++,P.next(!0)}),0)}),H=function(){setTimeout((function(){E>0&&E--,0==E&&P.next(!1)}),0)},J=function(){return P.asObservable()},F=function(e){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},G=function(e){var t=0;return!!/(?=.{8,})/.test(e)&&(/([a-z])/.test(e)&&t++,/([A-Z])/.test(e)&&t++,/(\d)/.test(e)&&t++,/([!@#$%^&*])/.test(e)&&t++,!(t<3))},V=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},K=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},q=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},Y=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},B=function(e){return/^[0-9]*$/.test(e)},Q=function(e){return new RegExp("^[0-9]+[.][0-9]{0,2}$").test(e)},X=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},ee=function(e){if(e&&""!==e&&-1===e.indexOf("(")&&-1===e.indexOf(") ")&&-1===e.indexOf("-")){return"("+e.substring(0,3)+") "+e.substring(3,6)+"-"+e.substring(6,e.length)}return e},te=function(e){var t=(""+e).replace(/\D/g,"");if(t.length>10){var n=(t=t.slice(0,10)).match(/^(\d{3})(\d{3})(\d{4})$/);if(n)return"("+n[1]+") "+n[2]+"-"+n[3]}var a="";return t.split("").forEach((function(e,t){a+=0==t?"("+e:2==t?e+") ":5==t?e+"-":e})),a},ne=function(e){var t=e.target.value;return 1==t.length?"("+t:5==t.length?t.slice(0,t.length-1)+") "+t[t.length-1]:10==t.length&&"-"!==t[t.length-1]?t.slice(0,t.length-1)+"-"+t[t.length-1]:10==t.length&&"-"===t[t.length-1]?t.substring(0,t.length-1):6==t.length?t.substring(0,t.length-2):t},ae=function(e){return e&&(e=Number(e).toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==e&&"0"!==e||(e=e.toFixed(2)),e},re=function(e,t){return e=e?Number(e):0,(0===(t=t?Number(t):0)||"0"===t?0:(e-t)/t*100).toFixed(2)},oe=function(e){var t={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:e.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:e.selectedHeight,glass:e.selectedGlass,collection:e.selectedCollection,print:!0,baseUrl:"",gplacement:e.selectedWindowPlacement,width:e.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return e.selectedColor&&(t.color=e.selectedColor),e.colorHex&&(t.colorHex=e.colorHex),e.colorZone&&(t.colorZone=e.colorZone),e.selectedConstruction&&(t.model=e.selectedConstruction),e.selectedWindowDesign&&(t.top=e.selectedWindowDesign),e.glazepattern&&(t.glazepattern=e.glazepattern),e.selectedHardware&&(t.hardware=e.selectedHardware),t},ie=function(e,t,n){var a="",r=e.split(t);return r.forEach((function(e,t){"undefined"!==e&&e&&(a+=e,t!==r.length-1&&(a+=n))})),a},ce=function(e){return e.length>0?e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,""):e};function le(e,t){var n=t||"html",a=e;return n||(n="html"),"html"==n&&(a=function(e){var t,n,a,i,c,s=e,u="";t=r(s,"&lt;!--","--&gt;",l,"W3HTMLCOMMENTPOS"),s=t.rest;for(;s.indexOf("&lt;")>-1;)i="",n=s.indexOf("&lt;"),"&LT;STYLE"==s.substr(n,9).toUpperCase()&&(i="css"),"&LT;SCRIPT"==s.substr(n,10).toUpperCase()&&(i="javascript"),-1==(a=s.indexOf("&gt;",n))&&(a=s.length),u+=s.substring(0,n),u+=o(s.substring(n,a+4)),s=s.substr(a+4),"css"==i&&(a=s.indexOf("&lt;/style&gt;"))>-1&&(u+=d(s.substring(0,a)),s=s.substr(a)),"javascript"==i&&(a=s.indexOf("&lt;/script&gt;"))>-1&&(u+=m(s.substring(0,a)),s=s.substr(a));for(s=u+s,c=0;c<t.arr.length;c++)s=s.replace("W3HTMLCOMMENTPOS",t.arr[c]);return s}(a)),"css"==n&&(a=d(a)),"js"==n&&(a=m(a)),a;function r(e,t,n,a,r){for(var o,i,c="",l=[];e.search(t)>-1;)o=e.search(t),-1==(i=e.indexOf(n,o))&&(i=e.length),r?(l.push(a(e.substring(o,i+n.length))),e=e.substring(0,o)+r+e.substr(i+n.length)):(c+=e.substring(0,o),c+=a(e.substring(o,i+n.length)),e=e.substr(i+n.length));return{rest:c+e,arr:l}}function o(e){for(var t,n,a,r=e,o="";r.search(/(\s|<br>)/)>-1;)t=r.search(/(\s|<br>)/),-1==(n=r.indexOf("&gt;"))&&(n=r.length),o+=r.substring(0,t),o+=i(r.substring(t,n)),r=r.substr(n);return"&gt;"==(a="<span style=color:grey>&lt;</span>"+(a=o+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>&gt;</span>"),"<span style=color:#a10d5f>"+a+"</span>"}function i(e){for(var t,n,a,r,o,i=e,l="";i.indexOf("=")>-1;)n=-1,t=i.indexOf("="),a=i.indexOf("'",t),r=i.indexOf('"',t),(o=i.indexOf(" ",t+2))>-1&&(o<a||-1==a)&&(o<r||-1==r)?n=i.indexOf(" ",t):r>-1&&(r<a||-1==a)&&(r<o||-1==o)?n=i.indexOf('"',i.indexOf('"',t)+1):a>-1&&(a<r||-1==r)&&(a<o||-1==o)&&(n=i.indexOf("'",i.indexOf("'",t)+1)),(!n||-1==n||n<t)&&(n=i.length),l+=i.substring(0,t),l+=c(i.substring(t,n+1)),i=i.substr(n+1);return"<span style=color:green>"+l+i+"</span>"}function c(e){return"<span style=color:#1c8a9c>"+e+"</span>"}function l(e){return"<span style=color:green>"+e+"</span>"}function d(e){var t,n,a,o,i,c,d,u=e,p="";for(u=(a=r(u,/\/\*/,"*/",l,"W3CSSCOMMENTPOS")).rest;u.search("{")>-1;){for(t=u.search("{"),i=u.substr(t+1),d=1,c=0,o=0;o<i.length&&("{"==i.substr(o,1)&&(d++,c++),"}"==i.substr(o,1)&&d--,0!=d);o++);for(0!=d&&(c=0),n=t,o=0;o<=c;o++)n=u.indexOf("}",n+1);-1==n&&(n=u.length),p+=u.substring(0,t+1),p+=s(u.substring(t+1,n)),u=u.substr(n)}for(u=(u=(u=p+u).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),o=0;o<a.arr.length;o++)u=u.replace("W3CSSCOMMENTPOS",a.arr[o]);return"<span style=color:green>"+u+"</span>"}function s(e){var t,n,a,r,o=e,i="";if(o.indexOf("{")>-1)return d(o);for(;o.search(":")>-1;){for(r=!0,a=t=o.search(":");1==r;)r=!1,n=o.indexOf(";",a),"&nbsp;"==o.substring(n-5,n+1)&&(r=!0,a=n+1);-1==n&&(n=o.length),i+=o.substring(0,t),i+=u(o.substring(t,n+1)),o=o.substr(n+1)}return"<span style=color:#a10d5f>"+i+o+"</span>"}function u(e){var t,n=e,a="";for(n="<span style=color:grey>:</span>"+n.substring(1);n.search(/!important/i)>-1;)t=n.search(/!important/i),a+=n.substring(0,t),a+=p(n.substring(t,t+10)),n=n.substr(t+10);var r=a+n;return";"==r.substr(r.length-1,1)&&"&nbsp;"!=r.substr(r.length-6,6)&&"&lt;"!=r.substr(r.length-4,4)&&"&gt;"!=r.substr(r.length-4,4)&&"&amp;"!=r.substr(r.length-5,5)&&(r=r.substring(0,r.length-1)+"<span style=color:grey>;</span>"),"<span style=color:black>"+r+"</span>"}function p(e){return"<span style=color:red;font-weight:bold;>"+e+"</span>"}function m(e){var t,n,a,r,o,i,c,d,s,u,p=e,m="",M=[],y="";for(t=0;t<p.length;t++)"\\"==(n=p.substr(t,1))&&(M.push(p.substr(t,2)),n="W3JSESCAPE",t++),y+=n;for(p=y,1;a=A(p,"'","'",f),r=A(p,'"','"',f),o=A(p,/\/\*/,"*/",l),i=A(p,/\/\//,"<br>",l),d=U(p,b),c=v("js",p,h),u=x(p,g),-1!=Math.max(d[0],a[0],r[0],o[0],i[0],c[0],u[0])&&-1!=(s=w(d,a,r,o,i,c,u))[0];)s[0]>-1&&(m+=p.substring(0,s[0]),m+=s[2](p.substring(s[0],s[1])),p=p.substr(s[1]));for(p=m+p,t=0;t<M.length;t++)p=p.replace("W3JSESCAPE",M[t]);return"<span style=color:black>"+p+"</span>"}function f(e){return"<span style=color:brown>"+e+"</span>"}function h(e){return"<span style=color:mediumblue>"+e+"</span>"}function b(e){return"<span style=color:red>"+e+"</span>"}function g(e){return"<span style=color:black>"+e+"</span>"}function x(e,t){var n,a,r,o,i=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((o=e.indexOf("."))>-1)for(n=e.substr(o+1),r=0;r<n.length;r++){var c=n[r];for(a=0;a<i.length;a++)if(c.indexOf(i[a])>-1)return[o+1,r+o+1,t]}return[-1,-1,t]}function w(e,t,n,a,r,o,i){var c,l=[];for(c=0;c<arguments.length;c++)arguments[c][0]>-1&&(0==l.length||arguments[c][0]<l[0])&&(l=arguments[c]);return 0==l.length&&(l=arguments[c]),l}function v(e,t,n){var a,r,o,i,c=-1,l=-1;for("js"==e&&(i=["abstract","arguments","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","eval","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","NaN","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with","yield"]),a=0;a<i.length;a++)(r=t.indexOf(i[a]))>-1&&(o=/\W/g,t.substr(r+i[a].length,1).match(o)&&t.substr(r-1,1).match(o)&&r>-1&&(-1==c||r<c)&&(l=(c=r)+i[a].length));return[c,l,n]}function A(e,t,n,a){var r,o;return r=e.search(t),-1==(o=e.indexOf(n,r+n.length))&&(o=e.length),[r,o+n.length,a]}function U(e,t){var n,a,r,o,i,c=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],l=0;for(n=0;n<e.length;n++)for(a=0;a<c.length;a++)if((r=e.substr(n,c[a].length))==c[a]){if("-"==r&&("e"==e.substr(n-1,1)||"E"==e.substr(n-1,1)))continue;if(l<(o=n)&&(i=e.substring(l,o),!isNaN(i)))return[l,o,t];l=n+=c[a].length,n-=1;break}return[-1,-1,t]}}var de=function(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""},se=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()},ue=function(){return getComputedStyle(document.body).getPropertyValue("--accent").trim()},pe=function(e){if("string"===typeof e){var t=e;return t=(t=t.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')}return e},me=function(e){return Math.floor(Math.random()*e)+1},fe=["January","February","March","April","May","June","July","August","September","October","November","December"],he=function(e){var t=new Date(e);if("Invalid Date"==t.toString())return e;var n=t.getFullYear(),a=t.getMonth(),r=(t.getDate()+"").padStart(2,"0");return"".concat(fe[a].slice(0,3)," ").concat(r,", ").concat(n)}},10:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(0),r=n.n(a),o=n(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(e){return e.padding?"0 var(--grid-margin);":0}),(function(e){e.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),i=function(e){var t=e.className,n=e.children,a=e.maxWidth,i=void 0===a?1520:a,c=e.padding,l=void 0===c||c;return r.a.createElement(o,{className:t,maxWidth:i,padding:l},n)};t.b=i},14:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var a=n(28),r=n(0),o=n.n(r),i=n(5),c=(n(41),i.default.div.withConfig({displayName:"styles__View",componentId:"sc-10ksvu2-0"})([".loader{position:fixed;left:0;right:0;top:0;bottom:0;text-align:var(--text-center);z-index:9999;background:rgba(0,0,0,0.5);overflow:hidden;div{align-items:center;}}"])),l=n(33),d=n.n(l),s=n(1),u=function(e){return Object(a.a)(e),o.a.createElement(c,null,o.a.createElement("div",{className:"d-flex justify-content-center loader"},o.a.createElement("div",{className:"d-flex"},o.a.createElement(d.a,{type:"ThreeDots",color:Object(s.H)(),height:100,width:100}))))}},147:function(e,t,n){"use strict";var a=n(36),r=n(3),o=n(0),i=n.n(o),c=n(1),l=n(25),d=n(14),s=n(7),u=n.n(s),p=n(81),m=n(13),f=n.n(m),h={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},b=n(12),g=n(5),x=n(2);function w(){var e=Object(b.a)(['\n .capitalize {\n text-transform: capitalize;\n }\n .p-w-r .pr-review-snapshot.pr-review-enhanced .pr-review-snapshot-header .pr-review-snapshot-header-intro .pr-headline {font-size: var(--font-size-l1) !important;}\n .p-w-r .pr-category-snippet {\n margin: 0\n }\n \n a {\n color: var(--accent);\n font-weight: var(--font-weight-semi-bold);\n }\n \n .marker-pin {\n /* background-image: url("https://d23g0hayoxy5dh.cloudfront.net/ul/6975/images/18/platinum-badge.svg"); */\n height: 100px;\n width: 100px;\n background-repeat: no-repeat;\n }\n \n @media '," {\n .google-map {\n height: 400px !important;\n }\n }\n "]);return w=function(){return e},e}var v=g.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1eylu3j-0"})(["",""],(function(e){var t;(null===(t=e.gradients)||void 0===t?void 0:t.visible)?e.theme.gradient:e.theme;return Object(g.css)(w(),x.b.mobileMax)})),A=n(8),U=n(9),M=n(10),y={badgeImagesRootPath:"",iconsRootPath:"",addressLabel:"",phoneLabel:"",emailLabel:"",apiURLDealerInfo:"",parentRedirectURL:"",cta:{label:"",linkAction:"",color:""},googleMapPublicAPIKey:"",geoCodingAPIPath:"",reviewsAPIPath:"",dealerServicesLabel:""},k=function(e){var t,n,s,m,b,g,x,w,k,D,O,P,E,N,S,L,j,C=f()({},y,Object(c.g)(e.content)),_=Object(o.useState)(!1),T=Object(r.a)(_,2),W=T[0],z=T[1],R=Object(o.useState)(0),I=Object(r.a)(R,2),Z=I[0],$=I[1],H=Object(o.useState)(!1),J=Object(r.a)(H,2),F=J[0],G=J[1],V=Object(o.useState)(0),K=Object(r.a)(V,2),q=K[0],Y=K[1],B=Object(o.useState)({lat:0,lng:0}),Q=Object(r.a)(B,2),X=Q[0],ee=Q[1],te=Object(o.useState)({name:"",webSite:"",serviceTypeSelections:[],id:0,dealerReviewsNotificationEmail:"",address:{address1:"",address2:"",city:"",state:"",country:"",zip:""},businessPhone:"",dealer:{address:{address1:"",address2:"",city:"",state:"",country:"",zip:""},resolvedDealerLevel:{id:0,level:"",uuid:""},companyName:"",serviceTypeSelections:[]}}),ne=Object(r.a)(te,2),ae=ne[0],re=ne[1];Object(o.useEffect)((function(){Object(c.F)().subscribe((function(e){z(e)})),Object(c.b)();var e=0;if(window.location.search){var t,n=new URLSearchParams(window.location.search),o=Object(a.a)(n);try{for(o.s();!(t=o.n()).done;){var i=Object(r.a)(t.value,2),l=i[0],d=i[1];"id"===l&&(e=Number(d))}}catch(s){o.e(s)}finally{o.f()}}u.a.get(C.reviewsAPIPath+"/"+e).then((function(e){re(e.data),oe(e.data);var t=e.data.address,n=t.address1;t.address2&&(n=n+"+"+t.address2),t.city&&(n=n+"+"+t.city),t.state&&(n=n+"+"+t.state),t.country&&(n=n+"+"+t.country),t.zip&&(n=n+"+"+t.zip),fetch("".concat(C.geoCodingAPIPath).concat(n),{method:"GET"}).then((function(e){return e.json()})).then((function(e){var t=e.results[0].geometry.location;$(t.lat),Y(t.lng),ee({lat:t.lat,lng:t.lng}),G(!0)})).catch((function(e){return console.log(e)})),Object(c.Z)()}),(function(e){Object(c.Z)()})).catch((function(e){Object(c.Z)()}))}),[]);var oe=function(e){var t=window.location.origin+"/us/en/write-a-review/?pr_page_id=_dealer_loc_id_"+e.id,n="",a="POWERREVIEWS.display.render(["+(n=n+'{\n "read_services_base_url": "stable",\n "api_key": `'+l.a.PowerReviewApi+'`,\n "locale": `'+l.a.Locale+'`,\n "merchant_group_id": `'+l.a.MerchantGroupId+'`,\n "merchant_id": `'+l.a.DealerMerchantId+'`,\n "page_id": `_dealer_loc_id_'+e.id+'`,\n "review_wrapper_url": `'+t+"`,\n \"on_read_reviews_click\": function () {\n document.getElementById('reviewsTab')?.scrollIntoView({ block: 'start', behavior: 'smooth' })\n }, \n \"components\": {\n \"ReviewSnippet\": `"+e.id+'`,\n "ReviewDisplay": `'+e.id+"-display`\n }\n },")+"]);",r=document.createElement("script");r.innerHTML=a,setTimeout((function(){document.body.appendChild(r),setTimeout((function(){var e=document.querySelectorAll(".pr-snippet-rating-decimal");e&&e.length>0&&e.forEach((function(e){var t=Number(e.textContent).toFixed(1);e.innerText=t}))}),3e3)}),1500)},ie=function(e,t){var n,a,r;return i.a.createElement("div",{className:"marker-pin",style:{backgroundImage:"url(".concat(C.iconsRootPath,"/").concat(null===(n=ae.dealer)||void 0===n||null===(a=n.resolvedDealerLevel)||void 0===a||null===(r=a.level)||void 0===r?void 0:r.toLowerCase(),"-icon.png)")}})};return i.a.createElement(A.a,{setter:{componentThemes:h,selectedTheme:e.theme}},i.a.createElement(U.a,null,i.a.createElement(M.a,null,i.a.createElement(v,{isReversed:!1},W&&i.a.createElement(d.a,null),i.a.createElement("div",{className:"container my-3"},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-md-6 mb-4 mb-md-0"},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12"},i.a.createElement("div",{className:"d-flex align-items-center mb-3"},"customer"===(null===(t=ae.dealer)||void 0===t||null===(n=t.resolvedDealerLevel)||void 0===n||null===(s=n.level)||void 0===s?void 0:s.toLowerCase())?"":i.a.createElement("img",{loading:"lazy",src:"".concat(C.badgeImagesRootPath,"/").concat(null===(m=ae.dealer)||void 0===m||null===(b=m.resolvedDealerLevel)||void 0===b||null===(g=b.level)||void 0===g?void 0:g.toLowerCase(),"-badge.png"),alt:"dealer level image",className:"mr-3 dealer-badge-image"}),i.a.createElement("div",{className:"amarr-h3"},ae.name)),i.a.createElement("div",{id:ae.id.toString()}))),i.a.createElement("hr",null),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12"},i.a.createElement("div",{className:"amarr-h6 mb-1 mb-xl-2"},C.addressLabel),i.a.createElement("p",{className:"m-0 body-text2 capitalize"},null===ae||void 0===ae||null===(x=ae.address)||void 0===x||null===(w=x.address1)||void 0===w?void 0:w.toLowerCase()," ",(null===ae||void 0===ae||null===(k=ae.address)||void 0===k?void 0:k.address2)&&(null===ae||void 0===ae||null===(D=ae.address)||void 0===D||null===(O=D.address2)||void 0===O?void 0:O.toLowerCase()),", ",i.a.createElement("br",null),null===ae||void 0===ae||null===(P=ae.address)||void 0===P||null===(E=P.city)||void 0===E?void 0:E.toLowerCase()," ",null===ae||void 0===ae||null===(N=ae.address)||void 0===N||null===(S=N.state)||void 0===S?void 0:S.toLowerCase()," ",null===ae||void 0===ae||null===(L=ae.address)||void 0===L||null===(j=L.country)||void 0===j?void 0:j.toLowerCase()," ",ae.address.zip))),i.a.createElement("hr",null),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12 body-text2"},ae.serviceTypeSelections&&ae.serviceTypeSelections.length>0&&i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},C.dealerServicesLabel,":"),ae.serviceTypeSelections.map((function(e,t){return i.a.createElement("span",{key:t},i.a.createElement("img",{loading:"lazy",src:"".concat(C.iconsRootPath,"/").concat(null===e||void 0===e?void 0:e.type,".png"),alt:null===e||void 0===e?void 0:e.type,className:"mr-2"}))}))),i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},C.phoneLabel,":"),Object(c.T)(ae.businessPhone)),i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},C.emailLabel,":"),i.a.createElement("a",{className:"amarrHighlight",href:"mailTo:".concat(ae.dealerReviewsNotificationEmail)},ae.dealerReviewsNotificationEmail)),i.a.createElement("a",{className:"amarrHighlight",href:"http://".concat(ae.webSite),target:C.cta.linkAction},C.cta.label)))),i.a.createElement("div",{className:"col-md-6"},i.a.createElement("div",{style:{height:"100%",width:"100%"},className:"google-map"},F&&i.a.createElement(p.a,{bootstrapURLKeys:{key:C.googleMapPublicAPIKey},defaultCenter:X,defaultZoom:11},i.a.createElement(ie,{lat:Z,lng:q,text:"My Marker"}))))),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12 mt-4",id:"reviewsTab"},i.a.createElement("div",{id:"".concat(ae.id,"-display")}))))))))};k.defaultProps={theme:"",content:""};t.a=k},2:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a={mobileAndUpMin:128,mobileAndUp:320,smallMobileAndUp:375,largeMobileAndUp:426,tabletPortraitUp:606,largeMobileAndUp2:576,tabletPortraitAndUp:768,tabletPortraitAndUp2:835,tabletLandscapeAndUp:992,desktopAndUp:1024,smallDesktopAndUp1:1100,smallDesktopAndUp:1200,smallDesktopAndUp2:1280,smallDesktopAndUp3:1300,smallDesktopAndUp4:1150,mediumDesktopAndUp:1400,mediumDesktopAndUp2:1600,mediumDesktopAndUp3:1680,mediumDesktopAndUp4:1440,mediumDesktopAndUp5:1520,largeDesktop:1800,maxWidthAndUp:1900,wrapperMaxWidth:1920,extraLarge:2560},r={mobileAndUpMin:"(min-width: ".concat(a.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(a.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileMax:"(max-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMin:"(min-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(a.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(a.largeMobileAndUp-2,"px)"),largeMobileAndUpMax3:"(max-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUpMin:"(min-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUp2:"(min-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(a.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(a.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(a.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(a.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(a.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(a.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(a.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(a.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(a.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(a.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(a.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(a.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(a.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(a.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(a.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(a.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(a.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(a.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(a.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(a.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(a.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(a.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp2Max:"(max-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(a.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(a.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(a.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMax2:"(max-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(a.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(a.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(a.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(a.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(a.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(a.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(a.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(a.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(a.maxWidthAndUp+1,"px)"),extraLargeMax:"(max-width: ".concat(a.extraLarge,"px)"),extraLargeMin:"(min-width: ".concat(a.extraLarge,"px)")}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a={PowerReviewApi:"3783f7b5-5e6f-4da2-90ce-1a55c1fd02b2",Locale:"en_US",MerchantGroupId:"48814",ProductMerchantId:"445672",DealerMerchantId:"135036"}},32:function(e,t){e.exports=ReactDOM},535:function(e,t,n){"use strict";n.r(t);var a=n(22),r=n(147);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-read-review",useShadow:!1},plugins:[]})},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(5),r=n(0),o=n.n(r),i=function(e){var t=e.setter,n=t.componentThemes,r=t.selectedTheme;return o.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return n.theme1;var e=r.match(/\d+/g).map(Number),t=Object.keys(n).find((function(t){return!(!Array.isArray(e)||1!==e.length)&&(t.includes(e[0])&&n[t])}));return t?n["".concat(t)]:n.theme1}},e.children)};t.b=i},9:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(5),i=n(23),c=Object(a.createContext)({});t.a=function(e){var t=!1;try{var n;t=(null===(n=document)||void 0===n?void 0:n.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(l){console.log(l)}var a=t?[i.a]:[];return r.a.createElement(o.StyleSheetManager,{stylisPlugins:a},r.a.createElement(c.Provider,{value:{rtl:t}},e.children))}}});