(function(){"use strict";page.using={types:["VisitPlanningView"]};page.onLoad=function(){var t=this.url,e=t.getUid(),i=!e?t.getArray("customerInfoAreas",[]):[],a=!e?t.getArray("customerInfoAreasFilter",[]):[],n=u8.dict({infoAreaId:i,filterName:a}).zip(),r=t.getDate("defaultSuggestionStart")||u8.services.typeConverter.toDate(u8.Crm.FilterExpressions.evaluateExpression(t.get("defaultSuggestionStart")))||(new Date).addDays(1),s={parent:this,isDefault:true,model:{customerUid:e,customerInfoAreas:n,defaultSuggestionStart:r,defaultSuggestionDuration:t.getInt("defaultSuggestionDuration",1)}};this.$("#content").widget("VisitPlanningView",s)}})();