');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.newsletter_des","Please don't send me BaseKit news by email or contact me by telephone"),"html",null,true));sb.append('\n ");sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"buttonText"),"html",null,true));sb.append("\n ")}else if(("freePackage"in context?context["freePackage"]:null)==false){sb.append(' ");sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.buy_now","Buy now"),"html",null,true));sb.append(" \n ")}else{sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.buy_now_free","Register"),"html",null,true));sb.append(" \n ")}sb.append(" \n")}};widget_buynow.prototype.getTemplateName=function(){return"widget_buynow"};widget_buynow.prototype.isTraitable=function(){return false};goog.provide("widget_ecombasket");goog.require("twig");goog.require("twig.filter");widget_ecombasket=function(env){twig.Template.call(this,env)};twig.inherits(widget_ecombasket,twig.Template);widget_ecombasket.prototype.getParent_=function(context){return false};widget_ecombasket.prototype.render_=function(sb,context,blocks){if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"live")){sb.append(' \n
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.basket","Basket"),"html",null,true));sb.append(':\n ');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"itemCount",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"itemCount"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"itemCount"),"html",null,true));sb.append(' \n
\n
\n\n \n
\n ');context["items"]=twig.attr("data"in context?context["data"]:null,"items",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"items"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"items");sb.append(" ");context["_parent"]=context;var seq="items"in context?context["items"]:null;twig.forEach(seq,function(v,k){context["_key"]=k;context["item"]=v;if(twig.attr("item"in context?context["item"]:null,"quantity")>0){sb.append(' \n \n ');if(twig.attr("item"in context?context["item"]:null,"featureImageAssetRef")){sb.append(" ");context["assetUrl"]=App.stripUrlScheme(twig.attr(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"),twig.attr("item"in context?context["item"]:null,"featureImageAssetRef"),undefined,"array"),"url"));sb.append(' \n
\n
\n ')}sb.append(' \n\n \n
');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append(' \n
\n
\n ');sb.append(App.t("widgets.ecombasket.quantity","Quantity: %1",''+twig.attr("item"in context?context["item"]:null,"quantity")+" "));sb.append("\n
\n
\n ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&!(null===twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"))){sb.append('
');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"),"html",null,true));sb.append("
\n ")}else{sb.append('
');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotal"),"html",null,true));sb.append("
\n ")}sb.append('
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.remove","Remove"),"html",null,true));sb.append(" \n
\n \n ")}},this);sb.append(" \n\n ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&(!(null===twig.attr("data"in context?context["data"]:null,"subTotalInclTax"))||!(null===twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax")))){sb.append(" ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotalInclTax")?twig.attr("data"in context?context["data"]:null,"subTotalInclTax"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax");sb.append(" ")}else{sb.append(" ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotal")?twig.attr("data"in context?context["data"]:null,"subTotal"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotal");sb.append(" ")}sb.append('\n
\n
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.total","Total"),"html",null,true));sb.append(': ');sb.append(twig.filter.escape(this.env_,"subTotal"in context?context["subTotal"]:null,"html",null,true));sb.append('
\n
\n
\n
\n")}};widget_ecombasket.prototype.getTemplateName=function(){return"widget_ecombasket"};widget_ecombasket.prototype.isTraitable=function(){return false};goog.provide("widget_ecombasketsummary");goog.require("twig");goog.require("twig.filter");widget_ecombasketsummary=function(env){twig.Template.call(this,env)};twig.inherits(widget_ecombasketsummary,twig.Template);widget_ecombasketsummary.prototype.getParent_=function(context){return false};widget_ecombasketsummary.prototype.render_=function(sb,context,blocks){if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"hasPaymentsConfigured")){sb.append('\n ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.title","Basket summary"),"html",null,true));sb.append(" \n ");context["items"]=twig.attr("data"in context?context["data"]:null,"items")?twig.attr("data"in context?context["data"]:null,"items"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"items");sb.append(" ");if(twig.filter.length(this.env_,"items"in context?context["items"]:null)){sb.append(' \n \n \n ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_items","Items"),"html",null,true));sb.append(' \n \n ');if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")){sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_description","Amount"),"html",null,true));sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_tax_inclusive","(incl. tax)"),"html",null,true));sb.append(" \n ")}else{sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_description","Amount"),"html",null,true));sb.append(" \n ")}sb.append(" \n ");context["_parent"]=context;var seq="items"in context?context["items"]:null;twig.forEach(seq,function(v,k){context["_key"]=k;context["item"]=v;sb.append(" ");context["restrictStock"]=twig.attr("item"in context?context["item"]:null,"trackStock")==1&&twig.attr("item"in context?context["item"]:null,"stockUnlimited")==0;sb.append(' \n \n ');if(!(null===twig.attr("item"in context?context["item"]:null,"productListAssetRef"))){sb.append(" ");context["assetUrl"]=App.stripUrlScheme(twig.attr(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"),twig.attr("item"in context?context["item"]:null,"productListAssetRef"),undefined,"array"),"url"));sb.append(' \n
\n
\n ')}sb.append(' \n\n \n \n
');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append(" \n ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&!(null===twig.attr("item"in context?context["item"]:null,"formattedPriceUnitInclTax"))){sb.append('
');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceUnitInclTax"),"html",null,true));sb.append(" \n ")}else{sb.append('
');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceUnit"),"html",null,true));sb.append(" \n ")}sb.append('
\n\n \n
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.quantity","Quantity:"),"html",null,true));sb.append(' \n
\n - \n ');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"quantity"),"html",null,true));sb.append(' \n =twig.attr("item"in context?context["item"]:null,"stock")){sb.append(" disabled")}sb.append(">+ \n
\n
\n\n ");if(!(null===twig.attr("item"in context?context["item"]:null,"originalQuantity"))&&twig.attr("item"in context?context["item"]:null,"quantity")==0){sb.append(' \n
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.stock_shortage","You had %1 of this item in your cart but unfortunately it’s now out of stock. We’ve removed it from your cart accordingly.",twig.attr("item"in context?context["item"]:null,"originalQuantity")),"html",null,true));sb.append("
\n
\n ")}else if(!(null===twig.attr("item"in context?context["item"]:null,"originalQuantity"))&&twig.attr("item"in context?context["item"]:null,"quantity")==1&&twig.attr("item"in context?context["item"]:null,"originalQuantity")>twig.attr("item"in context?context["item"]:null,"quantity")){sb.append(' \n
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.quantity_adjustment_single","You had %1 of this item in your cart but unfortunately only 1 is now left in stock. We’ve adjusted your cart accordingly.",twig.attr("item"in context?context["item"]:null,"originalQuantity")),"html",null,true));sb.append("
\n
\n ")}else if(!(null===twig.attr("item"in context?context["item"]:null,"originalQuantity"))&&twig.attr("item"in context?context["item"]:null,"originalQuantity")>twig.attr("item"in context?context["item"]:null,"quantity")){sb.append(' \n
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.quantity_adjustment","You had %1 of this item in your cart but unfortunately only %2 are now left in stock. We’ve adjusted your cart accordingly.",twig.attr("item"in context?context["item"]:null,"originalQuantity"),twig.attr("item"in context?context["item"]:null,"quantity")),"html",null,true));sb.append("
\n
\n ")}sb.append(" \n ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&!(null===twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"))){sb.append(' ');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"),"html",null,true));sb.append(" \n ")}else{sb.append(' ');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotal"),"html",null,true));sb.append(" \n ")}sb.append(" \n ")},this);sb.append(" ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&(!(null===twig.attr("data"in context?context["data"]:null,"subTotalInclTax"))||!(null===twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax")))){sb.append(" ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotalInclTax")?twig.attr("data"in context?context["data"]:null,"subTotalInclTax"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax");sb.append(" ")}else{sb.append(" ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotal")?twig.attr("data"in context?context["data"]:null,"subTotal"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotal");sb.append(" ");
}sb.append(' \n \n \n ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.subtotal","Subtotal: %1","subTotal"in context?context["subTotal"]:null),"html",null,true));sb.append(' \n \n \n
\n\n \n ")}else{sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.empty","Your basket is empty!"),"html",null,true));sb.append('
\n ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.empty_cta","Continue shopping"),"html",null,true));sb.append(" \n ")}sb.append("\n")}else{sb.append("\n ");if(twig.filter.length(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"email"))>0){sb.append(" ");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.nopayment_available","This store doesn't currently support taking payments. Please contact the store owner at %1.",twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"email")),"html",null,true));sb.append("
\n ")}else{sb.append(" ");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.nopayment_available_general","This store doesn't currently support taking payments."),"html",null,true));sb.append("
\n ")}sb.append("\n")}};widget_ecombasketsummary.prototype.getTemplateName=function(){return"widget_ecombasketsummary"};widget_ecombasketsummary.prototype.isTraitable=function(){return false};goog.provide("widget_ecomproduct");goog.require("twig");goog.require("twig.filter");widget_ecomproduct=function(env){twig.Template.call(this,env)};twig.inherits(widget_ecomproduct,twig.Template);widget_ecomproduct.prototype.getParent_=function(context){return false};widget_ecomproduct.prototype.render_=function(sb,context,blocks){if(!(null===twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"))){sb.append(" ");context["store"]=twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store");sb.append(" ");context["product"]=!twig.attr("data"in context?context["data"]:null,"product",undefined,undefined,true)?twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"):twig.attr("data"in context?context["data"]:null,"product");sb.append(" ");context["variant"]=!twig.attr("data"in context?context["data"]:null,"selectedVariant",undefined,undefined,true)?twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"),"defaultVariant"):twig.attr("data"in context?context["data"]:null,"selectedVariant");sb.append(" ");if(!(null===("variant"in context?context["variant"]:null))){sb.append(" ");context["variantStock"]=twig.attr("variant"in context?context["variant"]:null,"stock")-twig.attr("variant"in context?context["variant"]:null,"cartQuantity");sb.append(" ")}sb.append(' \n \n ');if(twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"assets"))>0){sb.append(' \n ")}sb.append('\n \n
\n\n ");if(!(null===("variant"in context?context["variant"]:null))){sb.append("\n ");if(twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"options"))>0){sb.append('
\n ');if(twig.attr("store"in context?context["store"]:null,"taxProducts")&&twig.attr("store"in context?context["store"]:null,"preCalculateTax")&&!(null===twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"))){sb.append(' ');sb.append(twig.filter.escape(this.env_,twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"),"html",null,true));sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.tax_price","incl. tax*"),"html",null,true));sb.append("
\n ")}else{sb.append(' ');sb.append(twig.filter.escape(this.env_,twig.attr("variant"in context?context["variant"]:null,"formattedPrice"),"html",null,true));sb.append("
\n ")}sb.append(" \n ")}else{sb.append('
\n ');if(twig.attr("store"in context?context["store"]:null,"taxProducts")&&twig.attr("store"in context?context["store"]:null,"preCalculateTax")&&!(null===twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"))){sb.append(' ');sb.append(twig.filter.escape(this.env_,twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"),"html",null,true));sb.append(" ");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.tax_price","incl. tax*"),"html",null,true));sb.append("
\n ")}else{sb.append(' ');sb.append(twig.filter.escape(this.env_,twig.attr("variant"in context?context["variant"]:null,"formattedPrice"),"html",null,true));sb.append("
\n ")}sb.append(" \n ")}sb.append("\n ");if(twig.attr("product"in context?context["product"]:null,"stockTrack")==1&&twig.attr("product"in context?context["product"]:null,"stockUnlimited")==0&&("variantStock"in context?context["variantStock"]:null)<1){sb.append('
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.sold-out","Sold out"),"html",null,true));sb.append("
\n ")}else if(twig.attr("product"in context?context["product"]:null,"stockTrack")==1&&twig.attr("product"in context?context["product"]:null,"stockUnlimited")==0&&("variantStock"in context?context["variantStock"]:null)<=5&&twig.attr("store"in context?context["store"]:null,"displayLowStockWarnings")==1){sb.append('
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.low_stock","Only %1 remaining","variantStock"in context?context["variantStock"]:null),"html",null,true));sb.append("
\n ")}sb.append("\n ")}else{sb.append('
');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.not-available","Currently unavailable"),"html",null,true));sb.append("
\n ")}sb.append("\n ");if(twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"options"))>0){sb.append('
\n ');context["_parent"]=context;var seq=twig.attr("product"in context?context["product"]:null,"options");twig.forEach(seq,function(v,k){context["_key"]=k;context["option"]=v;sb.append(' ');sb.append(twig.filter.escape(this.env_,twig.attr("option"in context?context["option"]:null,"name"),"html",null,true));sb.append(' \n \n ');var seq1=twig.attr("option"in context?context["option"]:null,"values");twig.forEach(seq1,function(v1,k1){context["_key"]=k1;context["value"]=v1;sb.append(" \n ');sb.append(twig.filter.escape(this.env_,twig.attr("value"in context?context["value"]:null,"value"),"html",null,true));sb.append("\n \n ")},this);sb.append(" \n ")},this);sb.append("
\n ")}sb.append('\n
\n \n ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.add-to-cart","Add to cart"),"html",null,true));sb.append(' \n \n
\n\n
\n\n ");if(!(null===twig.attr("product"in context?context["product"]:null,"category"))&&twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"category"))>0||!(null===twig.attr("product"in context?context["product"]:null,"tags"))&&twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"tags"))>0){sb.append('
\n ")}sb.append('\n
\n\n ');sb.append(twig.attr("product"in context?context["product"]:null,"content"));sb.append("
\n\n ");if(twig.attr("store"in context?context["store"]:null,"taxProducts")&&twig.attr("store"in context?context["store"]:null,"preCalculateTax")&&!(null===twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"))){sb.append(' \n ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.tax_explainer","* Based on residence in %1. Tax rates for other countries will be calculated at the checkout. Price exclusive of tax: %2.",twig.attr("store"in context?context["store"]:null,"defaultTaxCountry"),twig.attr("variant"in context?context["variant"]:null,"formattedPrice")),"html",null,true));sb.append("\n
\n ")}sb.append(" \n")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(" ");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.no-content","There aren't any products to display."),"html",null,true));sb.append("
\n")}};widget_ecomproduct.prototype.getTemplateName=function(){return"widget_ecomproduct"};widget_ecomproduct.prototype.isTraitable=function(){return false};goog.provide("widget_profile");goog.require("twig");goog.require("twig.filter");widget_profile=function(env){twig.Template.call(this,env)};twig.inherits(widget_profile,twig.Template);widget_profile.prototype.getParent_=function(context){return false};widget_profile.prototype.render_=function(sb,context,blocks){if(twig.attr("data"in context?context["data"]:null,"profileType")=="address"){sb.append("\n ");if(twig.attr("data"in context?context["data"]:null,"address")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"address"))>0){sb.append('
');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address"))>0&&twig.attr("data"in context?context["data"]:null,"address")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"address"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"address"),"html",null,true))}sb.append("
\n ")}else{sb.append(" ");context["noAddress"]=true;sb.append(" ")}sb.append("\n ");if(twig.attr("data"in context?context["data"]:null,"address1")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address1"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"address1"))>0){sb.append('
');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address1"))>0&&twig.attr("data"in context?context["data"]:null,"address1")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"address1"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"address1"),"html",null,true))}sb.append("
\n ")}else{sb.append(" ");context["noAddress1"]=true;sb.append(" ")}sb.append("\n ");if(twig.attr("data"in context?context["data"]:null,"address2")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address2"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"address2"))>0){sb.append('
');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address2"))>0&&twig.attr("data"in context?context["data"]:null,"address2")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"address2"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"address2"),"html",null,true))}sb.append("
\n ")}else{sb.append(" ");context["noAddress2"]=true;sb.append(" ")}sb.append("\n ");if(twig.attr("data"in context?context["data"]:null,"country")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"country"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"country"))>0){sb.append('
');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"country"))>0&&twig.attr("data"in context?context["data"]:null,"country")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"country"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"country"),"html",null,true))}sb.append("
\n ")}else{sb.append(" ");context["noCountry"]=true;sb.append(" ")}sb.append("\n ");if(twig.attr("data"in context?context["data"]:null,"addressPostalCode")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"addressPostalCode"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"postalcode"))>0){sb.append('
');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"addressPostalCode"))>0&&twig.attr("data"in context?context["data"]:null,"addressPostalCode")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"addressPostalCode"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"postalcode"),"html",null,true))}sb.append("
\n ")}else{sb.append(" ");context["noPostalcode"]=true;sb.append(" ")}sb.append("\n ");if(("noAddress"in context?context["noAddress"]:null)&&("noAddress1"in context?context["noAddress1"]:null)&&("noAddress2"in context?context["noAddress2"]:null)&&("noCountry"in context?context["noCountry"]:null)&&("noPostalcode"in context?context["noPostalcode"]:null)&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('
');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.noaddress","No address"),"html",null,true));sb.append("
\n ")}sb.append("
\n")}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="email"){sb.append("\n ");if(twig.attr("data"in context?context["data"]:null,"email")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"email"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"email"))>0){sb.append('
0&&twig.attr("data"in context?context["data"]:null,"email")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"email"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"email"),"html",null,true))}sb.append('">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"email"))>0&&twig.attr("data"in context?context["data"]:null,"email")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"email"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"email"),"html",null,true))}sb.append(" \n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append("
");sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.noemail","No email"),"html",null,true));sb.append(" \n ")}sb.append("
\n")}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="headline"){sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"headline")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"headline"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"headline"))>0){sb.append(' ');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"headline"))>0&&twig.attr("data"in context?context["data"]:null,"headline")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"headline"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"headline"),"html",null,true));sb.append(" ")}sb.append(" \n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.noheadline","No headline"),"html",null,true));sb.append(" \n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="strapline"){sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"strapline")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"strapline"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"strapline"))>0){sb.append(' ');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"strapline"))>0&&twig.attr("data"in context?context["data"]:null,"strapline")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"strapline"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"strapline"),"html",null,true));sb.append(" ")}sb.append(" \n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nostrapline","No strapline"),"html",null,true));sb.append(" \n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="companydescription"){sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"companydescription")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"companydescription"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"companydescription"))>0){sb.append(' ');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"companydescription"))>0&&twig.attr("data"in context?context["data"]:null,"companydescription")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"companydescription"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"companydescription"),"html",null,true));sb.append(" ")}sb.append(" \n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nocompanydescription","No company description"),"html",null,true));sb.append(" \n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="phone"){sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"phone")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"phone"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"phone"))>0){sb.append(' ');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"phone"))>0&&twig.attr("data"in context?context["data"]:null,"phone")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"phone"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"phone"),"html",null,true));sb.append(" ")}sb.append(" \n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nophone","No phone number"),"html",null,true));sb.append(" \n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="business"){sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"business")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"business"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"business"))>0){
sb.append(' ');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"business"))>0&&twig.attr("data"in context?context["data"]:null,"business")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"business"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"business"),"html",null,true));sb.append(" ")}sb.append(" \n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nobusiness","No business"),"html",null,true));sb.append(" \n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="copyright"){sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"copyright")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"copyright"))>0){sb.append(' ');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"))>0&&twig.attr("data"in context?context["data"]:null,"copyright")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"copyright"),"html",null,true));sb.append(" ")}sb.append(" \n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' ');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nocopyright","No copyright"),"html",null,true));sb.append(" \n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="twitter"){sb.append('\n")}else{sb.append("");sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.message","Retrieving tweets"),"html",null,true));sb.append(".
\n")}}sb.append("\n\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="map"){sb.append('
\n')}sb.append("\n\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="form"){sb.append('\n")}sb.append("\n\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="socialicons"){sb.append("\n \n ");if(twig.attr("data"in context?context["data"]:null,"socialIconsLinkedin")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsLinkedin"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"linkedin"))>0){sb.append('
\n 0&&twig.attr("data"in context?context["data"]:null,"socialIconsLinkedin")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsLinkedin"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"linkedin"),"html",null,true))}sb.append('" target="_blank">Linkedin \n \n ')}else{sb.append(" ");context["noLinkedIn"]=true;sb.append(" ")}sb.append("\n \n ");if(twig.attr("data"in context?context["data"]:null,"socialIconsTwitter")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsTwitter"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"twitter"))>0){sb.append(' \n ')}else{sb.append(" ");context["noTwitter"]=true;sb.append(" ")}sb.append("\n \n ");if(twig.attr("data"in context?context["data"]:null,"socialIconsFacebook")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsFacebook"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"facebook"))>0){sb.append('
\n 0&&twig.attr("data"in context?context["data"]:null,"socialIconsFacebook")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsFacebook"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"facebook"),"html",null,true))}sb.append('" target="_blank">Facebook \n \n ')}else{sb.append(" ");context["noFacebook"]=true;sb.append(" ")}sb.append("\n \n ");if(twig.attr("data"in context?context["data"]:null,"socialIconsRss")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsRss"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"rss"))>0){sb.append(' \n ')}else{sb.append(" ");context["noRss"]=true;sb.append(" ")}sb.append("\n ");if(twig.attr("brandCapabilities"in context?context["brandCapabilities"]:null,"disableGoogleServices")!=1){sb.append(" \n ");if(twig.attr("data"in context?context["data"]:null,"socialIconsGoogleplus")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsGoogleplus"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"googleplus"))>0){sb.append('
\n 0&&twig.attr("data"in context?context["data"]:null,"socialIconsGoogleplus")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsGoogleplus"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"googleplus"),"html",null,true))}sb.append('" target="_blank">Google+ \n \n ')}else{sb.append(" ");context["noGoogleplus"]=true;sb.append(" ")}sb.append("\n \n ");if(twig.attr("data"in context?context["data"]:null,"socialIconsYoutube")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsYoutube"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"youtube"))>0){sb.append('
\n 0&&twig.attr("data"in context?context["data"]:null,"socialIconsYoutube")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsYoutube"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"youtube"),"html",null,true))}sb.append('" target="_blank">Youtube \n \n ')}else{sb.append(" ");context["noYoutube"]=true;sb.append(" ")}sb.append("\n ");if(("noLinkedIn"in context?context["noLinkedIn"]:null)&&("noTwitter"in context?context["noTwitter"]:null)&&("noFacebook"in context?context["noFacebook"]:null)&&("noRss"in context?context["noRss"]:null)&&("noGoogleplus"in context?context["noGoogleplus"]:null)&&("noYoutube"in context?context["noYoutube"]:null)&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append("
");sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.noicons","No social icons"),"html",null,true));sb.append(" \n ")}sb.append("\n")}else{sb.append("\n ");if(("noLinkedIn"in context?context["noLinkedIn"]:null)&&("noTwitter"in context?context["noTwitter"]:null)&&("noFacebook"in context?context["noFacebook"]:null)&&("noRss"in context?context["noRss"]:null)&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append("
");sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.noicons","No social icons"),"html",null,true));sb.append(" \n ")}}sb.append("
\n")}sb.append("\n");if((twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"profileType"))==0||twig.attr("data"in context?context["data"]:null,"profileType")!="address"&&twig.attr("data"in context?context["data"]:null,"profileType")!="email"&&twig.attr("data"in context?context["data"]:null,"profileType")!="headline"&&twig.attr("data"in context?context["data"]:null,"profileType")!="strapline"&&twig.attr("data"in context?context["data"]:null,"profileType")!="companydescription"&&twig.attr("data"in context?context["data"]:null,"profileType")!="phone"&&twig.attr("data"in context?context["data"]:null,"profileType")!="business"&&twig.attr("data"in context?context["data"]:null,"profileType")!="copyright"&&twig.attr("data"in context?context["data"]:null,"profileType")!="twitter"&&twig.attr("data"in context?context["data"]:null,"profileType")!="map"&&twig.attr("data"in context?context["data"]:null,"profileType")!="form"&&twig.attr("data"in context?context["data"]:null,"profileType")!="socialicons")&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(" ");sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.error","Sorry, something is wrong with this widget"),"html",null,true));sb.append("
\n")}};widget_profile.prototype.getTemplateName=function(){return"widget_profile"};widget_profile.prototype.isTraitable=function(){return false};goog.provide("widget_twitter");goog.require("twig");goog.require("twig.filter");widget_twitter=function(env){twig.Template.call(this,env)};twig.inherits(widget_twitter,twig.Template);widget_twitter.prototype.getParent_=function(context){return false};widget_twitter.prototype.render_=function(sb,context,blocks){sb.append('\n")};widget_twitter.prototype.getTemplateName=function(){return"widget_twitter"};widget_twitter.prototype.isTraitable=function(){return false};goog.provide("widget_yelpreview");goog.require("twig");goog.require("twig.filter");widget_yelpreview=function(env){twig.Template.call(this,env)};twig.inherits(widget_yelpreview,twig.Template);widget_yelpreview.prototype.getParent_=function(context){return false};widget_yelpreview.prototype.render_=function(sb,context,blocks){if(twig.attr(twig.attr("data"in context?context["data"]:null,"reviews"),"reviews",undefined,undefined,true)&&twig.filter.length(this.env_,twig.attr(twig.attr("data"in context?context["data"]:null,"reviews"),"reviews"))>0){if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"title"))>0){sb.append('');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"title"),"html",null,true));sb.append(" ")}sb.append('\n');context["_parent"]=context;var seq=twig.attr(twig.attr("data"in context?context["data"]:null,"reviews"),"reviews");twig.forEach(seq,function(v,k){context["_key"]=k;context["review"]=v;sb.append(' \n \n \n \n \n ');sb.append(twig.filter.escape(this.env_,twig.attr("review"in context?context["review"]:null,"time_created"),"html",null,true));sb.append(' \n ');sb.append(twig.filter.escape(this.env_,twig.attr("review"in context?context["review"]:null,"review"),"html",null,true));sb.append(' \n ');sb.append(twig.filter.escape(this.env_,twig.attr("review"in context?context["review"]:null,"reviewer_name"),"html",null,true));sb.append(' \n ');sb.append(twig.filter.escape(this.env_,App.t("widgets.yelpreview.more_info","Read more..."),"html",null,true));sb.append(" \n \n \n")},this);sb.append(" \n")}sb.append("\n");if(twig.filter.length(this.env_,twig.attr(twig.attr("data"in context?context["data"]:null,"reviews"),"reviews"))==0&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' \n ');sb.append(twig.filter.escape(this.env_,App.t("widgets.yelpreview.no_business_id","Enter your Yelp business ID to show your top rated review."),"html",null,true));sb.append("\n
\n")}};widget_yelpreview.prototype.getTemplateName=function(){return"widget_yelpreview"};widget_yelpreview.prototype.isTraitable=function(){return false};