var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function u(t){try{c(r.next(t))}catch(e){o(e)}}function a(t){try{c(r["throw"](t))}catch(e){o(e)}}function c(t){t.done?n(t.value):i(t.value).then(u,a)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(e){return c([t,e])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(a){u=[6,a];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-b152ce82.system.js","./p-0cf43fad.system.js","./p-2ed8732f.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h},function(){},function(t){r=t.g}],execute:function(){var i=t("bce_input_container",function(){function t(t){var n=this;e(this,t);this._inputCreator=r(this,(function(t){return n.error=!!t}))}t.prototype.reset=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this._inputCreator.reset();return[2]}))}))};t.prototype.validate=function(t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this._inputCreator.validate(t)]}))}))};t.prototype.render=function(){var t=this._inputCreator;return n(t,null,n("div",{class:"container"},n("slot",null)))};Object.defineProperty(t,"style",{get:function(){return":host small{position:absolute;font-size:12px;bottom:-16px;left:12px;text-align:left;-webkit-transition:left 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:left 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--bce-con2-surface)}:host small:before{content:\"\";position:absolute;left:-6px;font-weight:100}:host([disabled]) small{color:var(--bce-con3-surface)}:host([focus]) small{color:var(--bce-con1-surface)}:host([error]) bce-label{color:var(--bce-c500-error)}:host([error]) small{color:var(--bce-c500-error)}\@media screen and (min-width: 1024px){:host(:not([compact])[label]) small{left:calc(25% + 12px)}}:host{position:relative;display:block}:host([label]) bce-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:40px}\@media screen and (min-width: 1024px){:host([label]) bce-label{display:-ms-inline-flexbox;display:inline-flex;vertical-align:top;width:25%}:host([label]) .container{display:inline-block;width:75%}}"},enumerable:true,configurable:true});return t}())}}}));