/*! phoscon-app 2024-10-07 */

export function initIkeaFyrturKadriljPages(pageParams){let c=pageParams.constants,s=pageParams.scanStates;return[{id:"BLIND_CONNECT_PAGE_1",url:"devices-blinds/ikea/fyrtur-kadrilj/page-1.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"BLIND_CONNECT_PAGE_1"},{type:c.ADD_CLASS_ELEM,data:{identifier:c.BTN_NEXT,c:c.DISABLE}},{type:c.REMOVE_CLASS_ELEM,data:{identifier:c.MODAL_FOOTER,c:c.DANGER}},{type:s.START_SCAN,data:120}]},{event:s.DEVICE_ADDED,actions:[{type:s.STOP_SCAN},{type:c.CALL_PAGE,data:"BLIND_CONNECT_SUCCESS"}],cond:{modelids:["FYRTUR","KADRILJ"]}},{event:s.NO_DEVICE_ADDED,actions:[{type:s.STOP_SCAN},{type:c.CALL_PAGE,data:"BLIND_CONNECT_ERROR"}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:s.STOP_SCAN},{type:c.CLOSE_MODAL,data:"blindWizardModal"}]}]},{id:"BLIND_CONNECT_SUCCESS",url:"devices-blinds/ikea/fyrtur-kadrilj/page-2.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"BLIND_CONNECT_SUCCESS"},{type:c.ADD_CLASS_ELEM,data:{identifier:c.MODAL_FOOTER,c:c.SUCCESS}}]},{event:c.BTN_NEXT_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"blindWizardModal"},{type:c.CALL_FUNC,data:"routeToDetails"}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"blindWizardModal"}]}]},{id:"BLIND_CONNECT_ERROR",url:"devices-blinds/ikea/fyrtur-kadrilj/page-error.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"BLIND_CONNECT_ERROR"},{type:c.ADD_CLASS_ELEM,data:{identifier:c.MODAL_FOOTER,c:c.DANGER}}]},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CALL_PAGE,data:"BLIND_CONNECT_PAGE_1"}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:s.STOP_SCAN},{type:c.CLOSE_MODAL,data:"blindWizardModal"}]}]},{id:"IKEA_FYRTUR_KADRILJ_PAGE_RESET",url:"devices-blinds/ikea/fyrtur-kadrilj/page-reset.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"IKEA_FYRTUR_KADRILJ_PAGE_RESET"}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"blindWizardModal"}]},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_IKEA_PRODUCT}]},{event:c.BTN_NEXT_PRESSED,actions:[{type:c.CALL_PAGE,data:"BLIND_CONNECT_PAGE_1"}]}]}]};