(window.multistep_editor_jsonpFunction=window.multistep_editor_jsonpFunction||[]).push([[7],{848:function(e,t,i){"use strict";i.r(t),i.d(t,"AuFilteredSingleList",function(){return a}),i.d(t,"option",function(){return a});var n=i(0),l=i(913),s=i(456),o=i(449),u=i(2);i(852);let a=class extends s.a{init(e){if(super.init(e),0===this.items.length)return;let t=this.items.find(e=>e.optionValue.preselected);t||e.initWithEmptyValue||(t=this.items.find(e=>0===e.price)),t||e.initWithEmptyValue||(t=this.items[0]),this.value=t}_valueChange(e){this._onOptionChange()}updateSelectedValue(e){if(e.length>1)throw new Error("Multiple option value is not available");const t=e.length?this.items.find(t=>{var i;return t.id===(null===(i=e[0])||void 0===i?void 0:i.id)}):null;(this.value&&!t||!this.value&&t||this.value&&t&&this.value.id!==t.id)&&(this.value=t)}};Object(n.a)([Object(u.b)("value"),Object(n.b)("design:type",Function),Object(n.b)("design:paramtypes",[o.a]),Object(n.b)("design:returntype",void 0)],a.prototype,"_valueChange",null),a=Object(n.a)([Object(u.a)("au-option-filtered-list",l)],a)},913:function(e,t){e.exports='<style>\n    :host {\n        display: block;\n        overflow: visible;\n        flex: 1 1 auto;\n        --iron-icon-width: 22px;\n        --iron-icon-height: 22px;\n        z-index: 10;\n        @apply --default-common-control-font;\n    }\n</style>\n\n<au-filter-list items="[[items]]" selected-item="{{value}}" is-show-menu="[[false]]" enable-filter="[[enableFilter]]"\n    driver="[[driver]]"></au-filter-list>'}}]);