System.register(["./p-84426aeb.system.js"],(function(t){"use strict";var e,i,s;return{setters:[function(t){e=t.r;i=t.c;s=t.h}],execute:function(){var n=t("smoothly_address",function(){function t(t){e(this,t);this.type="primary";this.mode="display";this.change=i(this,"change",7)}t.prototype.onChange=function(t){t.stopPropagation();this.value=t.detail;this.mode="display";this.change.emit(Object.assign({type:this.type},this.value))};t.prototype.render=function(){var t=this;return this.mode=="edit"?[s("label",null,this.type),s("smoothly-address-edit",{onChange:function(e){return t.onChange(e)},value:this.value})]:[s("label",null,this.type),this.editable?s("smoothly-submit",{color:"primary",fill:"clear",prevent:true,onSubmit:function(){return t.mode="edit"}},"Edit"):[],s("smoothly-address-display",{value:this.value})]};Object.defineProperty(t,"style",{get:function(){return".sc-smoothly-address-h{display:block;position:relative}[hidden].sc-smoothly-address-h{display:none}smoothly-submit.sc-smoothly-address{float:right}label.sc-smoothly-address{display:block;-webkit-margin-before:.6em;margin-block-start:.6em;-webkit-margin-after:.2em;margin-block-end:.2em}"},enumerable:true,configurable:true});return t}())}}}));