var eXpress;(function(eXpress){var iframeeditor;(function(iframeeditor){var IFrameEditor=function(){function IFrameEditor(deps,context,pageContext){this.context=context;this.pageContext=pageContext;this.pvc=eXpress.utils.getQueryStringParameter("pvc",undefined,true).toLowerCase();this.orderService=deps.orderService;var oldHeader=$(".editor-header");this.header=oldHeader.length>0?oldHeader:$(".o-small-header")}IFrameEditor.prototype.start=function(){var _this=this;this.orderService.getPriceAsync(this.pvc,1,0,undefined,undefined).then(function(res){var $price=_this.header.find(".technical-price").show().find(".technical-amount");$price.html(eXpress.utils.displayPrice(res.price.amount,true,false,_this.context))});this.header.find(".technical-back-to").attr("href",this.pageContext.productCategoryUrl).show().parent(".u-hide").removeClass("u-hide")};return IFrameEditor}();iframeeditor.IFrameEditor=IFrameEditor;var deps={orderService:new eXpress.services.OrderService(eXpress.core.context)};var app=new IFrameEditor(deps,eXpress.core.context,pageContext);app.start()})(iframeeditor=eXpress.iframeeditor||(eXpress.iframeeditor={}))})(eXpress||(eXpress={}));