403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.116.49.143
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/book24.ng/public/libs/tui.calendar/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/book24.ng/public/libs/tui.calendar/tui-calendar.min.js.map
{"version":3,"sources":["webpack://tui.Calendar/webpack/universalModuleDefinition","webpack://tui.Calendar/webpack/bootstrap","webpack://tui.Calendar/external {\"commonjs\":\"tui-code-snippet\",\"commonjs2\":\"tui-code-snippet\",\"amd\":\"tui-code-snippet\",\"root\":[\"tui\",\"util\"]}","webpack://tui.Calendar/./src/js/common/domutil.js","webpack://tui.Calendar/./src/js/config.js","webpack://tui.Calendar/./src/js/common/datetime.js","webpack://tui.Calendar/./src/js/common/timezone.js","webpack://tui.Calendar/./src/js/common/common.js","webpack://tui.Calendar/./node_modules/handlebars/runtime.js","webpack://tui.Calendar/./src/js/common/domevent.js","webpack://tui.Calendar/./src/js/view/view.js","webpack://tui.Calendar/(webpack)/buildin/global.js","webpack://tui.Calendar/./src/js/common/reqAnimFrame.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/utils.js","webpack://tui.Calendar/./src/js/common/collection.js","webpack://tui.Calendar/./src/js/common/floatingLayer.js","webpack://tui.Calendar/./src/js/common/array.js","webpack://tui.Calendar/./src/js/model/schedule.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/exception.js","webpack://tui.Calendar/./src/js/handler/month/core.js","webpack://tui.Calendar/./src/js/handler/time/core.js","webpack://tui.Calendar/./src/js/handler/daygrid/core.js","webpack://tui.Calendar/./src/js/handler/month/guide.js","webpack://tui.Calendar/./src/js/handler/daygrid/move.js","webpack://tui.Calendar/./src/js/view/popup/scheduleDetailPopup.js","webpack://tui.Calendar/./src/js/view/popup/scheduleCreationPopup.js","webpack://tui.Calendar/./src/js/common/point.js","webpack://tui.Calendar/./src/js/view/weekday.js","webpack://tui.Calendar/./src/js/common/vlayout.js","webpack://tui.Calendar/./src/js/model/viewModel/scheduleViewModel.js","webpack://tui.Calendar/./src/js/handler/drag.js","webpack://tui.Calendar/./src/js/common/dw.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/base.js","webpack://tui.Calendar/./node_modules/handlebars-template-loader/runtime/index.js","webpack://tui.Calendar/./src/js/view/template/helper.js","webpack://tui.Calendar/./src/js/view/template/month/more.hbs","webpack://tui.Calendar/./src/js/view/month/more.js","webpack://tui.Calendar/./src/js/handler/month/moveGuide.hbs","webpack://tui.Calendar/./src/js/handler/month/moveGuide.js","webpack://tui.Calendar/./src/js/handler/month/move.js","webpack://tui.Calendar/./src/js/handler/month/resizeGuide.js","webpack://tui.Calendar/./src/js/handler/month/resize.js","webpack://tui.Calendar/./src/js/handler/month/guide.hbs","webpack://tui.Calendar/./src/js/handler/month/creationGuide.js","webpack://tui.Calendar/./src/js/handler/month/creation.js","webpack://tui.Calendar/./src/js/handler/month/click.js","webpack://tui.Calendar/./src/js/view/template/month/weekdayInMonthSchedule.hbs","webpack://tui.Calendar/./src/js/view/template/month/weekdayInMonth.hbs","webpack://tui.Calendar/./src/js/view/month/weekdayInMonth.js","webpack://tui.Calendar/./src/js/view/template/month/month.hbs","webpack://tui.Calendar/./src/js/view/month/month.js","webpack://tui.Calendar/./src/js/factory/monthView.js","webpack://tui.Calendar/./src/js/handler/time/resizeGuide.js","webpack://tui.Calendar/./src/js/handler/time/resize.js","webpack://tui.Calendar/./src/js/view/template/week/timeMoveGuide.hbs","webpack://tui.Calendar/./src/js/handler/time/moveGuide.js","webpack://tui.Calendar/./src/js/handler/time/move.js","webpack://tui.Calendar/./src/js/handler/time/creationGuide.js","webpack://tui.Calendar/./src/js/handler/time/creation.js","webpack://tui.Calendar/./src/js/handler/time/click.js","webpack://tui.Calendar/./src/js/handler/daygrid/resizeGuide.js","webpack://tui.Calendar/./src/js/handler/daygrid/resize.js","webpack://tui.Calendar/./src/js/handler/daygrid/creationGuide.js","webpack://tui.Calendar/./src/js/handler/daygrid/creation.js","webpack://tui.Calendar/./src/js/handler/daygrid/moveGuide.js","webpack://tui.Calendar/./src/js/handler/daygrid/click.js","webpack://tui.Calendar/./src/js/handler/time/clickDayname.js","webpack://tui.Calendar/./src/js/view/template/popup/scheduleDetailPopup.hbs","webpack://tui.Calendar/./src/js/view/template/popup/scheduleCreationPopup.hbs","webpack://tui.Calendar/external {\"commonjs\":\"tui-date-picker\",\"commonjs2\":\"tui-date-picker\",\"amd\":\"tui-date-picker\",\"root\":[\"tui\",\"DatePicker\"]}","webpack://tui.Calendar/./src/js/view/template/week/timeGridCurrentTime.hbs","webpack://tui.Calendar/./src/js/view/template/week/timezoneSticky.hbs","webpack://tui.Calendar/./src/js/view/template/week/timeGrid.hbs","webpack://tui.Calendar/./src/js/common/autoScroll.js","webpack://tui.Calendar/./src/js/view/template/week/time.hbs","webpack://tui.Calendar/./src/js/view/week/time.js","webpack://tui.Calendar/./src/js/view/week/timeGrid.js","webpack://tui.Calendar/./src/js/view/template/week/dayGrid.hbs","webpack://tui.Calendar/./src/js/view/template/week/dayGridSchedule.hbs","webpack://tui.Calendar/./src/js/view/week/dayGridSchedule.js","webpack://tui.Calendar/./src/js/view/week/dayGrid.js","webpack://tui.Calendar/./src/js/view/template/week/daynames.hbs","webpack://tui.Calendar/./src/js/view/week/dayname.js","webpack://tui.Calendar/./src/js/view/week/week.js","webpack://tui.Calendar/./src/js/common/vpanel.js","webpack://tui.Calendar/./src/js/factory/weekView.js","webpack://tui.Calendar/./src/js/controller/viewMixin/month.js","webpack://tui.Calendar/./src/js/controller/viewMixin/week.js","webpack://tui.Calendar/./src/js/controller/viewMixin/core.js","webpack://tui.Calendar/./src/js/theme/themeConfig.js","webpack://tui.Calendar/./src/js/theme/standard.js","webpack://tui.Calendar/./src/js/theme/theme.js","webpack://tui.Calendar/./src/js/common/model.js","webpack://tui.Calendar/./src/js/common/dirty.js","webpack://tui.Calendar/./src/js/controller/base.js","webpack://tui.Calendar/./src/js/factory/controller.js","webpack://tui.Calendar/./src/js/view/layout.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/no-conflict.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/runtime.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/safe-string.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/logger.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/decorators.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/helpers/with.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/helpers/log.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/helpers/if.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/helpers/each.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars/helpers.js","webpack://tui.Calendar/./node_modules/handlebars/dist/cjs/handlebars.runtime.js","webpack://tui.Calendar/./src/js/factory/calendar.js","webpack://tui.Calendar/./src/index.js"],"names":["root","factory","exports","module","require","define","amd","window","__WEBPACK_EXTERNAL_MODULE__0__","__WEBPACK_EXTERNAL_MODULE__69__","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","domutil","domevent","Collection","util","CSS_AUTO_REGEX","userSelectProperty","appendHTMLElement","tagName","container","className","el","document","createElement","appendChild","body","remove","parentNode","removeChild","id","getElementById","_matcher","selector","test","hasClass","replace","nodeName","toLowerCase","find","multiple","result","found","isFirst","isUndefined","isFilter","isFunction","isString","recurse","cursor","childNodes","len","length","push","closest","excludeEl","parent","text","ret","nodeType","textContent","firstChild","nextSibling","nodeValue","setData","data","dataset","setAttribute","getData","getAttribute","classList","getClass","RegExp","contains","addClass","setClass","forEachArray","split","add","baseVal","removeClass","removed","str","trim","getStyle","style","css","currentStyle","defaultView","getComputedStyle","getPropertyValue","prop","re","arguments","toUpperCase","setPosition","x","y","left","isNumber","top","setLTRB","ltrb","forEach","getPosition","clear","bound","getBoundingClientRect","parseFloat","getSize","width","height","isNull","offsetWidth","offsetHeight","getBCRect","rect","extend","testProp","props","documentElement","getFormData","formElement","groupedByName","this","noDisabledFilter","disabled","output","apply","concat","groupBy","elements","each","type","checked","toArray","pop","opt","selected","map","supportSelectStart","prevSelectStyle","disableTextSelection","dom","on","preventDefault","enableTextSelection","off","disableImageDrag","enableImageDrag","cssPrefix","alldayGetViewID","alldayCheckPermission","config","throwError","msg","alert","classname","charAt","slice","allday","getViewIDRegExp","checkCondRegExp","daygrid","time","global","datetime","tokenFunc","TZDate","Date","dw","dateFormatRx","memo","YYYYMMDD","date","getFullYear","leadingZero","getMonth","getDate","join","YYYY","String","MM","DD","HH:mm","hour","getHours","minutes","getMinutes","hh:mm","Math","floor","tt","MILLISECONDS_PER_DAY","MILLISECONDS_PER_HOUR","MILLISECONDS_PER_MINUTES","MILLISECONDS_SCHEDULE_MIN_DURATION","_convMilliseconds","iteratee","index","day","seconds","isNaN","reduce","millisecondsTo","cache","v","millisecondsFrom","minutesFromHours","hours","range","start","end","step","startTime","getTime","endTime","addDate","clone","compare","d1","d2","_d1","_d2","isSameMonth","isSameDate","isValid","toUTC","offset","getTimezoneOffset","number","zero","parse","fixMonth","separator","ymd","hms","matches","match","indexOf","splice","substr","setWithRaw","Number","raw","M","h","getSeconds","ms","getMilliseconds","setHours","format","forEachOwnProperties","converter","token","startDateOfMonth","startDate","setDate","endDateOfMonth","endDate","setMonth","arr2dCalendar","month","options","weekArr","startIndex","totalDate","afterDates","week","calendar","startDayOfWeek","isAlways6Week","visibleWeeksCount","workweek","inArray","getDay","isWeekend","getGridLeftAndWidth","days","narrowWeekend","uniformWidth","wideWidth","accumulatedWidth","dates","filter","model","isBetweenWithDate","parseInt","MIN_TO_MS","nativeOffsetMs","customOffsetMs","timezoneOffsetCallback","setByTimezoneOption","timestamp","now","getCustomTimezoneOffset","createDateAsLocalTime","arg","Error","timezoneOffset","customTimezoneOffset","getLocalTime","nativeDate","args","utc","UTC","createDateWithMultipleArgs","useLocalTimeConverter","getUTCTime","createDateWithUTCTime","_date","toUTCString","toDate","valueOf","addMinutes","setMinutes","addMilliseconds","milliseconds","setMilliseconds","setFullYear","toLocalTime","utcTime","methodName","setOffset","setOffsetByTimezoneOption","getOffset","setOffsetCallback","callback","restoreOffset","aps","Array","scheduleIDGetter","schedule","cid","createScheduleCollection","initItems","collection","ratio","a","b","nearest","diff","abs","min","pick2","obj","paths","pick","val","then","fn","mixin","from","to","limit","minArr","maxArr","max","limitDate","maxDate","stripTags","firstIn2dArray","arr2d","lastIn2dArray","lastRow","lastCol","setAutoEllipsis","force","scrollWidth","set","path","names","store","shiftArray","array","shift","unshift","takeArray","rightCount","leftCount","shiftHours","parseUnit","cssValue","contextopt","item","browser","DRAG","START","END","mousedown","touchstart","pointerdown","MSPointerDown","MOVE","types","context","_on","handler","originHandler","stamp","e","event","_checkMouse","addEventListener","attachEvent","_off","removeEventListener","detachEvent","keys","msie","version","once","self","isObject","onceHandler","stopPropagation","cancelBubble","returnValue","stop","disableScrollPropagation","disableClickPropagation","getMousePosition","mouseEvent","relativeElement","clientX","clientLeft","clientY","clientTop","getWheelDelta","delta","wheelDelta","detail","related","relatedTarget","err","trigger","eventData","exec","dispatchEvent","fireEvent","eventObj","evt","bubbles","cancelable","view","screenX","screenY","ctrlKey","altKey","shiftKey","metaKey","button","undefined","createEvent","initMouseEvent","createEventObject","propName","0","1","2","getMouseButton","implementation","hasFeature","View","cssprefix","children","state","addChild","items","render","childView","recursive","skipThis","resize","_onResize","_beforeDestroy","_destroy","innerHTML","destroy","isChildView","getViewBound","position","size","setState","CustomEvents","g","Function","eval","requestFn","cancelFn","getPrefixed","requestAnimationFrame","cancelAnimationFrame","requestAnimFrame","cancelAnimFrame","escapeExpression","string","toHTML","possible","badChars","escapeChar","isEmpty","isArray","createFrame","frame","_parent","blockParams","params","ids","appendContextPath","contextPath","escape","&","<",">","\"","'","`","=","chr","toString","forEachProp","forEachArr","isFunc","isObj","getItemIDFn","getItemID","and","filters","cnt","or","merge","collections","cols","newItems","merged","col","_id","ownItems","itemToRemove","has","isExisty","doWhenHas","groupFunc","baseValue","keyIsFunc","k","single","useFilter","sort","compareFunction","arr","FloatingLayer","layerContainer","sibling","PROP_KEY","zIndex","getLargestZIndex","INIT_ZINDEX","display","inherit","isVisible","setSize","w","setContent","html","zIndexes","layer","focus","zIndexForShow","show","hide","booleanASC","stringASC","_a","_b","bsearch","search","currentIndex","comp","minIndex","maxIndex","asc","durationA","durationB","allDayCompare","startsCompare","modelA","modelB","isAllDay","hasMultiDates","getStarts","duration","bool","desc","num","ascIgnoreCase","descIgnoreCase","dirty","SCHEDULE_MIN_DURATION","SCHEDULE_CATEGORY","Schedule","title","color","bgColor","dragBgColor","borderColor","calendarId","category","dueDateClass","customStyle","isPending","isFocused","isReadOnly","isPrivate","location","attendees","recurrenceRule","goingDuration","comingDuration","schema","required","dateRange","inst","init","setAllDayPeriod","setTimePeriod","substring","getEnds","equals","collidesWith","ownStarts","ownEnds","ownGoingDuration","ownComingDuration","errorProps","Exception","message","node","loc","line","column","tmp","constructor","idx","captureStackTrace","lineNumber","nop","common","mfloor","monthView","weekColl","weeks","weekCount","dayCount","getRenderDateRange","relativeContainer","vLayout","panels","grids","weekdayView","pos","grid","getX","sizeX","sizeY","triggerEvent","Point","timeCore","_calcGridYIndex","baseMil","floored","_retriveScheduleData","timeView","viewHeight","viewTime","hourLength","hourEnd","hourStart","mouseY","gridY","timeY","nearestGridY","nearestGridTimeY","target","srcElement","relatedView","originEvent","_retriveScheduleDataFromDate","nearestGridEndY","nearestGridEndTimeY","getNearestHour","proto","method","nearestHour","mmax","mmin","dayGridCore","datesInRange","containerWidth","mousePos","dragStartXIndex","getRenderDateGrids","mouseX","xIndex","targetDate","tmpl","mabs","MonthGuide","label","isResizeMode","isCreationMode","styles","_getStyles","controller","theme","startCoord","guideElements","clearGuideElement","_getRatioValueInWeek","_createGuideElement","guide","_getGuideElement","_getCoordByDate","getIdxFromDiff","monthStart","renderStartDate","isBefore","_getLimitedCoord","coord","dragStartEvent","temp","renderMonth","update","_updateGuides","inds","ind","exceedLClass","exceedRClass","exceedL","exceedR","_getOriginIndicate","mouseCoord","right","_getMouseIndicate","_getContainIndicate","_removeGuideElements","yCoords","guides","_getExcludesInRange","numbers","excludes","limitedCoord","renderedYIndex","yCoordsToUpdate","yCoordsToRemove","renderIndication","guideYCoord","indicate","element","border","creationGuide","backgroundColor","scheduleHeight","scheduleGutter","marginTop","marginLeft","marginRight","borderRadius","DayGridMoveGuide","DayGridMove","dragHandler","_dragStart","dragStart","_onDragStart","checkExpectedCondition","parentView","cssClass","dragStartEventData","scheduleBlockElement","modelID","targetModel","getScheduleDataFunc","scheduleData","schedules","drag","_onDrag","dragEnd","_onDragEnd","click","_onClick","fire","dragEventData","_updateSchedule","dateOffset","newStarts","newEnds","dragEndEventData","overrideEventName","skipUpdate","clickEventData","ScheduleDetailPopup","_viewModel","_schedule","_calendar","_onMouseDown","mouseDownEvent","clickEvent","_onClickEditSchedule","_onClickDeleteSchedule","triggerEventName","_scheduleEl","viewModel","_setPopupPositionAndArrowDirection","debounce","layerSize","windowSize","innerWidth","bottom","innerHeight","parentRect","parentBounds","scheduleEl","blockEl","scheduleBound","_calcRenderingData","_setArrowDirection","arrow","parentSize","guideBound","guideVerticalCenter","arrowDirection","direction","arrowTop","arrowEl","borderElement","refresh","DatePicker","timezone","ScheduleCreationPopup","calendars","_selectedCal","_focusedDropdown","_onClickListeners","_selectDropdownMenuItem","_toggleDropdownMenuView","_closeDropdownMenuView","_closePopup","_toggleIsAllday","_toggleIsPrivate","_onClickSaveSchedule","listener","dropdownBtn","_openDropdownMenuView","dropdown","itemClassName","iconClassName","contentClassName","selectedItem","innerText","cal","checkbox","alldaySection","privateSection","rangePicker","getStartDate","getEndDate","_isEditMode","class","boxElement","selectedCal","_makeEditModeData","_getGuideElements","_createDatepicker","isEditMode","guideElement","_getBoundOfFirstRowGuideElement","arrowLeft","guideHorizontalCenter","createRangePicker","startpicker","input","endpicker","timepicker","showMeridiem","usageStatistics","setCalendars","useRound","round","getRatio","point","factor","toFactor","multiplyBy","_divideBy","_add","subtract","_subtract","divideBy","_multiplyBy","_round","reverse","_reverse","_floor","ceil","_ceil","rotate","deg","center","cos","sin","_rotate","rad","PI","toFixed","distanceTo","sqrt","Weekday","containerBottomGutter","_cacheParentViewModel","getBaseViewModel","today","gridWidth","exceedDate","scheduleBlockHeight","scheduleBlockGutter","isToday","hiddenSchedules","_getDayNameColor","_getDayBackgroundColor","getExceedDate","maxCount","eventsInDateRange","_initExceedDate","matrix","period","hidden","isOtherMonth","holidayExceptThisMonth","holiday","dayExceptThisMonth","saturday","dayname","weekend","VPanel","Drag","mAbs","VLayout","tempHeights","panelHeights","_drag","distance","exclude","_dragData","panelOpt","isSplitter","autoHeight","addPanels","getLayoutData","heightList","panel","getHeight","setLayoutData","setHeight","nextPanel","prevPanel","_initializeGuideElement","cloned","cloneNode","_refreshGuideElement","_clearGuideElement","_resize","splPanel","startY","resizeInfo","resizedHeight","resizeMap","toDown","forwardMethod","getResizeInfoByGrowth","pair","_getMouseYAdditionalLimit","upper","below","func","minHeight","oEvent","splIndex","splHeight","splOffsetY","minY","maxY","dragData","asideMinMax","layoutData","remainHeight","panelToFillHeight","layoutHeight","usedHeight","addPanel","frag","createDocumentFragment","option","getPanelByName","ScheduleViewModel","hasCollide","extraSpace","renderStarts","exceedLeft","renderEnds","exceedRight","_cancelled","_isMoved","_distance","_dragStartFired","_dragStartEventData","_clearData","_toggleDragEvent","toBind","domMethod","mousemove","_onMouseMove","mouseup","_onMouseUp","_getEventData","mouseMoveEvent","invoke","mouseUpEvent","DW","safe","addMonth","currentMonth","currentDay","leapYear","_isLeapYear","targetMonth","targetDaysOfMonth","year","isBetween","_interopRequireDefault","default","HandlebarsEnvironment","_utils","_exception2","_helpers","_decorators","_logger2","VERSION","COMPILER_REVISION","REVISION_CHANGES","3","4","5","6","7","helpers","partials","decorators","registerDefaultHelpers","registerDefaultDecorators","logger","log","registerHelper","unregisterHelper","registerPartial","partial","unregisterPartial","registerDecorator","unregisterDecorator","Handlebars","equal","fi","oper","inverse","hhmm","common-width","getElSize","grid-left","getElLeft","grid-width","getElWidth","time-scheduleBlock","month-scheduleBlock","blockHeight","paddingTop","multiply","divide","getRight","CSS_PREFIX","milestone-tmpl","milestoneTitle-tmpl","task-tmpl","taskTitle-tmpl","alldayTitle-tmpl","allday-tmpl","time-tmpl","goingDuration-tmpl","comingDuration-tmpl","monthMoreTitleDate-tmpl","classDay","classDayLabel","monthMoreClose-tmpl","monthGridHeader-tmpl","classNames","monthGridHeaderExceed-tmpl","monthGridFooter-tmpl","monthGridFooterExceed-tmpl","monthDayname-tmpl","weekDayname-tmpl","classDate","dayName","weekGridFooterExceed-tmpl","dayGridTitle-tmpl","viewName","schedule-tmpl","collapseBtnTitle-tmpl","timezoneDisplayLabel-tmpl","displayLabel","gmt","timegridDisplayPrimayTime-tmpl","timegridDisplayPrimaryTime-tmpl","meridiem","timegridDisplayTime-tmpl","timegridCurrentTime-tmpl","templates","dateDifference","dateDifferenceSign","hourmarker","popupIsAllDay-tmpl","popupStateFree-tmpl","popupStateBusy-tmpl","titlePlaceholder-tmpl","locationPlaceholder-tmpl","startDatePlaceholder-tmpl","endDatePlaceholder-tmpl","popupSave-tmpl","popupUpdate-tmpl","popupDetailDate-tmpl","endFormat","popupDetailLocation-tmpl","popupDetailUser-tmpl","popupDetailState-tmpl","popupDetailRepeat-tmpl","popupDetailBody-tmpl","popupEdit-tmpl","popupDelete-tmpl","postfix","prefix","template","depth0","stack1","helperMissing","nullContext","hash","program","helper","alias1","alias2","alias3","alias4","lambda","8","alias5","scheduleBulletTop","9","11","13","15","17","noop","unless","18","20","22","24","26","compiler","main","paddingBottom","boxShadow","titleHeight","titleMarginBottom","titleBackgroundColor","titleBorderBottom","titlePadding","listPadding","listHeight","useData","More","moreLayerSize","_getRenderPosition","weekItem","containerSize","calWidth","calHeight","isOverWidth","isOverHeight","optMoreLayerSize","leftPos","topPos","getMoreViewElement","moreView","moreViewTitle","marginBottom","borderBottom","padding","moreViewList","MonthMoveGuide","monthMove","monthMoveDragstart","monthMoveDrag","monthMoveDragend","_clearGridBgColor","_hideOriginScheduleBlocks","_showOriginScheduleBlocks","beforeGridElement","_updateGridBgColor","dragEvent","gridElements","targetIndex","firstWeekdayView","weekdayOptions","widthPercent","getMousePosData","MonthMove","baseController","getScheduleData","_cache","updateSchedule","scheduleCache","startDateRaw","dragEndTime","newStartDate","getMonthScheduleBlock","blockSelector","getMoreLayerScheduleBlock","hasPermissionToHandle","blockElement","dragEndEvent","MonthResizeGuide","monthResize","monthResizeDragstart","monthResizeDrag","monthResizeDragend","_hideScheduleBlocks","_showScheduleBlocks","MonthResize","newEnd","MonthCreationGuide","monthCreation","monthCreationDragstart","monthCreationDrag","monthCreationDragend","monthCreationClick","getMousePosDate","Guide","CLICK_DELAY","MonthCreation","_requestOnClick","_disableDblClick","disableDblClick","_disableClick","disableClick","_onDblClick","isElementWeekdayGrid","_createSchedule","times","_adjustStartAndEndTime","setTimeout","invokeCreationClick","MonthClick","moreElement","scheduleCollection","renderLimitIdx","gridHeaderHeight","10","19","21","23","25","27","29","31","33","34","36","38","40","matrices","fontSize","last","borderLeft","12","borderTop","baseTmpl","scheduleTmpl","WeekdayInMonth","heightPercent","_getRenderLimitIndex","panelHeight","count","containerHeight","gridFooterHeight","visibleScheduleCount","baseViewModel","scheduleContainer","dateObj","setIsOtherMonthFlag","paddingLeft","paddingRight","textAlign","fontWeight","daynames","Month","monthOption","scheduleFilter","Boolean","header","footer","_getMonthCalendar","datetimeOptions","_renderChildren","gridOption","weekdayViewContainer","renderEndDate","daynameViewModel","daynameModel","findByDateRange","_invokeAfterRenderSchedule","scheduleViewModel","layoutContainer","monthViewContainer","createView","clickHandler","creationHandler","resizeHandler","moveHandler","clearSchedulesHandler","onUpdateSchedule","onSaveNewSchedule","onShowEditPopup","detailView","onShowDetailPopup","onDeleteSchedule","onEditSchedule","clickMoreSchedule","getViewModelForMoreLayer","useCreationPopup","useDetailPopup","scheduleId","creation","move","onShowCreationPopup","openCreationPopup","showCreationPopup","hideMoreView","reqAnimFrame","TimeResizeGuide","timeResize","_getTopFunc","_originScheduleElement","_startTopPixel","_startHeightPixel","_startGridY","timeResizeDragstart","timeResizeDrag","timeResizeDragend","timeResizeClick","originElement","guideHeight","minTimeHeight","timeHeight","timeElement","timeMinHeight","maxHeight","viewOptions","guideTop","gridYOffset","gridYOffsetPixel","modelDuration","minutesLength","TimeResize","timeGridView","_getScheduleDataFunc","_guide","checkExpectCondition","targetModelID","ctrl","revise","startScheduleData","dateEnd","baseDate","nearestRange","timeDiff","goingDurationHeight","comingDurationHeight","hasGoingDuration","modelDurationHeight","hasComingDuration","croppedEnd","TimeMoveGuide","timeMove","_guideLayer","_model","_lastDrag","_container","timeMoveDragstart","timeMoveDrag","timeMoveDragend","timeMoveClick","_resetGuideLayer","bottomLimit","currentView","gridDiff","TimeMove","_getTimeView","mouseDownEventData","firefox","dateDiff","MIN60","TimeCreationGuide","timeCreation","guideTimeElement","_styleUnit","_styleStart","_styleFunc","timeCreationDragstart","timeCreationDrag","timeCreationClick","applyTheme","bottomLabel","_getUnitData","viewOpt","todayStart","todayEnd","_limitStyleData","unitData","_getStyleDataFunc","todayStartTime","todayEndTime","gridTimeY","gridEndTimeY","styleFunc","styleData","heightOfHalfHour","endStyle","startStyle","refreshGuideElement","timeStyle","TimeCreation","dateStart","createRange","condResult","TimeClick","schedulesCollection","DayGridResizeGuide","dragstart","dragend","newWidth","getGuideElementWidthFunc","fromLeft","DayGridResize","DayGridCreationGuide","initializeGuideElement","_getGuideWidth","dragStartIndex","dragEndIndex","defer","leftPercent","dragEndXIndex","setStyle","DayGridCreation","schedulesElement","startXIndex","daygridMove","_dragStartXIndex","scheduleBlocks","_highlightScheduleBlocks","margin","borderLeftColor","isExceededLeft","isExceededRight","_getScheduleBlockDataFunc","baseWidthPercent","originScheduleStarts","originScheduleEnds","fromRight","indexOffset","originLength","leftIndex","newLeft","getScheduleBlockWidth","DayGridClick","dayGridScheduleView","collapseBtnElement","expandBtnElement","clickedExpandBtnIndex","DayNameClick","dayNameView","daynameView","leftFontSize","leftBorderRight","tooltip","isPrimary","showTimezoneCollapseButton","displayTimezoneLabelHeight","timezonesCollapsed","timezones","timeSlots","showHourMarker","oneHourHeight","hourmarkerTop","halfHourHeight","currentTimeColor","currentTimeFontSize","currentTimeFontWeight","halfHourBorderBottom","16","todaymarkerLeft","currentTimeLeftBorderTop","currentTimeBulletBackgroundColor","todaymarkerWidth","currentTimeTodayBorderTop","todaymarkerRight","currentTimeRightBorderTop","leftWidth","hoursLabels","AutoScroll","_direction","DIRECTION","INSIDE","_offset","_intervalID","TOP","RIGHT","BOTTOM","LEFT","clearInterval","_getEdgePositions","clientRect","getRealSize","computed","clientWidth","clientHeight","hasScrollbar","realSize","isOnScrollbar","setInterval","_onTick","edge","scrollTop","scrollLeft","croppedStart","travelBorderColor","timeTmpl","Time","pending","defaultMarginBottom","_parseDateGroup","_getScheduleViewBoundX","baseWidth","baseLeft","columnIndex","_getScheduleViewBoundY","baseMS","baseHeight","offsetStart","getScheduleViewBound","boundX","boundY","_getBaseViewModel","maxRowLength","leftPercents","row","viewBound","borderRight","timegrid","timegridSchedule","Timezone","mainTmpl","timezoneStickyTmpl","timegridCurrentTimeTmpl","SIXTY_MINUTES","getHoursLabels","hasHourMarker","nowHours","nowHoursIndex","shiftByOffset","shiftMinutes","nowMinutes","hoursRange","nowAroundHours","pastTimeColor","pastTimeFontWeight","futureTimeColor","futureTimeFontWeight","TimeGrid","panelElement","stickyContainer","safari","_autoScroll","intervalID","timerID","_scrolled","_cacheHoursLabels","clearTimeout","_onClickStickyContainer","hourmarkers","_getTopPercentByTime","topPercent","maxMilliseconds","hmsMilliseconds","_getHourmarkerViewModel","hourmarkerTimzones","primaryOffset","timezoneDifference","currentHours","_getTimezoneViewModel","timezonesLength","timezoneViewModel","collapsed","displayTimezoneLabelBackgroundColor","additionalTimezoneBackgroundColor","viewModels","childOption","child","parentElement","timeViewModel","schedulesInDateRange","scheduleLen","renderStickyContainer","_hourLabels","scrollToNow","refreshHourmarker","needsRender","hoursLabel","todaymarker","hourmarkerContainer","timezoneIndex","onTick","offsetTop","scrollAmount","scrollFn","numberAndUnit","timegridHorizontalLine","timegridHalfHour","todayBackgroundColor","weekendBackgroundColor","timegridLeft","leftBackgroundColor","timezoneWidth","timegridLeftAdditionalTimezone","timegridLeftTimezoneLabel","timegridOneHour","quaterHourHeight","currentTime","pastTime","futureTime","currentTimeLinePast","currentTimeLineBullet","currentTimeLineToday","currentTimeLineFuture","collapseBtnIndex","leftPaddingRight","showExpandableButton","scheduleContainerTop","DayGridSchedule","_getMaxScheduleInDay","_getMinHeight","maxScheduleInDay","getViewModelFunc","dayGridSchedule","DayGrid","setViewModelFunc","vPanel","getPanel","heightForcedSet","getHeightForcedSet","maxExpandableHeight","excludeExceedSchedules","renderDate","getWeekBackgroundColor","weekdayViewModel","addHandler","_expand","setMaxHeight","setHeightForcedSet","_collapse","daygridLeft","dayNames","daynameTmpl","DayName","isPastDay","pastDay","Week","_getRenderDateRange","matricesOfDay","base","isHeightForcedSet","_initPanel","newHeight","growth","resizeTo","vpanelSplitter","DAYGRID_HANDLDERS","TIMEGRID_HANDLERS","DEFAULT_PANELS","handlers","weekView","dayNameContainer","vLayoutContainer","onSetCalendars","lastVPanel","vpanels","taskView","scheduleView","viewVisibilities","milestone","task","weekViewHeight","daynameViewHeight","_onlyTimeFilter","_onlyAlldayFilter","_weightTopValue","_adjustRenderRange","vColl","ctrlCore","Core","limitRenderRange","_getAlldayMaxTopIndexAtYMD","vAlldayColl","dateMatrix","topIndexesInDate","_adjustTimeTopIndex","ctrlMonth","getAlldayMaxTopIndexAtYMD","maxIndexInYMD","scheduleYMD","alldayMaxTopInYMD","_stackTimeFromTop","sortedTimeSchedules","indiceInYMD","maxTopInYMD","topArrayInYMD","_addMultiDatesInfo","andFilters","alldayFirstMode","coll","vList","collisionGroup","getScheduleInDateRangeFilter","convertToViewModel","getCollisionGroup","getMatrices","positionViewModels","generateTimeArrayInRow","maxColLen","startStart","startEnd","endStart","endEnd","getFunc","block","getCollides","binaryMap","getViewModelForTimeView","ymdSplitted","splitScheduleByDateRange","_getViewModel","_makeGetViewModelFuncForTimeView","collisionGroups","_makeHourRangeFilter","hStart","hEnd","ownHourStart","ownHourEnd","yyyy","mm","dd","getViewModelForAlldayView","viewModelColl","ctrlWeek","modelColl","group","scheduleTypes","pluck","previousScheduleList","foundPrevCollisionSchedule","previous","getLastRowInColumn","scheduleID","nextRow","lastRowInColumn","ymdListToRender","dateLength","common.border","common.backgroundColor","common.holiday.color","common.saturday.color","common.dayname.color","common.today.color","common.creationGuide.backgroundColor","common.creationGuide.border","month.dayname.height","month.dayname.borderLeft","month.dayname.paddingLeft","month.dayname.paddingRight","month.dayname.backgroundColor","month.dayname.fontSize","month.dayname.fontWeight","month.dayname.textAlign","month.holidayExceptThisMonth.color","month.dayExceptThisMonth.color","month.weekend.backgroundColor","month.day.fontSize","month.schedule.borderRadius","month.schedule.height","month.schedule.marginTop","month.schedule.marginLeft","month.schedule.marginRight","month.moreView.border","month.moreView.boxShadow","month.moreView.backgroundColor","month.moreView.paddingBottom","month.moreViewTitle.height","month.moreViewTitle.marginBottom","month.moreViewTitle.backgroundColor","month.moreViewTitle.borderBottom","month.moreViewTitle.padding","month.moreViewList.padding","week.dayname.height","week.dayname.borderTop","week.dayname.borderBottom","week.dayname.borderLeft","week.dayname.paddingLeft","week.dayname.backgroundColor","week.dayname.textAlign","week.today.color","week.pastDay.color","week.vpanelSplitter.border","week.vpanelSplitter.height","week.daygrid.borderRight","week.daygrid.backgroundColor","week.daygridLeft.width","week.daygridLeft.backgroundColor","week.daygridLeft.paddingRight","week.daygridLeft.borderRight","week.today.backgroundColor","week.weekend.backgroundColor","week.timegridLeft.width","week.timegridLeft.backgroundColor","week.timegridLeft.borderRight","week.timegridLeft.fontSize","week.timegridLeftTimezoneLabel.height","week.timegridLeftAdditionalTimezone.backgroundColor","week.timegridOneHour.height","week.timegridHalfHour.height","week.timegridHalfHour.borderBottom","week.timegridHorizontalLine.borderBottom","week.timegrid.paddingRight","week.timegrid.borderRight","week.timegridSchedule.borderRadius","week.timegridSchedule.paddingLeft","week.currentTime.color","week.currentTime.fontSize","week.currentTime.fontWeight","week.pastTime.color","week.pastTime.fontWeight","week.futureTime.color","week.futureTime.fontWeight","week.currentTimeLinePast.border","week.currentTimeLineBullet.backgroundColor","week.currentTimeLineToday.border","week.currentTimeLineFuture.border","week.creationGuide.color","week.creationGuide.fontSize","week.creationGuide.fontWeight","week.dayGridSchedule.borderRadius","week.dayGridSchedule.height","week.dayGridSchedule.marginTop","week.dayGridSchedule.marginLeft","week.dayGridSchedule.marginRight","themeStandard","themeConfig","Theme","customTheme","_map","HashMap","setStyles","errors","categories","removeAll","spaceRx","validators","instance","fields","valid","fieldName","validator","values","validatorName","parameterize","param","existy","_changed","_dirty","isDirty","toDirty","deleteProp","isPropChanged","methodFilterR","wrap","flag","_flag","_name","_wrapper","_fn","flagToSet","_wrapped","Base","_getContainDatesInSchedule","createSchedule","silent","addSchedule","createSchedules","dataList","origin","_removeFromMatrix","_addToMatrix","deleteSchedule","ownMatrix","containDates","ownSchedules","dformat","clearSchedules","setTheme","propertyName","Layout","toggleChildView","$Handlebars","noConflict","checkRevision","compilerInfo","compilerRevision","currentRevision","_base","runtimeVersions","compilerVersions","templateSpec","env","decorator","main_d","VM","strict","lookup","depths","current","Utils","invokePartial","resolvePartial","compile","compilerOptions","indent","lines","programs","declaredBlockParams","programWrapper","wrapProgram","depth","seal","_setup","initData","useBlockParams","useDepths","executeDecorators","isTop","usePartial","useDecorators","_child","currentPartialBlock","partialBlock","newObj","_interopRequireWildcard","prog","currentDepths","SafeString","methodMap","level","lookupLevel","levelMap","console","_len","_key","original","_decoratorsInline2","field","conditional","includeZero","execIteration","first","j","priorKey","_helpersBlockHelperMissing2","_helpersEach2","_helpersHelperMissing2","_helpersIf2","_helpersLog2","_helpersLookup2","_helpersWith2","_handlebarsSafeString2","_handlebarsException2","runtime","_handlebarsNoConflict2","hb","spec","GA_TRACKING_ID","controllerFactory","weekViewFactory","monthViewFactory","Calendar","sendHostname","querySelector","_calendarColor","_renderDate","_renderRange","_controller","_createController","_layout","_dragHandler","_viewName","_refreshMethod","_scrollToNowMethod","_requestScrollToNow","_openCreationPopup","_hideMoreView","_requestRender","_options","_initialize","_setOptionRecurseively","setCalendarColor","changeView","calColor","getSchedule","_getWeekDayRange","isDate","weekday","toggleSchedules","toHide","immediately","_renderFunc","_setViewName","tempDate","_getCurrentView","recursiveSet","next","prev","ownColor","clickScheduleData","_onClickMore","_onClickDayname","_onBeforeCreate","createScheduleData","_showCreationPopup","_onBeforeUpdate","updateScheduleData","_onBeforeDelete","deleteScheduleData","_onAfterRenderSchedule","_onClickTimezonesCollapseBtn","_toggleViewSchedule","isAttach","newViewName","created","layout","_createMonthView","_createWeekView","toggleTaskView","enabled","toggleScheduleView","getElement","setOptions","innerValue","innerName","getOptions","getDateRangeStart","getDateRangeEnd","getVi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AOA8gD,EAAA39D,UAAAi0C,kBAAA,SAAA7/B,GACAhN,KAAAq3D,oBACAr3D,KAAAq3D,mBAAArqD,IAOAupD,EAAA39D,UAAAm0C,aAAA,WACA/sC,KAAAs3D,eACAt3D,KAAAs3D,iBAaAf,EAAAoE,kBAAA,SAAAn0D,GACAkmB,EAAAngB,UAAA/F,IAcA+vD,EAAAqE,0BAAA,SAAAjuD,GACA+f,EAAAhgB,kBAAAC,IAmEAxT,EAAAqd,aAAArI,MAAAooD,GAEAjgE,EAAAD,QAAAkgE,iCCxzDA,SAAA9zD,GAOA,IAAAtJ,EAAArC,EAAA,GACAy/D,EAAAz/D,EAAA,KAEAA,EAAA,IACAA,EAAA,IAGA2L,EAAAo4D,SACAp4D,EAAAo4D,OAAA3sD,GAAA4sD,YAAA,WACA,IAAAnyD,EAAA+lD,EAEAh1D,EAAAsG,KAAAnI,IAAA,GACAsT,EAAA2B,MAAAlU,UAAAuJ,MAAA/B,MAAAnC,WAEA,GAAAvE,EAKA,GAJAiP,EAAAxP,EAAA4U,KAAA5C,EAAA,OAEAujD,EAAAjsD,EAAAo4D,OAAAx+D,KAAA3C,EAAA,gBAGA,oBAAAiP,GAAA+lD,EAAA/lD,GACA,OAAA+lD,EAAA/lD,GAAAvI,MAAAsuD,EAAAvjD,EAAAhJ,MAAA,SAGAusD,EAAA,IAAA6H,EAAA78D,EAAAiP,GACAlG,EAAAo4D,OAAAx+D,KAAA3C,EAAA,cAAAg1D,GAIA,OAAA1uD,OAIA1J,EAAAD,QAAAkgE","file":"tui-calendar.min.js","sourcesContent":[null," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/dist\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 113);\n","module.exports = __WEBPACK_EXTERNAL_MODULE__0__;","/* eslint complexity: 0, no-shadow: 0, max-nested-callbacks: 0  */\n/**\n * @fileoverview Utility modules for manipulate DOM elements.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar domevent = require('./domevent');\nvar Collection = require('./collection');\nvar util = require('tui-code-snippet');\n\nvar posKey = '_pos',\n    domutil;\n\nvar CSS_AUTO_REGEX = /^auto$|^$|%/;\n\n/**\n * Trim leading, trailing whitespace\n * @param {string} str - string to trim\n * @returns {string} trimmed string\n */\nfunction trim(str) {\n    return str.replace(/^\\s\\s*/, '').replace(/\\s\\s*$/, '');\n}\n\ndomutil = {\n    /**\n     * Create DOM element and return it.\n     * @param {string} tagName Tag name to append.\n     * @param {HTMLElement} [container] HTML element will be parent to created element.\n     * if not supplied, will use **document.body**\n     * @param {string} [className] Design class names to appling created element.\n     * @returns {HTMLElement} HTML element created.\n     */\n    appendHTMLElement: function(tagName, container, className) {\n        var el;\n\n        className = className || '';\n\n        el = document.createElement(tagName);\n        el.className = className;\n\n        if (container) {\n            container.appendChild(el);\n        } else {\n            document.body.appendChild(el);\n        }\n\n        return el;\n    },\n\n    /**\n     * Remove element from parent node.\n     * @param {HTMLElement} el - element to remove.\n     */\n    remove: function(el) {\n        if (el && el.parentNode) {\n            el.parentNode.removeChild(el);\n        }\n    },\n\n    /**\n     * Get element by id\n     * @param {string} id element id attribute\n     * @returns {HTMLElement} element\n     */\n    get: function(id) {\n        return document.getElementById(id);\n    },\n\n    /**\n     * Check supplied element is matched selector.\n     * @param {HTMLElement} el - element to check\n     * @param {string} selector - selector string to check\n     * @returns {boolean} match?\n     */\n    _matcher: function(el, selector) {\n        var cssClassSelector = /^\\./,\n            idSelector = /^#/;\n\n        if (cssClassSelector.test(selector)) {\n            return domutil.hasClass(el, selector.replace('.', ''));\n        }\n        if (idSelector.test(selector)) {\n            return el.id === selector.replace('#', '');\n        }\n\n        return el.nodeName.toLowerCase() === selector.toLowerCase();\n    },\n\n    /**\n     * Find DOM element by specific selectors.\n     * below three selector only supported.\n     *\n     * 1. css selector\n     * 2. id selector\n     * 3. nodeName selector\n     * @param {string} selector selector\n     * @param {(HTMLElement|string)} [root] You can assign root element to find\n     *  if not supplied, document.body will use.\n     * @param {boolean|function} [multiple=false] - set true then return all\n     *  elements that meet condition, if set function then use it filter function.\n     * @returns {HTMLElement} HTML element finded.\n     */\n    find: function(selector, root, multiple) {\n        var result = [],\n            found = false,\n            isFirst = util.isUndefined(multiple) || multiple === false,\n            isFilter = util.isFunction(multiple);\n\n        if (util.isString(root)) {\n            root = domutil.get(root);\n        }\n\n        root = root || window.document.body;\n\n        /**\n         * Function for recursive find specific node\n         * @param {HTMLElement} el - element to search\n         * @param {string} selector - selector\n         */\n        function recurse(el, selector) {\n            var childNodes = el.childNodes,\n                i = 0,\n                len = childNodes.length,\n                cursor;\n\n            for (; i < len; i += 1) {\n                cursor = childNodes[i];\n\n                if (cursor.nodeName === '#text') {\n                    continue;\n                }\n\n                if (domutil._matcher(cursor, selector)) {\n                    if ((isFilter && multiple(cursor)) || !isFilter) {\n                        result.push(cursor);\n                    }\n\n                    if (isFirst) {\n                        found = true;\n                        break;\n                    }\n                } else if (cursor.childNodes.length > 0) {\n                    recurse(cursor, selector);\n                    if (found) {\n                        break;\n                    }\n                }\n            }\n        }\n\n        recurse(root, selector);\n\n        return isFirst ? (result[0] || null) : result;\n    },\n\n    /**\n     * Find parent element recursively.\n     * @param {HTMLElement} el - base element to start find.\n     * @param {string} selector - selector string for find\n     * @param {boolean} excludeEl - exclude the base element to find\n     * @returns {HTMLElement} - element finded or null.\n     */\n    closest: function(el, selector, excludeEl) {\n        var parent = el.parentNode;\n\n        if (!excludeEl && domutil._matcher(el, selector)) {\n            return el;\n        }\n\n        while (parent && parent !== window.document.body) {\n            if (domutil._matcher(parent, selector)) {\n                return parent;\n            }\n\n            parent = parent.parentNode;\n        }\n\n        return null;\n    },\n\n    /**\n     * Return texts inside element.\n     * @param {HTMLElement} el target element\n     * @returns {string} text inside node\n     */\n    text: function(el) {\n        var ret = '',\n            i = 0,\n            nodeType = el.nodeType;\n\n        if (nodeType) {\n            if (nodeType === 1 || nodeType === 9 || nodeType === 11) {\n                // nodes that available contain other nodes\n                if (typeof el.textContent === 'string') {\n                    return el.textContent;\n                }\n\n                for (el = el.firstChild; el; el = el.nextSibling) {\n                    ret += domutil.text(el);\n                }\n            } else if (nodeType === 3 || nodeType === 4) {\n                // TEXT, CDATA SECTION\n                return el.nodeValue;\n            }\n        } else {\n            for (; el[i]; i += 1) {\n                ret += domutil.text(el[i]);\n            }\n        }\n\n        return ret;\n    },\n\n    /**\n     * Set data attribute to target element\n     * @param {HTMLElement} el - element to set data attribute\n     * @param {string} key - key\n     * @param {string|number} data - data value\n     */\n    setData: function(el, key, data) {\n        if ('dataset' in el) {\n            el.dataset[key] = data;\n\n            return;\n        }\n\n        el.setAttribute('data-' + key, data);\n    },\n\n    /**\n     * Get data value from data-attribute\n     * @param {HTMLElement} el - target element\n     * @param {string} key - key\n     * @returns {string} value\n     */\n    getData: function(el, key) {\n        if ('dataset' in el) {\n            return el.dataset[key];\n        }\n\n        return el.getAttribute('data-' + key);\n    },\n\n    /**\n     * Check element has specific design class name.\n     * @param {HTMLElement} el target element\n     * @param {string} name css class\n     * @returns {boolean} return true when element has that css class name\n     */\n    hasClass: function(el, name) {\n        var className;\n\n        if (!util.isUndefined(el.classList)) {\n            return el.classList.contains(name);\n        }\n\n        className = domutil.getClass(el);\n\n        return className.length > 0 && new RegExp('(^|\\\\s)' + name + '(\\\\s|$)').test(className);\n    },\n\n    /**\n     * Add design class to HTML element.\n     * @param {HTMLElement} el target element\n     * @param {string} name css class name\n     */\n    addClass: function(el, name) {\n        var className;\n\n        if (!util.isUndefined(el.classList)) {\n            util.forEachArray(name.split(' '), function(value) {\n                el.classList.add(value);\n            });\n        } else if (!domutil.hasClass(el, name)) {\n            className = domutil.getClass(el);\n            domutil.setClass(el, (className ? className + ' ' : '') + name);\n        }\n    },\n\n    /**\n     *\n     * Overwrite design class to HTML element.\n     * @param {HTMLElement} el target element\n     * @param {string} name css class name\n     */\n    setClass: function(el, name) {\n        if (util.isUndefined(el.className.baseVal)) {\n            el.className = name;\n        } else {\n            el.className.baseVal = name;\n        }\n    },\n\n    /**\n     * Element에 cssClass속성을 제거하는 메서드\n     * Remove specific design class from HTML element.\n     * @param {HTMLElement} el target element\n     * @param {string} name class name to remove\n     */\n    removeClass: function(el, name) {\n        var removed = '';\n\n        if (!util.isUndefined(el.classList)) {\n            el.classList.remove(name);\n        } else {\n            removed = (' ' + domutil.getClass(el) + ' ').replace(' ' + name + ' ', ' ');\n            domutil.setClass(el, trim(removed));\n        }\n    },\n\n    /**\n     * Get HTML element's design classes.\n     * @param {HTMLElement} el target element\n     * @returns {string} element css class name\n     */\n    getClass: function(el) {\n        if (!el || !el.className) {\n            return '';\n        }\n\n        return util.isUndefined(el.className.baseVal) ? el.className : el.className.baseVal;\n    },\n\n    /**\n     * Get specific CSS style value from HTML element.\n     * @param {HTMLElement} el target element\n     * @param {string} style css attribute name\n     * @returns {(string|null)} css style value\n     */\n    getStyle: function(el, style) {\n        var value = el.style[style] || (el.currentStyle && el.currentStyle[style]),\n            css;\n\n        if ((!value || value === 'auto') && document.defaultView) {\n            css = document.defaultView.getComputedStyle(el, null);\n            value = css ? css[style] : null;\n        }\n\n        return value === 'auto' ? null : value;\n    },\n\n    /**\n     * get element's computed style values.\n     *\n     * in lower IE8. use polyfill function that return object. it has only one function 'getPropertyValue'\n     * @param {HTMLElement} el - element want to get style.\n     * @returns {object} virtual CSSStyleDeclaration object.\n     */\n    getComputedStyle: function(el) {\n        var defaultView = document.defaultView;\n\n        if (!defaultView || !defaultView.getComputedStyle) {\n            return {\n                getPropertyValue: function(prop) {\n                    /* eslint-disable no-useless-escape */\n                    var re = /(\\-([a-z]){1})/g;\n                    if (prop === 'float') {\n                        prop = 'styleFloat';\n                    }\n\n                    if (re.test(prop)) {\n                        prop = prop.replace(re, function() {\n                            return arguments[2].toUpperCase();\n                        });\n                    }\n\n                    return el.currentStyle[prop] ? el.currentStyle[prop] : null;\n                }\n            };\n        }\n\n        return document.defaultView.getComputedStyle(el);\n    },\n\n    /**\n     * Set position CSS style.\n     * @param {HTMLElement} el target element\n     * @param {number} [x=0] left pixel value.\n     * @param {number} [y=0] top pixel value.\n     */\n    setPosition: function(el, x, y) {\n        x = util.isUndefined(x) ? 0 : x;\n        y = util.isUndefined(y) ? 0 : y;\n\n        el[posKey] = [x, y];\n\n        el.style.left = util.isNumber(x) ? (x + 'px') : x;\n        el.style.top = util.isNumber(y) ? (y + 'px') : y;\n    },\n\n    /**\n     * Set position CSS style with left, top, right, bottom\n     * @param {HTMLElement} el target element\n     * @param {object} ltrb object of left, top, right, bottom\n     * @param {number} [ltrb.left] left pixel value.\n     * @param {number} [ltrb.top] top pixel value.\n     * @param {number} [ltrb.right] right pixel value.\n     * @param {number} [ltrb.bottom] bottom pixel value.\n     */\n    setLTRB: function(el, ltrb) {\n        var props = ['left', 'top', 'right', 'bottom'];\n        var value;\n        props.forEach(function(prop) {\n            value = util.isUndefined(ltrb[prop]) ? '' : ltrb[prop];\n            el.style[prop] = util.isNumber(value) ? (value + 'px') : value;\n        });\n    },\n\n    /**\n     * Get position from HTML element.\n     * @param {HTMLElement} el target element\n     * @param {boolean} [clear=false] clear cache before calculating position.\n     * @returns {number[]} point\n     */\n    getPosition: function(el, clear) {\n        var left,\n            top,\n            bound;\n\n        if (clear) {\n            el[posKey] = null;\n        }\n\n        if (el[posKey]) {\n            return el[posKey];\n        }\n\n        left = 0;\n        top = 0;\n\n        if ((CSS_AUTO_REGEX.test(el.style.left) || CSS_AUTO_REGEX.test(el.style.top)) &&\n            'getBoundingClientRect' in el) {\n            // When the element's left or top is 'auto'\n            bound = el.getBoundingClientRect();\n\n            left = bound.left;\n            top = bound.top;\n        } else {\n            left = parseFloat(el.style.left || 0);\n            top = parseFloat(el.style.top || 0);\n        }\n\n        return [left, top];\n    },\n\n    /**\n     * Return element's size\n     * @param {HTMLElement} el target element\n     * @returns {number[]} width, height\n     */\n    getSize: function(el) {\n        var bound,\n            width = domutil.getStyle(el, 'width'),\n            height = domutil.getStyle(el, 'height');\n\n        if ((CSS_AUTO_REGEX.test(width) || CSS_AUTO_REGEX.test(height) ||\n             util.isNull(width) || util.isNull(height)) &&\n            'getBoundingClientRect' in el) {\n            bound = el.getBoundingClientRect();\n            width = bound.width || el.offsetWidth;\n            height = bound.height || el.offsetHeight;\n        } else {\n            width = parseFloat(width || 0);\n            height = parseFloat(height || 0);\n        }\n\n        return [width, height];\n    },\n\n    /**\n     * Fallback of getBoundingClientRect\n     * @param {HTMLElement} el - element\n     * @returns {object} rect\n     */\n    getBCRect: function(el) {\n        var rect = el.getBoundingClientRect();\n\n        rect = util.extend({\n            width: el.offsetWidth,\n            height: el.offsetHeight\n        }, rect);\n\n        return rect;\n    },\n\n    /**\n     * Check specific CSS style is available.\n     * @param {array} props property name to testing\n     * @returns {(string|boolean)} return true when property is available\n     * @example\n     * var props = ['transform', '-webkit-transform'];\n     * domutil.testProp(props);    // 'transform'\n     */\n    testProp: function(props) {\n        var style = document.documentElement.style,\n            i = 0,\n            len = props.length;\n\n        for (; i < len; i += 1) {\n            if (props[i] in style) {\n                return props[i];\n            }\n        }\n\n        return false;\n    },\n\n    /**\n     * Get form data\n     * @param {HTMLFormElement} formElement - form element to extract data\n     * @returns {object} form data\n     */\n    getFormData: function(formElement) {\n        var groupedByName = new Collection(function() {\n                return this.length;\n            }),\n            noDisabledFilter = function(el) {\n                return !el.disabled;\n            },\n            output = {};\n\n        groupedByName.add.apply(\n            groupedByName,\n            domutil.find('input', formElement, noDisabledFilter)\n                .concat(domutil.find('select', formElement, noDisabledFilter))\n                .concat(domutil.find('textarea', formElement, noDisabledFilter))\n        );\n\n        groupedByName = groupedByName.groupBy(function(el) {\n            return (el && el.getAttribute('name')) || '_other';\n        });\n\n        util.forEach(groupedByName, function(elements, name) {\n            if (name === '_other') {\n                return;\n            }\n\n            elements.each(function(el) {\n                var nodeName = el.nodeName.toLowerCase(),\n                    type = el.type,\n                    result = [];\n\n                if (type === 'radio') {\n                    result = [elements.find(function(el) {\n                        return el.checked;\n                    }).toArray().pop()];\n                } else if (type === 'checkbox') {\n                    result = elements.find(function(el) {\n                        return el.checked;\n                    }).toArray();\n                } else if (nodeName === 'select') {\n                    elements.find(function(el) {\n                        return !!el.childNodes.length;\n                    }).each(function(el) {\n                        result = result.concat(\n                            domutil.find('option', el, function(opt) {\n                                return opt.selected;\n                            })\n                        );\n                    });\n                } else {\n                    result = elements.find(function(el) {\n                        return el.value !== '';\n                    }).toArray();\n                }\n\n                result = util.map(result, function(el) {\n                    return el.value;\n                });\n\n                if (!result.length) {\n                    result = '';\n                } else if (result.length === 1) {\n                    result = result[0];\n                }\n\n                output[name] = result;\n            });\n        });\n\n        return output;\n    }\n};\n\n/*eslint-disable*/\nvar userSelectProperty = domutil.testProp([\n    'userSelect',\n    'WebkitUserSelect',\n    'OUserSelect',\n    'MozUserSelect',\n    'msUserSelect'\n]);\nvar supportSelectStart = 'onselectstart' in document;\nvar prevSelectStyle = '';\n/* eslint-enable*/\n\n/**\n * Disable browser's text selection behaviors.\n * @method\n */\ndomutil.disableTextSelection = (function() {\n    if (supportSelectStart) {\n        return function(dom) {\n            domevent.on(dom, 'selectstart', domevent.preventDefault);\n        };\n    }\n\n    return function(dom) {\n        var style = dom.style;\n        prevSelectStyle = style[userSelectProperty];\n        style[userSelectProperty] = 'none';\n    };\n})();\n\n/**\n * Enable browser's text selection behaviors.\n * @method\n */\ndomutil.enableTextSelection = (function() {\n    if (supportSelectStart) {\n        return function() {\n            domevent.off(window, 'selectstart', domevent.preventDefault);\n        };\n    }\n\n    return function() {\n        document.documentElement.style[userSelectProperty] = prevSelectStyle;\n    };\n})();\n\n/**\n * Disable browser's image drag behaviors.\n */\ndomutil.disableImageDrag = function() {\n    domevent.on(window, 'dragstart', domevent.preventDefault);\n};\n\n/**\n * Enable browser's image drag behaviors.\n */\ndomutil.enableImageDrag = function() {\n    domevent.off(window, 'dragstart', domevent.preventDefault);\n};\n\nmodule.exports = domutil;\n","/**\n * @fileoverview Global configuration object module. This @echo syntax will change preprocess context. See gulpfile.js\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar cssPrefix = 'tui-full-calendar-',\n    alldayGetViewID = new RegExp('^' + cssPrefix + 'weekday[\\\\s]tui-view-(\\\\d+)'),\n    alldayCheckPermission = new RegExp('^' + cssPrefix + 'schedule(-title)?$'),\n    timeGetViewID = new RegExp('^' + cssPrefix + 'time-date[\\\\s]tui-view-(\\\\d+)');\n\nvar config = {\n    throwError: function(msg) {\n        alert(msg);\n    },\n\n    cssPrefix: cssPrefix,\n\n    classname: function(str) {\n        str = str || '';\n\n        if (str.charAt(0) === '.') {\n            return '.' + config.cssPrefix + str.slice(1);\n        }\n\n        return config.cssPrefix + str;\n    },\n\n    allday: {\n        getViewIDRegExp: alldayGetViewID,\n        checkCondRegExp: alldayCheckPermission\n    },\n\n    daygrid: {\n        getViewIDRegExp: alldayGetViewID,\n        checkCondRegExp: alldayCheckPermission\n    },\n\n    time: {\n        getViewIDRegExp: timeGetViewID\n    }\n};\n\nmodule.exports = config;\n","/**\n * @fileoverview datetime utility module\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar TZDate = require('./timezone').Date,\n    dw = require('../common/dw');\nvar util = require('tui-code-snippet');\n/* eslint-disable no-useless-escape */\nvar dateFormatRx = /^(\\d{4}[-|\\/]*\\d{2}[-|\\/]*\\d{2})\\s?(\\d{2}:\\d{2}:\\d{2})?$/;\nvar datetime, tokenFunc;\n\nvar memo = {\n    millisecondsTo: {},\n    millisecondsFrom: {}\n};\n\ntokenFunc = {\n    /**\n     * @param {TZDate} date date object.\n     * @returns {string} YYYYMMDD\n     */\n    'YYYYMMDD': function(date) {\n        return [\n            date.getFullYear(),\n            datetime.leadingZero(date.getMonth() + 1, 2),\n            datetime.leadingZero(date.getDate(), 2)\n        ].join('');\n    },\n    /**\n     * @param {TZDate} date date object\n     * @returns {string} four digit year number\n     */\n    'YYYY': function(date) {\n        return String(date.getFullYear());\n    },\n\n    /**\n     * @param {TZDate} date date object\n     * @returns {string} two digit month number\n     */\n    'MM': function(date) {\n        return datetime.leadingZero(date.getMonth() + 1, 2);\n    },\n\n    /**\n     * @param {TZDate} date date object\n     * @returns {string} two digit date number\n     */\n    'DD': function(date) {\n        return datetime.leadingZero(date.getDate(), 2);\n    },\n\n    /**\n     * @param {TZDate} date date object\n     * @returns {string} HH:mm\n     */\n    'HH:mm': function(date) {\n        var hour = date.getHours(),\n            minutes = date.getMinutes();\n\n        return datetime.leadingZero(hour, 2) + ':' +\n            datetime.leadingZero(minutes, 2);\n    },\n\n    /**\n     * @param {TZDate} date date object\n     * @returns {string} hh:mm\n     */\n    'hh:mm': function(date) {\n        var hour = Math.floor(date.getHours() % 12),\n            minutes = date.getMinutes();\n\n        return datetime.leadingZero(hour, 2) + ':' +\n            datetime.leadingZero(minutes, 2);\n    },\n\n    /**\n     * @param {TZDate} date date object\n     * @returns {string} tt\n     */\n    'tt': function(date) {\n        var hour = date.getHours();\n\n        return hour < 12 ? 'am' : 'pm';\n    }\n};\n\ndatetime = {\n    /**\n     * The number of milliseconds one day.\n     * @type {number}\n     */\n    MILLISECONDS_PER_DAY: 86400000,\n\n    /**\n     * The number of milliseconds one hour.\n     * @type {number}\n     */\n    MILLISECONDS_PER_HOUR: 3600000,\n\n    /**\n     * The number of milliseconds one minutes.\n     * @type {number}\n     */\n    MILLISECONDS_PER_MINUTES: 60000,\n\n    /**\n     * The number of milliseconds 20 minutes for schedule min duration\n     * @type {number}\n     */\n    MILLISECONDS_SCHEDULE_MIN_DURATION: 20 * 60000,\n\n    /**\n     * convert milliseconds\n     * @param {string} type - type of value.\n     * @param {number} value - value to convert.\n     * @param {function} iteratee - iteratee function to use reduce.\n     * @returns {number} converted value.\n     */\n    _convMilliseconds: function(type, value, iteratee) {\n        var conv = [24, 60, 60, 1000],\n            index = {\n                day: 0,\n                hour: 1,\n                minutes: 2,\n                seconds: 3\n            };\n\n        if (!(type in index) || global.isNaN(value)) {\n            return false;\n        }\n\n        return util.reduce([value].concat(conv.slice(index[type])), iteratee);\n    },\n\n    /**\n     * Convert milliseconds value to other type\n     * @param {type} type convert to type want to. support \"day\", \"hour\",\n     *  \"minutes\", \"seconds\" only.\n     * @param {value} value - value to convert.\n     * @returns {number} converted value.\n     */\n    millisecondsTo: function(type, value) {\n        var cache = memo.millisecondsTo,\n            key = type + value;\n\n        if (cache[key]) {\n            return cache[key];\n        }\n\n        cache[key] = datetime._convMilliseconds(type, value, function(m, v) {\n            return m / v;\n        });\n\n        return cache[key];\n    },\n\n    /**\n     * Convert value to milliseconds\n     * @param {type} type - type of supplied value. support \"hour\", \"minutes\", \"seconds\" only.\n     * @param {value} value - value to convert.\n     * @returns {number} converted value.\n     */\n    millisecondsFrom: function(type, value) {\n        var cache = memo.millisecondsFrom,\n            key = type + value;\n\n        if (cache[key]) {\n            return cache[key];\n        }\n\n        cache[key] = datetime._convMilliseconds(type, value, function(m, v) {\n            return m * v;\n        });\n\n        return cache[key];\n    },\n\n    /**\n     * Convert hours to minutes\n     * @param {number} hours - hours\n     * @returns {number} minutes\n     */\n    minutesFromHours: function(hours) {\n        return hours * 60;\n    },\n\n    /**\n     * Make date array from supplied paramters.\n     * @param {TZDate} start Start date.\n     * @param {TZDate} end End date.\n     * @param {number} step The number of milliseconds to use increment.\n     * @returns {TZDate[]} TZDate array.\n     */\n    range: function(start, end, step) {\n        var startTime = start.getTime();\n        var endTime = end.getTime();\n        var cursor = startTime;\n        var date = dw(new TZDate(start));\n        var result = [];\n\n        while (cursor <= endTime && endTime >= date.d.getTime()) {\n            result.push(datetime.start(date.d));\n            cursor = cursor + step;\n            date.addDate(1);\n        }\n\n        return result;\n    },\n\n    /**\n     * Clone supplied date.\n     * @param {TZDate} date date object to clone.\n     * @returns {TZDate} Cloned date object\n     */\n    clone: function(date) {\n        return new TZDate(date);\n    },\n\n    /**\n     * Compare two dates.\n     *\n     * when first date is latest then seconds then return -1.\n     *\n     * return +1 reverse, and return 0 is same.\n     * @param {TZDate} d1 Date object to compare.\n     * @param {TZDate} d2 Date object to compare.\n     * @returns {number} result of compare\n     */\n    compare: function(d1, d2) {\n        var _d1 = d1.getTime(),\n            _d2 = d2.getTime();\n\n        if (_d1 < _d2) {\n            return -1;\n        }\n        if (_d1 > _d2) {\n            return 1;\n        }\n\n        return 0;\n    },\n\n    /**\n     * @param {TZDate} d1 - date one\n     * @param {TZDate} d2 - date two\n     * @returns {boolean} is two date are same year, month?\n     */\n    isSameMonth: function(d1, d2) {\n        return (d1.getFullYear() === d2.getFullYear() &&\n                d1.getMonth() === d2.getMonth());\n    },\n\n    /**\n     * @param {TZDate} d1 - date one\n     * @param {TZDate} d2 - date two\n     * @returns {boolean} is two date are same year, month, date?\n     */\n    isSameDate: function(d1, d2) {\n        var sameMonth = datetime.isSameMonth(d1, d2);\n\n        return sameMonth && (d1.getDate() === d2.getDate());\n    },\n\n    /**\n     * Check supplied parameter is valid date object.\n     * @param {*} d Object to validate.\n     * @returns {boolean} return true when parameter is valid date object.\n     */\n    isValid: function(d) {\n        if (d instanceof TZDate) {\n            return !window.isNaN(d.getTime());\n        }\n\n        return false;\n    },\n\n    /**\n     * convert non local date to UTC date.\n     * @param {TZDate} d Date to convert UTC.\n     * @returns {TZDate} The UTC Date.\n     */\n    toUTC: function(d) {\n        var l = d.getTime(),\n            offset = datetime.millisecondsFrom('minutes', new Date().getTimezoneOffset());\n\n        return new TZDate(l + offset);\n    },\n\n    /**\n     * pad left zero characters.\n     * @param {number} number number value to pad zero.\n     * @param {number} length pad length to want.\n     * @returns {string} padded string.\n     */\n    leadingZero: function(number, length) {\n        var zero = '',\n            i = 0;\n\n        if (String(number).length > length) {\n            return String(number);\n        }\n\n        for (; i < (length - 1); i += 1) {\n            zero += '0';\n        }\n\n        return (zero + number).slice(length * -1);\n    },\n\n    /**\n     * Convert date string to date object.\n     *\n     * Only listed below formats avaliable.\n     *\n     * - YYYYMMDD\n     * - YYYY/MM/DD\n     * - YYYY-MM-DD\n     * - YYYY/MM/DD HH:mm:SS\n     * - YYYY-MM-DD HH:mm:SS\n     *\n     * @param {string} str Formatted string.\n     * @param {number} [fixMonth=-1] - number for fix month calculating.\n     * @returns {(TZDate|boolean)} Converted Date object. when supplied str is not available then return false.\n     */\n    parse: function(str, fixMonth) {\n        var separator,\n            matches = str.match(dateFormatRx),\n            ymd,\n            hms;\n\n        if (util.isUndefined(fixMonth)) {\n            fixMonth = -1;\n        }\n\n        if (!matches) {\n            return false;\n        }\n\n        if (str.length > 8) {\n            // YYYY/MM/DD\n            // YYYY-MM-DD\n            // YYYY/MM/DD HH:mm:SS\n            // YYYY-MM-DD HH:mm:SS\n            separator = ~str.indexOf('/') ? '/' : '-';\n            matches = matches.splice(1);\n\n            ymd = matches[0].split(separator);\n            hms = matches[1] ? matches[1].split(':') : [0, 0, 0];\n        } else {\n            // YYYYMMDD\n            matches = matches[0];\n            ymd = [matches.substr(0, 4), matches.substr(4, 2), matches.substr(6, 2)];\n            hms = [0, 0, 0];\n        }\n\n        return new TZDate().setWithRaw(\n            Number(ymd[0]),\n            Number(ymd[1]) + fixMonth,\n            Number(ymd[2]),\n            Number(hms[0]),\n            Number(hms[1]),\n            Number(hms[2]),\n            0\n        );\n    },\n\n    /**\n     * Return date object from Date.\n     * @param {TZDate} date date\n     * @returns {object} Date object.\n     */\n    raw: function(date) {\n        return {\n            y: date.getFullYear(),\n            M: date.getMonth(),\n            d: date.getDate(),\n            h: date.getHours(),\n            m: date.getMinutes(),\n            s: date.getSeconds(),\n            ms: date.getMilliseconds()\n        };\n    },\n\n    /**\n     * Return 00:00:00 supplied date.\n     * @param {TZDate} date date. if undefined, use now.\n     * @returns {TZDate} start date.\n     */\n    start: function(date) {\n        var d = date ? new TZDate(date) : new TZDate();\n        d.setHours(0, 0, 0, 0);\n\n        return d;\n    },\n\n    /**\n     * Return 23:59:59 supplied date.\n     * @param {TZDate} date date. if undefined, use now.\n     * @returns {TZDate} end date.\n     */\n    end: function(date) {\n        var d = date ? new TZDate(date) : new TZDate();\n        d.setHours(23, 59, 59, 0);\n\n        return d;\n    },\n\n    /**\n     * Return formatted string as basis of supplied string.\n     *\n     * Supported Token Lists.\n     *\n     * - YYYY => 1988\n     * - MM => 01 ~ 12\n     * - DD => 01 ~ 31\n     * - YYYYMMDD => 19880925\n     * @param {TZDate} date String want to formatted.\n     * @param {string} format format str.\n     * @returns {string}  Formatted date string.\n     */\n    format: function(date, format) {\n        var result = format;\n        util.forEachOwnProperties(tokenFunc, function(converter, token) {\n            result = result.replace(token, converter(date));\n        });\n\n        return result;\n    },\n\n    /**\n     * Get start date of specific month\n     * @param {TZDate} date - date to get start date\n     * @returns {TZDate} start date of supplied month\n     */\n    startDateOfMonth: function(date) {\n        var startDate = new TZDate(date);\n\n        startDate.setDate(1);\n        startDate.setHours(0, 0, 0, 0);\n\n        return startDate;\n    },\n\n    /**\n     * Get end date of specific month\n     * @param {TZDate} date - date to get end date\n     * @returns {TZDate} end date of supplied month\n     */\n    endDateOfMonth: function(date) {\n        var endDate = datetime.startDateOfMonth(date);\n\n        endDate.setMonth(endDate.getMonth() + 1);\n        endDate.setDate(endDate.getDate() - 1);\n        endDate.setHours(23, 59, 59);\n\n        return endDate;\n    },\n\n    /**\n     * Return 2-dimensional array month calendar\n     *\n     * dates that different month with given date are negative values\n     * @param {TZDate} month - date want to calculate month calendar\n     * @param {object} options - options\n     * @param {number} [options.startDayOfWeek=0] - start day of week\n     * @param {boolean} options.isAlways6Week - whether the number of weeks are always 6\n     * @param {number} options.visibleWeeksCount visible weeks count\n     * @param {boolean} options.workweek - only show work week\n     * @param {function} [iteratee] - iteratee for customizing calendar object\n     * @returns {Array.<TZDate[]>} calendar 2d array\n     */\n    arr2dCalendar: function(month, options, iteratee) {\n        var weekArr,\n            start, end,\n            startIndex, endIndex,\n            totalDate, afterDates,\n            cursor, week,\n            calendar = [],\n            startDayOfWeek = options.startDayOfWeek,\n            isAlways6Week = util.isUndefined(options.isAlways6Week) ? true : options.isAlways6Week,\n            visibleWeeksCount = options.visibleWeeksCount,\n            workweek = options.workweek;\n\n        if (visibleWeeksCount) {\n            start = new TZDate(month);\n            end = dw(new TZDate(month));\n            end.addDate(7 * (visibleWeeksCount - 1));\n            end = end.d;\n        } else {\n            start = datetime.startDateOfMonth(month);\n            end = datetime.endDateOfMonth(month);\n        }\n\n        // create day number array by startDayOfWeek number\n        // 4 -> [4, 5, 6, 0, 1, 2, 3]\n        // 2 -> [2, 3, 4, 5, 6, 0, 1]\n        weekArr = util.range(startDayOfWeek, 7).concat(util.range(7)).slice(0, 7);\n        startIndex = util.inArray(start.getDay(), weekArr);\n        endIndex = util.inArray(end.getDay(), weekArr);\n        // free dates after last date of this month\n        afterDates = 7 - (endIndex + 1);\n\n        if (visibleWeeksCount) {\n            totalDate = 7 * visibleWeeksCount;\n        } else {\n            totalDate = isAlways6Week ? (7 * 6) : (startIndex + end.getDate() + afterDates);\n        }\n        cursor = datetime.start(start).addDate(-startIndex);\n        // iteratee all dates to render\n        util.forEachArray(util.range(totalDate), function(i) {\n            var date;\n\n            if (!(i % 7)) {\n                // group each date by week\n                week = calendar[i / 7] = [];\n            }\n\n            date = datetime.start(cursor);\n            date = iteratee ? iteratee(date) : date;\n            if (!workweek || !datetime.isWeekend(date.getDay())) {\n                week.push(date);\n            }\n\n            // add date\n            cursor.setDate(cursor.getDate() + 1);\n        });\n\n        return calendar;\n    },\n\n    /**\n     * Calculate grid left(%), width(%) by narrowWeekend, startDayOfWeek, workweek\n     *\n     * @param {number} days - day length of week\n     * @param {boolean} narrowWeekend - narrow weekend\n     * @param {number} startDayOfWeek - start day of week\n     * @param {boolean} workweek - only show work week\n     * @returns {Array} day, left, width\n     */\n    getGridLeftAndWidth: function(days, narrowWeekend, startDayOfWeek, workweek) {\n        var limitDaysToApplyNarrowWeekend = 5;\n        var uniformWidth = 100 / days;\n        var wideWidth = days > limitDaysToApplyNarrowWeekend ? 100 / (days - 1) : uniformWidth;\n        var accumulatedWidth = 0;\n        var dates = util.range(startDayOfWeek, 7).concat(util.range(days)).slice(0, 7);\n\n        if (workweek) {\n            dates = util.filter(dates, function(day) {\n                return !datetime.isWeekend(day);\n            });\n        }\n\n        narrowWeekend = workweek ? false : narrowWeekend;\n\n        return util.map(dates, function(day) {\n            var model;\n            var width = narrowWeekend ? wideWidth : uniformWidth;\n            if (days > limitDaysToApplyNarrowWeekend && narrowWeekend && datetime.isWeekend(day)) {\n                width = wideWidth / 2;\n            }\n\n            model = {\n                day: day,\n                width: width,\n                left: accumulatedWidth\n            };\n\n            accumulatedWidth += width;\n\n            return model;\n        });\n    },\n\n    /**\n     * Get that day is weekend\n     * @param {number} day number\n     * @returns {boolean} true if weekend or false\n     */\n    isWeekend: function(day) {\n        return day === 0 || day === 6;\n    },\n\n    /**\n     * Whether date is between supplied dates with date value?\n     * @param {TZDate} d - target date\n     * @param {TZDate} d1 - from date\n     * @param {TZDate} d2 - to date\n     * @returns {boolean} is between?\n     */\n    isBetweenWithDate: function(d, d1, d2) {\n        var format = 'YYYYMMDD';\n        d = parseInt(datetime.format(d, format), 10);\n        d1 = parseInt(datetime.format(d1, format), 10);\n        d2 = parseInt(datetime.format(d2, format), 10);\n\n        return d1 <= d && d <= d2;\n    }\n};\n\nmodule.exports = datetime;\n","/**\n * @fileoverview timezone\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar MIN_TO_MS = 60 * 1000;\nvar nativeOffsetMs = getTimezoneOffset();\nvar customOffsetMs = nativeOffsetMs;\nvar timezoneOffsetCallback = null;\nvar setByTimezoneOption = false;\n\nvar getterMethods = [\n    'getDate',\n    'getDay',\n    'getFullYear',\n    'getHours',\n    'getMilliseconds',\n    'getMinutes',\n    'getMonth',\n    'getSeconds'\n];\n\nvar setterMethods = [\n    'setDate',\n    'setFullYear',\n    'setHours',\n    'setMilliseconds',\n    'setMinutes',\n    'setMonth',\n    'setSeconds'\n];\n\n/**\n * Get the timezone offset by timestampe\n * @param {number} timestamp - timestamp\n * @returns {number} timezone offset\n * @private\n */\nfunction getTimezoneOffset(timestamp) {\n    timestamp = timestamp || Date.now();\n\n    return new Date(timestamp).getTimezoneOffset() * MIN_TO_MS;\n}\n\n/**\n * Get the custome timezone offset by timestampe\n * @param {number} timestamp - timestamp\n * @returns {number} timezone offset\n * @private\n */\nfunction getCustomTimezoneOffset(timestamp) {\n    if (!setByTimezoneOption && timezoneOffsetCallback) {\n        return timezoneOffsetCallback(timestamp) * MIN_TO_MS;\n    }\n\n    return customOffsetMs;\n}\n\n/**\n * Convert to local time\n * @param {number} time - time\n * @returns {number} local time\n */\nfunction getLocalTime(time) {\n    var timezoneOffset = getTimezoneOffset(time);\n    var customTimezoneOffset = getCustomTimezoneOffset(time);\n    var timezoneOffsetDiff = customTimezoneOffset ? 0 : nativeOffsetMs - timezoneOffset;\n    var localTime = time - customTimezoneOffset + timezoneOffset + timezoneOffsetDiff;\n\n    return localTime;\n}\n\n/**\n * Create a Date instance with multiple arguments\n * @param {Array} args - arguments\n * @returns {Date}\n * @private\n */\nfunction createDateWithMultipleArgs(args) {\n    var utc = Date.UTC.apply(null, args);\n\n    return new Date(utc + getTimezoneOffset(utc));\n}\n\n/**\n * To convert a Date to TZDate as it is.\n * @param {TZDate|number|null} arg - date\n * @returns {Date}\n */\nfunction createDateWithUTCTime(arg) {\n    var time;\n\n    if (arg instanceof TZDate) {\n        time = arg.getUTCTime();\n    } else if ((typeof arg) === 'number') {\n        time = arg;\n    } else if (arg === null) {\n        time = 0;\n    } else {\n        throw new Error('Invalid Type');\n    }\n\n    return new Date(time);\n}\n\n/**\n * Convert time to local time. Those times are only from API and not from inner source code.\n * @param {Date|string} arg - date\n * @returns {Date}\n */\nfunction createDateAsLocalTime(arg) {\n    var time;\n\n    if (arg instanceof Date) {\n        time = arg.getTime();\n    } else if ((typeof arg) === 'string') {\n        time = Date.parse(arg);\n    } else {\n        throw new Error('Invalid Type');\n    }\n\n    time = getLocalTime(time);\n\n    return new Date(time);\n}\n\n/**\n * is it for local time? These type can be used from Calendar API.\n * @param {Date|string} arg - date \n * @returns {boolean}\n */\nfunction useLocalTimeConverter(arg) {\n    return arg instanceof Date || (typeof arg) === 'string';\n}\n\n/**\n * Timezone Date Class\n * @param {number|TZDate|Date|string} date - date to be converted\n * @constructor\n */\nfunction TZDate(date) {\n    var nativeDate;\n\n    if (util.isUndefined(date)) {\n        date = Date.now();\n    }\n\n    if (arguments.length > 1) {\n        nativeDate = createDateWithMultipleArgs(arguments);\n    } else if (useLocalTimeConverter(date)) {\n        nativeDate = createDateAsLocalTime(date);\n    } else {\n        nativeDate = createDateWithUTCTime(date);\n    }\n\n    this._date = nativeDate;\n}\n\n/**\n * Get milliseconds which is converted by timezone\n * @returns {number} milliseconds\n */\nTZDate.prototype.getTime = function() {\n    var time = this._date.getTime();\n\n    return time + getCustomTimezoneOffset(time) - getTimezoneOffset(time);\n};\n\n/**\n * Get UTC milliseconds\n * @returns {number} milliseconds\n */\nTZDate.prototype.getUTCTime = function() {\n    return this._date.getTime();\n};\n\n/**\n * toUTCString\n * @returns {Date}\n */\nTZDate.prototype.toUTCString = function() {\n    return this._date.toUTCString();\n};\n\n/**\n * to Date\n * @returns {Date}\n */\nTZDate.prototype.toDate = function() {\n    return this._date;\n};\n\nTZDate.prototype.valueOf = function() {\n    return this.getTime();\n};\n\nTZDate.prototype.addDate = function(day) {\n    this.setDate(this.getDate() + day);\n\n    return this;\n};\n\nTZDate.prototype.addMinutes = function(minutes) {\n    this.setMinutes(this.getMinutes() + minutes);\n\n    return this;\n};\n\nTZDate.prototype.addMilliseconds = function(milliseconds) {\n    this.setMilliseconds(this.getMilliseconds() + milliseconds);\n\n    return this;\n};\n\n/* eslint-disable max-params*/\nTZDate.prototype.setWithRaw = function(y, M, d, h, m, s, ms) {\n    this.setFullYear(y, M, d);\n    this.setHours(h, m, s, ms);\n\n    return this;\n};\n\n/**\n * @returns {TZDate} local time\n */\nTZDate.prototype.toLocalTime = function() {\n    var time = this.getTime();\n    var utcTime = this.getUTCTime();\n    var diff = time - utcTime;\n\n    return new TZDate(utcTime - diff);\n};\n\ngetterMethods.forEach(function(methodName) {\n    TZDate.prototype[methodName] = function() {\n        return this._date[methodName].apply(this._date, arguments);\n    };\n});\n\nsetterMethods.forEach(function(methodName) {\n    TZDate.prototype[methodName] = function() {\n        this._date[methodName].apply(this._date, arguments);\n\n        return this.getTime();\n    };\n});\n\nmodule.exports = {\n    Date: TZDate,\n\n    /**\n     * Set offset\n     * @param {number} offset - timezone offset based on minutes\n     */\n    setOffset: function(offset) {\n        customOffsetMs = offset * MIN_TO_MS;\n    },\n\n    /**\n     * Set offset\n     * @param {number} offset - timezone offset based on minutes\n     */\n    setOffsetByTimezoneOption: function(offset) {\n        this.setOffset(-offset);\n        setByTimezoneOption = true;\n    },\n\n    /**\n     * Get offset in case of `setByTimezoneOption`. Or return 0.\n     * @returns {number} timezone offset offset minutes\n     */\n    getOffset: function() {\n        if (setByTimezoneOption) {\n            return customOffsetMs / MIN_TO_MS;\n        }\n\n        return 0;\n    },\n\n    /**\n     * Set a callback function to get timezone offset by timestamp\n     * @param {function} callback - callback function\n     */\n    setOffsetCallback: function(callback) {\n        timezoneOffsetCallback = callback;\n    },\n\n    /**\n     * (Use this method only for testing)\n     * Reset system timezone and custom timezone\n     */\n    restoreOffset: function() {\n        customOffsetMs = getTimezoneOffset();\n    }\n};\n","/**\n * @fileoverview common/general utilities.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar aps = Array.prototype.slice;\n\nvar domutil = require('../common/domutil'),\n    Collection = require('../common/collection');\n\n/**\n * Default schedule id getter for collection\n * @param {Schedule} schedule - schedule instance\n * @returns {string} schedule id\n */\nfunction scheduleIDGetter(schedule) {\n    return schedule.cid();\n}\n\nmodule.exports = {\n    /**\n     * @param {...*} initItems - items to add newly created collection.\n     * @returns {Collection} new collection for schedule models.\n     */\n    createScheduleCollection: function(initItems) {    // eslint-disable-line\n        var collection = new Collection(scheduleIDGetter);\n\n        if (arguments.length) {\n            collection.add.apply(collection, arguments);\n        }\n\n        return collection;\n    },\n\n    /**\n     * Get ratio value.\n     *\n     * a : b = y : X;\n     *\n     * =\n     *\n     * X = (b * y) / a;\n     * @param {number} a - a\n     * @param {number} b - b\n     * @param {number} y - y\n     * @returns {number} ratio value\n     */\n    ratio: function(a, b, y) {\n        // a : b = y : x;\n        return (b * y) / a;\n    },\n\n    /**\n     * Find nearest value from supplied params.\n     * @param {number} value - value to find.\n     * @param {array} nearest - nearest array.\n     * @returns {number} nearest value\n     */\n    nearest: function(value, nearest) {\n        var diff = util.map(nearest, function(v) {\n                return Math.abs(value - v);\n            }),\n            nearestIndex = util.inArray(Math.min.apply(null, diff), diff);\n\n        return nearest[nearestIndex];\n    },\n\n    /**\n     * pick value from object then return utility object to treat it.\n     * @param {object} obj - object to search supplied path property.\n     * @param {...string} paths - rest parameter that string value to search property in object.\n     * @returns {object} pick object.\n     */\n    pick2: function(obj, paths) {    // eslint-disable-line\n        var result = util.pick.apply(null, arguments),\n            pick;\n\n        pick = {\n            /**\n             * @returns {*} picked value.\n             */\n            val: function() {\n                return result;\n            },\n\n            /**\n             * invoke supplied function in picked object.\n             *\n             * the callback context is set picked object.\n             * @param {string|function} fn - function to invoke in picked object.\n             * @returns {*} result of invoke.\n             */\n            then: function(fn) {\n                var args;\n\n                if (!result) {\n                    return undefined;    //eslint-disable-line\n                }\n\n                args = aps.call(arguments, 1);\n\n                if (util.isString(fn)) {\n                    return (util.pick(result, fn) || function() {}).apply(result, args);\n                }\n\n                return fn.call(result, result);\n            }\n        };\n\n        return pick;\n    },\n\n    /**\n     * Mixin method.\n     *\n     * (extend methods except property name 'mixin')\n     * @param {object} from - mixin object.\n     * @param {object} to - object to mixin.\n     */\n    mixin: function(from, to) {\n        util.extend(to.prototype, from);\n    },\n\n    /**\n     * Limit supplied value base on `minArr`, `maxArr`\n     * @param {number} value - value\n     * @param {array} minArr - min\n     * @param {array} maxArr - max\n     * @returns {number} limited value\n     */\n    limit: function(value, minArr, maxArr) {\n        var v = Math.max.apply(null, [value].concat(minArr));\n        v = Math.min.apply(null, [v].concat(maxArr));\n\n        return v;\n    },\n\n    /**\n     * Limit supplied date base on `min`, `max`\n     * @param {TZDate} date - date\n     * @param {TZDate} min - min\n     * @param {TZDate} max - max\n     * @returns {TZDate} limited value\n     */\n    limitDate: function(date, min, max) {\n        if (date < min) {\n            return min;\n        }\n        if (date > max) {\n            return max;\n        }\n\n        return date;\n    },\n\n    /**\n     * Max value with TZDate type for timezone calculation\n     * @param {TZDate} d1 - date 1\n     * @param {TZDate} d2 - date 2\n     * @returns {TZDate}\n     */\n    maxDate: function(d1, d2) {\n        if (d1 > d2) {\n            return d1;\n        }\n\n        return d2;\n    },\n\n    stripTags: function(str) {\n        return str.replace(/<([^>]+)>/ig, '');\n    },\n\n    /**\n     * Get first value in 2-dimentional array.\n     * @param {Array.<Array>} arr2d - 2-dimentional array\n     * @returns {*} first value in 2d array\n     */\n    firstIn2dArray: function(arr2d) {\n        return util.pick(arr2d, '0', '0');\n    },\n\n    /**\n     * Get last value in 2-dimentional array.\n     * @param {Array.<Array>} arr2d - 2-dimentional array\n     * @returns {*} last value in 2d array\n     */\n    lastIn2dArray: function(arr2d) {\n        var lastRow = arr2d.length - 1,\n            lastCol = arr2d[lastRow].length - 1;\n\n        return util.pick(arr2d, lastRow, lastCol);\n    },\n\n    /**\n     * Set 'title' attribute for all element that has exceeded content in\n     * container\n     * @param {string} selector - CSS selector {@see domutil#find}\n     * @param {HTMLElement} container - container element\n     * @param {boolean} force - force to apply\n     */\n    setAutoEllipsis: function(selector, container, force) {\n        util.forEach(domutil.find(selector, container, true), function(el) {\n            if (force || el.offsetWidth < el.scrollWidth) {\n                el.setAttribute('title', domutil.getData(el, 'title'));\n            }\n        });\n    },\n\n    /**\n     * Set the value at path of object.\n     * @param {object} object - the object to modify\n     * @param {string} path -the path of property to set\n     * @param {*} value - the value to set\n     */\n    set: function(object, path, value) {\n        var names = path.split('.');\n        var store = object;\n\n        util.forEach(names, function(name, index) {\n            store[name] = store[name] || {};\n\n            if (index === names.length - 1) {\n                store[name] = value;\n            } else {\n                store = store[name];\n            }\n        });\n    },\n\n    /**\n     * shift a array\n     * @param {Array.<any>} array - array\n     * @param {number} shift - positive or negative integer to shift\n     * @returns {Array.<any>} shifted array\n     */\n    shiftArray: function(array, shift) {\n        var length = Math.abs(shift);\n        var i;\n\n        if (shift > 0) {\n            for (i = 0; i < length; i += 1) {\n                array.push(array.shift());\n            }\n        } else if (shift < 0) {\n            for (i = 0; i < length; i += 1) {\n                array.unshift(array.pop());\n            }\n        }\n\n        return array;\n    },\n\n    /**\n     * take elements from array between start and end.\n     * @param {Array.<any>} array - array\n     * @param {number} start - start index\n     * @param {number} end - end index\n     * @returns {Array.<any>}\n     */\n    takeArray: function(array, start, end) {\n        var length = array.length;\n        var rightCount = length - end;\n        var leftCount = start;\n\n        // remove right\n        array.splice(end, rightCount);\n        // remove left\n        array.splice(0, leftCount);\n\n        return array;\n    },\n\n    /**\n     * shift hours\n     * @param {number} hours - hours\n     * @param {number} shift - positive or negative integer to shift\n     * @returns {number} shifted hours\n     */\n    shiftHours: function(hours, shift) {\n        if (shift > 0) {\n            hours = (hours + shift) % 24;\n        } else if (shift < 0) {\n            hours += shift;\n            hours = hours > 0 ? hours : 24 + hours;\n        }\n\n        return hours;\n    },\n\n    /**\n     * Parse css value into number and units\n     * @param {string} cssValue - css value like '72px'\n     * @returns {Array} [number, unit]\n     */\n    parseUnit: function(cssValue) {\n        var number = parseFloat(cssValue, 10);\n        var unit = cssValue.match(/[\\d.\\-+]*\\s*(.*)/)[1] || '';\n\n        return [number, unit];\n    },\n\n    find: function(array, iteratee, contextopt) {\n        var found;\n\n        util.forEach(array, function(item) {\n            if (iteratee) {\n                found = iteratee(item);\n            }\n\n            if (found) {\n                found = item;\n\n                return false;\n            }\n\n            return true;\n        }, contextopt);\n\n        return found;\n    }\n};\n","// Create a simple path alias to allow browserify to resolve\n// the runtime on a supported path.\nmodule.exports = require('./dist/cjs/handlebars.runtime')['default'];\n","/* eslint complexity: 0 */\n/**\n * @fileoverview Utility module for handling DOM events.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar browser = util.browser,\n    eventKey = '_evt',\n    DRAG = {\n        START: ['touchstart', 'mousedown'],\n        END: {\n            mousedown: 'mouseup',\n            touchstart: 'touchend',\n            pointerdown: 'touchend',\n            MSPointerDown: 'touchend'\n        },\n        MOVE: {\n            mousedown: 'mousemove',\n            touchstart: 'touchmove',\n            pointerdown: 'touchmove',\n            MSPointerDown: 'touchmove'\n        }\n    };\n\nvar domevent = {\n    /**\n     * Bind dom events.\n     * @param {HTMLElement} obj HTMLElement to bind events.\n     * @param {(string|object)} types Space splitted events names or eventName:handler object.\n     * @param {*} fn handler function or context for handler method.\n     * @param {*} [context] context object for handler method.\n     */\n    on: function(obj, types, fn, context) {\n        if (util.isString(types)) {\n            util.forEach(types.split(' '), function(type) {\n                domevent._on(obj, type, fn, context);\n            });\n\n            return;\n        }\n\n        util.forEachOwnProperties(types, function(handler, type) {\n            domevent._on(obj, type, handler, fn);\n        });\n    },\n\n    /**\n     * DOM event binding.\n     * @param {HTMLElement} obj HTMLElement to bind events.\n     * @param {String} type The name of events.\n     * @param {*} fn handler function\n     * @param {*} [context] context object for handler method.\n     * @private\n     */\n    _on: function(obj, type, fn, context) {\n        var id,\n            handler,\n            originHandler;\n\n        id = type + util.stamp(fn) + (context ? '_' + util.stamp(context) : '');\n\n        if (obj[eventKey] && obj[eventKey][id]) {\n            return;\n        }\n\n        handler = function(e) {\n            fn.call(context || obj, e || window.event);\n        };\n\n        originHandler = handler;\n\n        if ('addEventListener' in obj) {\n            if (type === 'mouseenter' || type === 'mouseleave') {\n                handler = function(e) {\n                    e = e || window.event;\n                    if (!domevent._checkMouse(obj, e)) {\n                        return;\n                    }\n                    originHandler(e);\n                };\n                obj.addEventListener((type === 'mouseenter') ?\n                    'mouseover' : 'mouseout', handler, false);\n            } else {\n                if (type === 'mousewheel') {\n                    obj.addEventListener('DOMMouseScroll', handler, false);\n                }\n\n                obj.addEventListener(type, handler, false);\n            }\n        } else if ('attachEvent' in obj) {\n            obj.attachEvent('on' + type, handler);\n        }\n\n        obj[eventKey] = obj[eventKey] || {};\n        obj[eventKey][id] = handler;\n    },\n\n    /**\n     * Unbind DOM Event handler.\n     * @param {HTMLElement} obj HTMLElement to unbind.\n     * @param {(string|object)} types Space splitted events names or eventName:handler object.\n     * @param {*} fn handler function or context for handler method.\n     * @param {*} [context] context object for handler method.\n     */\n    off: function(obj, types, fn, context) {\n        if (util.isString(types)) {\n            util.forEach(types.split(' '), function(type) {\n                domevent._off(obj, type, fn, context);\n            });\n\n            return;\n        }\n\n        util.forEachOwnProperties(types, function(handler, type) {\n            domevent._off(obj, type, handler, fn);\n        });\n    },\n\n    /**\n     * Unbind DOM event handler.\n     * @param {HTMLElement} obj HTMLElement to unbind.\n     * @param {String} type The name of event to unbind.\n     * @param {function()} fn Event handler that supplied when binding.\n     * @param {*} context context object that supplied when binding.\n     * @private\n     */\n    _off: function(obj, type, fn, context) {\n        var id = type + util.stamp(fn) + (context ? '_' + util.stamp(context) : ''),\n            handler = obj[eventKey] && obj[eventKey][id];\n\n        if (!handler) {\n            return;\n        }\n\n        if ('removeEventListener' in obj) {\n            if (type === 'mouseenter' || type === 'mouseleave') {\n                obj.removeEventListener((type === 'mouseenter') ?\n                    'mouseover' : 'mouseout', handler, false);\n            } else {\n                if (type === 'mousewheel') {\n                    obj.removeEventListener('DOMMouseScroll', handler, false);\n                }\n\n                obj.removeEventListener(type, handler, false);\n            }\n        } else if ('detachEvent' in obj) {\n            try {\n                obj.detachEvent('on' + type, handler);\n            } catch (e) {}    //eslint-disable-line\n        }\n\n        delete obj[eventKey][id];\n\n        if (util.keys(obj[eventKey]).length) {\n            return;\n        }\n\n        // throw exception when deleting host object's property in below IE8\n        if (util.browser.msie && util.browser.version < 9) {\n            obj[eventKey] = null;\n\n            return;\n        }\n\n        delete obj[eventKey];\n    },\n\n    /**\n     * Bind DOM event. this event will unbind after invokes.\n     * @param {HTMLElement} obj HTMLElement to bind events.\n     * @param {(string|object)} types Space splitted events names or eventName:handler object.\n     * @param {*} fn handler function or context for handler method.\n     * @param {*} [context] context object for handler method.\n     */\n    once: function(obj, types, fn, context) {\n        var self = this;\n\n        if (util.isObject(types)) {\n            util.forEachOwnProperties(types, function(handler, type) {\n                domevent.once(obj, type, handler, fn);\n            });\n\n            return;\n        }\n\n        /**\n         * Handler for temporary usage for once implementation\n         */\n        function onceHandler() {\n            fn.apply(context || obj, arguments);\n            self._off(obj, types, onceHandler, context);\n        }\n\n        domevent.on(obj, types, onceHandler, context);\n    },\n\n    /**\n     * Cancel event bubbling.\n     * @param {Event} e Event object.\n     */\n    stopPropagation: function(e) {\n        if (e.stopPropagation) {\n            e.stopPropagation();\n        } else {\n            e.cancelBubble = true;\n        }\n    },\n\n    /**\n     * Cancel browser default actions.\n     * @param {Event} e Event object.\n     */\n    preventDefault: function(e) {\n        if (e.preventDefault) {\n            e.preventDefault();\n        } else {\n            e.returnValue = false;\n        }\n    },\n\n    /**\n     * Syntatic sugar of stopPropagation and preventDefault\n     * @param {Event} e Event object.\n     */\n    stop: function(e) {\n        domevent.preventDefault(e);\n        domevent.stopPropagation(e);\n    },\n\n    /**\n     * Stop scroll events.\n     * @param {HTMLElement} el HTML element to prevent scroll.\n     */\n    disableScrollPropagation: function(el) {\n        domevent.on(el, 'mousewheel MozMousePixelScroll', domevent.stopPropagation);\n    },\n\n    /**\n     * Stop all events related with click.\n     * @param {HTMLElement} el HTML element to prevent all event related with click.\n     */\n    disableClickPropagation: function(el) {\n        domevent.on(el, DRAG.START.join(' ') + ' click dblclick', domevent.stopPropagation);\n    },\n\n    /**\n     * Get mouse position from mouse event.\n     *\n     * If supplied relatveElement parameter then return relative position based on element.\n     * @param {Event} mouseEvent Mouse event object\n     * @param {HTMLElement} relativeElement HTML element that calculate relative position.\n     * @returns {number[]} mouse position.\n     */\n    getMousePosition: function(mouseEvent, relativeElement) {\n        var rect;\n\n        if (!relativeElement) {\n            return [mouseEvent.clientX, mouseEvent.clientY];\n        }\n\n        rect = relativeElement.getBoundingClientRect();\n\n        return [\n            mouseEvent.clientX - rect.left - relativeElement.clientLeft,\n            mouseEvent.clientY - rect.top - relativeElement.clientTop\n        ];\n    },\n\n    /**\n     * Normalize mouse wheel event that different each browsers.\n     * @param {MouseEvent} e Mouse wheel event.\n     * @returns {Number} delta\n     */\n    getWheelDelta: function(e) {\n        var delta = 0;\n\n        if (e.wheelDelta) {\n            delta = e.wheelDelta / 120;\n        }\n\n        if (e.detail) {\n            delta = -e.detail / 3;\n        }\n\n        return delta;\n    },\n\n    /**\n     * prevent firing mouseleave event when mouse entered child elements.\n     * @param {HTMLElement} el HTML element\n     * @param {MouseEvent} e Mouse event\n     * @returns {Boolean} leave?\n     * @private\n     */\n    _checkMouse: function(el, e) {\n        var related = e.relatedTarget;\n\n        if (!related) {\n            return true;\n        }\n\n        try {\n            while (related && (related !== el)) {\n                related = related.parentNode;\n            }\n        } catch (err) {\n            return false;\n        }\n\n        return (related !== el);\n    },\n\n    /**\n     * Trigger specific events to html element.\n     * @param {HTMLElement} obj HTMLElement\n     * @param {string} type Event type name\n     * @param {object} [eventData] Event data\n     */\n    trigger: function(obj, type, eventData) {\n        var rMouseEvent = /(mouse|click)/;\n        if (util.isUndefined(eventData) && rMouseEvent.exec(type)) {\n            eventData = domevent.mouseEvent(type);\n        }\n\n        if (obj.dispatchEvent) {\n            obj.dispatchEvent(eventData);\n        } else if (obj.fireEvent) {\n            obj.fireEvent('on' + type, eventData);\n        }\n    },\n\n    /**\n     * Create virtual mouse event.\n     *\n     * Tested at\n     *\n     * - IE7 ~ IE11\n     * - Chrome\n     * - Firefox\n     * - Safari\n     * @param {string} type Event type\n     * @param {object} [eventObj] Event data\n     * @returns {MouseEvent} Virtual mouse event.\n     */\n    mouseEvent: function(type, eventObj) {\n        var evt,\n            e;\n\n        e = util.extend({\n            bubbles: true,\n            cancelable: (type !== 'mousemove'),\n            view: window,\n            wheelDelta: 0,\n            detail: 0,\n            screenX: 0,\n            screenY: 0,\n            clientX: 0,\n            clientY: 0,\n            ctrlKey: false,\n            altKey: false,\n            shiftKey: false,\n            metaKey: false,\n            button: 0,\n            relatedTarget: undefined  // eslint-disable-line\n        }, eventObj);\n\n        // prevent throw error when inserting wheelDelta property to mouse event on below IE8\n        if (browser.msie && browser.version < 9) {\n            delete e.wheelDelta;\n        }\n\n        if (typeof document.createEvent === 'function') {\n            evt = document.createEvent('MouseEvents');\n            evt.initMouseEvent(type,\n                e.bubbles, e.cancelable, e.view, e.detail,\n                e.screenX, e.screenY, e.clientX, e.clientY,\n                e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,\n                e.button, document.body.parentNode\n            );\n        } else if (document.createEventObject) {\n            evt = document.createEventObject();\n\n            util.forEach(e, function(value, propName) {\n                evt[propName] = value;\n            }, this);\n            evt.button = {0: 1,\n                1: 4,\n                2: 2}[evt.button] || evt.button;\n        }\n\n        return evt;\n    },\n\n    /**\n     * Normalize mouse event's button attributes.\n     *\n     * Can detect which button is clicked by this method.\n     *\n     * Meaning of return numbers\n     *\n     * - 0: primary mouse button\n     * - 1: wheel button or center button\n     * - 2: secondary mouse button\n     * @param {MouseEvent} mouseEvent - The mouse event object want to know.\n     * @returns {number} - The value of meaning which button is clicked?\n     */\n    getMouseButton: function(mouseEvent) {\n        var button,\n            primary = '0,1,3,5,7',\n            secondary = '2,6',\n            wheel = '4';\n\n        /* istanbul ignore else */\n        if (document.implementation.hasFeature('MouseEvents', '2.0')) {\n            return mouseEvent.button;\n        }\n\n        button = String(mouseEvent.button);\n        if (primary.indexOf(button) > -1) {\n            return 0;\n        }\n        if (secondary.indexOf(button) > -1) {\n            return 2;\n        }\n        if (~wheel.indexOf(button)) {\n            return 1;\n        }\n\n        return -1;\n    }\n};\n\nmodule.exports = domevent;\n","/**\n * @fileoverview The base class of views.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar domutil = require('../common/domutil');\nvar Collection = require('../common/collection');\n\n/**\n * Base class of views.\n *\n * All views create own container element inside supplied container element.\n * @constructor\n * @param {HTMLElement} container Default container element for view.\n *  you can use this element for this.container syntax.\n */\nfunction View(container) {\n    var id = util.stamp(this);\n\n    if (util.isUndefined(container)) {\n        container = domutil.appendHTMLElement('div');\n    }\n\n    domutil.addClass(container, this.cssprefix(id));\n\n    /**\n     * unique id\n     * @type {number}\n     */\n    this.id = id;\n\n    /**\n     * base element of view.\n     * @type {HTMLDIVElement}\n     */\n    this.container = container;\n\n    /*eslint-disable*/\n    /**\n     * child views.\n     * @type {Collection}\n     */\n    this.children = new Collection(function(view) {\n        return util.stamp(view);\n    });\n    /* eslint-enable*/\n\n    /**\n     * parent view instance.\n     * @type {View}\n     */\n    this.parent = null;\n\n    /**\n     * state of view\n     */\n    this.state = {};\n}\n\n/**\n * CSS classname prefix\n * @type {string}\n */\nView.prototype.cssPrefix = 'tui-view-';\n\n/**\n * Add child views.\n * @param {View} view The view instance to add.\n * @param {function} [fn] Function for invoke before add. parent view class is supplied first arguments.\n */\nView.prototype.addChild = function(view, fn) {\n    if (fn) {\n        fn.call(view, this);\n    }\n    // add parent view\n    view.parent = this;\n\n    this.children.add(view);\n};\n\n/**\n * Remove added child view.\n * @param {(number|View)} id View id or instance itself to remove.\n * @param {function} [fn] Function for invoke before remove. parent view class is supplied first arguments.\n */\nView.prototype.removeChild = function(id, fn) {\n    var view = util.isNumber(id) ? this.children.items[id] : id;\n\n    id = util.stamp(view);\n\n    if (fn) {\n        fn.call(view, this);\n    }\n\n    this.children.remove(id);\n};\n\n/**\n * Render view recursively.\n */\nView.prototype.render = function() {\n    this.children.each(function(childView) {\n        childView.render();\n    });\n};\n\n/**\n * Invoke function recursively.\n * @param {function} fn - function to invoke child view recursively\n * @param {boolean} [skipThis=false] - set true then skip invoke with this(root) view.\n */\nView.prototype.recursive = function(fn, skipThis) {\n    if (!util.isFunction(fn)) {\n        return;\n    }\n\n    if (!skipThis) {\n        fn(this);\n    }\n\n    this.children.each(function(childView) {\n        childView.recursive(fn);\n    });\n};\n\n/**\n * Resize view recursively to parent.\n */\nView.prototype.resize = function() {\n    var args = Array.prototype.slice.call(arguments),\n        parent = this.parent;\n\n    while (parent) {\n        if (util.isFunction(parent._onResize)) {\n            parent._onResize.apply(parent, args);\n        }\n\n        parent = parent.parent;\n    }\n};\n\n/**\n * Invoking method before destroying.\n */\nView.prototype._beforeDestroy = function() {};\n\n/**\n * Clear properties\n */\nView.prototype._destroy = function() {\n    this._beforeDestroy();\n    this.children.clear();\n    this.container.innerHTML = '';\n\n    this.id = this.parent = this.children = this.container = null;\n};\n\n/*eslint-disable*/\n/**\n * Destroy child view recursively.\n */\nView.prototype.destroy = function(isChildView) {\n    this.children.each(function(childView) {\n        childView.destroy(true);\n        childView._destroy();\n    });\n\n    if (isChildView) {\n        return;\n    }\n\n    this._destroy();\n};\n/* eslint-enable*/\n\n/**\n * Calculate view's container element bound.\n * @returns {object} The bound of container element.\n */\nView.prototype.getViewBound = function() {\n    var container = this.container,\n        position = domutil.getPosition(container),\n        size = domutil.getSize(container);\n\n    return {\n        x: position[0],\n        y: position[1],\n        width: size[0],\n        height: size[1]\n    };\n};\n\n/**\n * Return view default CSS prefix\n * @param {string} [className] - if supplied then return prefix added class name\n * @returns {string} CSS prefix value\n */\nView.prototype.cssprefix = function(className) {\n    return this.cssPrefix + (className || '');\n};\n\n/**\n * set state\n * @param {object} state - state\n */\nView.prototype.setState = function(state) {\n    util.extend(this.state, state);\n};\n\nutil.CustomEvents.mixin(View);\n\nmodule.exports = View;\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","/**\n * @fileoverview RequestAnimFrame\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar requestFn,\n    cancelFn;\n\n/**\n * Get name with vendor prefix\n * @param {string} name - name to prepend prefix\n * @returns {string} vendor prefixed name\n */\nfunction getPrefixed(name) {\n    return global['webkit' + name] || global['moz' + name] || global['ms' + name];\n}\n\nrequestFn = global.requestAnimationFrame ||\n    getPrefixed('RequestAnimationFrame') ||\n    function(fn, context) {\n        fn.call(context);\n    };\n\ncancelFn = global.cancelAnimationFrame ||\n    getPrefixed('CancelAnimationFrame') ||\n    getPrefixed('CancelRequestAnimationFrame') ||\n    function() {};\n\n/**\n * @module module:reqAnimFrame\n */\n\nmodule.exports = {\n    /**\n     * Shim of requestAnimationFrame\n     * @param {function} fn callback function\n     * @param {*} context context for callback\n     * @returns {number} Unique id\n     */\n    requestAnimFrame: function(fn, context) {\n        return requestFn.call(global, util.bind(fn, context));\n    },\n\n    /**\n     * Shim of cancelAnimationFrame\n     * @param {number} id requestAnimationFrame id\n     */\n    cancelAnimFrame: function(id) {\n        if (!id) {\n            return;\n        }\n\n        cancelFn.call(global, id);\n    }\n};\n","'use strict';\n\nexports.__esModule = true;\nexports.extend = extend;\nexports.indexOf = indexOf;\nexports.escapeExpression = escapeExpression;\nexports.isEmpty = isEmpty;\nexports.createFrame = createFrame;\nexports.blockParams = blockParams;\nexports.appendContextPath = appendContextPath;\nvar escape = {\n  '&': '&amp;',\n  '<': '&lt;',\n  '>': '&gt;',\n  '\"': '&quot;',\n  \"'\": '&#x27;',\n  '`': '&#x60;',\n  '=': '&#x3D;'\n};\n\nvar badChars = /[&<>\"'`=]/g,\n    possible = /[&<>\"'`=]/;\n\nfunction escapeChar(chr) {\n  return escape[chr];\n}\n\nfunction extend(obj /* , ...source */) {\n  for (var i = 1; i < arguments.length; i++) {\n    for (var key in arguments[i]) {\n      if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {\n        obj[key] = arguments[i][key];\n      }\n    }\n  }\n\n  return obj;\n}\n\nvar toString = Object.prototype.toString;\n\nexports.toString = toString;\n// Sourced from lodash\n// https://github.com/bestiejs/lodash/blob/master/LICENSE.txt\n/* eslint-disable func-style */\nvar isFunction = function isFunction(value) {\n  return typeof value === 'function';\n};\n// fallback for older versions of Chrome and Safari\n/* istanbul ignore next */\nif (isFunction(/x/)) {\n  exports.isFunction = isFunction = function (value) {\n    return typeof value === 'function' && toString.call(value) === '[object Function]';\n  };\n}\nexports.isFunction = isFunction;\n\n/* eslint-enable func-style */\n\n/* istanbul ignore next */\nvar isArray = Array.isArray || function (value) {\n  return value && typeof value === 'object' ? toString.call(value) === '[object Array]' : false;\n};\n\nexports.isArray = isArray;\n// Older IE versions do not directly support indexOf so we must implement our own, sadly.\n\nfunction indexOf(array, value) {\n  for (var i = 0, len = array.length; i < len; i++) {\n    if (array[i] === value) {\n      return i;\n    }\n  }\n  return -1;\n}\n\nfunction escapeExpression(string) {\n  if (typeof string !== 'string') {\n    // don't escape SafeStrings, since they're already safe\n    if (string && string.toHTML) {\n      return string.toHTML();\n    } else if (string == null) {\n      return '';\n    } else if (!string) {\n      return string + '';\n    }\n\n    // Force a string conversion as this will be done by the append regardless and\n    // the regex test will do this transparently behind the scenes, causing issues if\n    // an object's to string has escaped characters in it.\n    string = '' + string;\n  }\n\n  if (!possible.test(string)) {\n    return string;\n  }\n  return string.replace(badChars, escapeChar);\n}\n\nfunction isEmpty(value) {\n  if (!value && value !== 0) {\n    return true;\n  } else if (isArray(value) && value.length === 0) {\n    return true;\n  } else {\n    return false;\n  }\n}\n\nfunction createFrame(object) {\n  var frame = extend({}, object);\n  frame._parent = object;\n  return frame;\n}\n\nfunction blockParams(params, ids) {\n  params.path = ids;\n  return params;\n}\n\nfunction appendContextPath(contextPath, id) {\n  return (contextPath ? contextPath + '.' : '') + id;\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3V0aWxzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxJQUFNLE1BQU0sR0FBRztBQUNiLEtBQUcsRUFBRSxPQUFPO0FBQ1osS0FBRyxFQUFFLE1BQU07QUFDWCxLQUFHLEVBQUUsTUFBTTtBQUNYLEtBQUcsRUFBRSxRQUFRO0FBQ2IsS0FBRyxFQUFFLFFBQVE7QUFDYixLQUFHLEVBQUUsUUFBUTtBQUNiLEtBQUcsRUFBRSxRQUFRO0NBQ2QsQ0FBQzs7QUFFRixJQUFNLFFBQVEsR0FBRyxZQUFZO0lBQ3ZCLFFBQVEsR0FBRyxXQUFXLENBQUM7O0FBRTdCLFNBQVMsVUFBVSxDQUFDLEdBQUcsRUFBRTtBQUN2QixTQUFPLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQztDQUNwQjs7QUFFTSxTQUFTLE1BQU0sQ0FBQyxHQUFHLG9CQUFtQjtBQUMzQyxPQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsRUFBRTtBQUN6QyxTQUFLLElBQUksR0FBRyxJQUFJLFNBQVMsQ0FBQyxDQUFDLENBQUMsRUFBRTtBQUM1QixVQ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V4dFBhdGgsIGlkKSB7XG4gIHJldHVybiAoY29udGV4dFBhdGggPyBjb250ZXh0UGF0aCArICcuJyA6ICcnKSArIGlkO1xufVxuIl19\n","/**\n * @fileoverview Common collections.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar forEachProp = util.forEachOwnProperties,\n    forEachArr = util.forEachArray,\n    isFunc = util.isFunction,\n    isObj = util.isObject;\n\nvar aps = Array.prototype.slice;\n\n/**\n * Common collection.\n *\n * It need function for get model's unique id.\n *\n * if the function is not supplied then it use default function {@link Collection#getItemID}\n * @constructor\n * @param {function} [getItemIDFn] function for get model's id.\n */\nfunction Collection(getItemIDFn) {\n    /**\n     * @type {object.<string, *>}\n     */\n    this.items = {};\n\n    /**\n     * @type {number}\n     */\n    this.length = 0;\n\n    if (isFunc(getItemIDFn)) {\n        /**\n         * @type {function}\n         */\n        this.getItemID = getItemIDFn;\n    }\n}\n\n/**********\n * static props\n **********/\n\n/**\n * Combind supplied function filters and condition.\n * @param {...function} filters - function filters\n * @returns {function} combined filter\n */\nCollection.and = function(filters) {\n    var cnt;\n\n    filters = aps.call(arguments);\n    cnt = filters.length;\n\n    return function(item) {\n        var i = 0;\n\n        for (; i < cnt; i += 1) {\n            if (!filters[i].call(null, item)) {\n                return false;\n            }\n        }\n\n        return true;\n    };\n};\n\n/**\n * Combine multiple function filters with OR clause.\n * @param {...function} filters - function filters\n * @returns {function} combined filter\n */\nCollection.or = function(filters) {\n    var cnt;\n\n    filters = aps.call(arguments);\n    cnt = filters.length;\n\n    return function(item) {\n        var i = 1,\n            result = filters[0].call(null, item);\n\n        for (; i < cnt; i += 1) {\n            result = (result || filters[i].call(null, item));\n        }\n\n        return result;\n    };\n};\n\n/**\n * Merge several collections.\n *\n * You can\\'t merge collections different _getScheduleID functions. Take case of use.\n * @param {...Collection} collections collection arguments to merge\n * @returns {Collection} merged collection.\n */\nCollection.merge = function(collections) {    // eslint-disable-line\n    var cols = aps.call(arguments),\n        newItems = {},\n        merged = new Collection(cols[0].getItemID),\n        extend = util.extend;\n\n    forEachArr(cols, function(col) {\n        extend(newItems, col.items);\n    });\n\n    merged.items = newItems;\n    merged.length = util.keys(merged.items).length;\n\n    return merged;\n};\n\n/**********\n * prototype props\n **********/\n\n/**\n * get model's unique id.\n * @param {object} item model instance.\n * @returns {number} model unique id.\n */\nCollection.prototype.getItemID = function(item) {\n    return String(item._id);\n};\n\n/**\n * add models.\n * @param {...*} item models to add this collection.\n */\nCollection.prototype.add = function(item) {\n    var self = this,\n        id,\n        ownItems;\n\n    if (arguments.length > 1) {\n        forEachArr(aps.call(arguments), function(o) {\n            self.add(o);\n        });\n\n        return;\n    }\n\n    id = this.getItemID(item);\n    ownItems = this.items;\n\n    if (!ownItems[id]) {\n        this.length += 1;\n    }\n    ownItems[id] = item;\n};\n\n/**\n * remove models.\n * @param {...(object|string|number)} id model instance or unique id to delete.\n * @returns {array} deleted model list.\n */\nCollection.prototype.remove = function(id) {\n    var self = this,\n        removed = [],\n        ownItems,\n        itemToRemove;\n\n    if (!this.length) {\n        return removed;\n    }\n\n    if (arguments.length > 1) {\n        removed = util.map(aps.call(arguments), function(_id) {\n            return self.remove(_id);\n        });\n\n        return removed;\n    }\n\n    ownItems = this.items;\n\n    if (isObj(id)) {\n        id = this.getItemID(id);\n    }\n\n    if (!ownItems[id]) {\n        return removed;\n    }\n\n    this.length -= 1;\n    itemToRemove = ownItems[id];\n    delete ownItems[id];\n\n    return itemToRemove;\n};\n\n/**\n * remove all models in collection.\n */\nCollection.prototype.clear = function() {\n    this.items = {};\n    this.length = 0;\n};\n\n/**\n * check collection has specific model.\n * @param {(object|string|number|function)} id model instance or id or filter function to check\n * @returns {boolean} is has model?\n */\nCollection.prototype.has = function(id) {\n    var isFilter,\n        has;\n\n    if (!this.length) {\n        return false;\n    }\n\n    isFilter = isFunc(id);\n    has = false;\n\n    if (isFilter) {\n        this.each(function(item) {\n            if (id(item) === true) {\n                has = true;\n\n                return false; // returning false can stop this loop\n            }\n\n            return true;\n        });\n    } else {\n        id = isObj(id) ? this.getItemID(id) : id;\n        has = util.isExisty(this.items[id]);\n    }\n\n    return has;\n};\n\n/**\n * invoke callback when model exist in collection.\n * @param {(string|number)} id model unique id.\n * @param {function} fn the callback.\n * @param {*} [context] callback context.\n */\nCollection.prototype.doWhenHas = function(id, fn, context) {\n    var item = this.items[id];\n\n    if (!util.isExisty(item)) {\n        return;\n    }\n\n    fn.call(context || this, item);\n};\n\n/**\n * Search model. and return new collection.\n * @param {function} filter filter function.\n * @returns {Collection} new collection with filtered models.\n * @example\n * collection.find(function(item) {\n *     return item.edited === true;\n * });\n *\n * function filter1(item) {\n *     return item.edited === false;\n * }\n *\n * function filter2(item) {\n *     return item.disabled === false;\n * }\n *\n * collection.find(Collection.and(filter1, filter2));\n *\n * collection.find(Collection.or(filter1, filter2));\n */\nCollection.prototype.find = function(filter) {\n    var result = new Collection();\n\n    if (this.hasOwnProperty('getItemID')) {\n        result.getItemID = this.getItemID;\n    }\n\n    this.each(function(item) {\n        if (filter(item) === true) {\n            result.add(item);\n        }\n    });\n\n    return result;\n};\n\n/**\n * Group element by specific key values.\n *\n * if key parameter is function then invoke it and use returned value.\n * @param {(string|number|function|array)} key key property or getter function.\n *  if string[] supplied, create each collection before grouping.\n * @param {function} [groupFunc] - function that return each group's key\n * @returns {object.<string, Collection>} grouped object\n * @example\n *\n * // pass `string`, `number`, `boolean` type value then group by property value.\n * collection.groupBy('gender');    // group by 'gender' property value.\n * collection.groupBy(50);          // group by '50' property value.\n *\n * // pass `function` then group by return value. each invocation `function` is called with `(item)`.\n * collection.groupBy(function(item) {\n *     if (item.score > 60) {\n *         return 'pass';\n *     }\n *     return 'fail';\n * });\n *\n * // pass `array` with first arguments then create each collection before grouping.\n * collection.groupBy(['go', 'ruby', 'javascript']);\n * // result: { 'go': empty Collection, 'ruby': empty Collection, 'javascript': empty Collection }\n *\n * // can pass `function` with `array` then group each elements.\n * collection.groupBy(['go', 'ruby', 'javascript'], function(item) {\n *     if (item.isFast) {\n *         return 'go';\n *     }\n *\n *     return item.name;\n * });\n */\nCollection.prototype.groupBy = function(key, groupFunc) {\n    var result = {},\n        collection,\n        baseValue,\n        keyIsFunc = isFunc(key),\n        getItemIDFn = this.getItemID;\n\n    if (util.isArray(key)) {\n        util.forEachArray(key, function(k) {\n            result[String(k)] = new Collection(getItemIDFn);\n        });\n\n        if (!groupFunc) {\n            return result;\n        }\n\n        key = groupFunc;\n        keyIsFunc = true;\n    }\n\n    this.each(function(item) {\n        if (keyIsFunc) {\n            baseValue = key(item);\n        } else {\n            baseValue = item[key];\n\n            if (isFunc(baseValue)) {\n                baseValue = baseValue.apply(item);\n            }\n        }\n\n        collection = result[baseValue];\n\n        if (!collection) {\n            collection = result[baseValue] = new Collection(getItemIDFn);\n        }\n\n        collection.add(item);\n    });\n\n    return result;\n};\n\n/**\n * Return single item in collection.\n *\n * Returned item is inserted in this collection firstly.\n * @param {function} [filter] - function filter\n * @returns {object} item.\n */\nCollection.prototype.single = function(filter) {\n    var result,\n        useFilter = util.isFunction(filter);\n\n    this.each(function(item) {\n        if (!useFilter) {\n            result = item;\n\n            return false; // returning false can stop this loop\n        }\n        if (filter(item)) {\n            result = item;\n\n            return false; // returning false can stop this loop\n        }\n\n        return true;\n    }, this);\n\n    return result;\n};\n\n/**\n * sort a basis of supplied compare function.\n * @param {function} compareFunction compareFunction\n * @returns {array} sorted array.\n */\nCollection.prototype.sort = function(compareFunction) {\n    var arr = [];\n\n    this.each(function(item) {\n        arr.push(item);\n    });\n\n    if (isFunc(compareFunction)) {\n        arr = arr.sort(compareFunction);\n    }\n\n    return arr;\n};\n\n/**\n * iterate each model element.\n *\n * when iteratee return false then break the loop.\n * @param {function} iteratee iteratee(item, index, items)\n * @param {*} [context] context\n */\nCollection.prototype.each = function(iteratee, context) {\n    forEachProp(this.items, iteratee, context || this);\n};\n\n/**\n * return new array with collection items.\n * @returns {array} new array.\n */\nCollection.prototype.toArray = function() {\n    if (!this.length) {\n        return [];\n    }\n\n    return util.map(this.items, function(item) {\n        return item;\n    });\n};\n\nmodule.exports = Collection;\n","/**\n * @fileoverview Floating layer module\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n    domutil = require('../common/domutil'),\n    View = require('../view/view');\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options for floating layer module\n * @param {HTMLElement} container - parent continer for floating layer\n */\nfunction FloatingLayer(options, container) {\n    var sibling = container[FloatingLayer.PROP_KEY],\n        layerContainer;\n\n    if (!sibling) {\n        sibling = container[FloatingLayer.PROP_KEY] = [];\n    }\n\n    sibling.push(this);\n\n    /**\n     * @type {Collection}\n     */\n    this.sibling = sibling;\n\n    /**\n     * @type {number}\n     */\n    this.zIndex = this.getLargestZIndex() || FloatingLayer.INIT_ZINDEX;\n\n    layerContainer = document.createElement('div');\n    layerContainer.style.display = 'none';\n    layerContainer.style.position = 'absolute';\n    domutil.addClass(layerContainer, config.classname('floating-layer'));\n    container.appendChild(layerContainer);\n\n    View.call(this, layerContainer);\n\n    /**\n     * @type {HTMLElement}\n     */\n    this.parent = container;\n}\n\nutil.inherit(FloatingLayer, View);\n\n/**\n * @const\n */\nFloatingLayer.PROP_KEY = '__fe_floating_layer';\n\n/**\n * @const\n */\nFloatingLayer.INIT_ZINDEX = 999;\n\n/**\n * Destroy floating layer instance. if there no instnace in parent container\n *\n * remove instance cache property in container element\n */\nFloatingLayer.prototype.destroy = function() {\n    var parent = this.parent,\n        sibling = this.sibling,\n        i = 0, cnt = sibling.length;\n\n    for (; i < cnt; i += 1) {\n        if (sibling[i] === this) {\n            sibling.splice(i, 1);\n            break;\n        }\n    }\n\n    if (!sibling.length) {\n        try {\n            delete parent[FloatingLayer.PROP_KEY];\n        } catch (e) {\n            parent[FloatingLayer.PROP_KEY] = null;\n        }\n\n        parent.style.position = '';\n    }\n\n    domutil.remove(this.container);\n\n    this.sibling = null;\n\n    View.prototype.destroy.call(this);\n};\n\n/**\n * @returns {boolean} whether layer is visible?\n */\nFloatingLayer.prototype.isVisible = function() {\n    return this.container.style.display !== 'none';\n};\n\n/**\n * Set layer position\n * @param {number} x - x coordinate of layer\n * @param {number} y - y coordinate of layer\n */\nFloatingLayer.prototype.setPosition = function(x, y) {\n    domutil.setPosition(this.container, x, y);\n};\n\n/**\n * Set layer left, top, right, bottom position\n * @param {object} ltrb object of left, top, right, bottom\n * @param {number} [ltrb.left] left pixel value.\n * @param {number} [ltrb.top] top pixel value.\n * @param {number} [ltrb.right] right pixel value.\n * @param {number} [ltrb.bottom] bottom pixel value.\n */\nFloatingLayer.prototype.setLTRB = function(ltrb) {\n    domutil.setLTRB(this.container, ltrb);\n};\n\n/**\n * Set layer size\n * @param {number|string} w - layer width\n * @param {number|string} h - layer height\n */\nFloatingLayer.prototype.setSize = function(w, h) {\n    var container = this.container;\n\n    w = util.isNumber(w) ? w + 'px' : w;\n    h = util.isNumber(h) ? h + 'px' : h;\n\n    container.style.width = w;\n    container.style.height = h;\n};\n\n/**\n * Set layer content\n * @param {string} html - html string\n */\nFloatingLayer.prototype.setContent = function(html) {\n    this.container.innerHTML = html;\n};\n\n/**\n * Get largest z-index from sibling layers\n * @returns {number} largest z-index value\n */\nFloatingLayer.prototype.getLargestZIndex = function() {\n    var zIndexes = util.map(this.sibling, function(layer) {\n        return layer.zIndex;\n    });\n\n    return Math.max.apply(null, zIndexes);\n};\n\n/**\n * Set focus to layer\n */\nFloatingLayer.prototype.focus = function() {\n    var zIndexForShow = this.getLargestZIndex() + 1;\n    this.container.style.zIndex = this.zIndex = zIndexForShow;\n};\n\n/**\n * Show layer\n */\nFloatingLayer.prototype.show = function() {\n    this.focus();\n    this.container.style.display = 'block';\n};\n\n/**\n * Hide layer\n */\nFloatingLayer.prototype.hide = function() {\n    this.container.style.display = 'none';\n};\n\nmodule.exports = FloatingLayer;\n","/**\n * @fileoverview Utility module for array sort, binary search.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar datetime = require('../common/datetime');\n\n/**\n * A module for sorting array.\n * @module array\n */\n\n/**********\n * Search\n **********/\n\n/**\n * search item index using binary search algorithm.\n *\n * the array must be sorted.\n * @param {array} arr array to search.\n * @param {(string|number|boolean)} search value to search.\n * @param {function} [fn] iteratee for retrieve each element's value to search.\n * @param {function} [compare] compare function for specific sort status. default is string ascending.\n * @returns {number} The number of item index searched. return negative number when no exist that item.\n * It can use insert index after Math.abs()\n * @example\n *\n * var arr = [1, 3, 7, 11, 15, 23];\n *\n * function sortNumber(a, b) {\n *     return a - b;\n * }\n *\n * bsearch(arr, 15, null, sortNumber);    // 4\n * bsearch(arr, 21, null, sortNumber);    // -5\n *\n * arr.splice(Math.abs(bsearch(arr, 21, null, sortNumber)), 0, 21);\n * // [1, 2, 7, 11, 15, 21, 23]\n */\nfunction bsearch(arr, search, fn, compare) {\n    var minIndex = 0,\n        maxIndex = arr.length - 1,\n        currentIndex,\n        value,\n        comp;\n\n    compare = compare || stringASC;\n\n    while (minIndex <= maxIndex) {\n        currentIndex = (minIndex + maxIndex) / 2 | 0; // Math.floor\n        value = fn ? fn(arr[currentIndex]) : arr[currentIndex];\n        comp = compare(value, search);\n\n        if (comp < 0) {\n            minIndex = currentIndex + 1;\n        } else if (comp > 0) {\n            maxIndex = currentIndex - 1;\n        } else {\n            return currentIndex;\n        }\n    }\n\n    return ~maxIndex;\n}\n\n/**********\n * Compare Functions\n **********/\n\n/**\n * compare function for array sort.\n *\n * sort array by ascending.\n * @param {boolean} a The boolean to compare\n * @param {boolean} b The boolean to compare.\n * @returns {number} Result of comparison.\n */\nfunction booleanASC(a, b) {\n    if (a !== b) {\n        return a ? -1 : 1;\n    }\n\n    return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by descending.\n * @param {boolean} a The boolean to compare\n * @param {boolean} b The boolean to compare.\n * @returns {number} Result of comparison.\n */\nfunction booleanDESC(a, b) {\n    if (a !== b) {\n        return a ? 1 : -1;\n    }\n\n    return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by number ascending.\n * @param {number} _a The number to compare.\n * @param {number} _b The number to compare.\n * @returns {number} Result of comparison.\n */\nfunction numberASC(_a, _b) {\n    var a = Number(_a),\n        b = Number(_b);\n\n    return a - b;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by number descending.\n * @param {number} _a The number to compare.\n * @param {number} _b The number to compare.\n * @returns {number} Result of comparison.\n */\nfunction numberDESC(_a, _b) {\n    var a = Number(_a),\n        b = Number(_b);\n\n    return b - a;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by string ascending\n * @param {string} _a The string to compare.\n * @param {string} _b The string to compare.\n * @returns {number} Result of comparison.\n */\nfunction stringASC(_a, _b) {\n    var a = String(_a),\n        b = String(_b);\n\n    if (a > b) {\n        return 1;\n    }\n    if (a < b) {\n        return -1;\n    }\n\n    return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by string descending\n * @param {string} _a The string to compare.\n * @param {string} _b The string to compare.\n * @returns {number} Result of comparison.\n */\nfunction stringDESC(_a, _b) {\n    var a = String(_a),\n        b = String(_b);\n\n    if (a > b) {\n        return -1;\n    }\n    if (a < b) {\n        return 1;\n    }\n\n    return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by string ascending with ignore case.\n * @param {string} _a The string to compare.\n * @param {string} _b The string to compare.\n * @returns {number} Result of comparison.\n */\nfunction stringASCIgnoreCase(_a, _b) {\n    var a = String(_a).toLowerCase(),\n        b = String(_b).toLowerCase();\n\n    if (a > b) {\n        return 1;\n    }\n    if (a < b) {\n        return -1;\n    }\n\n    return 0;\n}\n\n/**\n * compare function for array sort.\n *\n * sort array by string descending with ignore case.\n * @param {string} _a The string to compare.\n * @param {string} _b The string to compare.\n * @returns {number} Result of comparison.\n */\nfunction stringDESCIgnoreCase(_a, _b) {\n    var a = String(_a).toLowerCase(),\n        b = String(_b).toLowerCase();\n\n    if (a > b) {\n        return -1;\n    }\n    if (a < b) {\n        return 1;\n    }\n\n    return 0;\n}\n\n/**\n * Compare schedule models for sort.\n *\n * 1. all day schedule first.\n * 2. early start.\n * 3. longest duration.\n * 4. early created.\n * @param {Schedule|ScheduleViewModel} a The object schedule instance.\n * @param {Schedule|ScheduleViewModel} b The object schedule instance.\n * @returns {number} Result of comparison.\n */\nfunction scheduleASC(a, b) {\n    var durationA, durationB;\n    var allDayCompare, startsCompare;\n    var modelA = a.valueOf();\n    var modelB = b.valueOf();\n\n    allDayCompare = booleanASC(modelA.isAllDay || a.hasMultiDates, modelB.isAllDay || b.hasMultiDates);\n\n    if (allDayCompare) {\n        return allDayCompare;\n    }\n\n    startsCompare = datetime.compare(a.getStarts(), b.getStarts());\n\n    if (startsCompare) {\n        return startsCompare;\n    }\n\n    durationA = a.duration();\n    durationB = b.duration();\n\n    if (durationA < durationB) {\n        return 1;\n    }\n    if (durationA > durationB) {\n        return -1;\n    }\n\n    return util.stamp(modelA) - util.stamp(modelB);\n}\n\nmodule.exports = {\n    bsearch: bsearch,\n    compare: {\n        schedule: {\n            asc: scheduleASC\n        },\n        bool: {\n            asc: booleanASC,\n            desc: booleanDESC\n        },\n        num: {\n            asc: numberASC,\n            desc: numberDESC\n        },\n        str: {\n            asc: stringASC,\n            desc: stringDESC,\n            ascIgnoreCase: stringASCIgnoreCase,\n            descIgnoreCase: stringDESCIgnoreCase\n        }\n    }\n};\n","/* eslint complexity: 0 */\n/**\n * @fileoverview Model of schedule.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar TZDate = require('../common/timezone').Date;\nvar datetime = require('../common/datetime');\nvar dirty = require('../common/dirty');\nvar model = require('../common/model');\n\nvar SCHEDULE_MIN_DURATION = datetime.MILLISECONDS_SCHEDULE_MIN_DURATION;\n\n/**\n * Schedule category\n * @readonly\n * @enum {string}\n */\nvar SCHEDULE_CATEGORY = {\n    /** milestone */\n    MILESTONE: 'milestone',\n\n    /** task */\n    TASK: 'task',\n\n    /** all-day schedule */\n    ALLDAY: 'allday',\n\n    /** normal schedule */\n    TIME: 'time'\n};\n\n/**\n * The model of calendar schedules.\n * @constructor\n * @mixes dirty\n * @mixes model\n */\nfunction Schedule() {\n    /**\n     * `Optional` unique id for various use.\n     * @type {string}\n     */\n    this.id = '';\n\n    /**\n     * title for schedule.\n     * @type {string}\n     */\n    this.title = '';\n\n    /**\n     * body for schedule.\n     * @type {string}\n     */\n    this.body = '';\n\n    /**\n     * is schedule is all day schedule?\n     * @type {boolean}\n     */\n    this.isAllDay = false;\n\n    /**\n     * schedule start\n     * @type {TZDate}\n     */\n    this.start = null;\n\n    /**\n     * schedule end\n     * @type {TZDate}\n     */\n    this.end = null;\n\n    /**\n     * schedule text color\n     * @type {string}\n     */\n    this.color = '#000';\n\n    /**\n     * schedule block visibility\n     * @type {boolean}\n     */\n    this.isVisible = true;\n\n    /**\n     * schedule background color\n     * @type {string}\n     */\n    this.bgColor = '#a1b56c';\n\n    /**\n     * schedule background color when dragging it\n     * @type {string}\n     */\n    this.dragBgColor = '#a1b56c';\n\n    /**\n     * schedule left border color\n     * @type {string}\n     */\n    this.borderColor = '#000';\n\n    /**\n     * calendar ID\n     * @type {string}\n     */\n    this.calendarId = '';\n\n    /**\n     * Schedule category(milestone, task, allday, time)\n     * @type {string}\n     */\n    this.category = '';\n\n    /**\n     * Classification of work schedules (before work, before lunch, before work)\n     * @type {string}\n     */\n    this.dueDateClass = '';\n\n    /**\n     * Custom style for schedule element\n     * @type {string}\n     */\n    this.customStyle = '';\n\n    /**\n     * in progress flag to do something\n     * @type {boolean}\n     */\n    this.isPending = false;\n\n    /**\n     * focused schedule flag\n     * @type {boolean}\n     */\n    this.isFocused = false;\n\n    /**\n     * read-only schedule flag\n     * @type {boolean}\n     */\n    this.isReadOnly = false;\n\n    /**\n     * private schedule\n     * @type {boolean}\n     */\n    this.isPrivate = false;\n\n    /**\n     * location\n     * @type {string}\n     */\n    this.location = '';\n\n    /**\n     * attendees\n     * @type {Array.<string>}\n     */\n    this.attendees = [];\n\n    /**\n     * recurrence rule\n     * @type {any}\n     */\n    this.recurrenceRule = '';\n\n    /**\n     * state. 'Busy' is default.\n     * @type {string}\n     */\n    this.state = '';\n\n    /**\n     * travelTime: going-Duration minutes\n     * @type {number}\n     */\n    this.goingDuration = 0;\n\n    /**\n     * travelTime: coming-Duration minutes\n     * @type {number}\n     */\n    this.comingDuration = 0;\n\n    /**\n     * Separate data storage space independent of rendering.\n     * @type {object}\n     */\n    this.raw = null;\n\n    // initialize model id\n    util.stamp(this);\n}\n\n/**********\n * static props\n **********/\n\nSchedule.schema = {\n    required: ['title'],\n    dateRange: ['start', 'end']\n};\n\n/**\n * create schedule model from json(object) data.\n * @param {object} data object for model.\n * @returns {Schedule} Schedule model instance.\n */\nSchedule.create = function(data) {\n    var inst = new Schedule();\n    inst.init(data);\n\n    return inst;\n};\n\n/**********\n * prototype props\n **********/\n\n/**\n * Initialize schedule instance.\n * @param {object} options options.\n */\nSchedule.prototype.init = function(options) {\n    options = util.extend({}, options);\n    if (options.category === SCHEDULE_CATEGORY.ALLDAY) {\n        options.isAllDay = true;\n    }\n\n    this.id = options.id || '';\n    this.title = options.title || '';\n    this.body = options.body || '';\n    this.isAllDay = util.isExisty(options.isAllDay) ? options.isAllDay : false;\n    this.isVisible = util.isExisty(options.isVisible) ? options.isVisible : true;\n\n    this.color = options.color || this.color;\n    this.bgColor = options.bgColor || this.bgColor;\n    this.dragBgColor = options.dragBgColor || this.dragBgColor;\n    this.borderColor = options.borderColor || this.borderColor;\n    this.calendarId = options.calendarId || '';\n    this.category = options.category || '';\n    this.dueDateClass = options.dueDateClass || '';\n    this.customStyle = options.customStyle || '';\n    this.location = options.location || '';\n    this.attendees = options.attendees || [];\n    this.recurrenceRule = options.recurrenceRule || '';\n    this.isPrivate = options.isPrivate || false;\n    this.isPending = options.isPending || false;\n    this.isFocused = options.isFocused || false;\n    this.isReadOnly = options.isReadOnly || false;\n    this.goingDuration = options.goingDuration || 0;\n    this.comingDuration = options.comingDuration || 0;\n    this.state = options.state || '';\n\n    if (this.isAllDay) {\n        this.setAllDayPeriod(options.start, options.end);\n    } else {\n        this.setTimePeriod(options.start, options.end);\n    }\n\n    if (options.category === SCHEDULE_CATEGORY.MILESTONE ||\n        options.category === SCHEDULE_CATEGORY.TASK) {\n        this.start = new TZDate(this.end);\n    }\n\n    this.raw = options.raw || null;\n};\n\nSchedule.prototype.setAllDayPeriod = function(start, end) {\n    // If it is an all-day schedule, only the date information of the string is used.\n    if (util.isString(start)) {\n        start = datetime.parse(start.substring(0, 10));\n    } else {\n        start = new TZDate(start || Date.now());\n    }\n    if (util.isString(end)) {\n        end = datetime.parse(end.substring(0, 10));\n    } else {\n        end = new TZDate(end || this.start);\n    }\n\n    this.start = start;\n    this.start.setHours(0, 0, 0);\n    this.end = end || new TZDate(this.start);\n    this.end.setHours(23, 59, 59);\n};\n\nSchedule.prototype.setTimePeriod = function(start, end) {\n    this.start = new TZDate(start || Date.now());\n    this.end = new TZDate(end || this.start);\n\n    if (!end) {\n        this.end.setMinutes(this.end.getMinutes() + 30);\n    }\n};\n\n/**\n * @returns {Date} render start date.\n */\nSchedule.prototype.getStarts = function() {\n    return this.start;\n};\n\n/**\n * @returns {Date} render end date.\n */\nSchedule.prototype.getEnds = function() {\n    return this.end;\n};\n\n/**\n * @returns {number} instance unique id.\n */\nSchedule.prototype.cid = function() {\n    return util.stamp(this);\n};\n\n/**\n * Check two schedule are equals (means title, isAllDay, start, end are same)\n * @param {Schedule} schedule Schedule model instance to compare.\n * @returns {boolean} Return false when not same.\n */\nSchedule.prototype.equals = function(schedule) {\n    if (this.id !== schedule.id) {\n        return false;\n    }\n\n    if (this.title !== schedule.title) {\n        return false;\n    }\n\n    if (this.body !== schedule.body) {\n        return false;\n    }\n\n    if (this.isAllDay !== schedule.isAllDay) {\n        return false;\n    }\n\n    if (datetime.compare(this.getStarts(), schedule.getStarts()) !== 0) {\n        return false;\n    }\n\n    if (datetime.compare(this.getEnds(), schedule.getEnds()) !== 0) {\n        return false;\n    }\n\n    if (this.color !== schedule.color) {\n        return false;\n    }\n\n    if (this.bgColor !== schedule.bgColor) {\n        return false;\n    }\n\n    if (this.dragBgColor !== schedule.dragBgColor) {\n        return false;\n    }\n\n    if (this.borderColor !== schedule.borderColor) {\n        return false;\n    }\n\n    return true;\n};\n\n/**\n * return duration between start and end.\n * @returns {Date} duration (UTC)\n */\nSchedule.prototype.duration = function() {\n    var start = this.getStarts(),\n        end = this.getEnds(),\n        duration;\n\n    if (this.isAllDay) {\n        duration = datetime.end(end) - datetime.start(start);\n    } else {\n        duration = end - start;\n    }\n\n    return duration;\n};\n\n/**\n * Returns true if the given Schedule coincides with the same time as the\n * calling Schedule.\n * @param {Schedule} schedule The other schedule to compare with this Schedule.\n * @returns {boolean} If the other schedule occurs within the same time as the first object.\n */\nSchedule.prototype.collidesWith = function(schedule) {\n    var ownStarts = this.getStarts(),\n        ownEnds = this.getEnds(),\n        start = schedule.getStarts(),\n        end = schedule.getEnds();\n    var ownGoingDuration = datetime.millisecondsFrom('minutes', this.goingDuration),\n        ownComingDuration = datetime.millisecondsFrom('minutes', this.comingDuration),\n        goingDuration = datetime.millisecondsFrom('minutes', schedule.goingDuration),\n        comingDuration = datetime.millisecondsFrom('minutes', schedule.comingDuration);\n\n    if (Math.abs(ownEnds - ownStarts) < SCHEDULE_MIN_DURATION) {\n        ownEnds += SCHEDULE_MIN_DURATION;\n    }\n\n    if (Math.abs(end - start) < SCHEDULE_MIN_DURATION) {\n        end += SCHEDULE_MIN_DURATION;\n    }\n\n    ownStarts -= ownGoingDuration;\n    ownEnds += ownComingDuration;\n    start -= goingDuration;\n    end += comingDuration;\n\n    if ((start > ownStarts && start < ownEnds) ||\n        (end > ownStarts && end < ownEnds) ||\n        (start <= ownStarts && end >= ownEnds)) {\n        return true;\n    }\n\n    return false;\n};\n\nmodel.mixin(Schedule.prototype);\ndirty.mixin(Schedule.prototype);\n\nmodule.exports = Schedule;\n","'use strict';\n\nexports.__esModule = true;\n\nvar errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];\n\nfunction Exception(message, node) {\n  var loc = node && node.loc,\n      line = undefined,\n      column = undefined;\n  if (loc) {\n    line = loc.start.line;\n    column = loc.start.column;\n\n    message += ' - ' + line + ':' + column;\n  }\n\n  var tmp = Error.prototype.constructor.call(this, message);\n\n  // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.\n  for (var idx = 0; idx < errorProps.length; idx++) {\n    this[errorProps[idx]] = tmp[errorProps[idx]];\n  }\n\n  /* istanbul ignore else */\n  if (Error.captureStackTrace) {\n    Error.captureStackTrace(this, Exception);\n  }\n\n  try {\n    if (loc) {\n      this.lineNumber = line;\n\n      // Work around issue under safari where we can't directly set the column value\n      /* istanbul ignore next */\n      if (Object.defineProperty) {\n        Object.defineProperty(this, 'column', {\n          value: column,\n          enumerable: true\n        });\n      } else {\n        this.column = column;\n      }\n    }\n  } catch (nop) {\n    /* Ignore if the browser is very particular */\n  }\n}\n\nException.prototype = new Error();\n\nexports['default'] = Exception;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2V4Y2VwdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQ0EsSUFBTSxVQUFVLEdBQUcsQ0FBQyxhQUFhLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxPQUFPLENBQUMsQ0FBQzs7QUFFbkcsU0FBUyxTQUFTLENBQUMsT0FBTyxFQUFFLElBQUksRUFBRTtBQUNoQyxNQUFJLEdBQUcsR0FBRyxJQUFJLElBQUksSUFBSSxDQUFDLEdBQUc7TUFDdEIsS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gKEVycm9yLmNhcHR1cmVTdGFja1RyYWNlKSB7XG4gICAgRXJyb3IuY2FwdHVyZVN0YWNrVHJhY2UodGhpcywgRXhjZXB0aW9uKTtcbiAgfVxuXG4gIHRyeSB7XG4gICAgaWYgKGxvYykge1xuICAgICAgdGhpcy5saW5lTnVtYmVyID0gbGluZTtcblxuICAgICAgLy8gV29yayBhcm91bmQgaXNzdWUgdW5kZXIgc2FmYXJpIHdoZXJlIHdlIGNhbid0IGRpcmVjdGx5IHNldCB0aGUgY29sdW1uIHZhbHVlXG4gICAgICAvKiBpc3RhbmJ1bCBpZ25vcmUgbmV4dCAqL1xuICAgICAgaWYgKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkge1xuICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkodGhpcywgJ2NvbHVtbicsIHtcbiAgICAgICAgICB2YWx1ZTogY29sdW1uLFxuICAgICAgICAgIGVudW1lcmFibGU6IHRydWVcbiAgICAgICAgfSk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB0aGlzLmNvbHVtbiA9IGNvbHVtbjtcbiAgICAgIH1cbiAgICB9XG4gIH0gY2F0Y2ggKG5vcCkge1xuICAgIC8qIElnbm9yZSBpZiB0aGUgYnJvd3NlciBpcyB2ZXJ5IHBhcnRpY3VsYXIgKi9cbiAgfVxufVxuXG5FeGNlcHRpb24ucHJvdG90eXBlID0gbmV3IEVycm9yKCk7XG5cbmV4cG9ydCBkZWZhdWx0IEV4Y2VwdGlvbjtcbiJdfQ==\n","/**\n * @fileoverview Module for calculate date by month view and mouse event object\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar common = require('../../common/common'),\n    domutil = require('../../common/domutil'),\n    domevent = require('../../common/domevent');\nvar mfloor = Math.floor;\n\n/**\n * Get high order function that can calc date in mouse point\n * @param {Month} monthView - month view\n * @returns {function} function return event data by mouse event object\n */\nfunction getMousePosDate(monthView) {\n    var weekColl = monthView.children,\n        weeks = weekColl.sort(function(a, b) {\n            return util.stamp(a) - util.stamp(b);\n        }),\n        weekCount = weekColl.length,\n        days = weekColl.single().getRenderDateRange(),\n        dayCount = days.length,\n        relativeContainer = util.pick(monthView.vLayout.panels[1], 'container'),\n        size = domutil.getSize(relativeContainer),\n        grids = monthView.grids;\n\n    /**\n     * Get the left index\n     * @param {number} left - left position(percent)\n     * @returns {number} grid left index\n     */\n    function getX(left) {\n        var i = 0;\n        var length = grids.length;\n        var grid;\n        for (; i < length; i += 1) {\n            grid = grids[i];\n            if (grid.left <= left && left <= (grid.left + grid.width)) {\n                return i;\n            }\n        }\n\n        return left < 0 ? -1 : i;\n    }\n\n    /**\n     * Get date related with mouse event object\n     * @param {object} mouseEvent - click event data\n     * @returns {object} data related with mouse event\n     */\n    function getDate(mouseEvent) {\n        var pos = domevent.getMousePosition(mouseEvent, relativeContainer),\n            x = getX(common.ratio(size[0], 100, pos[0])),\n            y = mfloor(common.ratio(size[1], weekCount, pos[1])),\n            weekdayView,\n            date,\n            dateRange;\n\n        if (y < 0) {\n            y = 0;\n        }\n        if (y >= weeks.length) {\n            y = weeks.length - 1;\n        }\n\n        weekdayView = util.pick(weeks, y);\n\n        if (!weekdayView) {\n            return null;\n        }\n\n        dateRange = weekdayView.getRenderDateRange();\n        if (x < 0) {\n            x = 0;\n        }\n        if (x >= dateRange.length) {\n            x = dateRange.length - 1;\n        }\n\n        date = util.pick(dateRange, x);\n\n        if (!date) {\n            return null;\n        }\n\n        return {\n            x: x,\n            y: y,\n            sizeX: dayCount,\n            sizeY: weekCount,\n            date: date,\n            weekdayView: weekdayView,\n            triggerEvent: mouseEvent.type\n        };\n    }\n\n    return getDate;\n}\n\nmodule.exports = getMousePosDate;\n","/**\n * @fileoverview Core methods for dragging actions\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar common = require('../../common/common');\nvar datetime = require('../../common/datetime');\nvar domevent = require('../../common/domevent');\nvar Point = require('../../common/point');\nvar TZDate = require('../../common/timezone').Date;\n\n/**\n * @mixin Time.Core\n */\nvar timeCore = {\n    /**\n     * Get Y index ratio(hour) in time grids by supplied parameters.\n     * @param {number} baseMil - base milliseconds number for supplied height.\n     * @param {number} height - container element height.\n     * @param {number} y - Y coordinate to calculate hour ratio.\n     * @returns {number} hour index ratio value.\n     */\n    _calcGridYIndex: function(baseMil, height, y) {\n        // get ratio from right expression > point.y : x = session.height : baseMil\n        // and convert milliseconds value to hours.\n        var result = datetime.millisecondsTo('hour', (y * baseMil) / height),\n            floored = result | 0,\n            nearest = common.nearest(result - floored, [0, 1]);\n\n        return floored + (nearest ? 0.5 : 0);\n    },\n\n    /**\n     * Get function to makes event data from Time and mouseEvent\n     * @param {Time} timeView - Instance of time view.\n     * @returns {function} - Function that return event data from mouse event.\n     */\n    _retriveScheduleData: function(timeView) {\n        var self = this,\n            container = timeView.container,\n            options = timeView.options,\n            viewHeight = timeView.getViewBound().height,\n            viewTime = timeView.getDate(),\n            hourLength = options.hourEnd - options.hourStart,\n            baseMil = datetime.millisecondsFrom('hour', hourLength);\n\n        /**\n         * @param {MouseEvent} mouseEvent - mouse event object to get common event data.\n         * @param {object} [extend] - object to extend event data before return.\n         * @returns {object} - common event data for time.*\n         */\n        return util.bind(function(mouseEvent, extend) {\n            var mouseY = Point.n(domevent.getMousePosition(mouseEvent, container)).y,\n                gridY = common.ratio(viewHeight, hourLength, mouseY),\n                timeY = new TZDate(viewTime).addMinutes(datetime.minutesFromHours(gridY)),\n                nearestGridY = self._calcGridYIndex(baseMil, viewHeight, mouseY),\n                nearestGridTimeY = new TZDate(viewTime).addMinutes(\n                    datetime.minutesFromHours(nearestGridY + options.hourStart)\n                );\n\n            return util.extend({\n                target: mouseEvent.target || mouseEvent.srcElement,\n                relatedView: timeView,\n                originEvent: mouseEvent,\n                mouseY: mouseY,\n                gridY: gridY,\n                timeY: timeY,\n                nearestGridY: nearestGridY,\n                nearestGridTimeY: nearestGridTimeY,\n                triggerEvent: mouseEvent.type\n            }, extend);\n        }, this);\n    },\n\n    /**\n     * Get function to makes event data from Time and mouseEvent\n     * @param {Time} timeView - Instance of time view.\n     * @param {number} xIndex - Time view index\n     * @returns {function} - Function that return event data from mouse event.\n     */\n    _retriveScheduleDataFromDate: function(timeView) {\n        var viewTime = timeView.getDate();\n\n        /**\n         * @param {TZDate} startDate - start date\n         * @param {TZDate} endDate - end date\n         * @param {number} hourStart Can limit of render hour start.\n         * @returns {object} - common event data for time.*\n         */\n        return util.bind(function(startDate, endDate, hourStart) {\n            var gridY, timeY, nearestGridY, nearestGridTimeY, nearestGridEndY, nearestGridEndTimeY;\n\n            gridY = startDate.getHours() - hourStart + getNearestHour(startDate.getMinutes());\n            timeY = new TZDate(viewTime).addMinutes(datetime.minutesFromHours(gridY));\n            nearestGridY = gridY;\n            nearestGridTimeY = new TZDate(viewTime).addMinutes(datetime.minutesFromHours(nearestGridY));\n            nearestGridEndY = endDate.getHours() - hourStart + getNearestHour(endDate.getMinutes());\n            nearestGridEndTimeY = new TZDate(viewTime).addMinutes(datetime.minutesFromHours(nearestGridEndY));\n\n            return util.extend({\n                target: timeView,\n                relatedView: timeView,\n                gridY: gridY,\n                timeY: timeY,\n                nearestGridY: nearestGridY,\n                nearestGridTimeY: nearestGridTimeY,\n                nearestGridEndY: nearestGridEndY,\n                nearestGridEndTimeY: nearestGridEndTimeY,\n                triggerEvent: 'manual',\n                hourStart: hourStart\n            });\n        }, this);\n    },\n\n    /**\n     * Mixin method.\n     * @param {(TimeCreation|TimeMove)} obj - Constructor functions\n     */\n    mixin: function(obj) {\n        var proto = obj.prototype;\n        util.forEach(timeCore, function(method, methodName) {\n            if (methodName === 'mixin') {\n                return;\n            }\n\n            proto[methodName] = method;\n        });\n    }\n};\n\n/**\n * Get the nearest hour\n * @param {number} minutes - minutes\n * @returns {number} hour\n */\nfunction getNearestHour(minutes) {\n    var nearestHour;\n    if (minutes === 0) {\n        nearestHour = 0;\n    } else if (minutes > 30) {\n        nearestHour = 1;\n    } else if (minutes <= 30) {\n        nearestHour = 0.5;\n    }\n\n    return nearestHour;\n}\n\nmodule.exports = timeCore;\n","/* eslint no-shadow: 0 */\n/**\n * @fileoverview Base mixin object for handler/daygrid\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar common = require('../../common/common');\nvar datetime = require('../../common/datetime');\n\nvar mmax = Math.max,\n    mmin = Math.min;\n\n/**\n * @mixin dayGridCore\n */\nvar dayGridCore = {\n    /**\n     * @param {view} view - view instance.\n     * @param {MouseEvent} mouseEvent - mouse schedule object.\n     * @returns {function|boolean} function that return schedule data by mouse events.\n     */\n    _retriveScheduleData: function(view, mouseEvent) {\n        var weekdayView = view.children.single(),\n            container,\n            datesInRange,\n            containerWidth,\n            mousePos,\n            dragStartXIndex,\n            grids,\n            range;\n\n        if (!weekdayView) {\n            return false;\n        }\n\n        container = weekdayView.container;\n        range = weekdayView.getRenderDateRange();\n        datesInRange = range.length;\n        grids = weekdayView.getRenderDateGrids();\n\n        containerWidth = domutil.getSize(container)[0];\n        mousePos = domevent.getMousePosition(mouseEvent, container);\n        dragStartXIndex = getX(grids, common.ratio(containerWidth, 100, mousePos[0]));\n\n        /**\n         * @param {MouseEvent} mouseEvent - mouse schedule in drag actions.\n         * @returns {object} schedule data.\n         */\n        return function(mouseEvent) {\n            var pos = domevent.getMousePosition(mouseEvent, container),\n                mouseX = pos[0],\n                xIndex = getX(grids, common.ratio(containerWidth, 100, mouseX));\n\n            // apply limitation of creation schedule X index.\n            xIndex = mmax(xIndex, 0);\n            xIndex = mmin(xIndex, datesInRange - 1);\n\n            return {\n                relatedView: view,\n                dragStartXIndex: dragStartXIndex,\n                datesInRange: datesInRange,\n                xIndex: xIndex,\n                triggerEvent: mouseEvent.type,\n                grids: grids,\n                range: range\n            };\n        };\n    },\n\n    /**\n     * @param {view} view - view instance.\n     * @param {TZDate} startDate - start date\n     * @returns {function|boolean} function that return schedule data by mouse events.\n     */\n    _retriveScheduleDataFromDate: function(view, startDate) {\n        var weekdayView = view.children.single(),\n            datesInRange,\n            dragStartXIndex = 0,\n            grids,\n            range;\n\n        if (!weekdayView) {\n            return false;\n        }\n\n        range = weekdayView.getRenderDateRange();\n        datesInRange = range.length;\n        grids = weekdayView.getRenderDateGrids();\n\n        util.forEach(range, function(date, index) {\n            if (datetime.isSameDate(date, startDate)) {\n                dragStartXIndex = index;\n            }\n        });\n\n        /**\n         * @param {TZDate} targetDate - target date\n         * @returns {object} schedule data.\n         */\n        return function(targetDate) {\n            var xIndex = 0;\n\n            util.forEach(range, function(date, index) {\n                if (datetime.isSameDate(date, targetDate)) {\n                    xIndex = index;\n                }\n            });\n\n            // apply limitation of creation schedule X index.\n            xIndex = mmax(xIndex, 0);\n            xIndex = mmin(xIndex, datesInRange - 1);\n\n            return {\n                relatedView: view,\n                dragStartXIndex: dragStartXIndex,\n                datesInRange: datesInRange,\n                xIndex: xIndex,\n                triggerEvent: 'manual',\n                grids: grids,\n                range: range\n            };\n        };\n    }\n};\n\n/**\n * Get the left index\n * @param {Array} grids - grid size information\n * @param {number} left - left position(percent)\n * @returns {number} grid left index\n */\nfunction getX(grids, left) {\n    var i = 0;\n    var length = grids.length;\n    var grid;\n    if (left < 0) {\n        left = 0;\n    }\n\n    for (; i < length; i += 1) {\n        grid = grids[i];\n        if (grid.left <= left && left <= (grid.left + grid.width)) {\n            return i;\n        }\n    }\n\n    return i;\n}\n\nmodule.exports = dayGridCore;\n","/**\n * @fileoverview Guide element controller for creation, resize in month view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n    common = require('../../common/common'),\n    domutil = require('../../common/domutil'),\n    datetime = require('../../common/datetime'),\n    TZDate = require('../../common/timezone').Date,\n    tmpl = require('./guide.hbs');\nvar mmax = Math.max,\n    mmin = Math.min,\n    mabs = Math.abs,\n    mfloor = Math.floor;\n\n/**\n * @constructor\n * @param {object} [options] - options\n * @param {boolean} [options.useHandle=false] - whether displaying resize handle on\n *  guide element?\n * @param {boolean} [options.isResizeMode=false] - whether resize mode?\n * @param {Month} monthView - Month view instance\n */\nfunction MonthGuide(options, monthView) {\n    var self = this;\n\n    /**\n     * @type {object}\n     */\n    this.options = util.extend({\n        top: 0,\n        height: '20px',\n        bgColor: '#f7ca88',\n        label: 'New event',\n        isResizeMode: false,\n        isCreationMode: false,\n        styles: this._getStyles(monthView.controller.theme)\n    }, options);\n\n    /**\n     * @type {Month}\n     */\n    this.view = monthView;\n\n    /**\n     * @type {WeekdayInMonth[]}\n     */\n    this.weeks = monthView.children.sort(function(a, b) {\n        return util.stamp(a) - util.stamp(b);\n    });\n\n    /**\n     * @type {number}\n     */\n    this.days = monthView.children.single().getRenderDateRange().length;\n\n    /**\n     * @type {function}\n     */\n    this.ratio = util.bind(function(value) {\n        return common.ratio(self.days, 100, value);\n    });\n\n    /**\n     * start coordinate of guide effect. (x, y) (days, weeks) effect can't\n     *  start lower than this coordinate.\n     * @type {number[]}\n     */\n    this.startCoord = [0, 0];\n\n    /**\n     * @type {Object.<string, HTMLElement>}\n     */\n    this.guideElements = {};\n\n    /**\n     * horizontal grid information\n     * @type {Object}\n     */\n    this.grids = monthView.grids;\n}\n\n/**\n * Destructor\n */\nMonthGuide.prototype.destroy = function() {\n    this.clear();\n\n    this.options = this.view = this.weeks = this.days =\n        this.ratio = this.startCoord = this.guideElements = null;\n};\n\nMonthGuide.prototype.clearGuideElement = function() {\n    this.destroy();\n};\n\n/**\n * Get ratio value in week.\n * @param {number} value - value for calc ratio in week\n * @returns {number} percent value\n */\nMonthGuide.prototype._getRatioValueInWeek = function(value) {\n    var grid = this.grids[value] || {left: 100};\n\n    return grid.left;\n};\n\n/**\n * Create guide element\n * @returns {HTMLElement} guide element\n */\nMonthGuide.prototype._createGuideElement = function() {\n    var guide = document.createElement('div');\n\n    guide.innerHTML = tmpl(this.options);\n\n    return guide.firstChild;\n};\n\n/**\n * Get guide element. if not exist then create one\n * @param {number} y - y coordinate\n * @returns {?HTMLElement} guide element\n */\nMonthGuide.prototype._getGuideElement = function(y) {\n    var guideElements = this.guideElements,\n        guide = guideElements[y],\n        weekdayView = this.weeks[y],\n        container;\n\n    if (!weekdayView) {\n        return null;\n    }\n\n    if (!guide) {\n        guide = this._createGuideElement();\n        container = weekdayView.container;\n        container.appendChild(guide);\n        guideElements[y] = guide;\n    }\n\n    return guide;\n};\n\n/**\n * Get coordinate by supplied date in month\n * @param {TZDate} date - date to find coordinate\n * @returns {number[]} coordinate (x, y)\n */\nMonthGuide.prototype._getCoordByDate = function(date) {\n    var weeks = this.weeks,\n        days = this.days,\n        getIdxFromDiff = function(d1, d2) {\n            return mfloor(datetime.millisecondsTo('day', mabs(d2 - d1)));\n        },\n        monthStart = datetime.start(weeks[0].options.renderStartDate),\n        isBefore = date < monthStart,\n        start = new TZDate(monthStart),\n        end = new TZDate(monthStart).addDate(isBefore ? -days : days).addDate(-1),\n        x = getIdxFromDiff(date, start),\n        y = 0;\n\n    while (!datetime.isBetweenWithDate(date, start, end)) {\n        start.addDate(isBefore ? -days : days);\n        end = new TZDate(start).addDate(days - 1);\n        x = getIdxFromDiff(date, start);\n        y += (isBefore ? -1 : 1);\n    }\n\n    return [x, y];\n};\n\n/**\n * Get limited coordinate by supplied coodinates\n * @param {number[]} coord - coordinate need to limit\n * @param {number[]} [min] - minimum limitaion of coordinate\n * @param {number[]} [max] - maximum limitation of coordinate\n * @returns {number[]} limited coordiate\n */\nMonthGuide.prototype._getLimitedCoord = function(coord, min, max) {\n    var toIndex = 1,\n        x = coord[0],\n        y = coord[1],\n        result;\n\n    min = min || [0, 0];\n    max = max || [this.days - toIndex, this.weeks.length - toIndex];\n\n    if (y < min[1]) {\n        result = min.slice(0);\n    } else if (y > max[1]) {\n        result = max.slice(0);\n    } else {\n        x = mmax(min[0], x);\n        x = mmin(max[0], x);\n        result = [x, y];\n    }\n\n    return result;\n};\n\n/**\n * Prepare guide element modification\n * @param {object} dragStartEvent - dragStart schedule data from *guide\n */\nMonthGuide.prototype.start = function(dragStartEvent) {\n    var opt = this.options,\n        target = dragStartEvent.target,\n        model = dragStartEvent.model,\n        x = dragStartEvent.x,\n        y = dragStartEvent.y,\n        renderMonth = new TZDate(this.view.options.renderMonth),\n        temp;\n\n    if (opt.isCreationMode) {\n        if (model && !datetime.isSameMonth(renderMonth, model.start)) {\n            model.start.setMonth(renderMonth.getMonth());\n            model.start.setDate(1);\n            model.end.setMonth(renderMonth.getMonth());\n            model.end.setDate(1);\n        }\n    } else {\n        temp = this._getCoordByDate(model.getStarts());\n        x = temp[0];\n        y = temp[1];\n\n        util.extend(this.options, {\n            top: parseInt(target.style.top, 10) + 'px',\n            height: parseInt(target.style.height, 10) + 'px',\n            label: model.title\n        }, model);\n    }\n\n    if (util.isUndefined(x) || util.isUndefined(y)) {\n        temp = this._getCoordByDate(model.getStarts());\n        x = temp[0];\n        y = temp[1];\n    }\n\n    this.startCoord = [x, y];\n    this.update(x, y);\n};\n\n/**\n * Data for update several guide elements\n * @typedef UpdateIndication\n * @type {object}\n * @property {HTMLElement} guide - guide element\n * @property {number} left - left style value\n * @property {number} width - width style value\n * @property {boolean} [exceedL=false] - whether schedule is exceeded past weeks?\n * @property {boolean} [exceedR=false] - whether schedule is exceeded future weeks?\n */\n\n/**\n * Modify HTML element that uses for guide element\n * @param {UpdateIndication[]} inds - indication of update severel guide element\n */\nMonthGuide.prototype._updateGuides = function(inds) {\n    util.forEach(inds, function(ind) {\n        var guide = ind.guide,\n            exceedLClass = config.classname('month-exceed-left'),\n            exceedRClass = config.classname('month-exceed-right');\n\n        guide.style.display = 'block';\n        guide.style.left = ind.left + '%';\n        guide.style.width = ind.width + '%';\n\n        if (ind.exceedL) {\n            domutil.addClass(guide, exceedLClass);\n        } else {\n            domutil.removeClass(guide, exceedLClass);\n        }\n\n        if (ind.exceedR) {\n            domutil.addClass(guide, exceedRClass);\n        } else {\n            domutil.removeClass(guide, exceedRClass);\n        }\n    });\n};\n\n/**\n * Get guide element indicate for origin week\n * @param {number[]} startCoord - drag start coordinate\n * @param {number[]} mouseCoord - mouse coordinate\n * @returns {object} indicate\n */\nMonthGuide.prototype._getOriginIndicate = function(startCoord, mouseCoord) {\n    var left = mmin(startCoord[0], mouseCoord[0]),\n        right = mmax(startCoord[0], mouseCoord[0]) + 1,\n        exceedL, exceedR;\n\n    if (mouseCoord[1] > startCoord[1]) {\n        left = startCoord[0];\n        right = this.days;\n        exceedR = true;\n    } else if (mouseCoord[1] < startCoord[1]) {\n        left = 0;\n        right = startCoord[0] + 1;\n        exceedL = true;\n    }\n\n    return {\n        left: this._getRatioValueInWeek(left),\n        width: this._getRatioValueInWeek(right) -\n            this._getRatioValueInWeek(left),\n        exceedL: exceedL,\n        exceedR: exceedR\n    };\n};\n\n/**\n * Get guide element indicate for week related with mouse position\n * @param {number[]} startCoord - drag start coordinate\n * @param {number[]} mouseCoord - mouse coordinate\n * @returns {object} indicate\n */\nMonthGuide.prototype._getMouseIndicate = function(startCoord, mouseCoord) {\n    var left = mouseCoord[0],\n        right = mouseCoord[0] + 1,\n        exceedL, exceedR;\n\n    if (mouseCoord[1] > startCoord[1]) {\n        left = 0;\n        exceedL = true;\n    } else if (mouseCoord[1] < startCoord[1]) {\n        right = this.days;\n        exceedR = true;\n    }\n\n    return {\n        left: this._getRatioValueInWeek(left),\n        width: this._getRatioValueInWeek(right) -\n            this._getRatioValueInWeek(left),\n        exceedL: exceedL,\n        exceedR: exceedR\n    };\n};\n\n/**\n * Get guide element indicate for contained weeks\n * @returns {object} indicate\n */\nMonthGuide.prototype._getContainIndicate = function() {\n    return {\n        left: 0,\n        width: 100,\n        exceedL: true,\n        exceedR: true\n    };\n};\n\n/**\n * Remove several guide element that supplied by parameter\n * @param {number[]} yCoords - array of y coordinate to remove guide element\n */\nMonthGuide.prototype._removeGuideElements = function(yCoords) {\n    var guides = this.guideElements;\n\n    util.forEach(yCoords, function(y) {\n        domutil.remove(guides[y]);\n        delete guides[y];\n    });\n};\n\n/**\n * Get excluded numbers in range\n * @param {number[]} range - the range. value must be sequencial.\n * @param {number[]} numbers - numbers to check\n * @returns {number[]} excluded numbers\n */\nMonthGuide.prototype._getExcludesInRange = function(range, numbers) {\n    var min = mmin.apply(null, range),\n        max = mmax.apply(null, range),\n        excludes = [];\n\n    util.forEach(numbers, function(num) {\n        num = parseInt(num, 10);\n        if (num < min || num > max) {\n            excludes.push(num);\n        }\n    });\n\n    return excludes;\n};\n\n/**\n * Update guide elements by coordinate in month grid from mousemove event\n * @param {number} x - x coordinate\n * @param {number} y - y coordinate\n */\nMonthGuide.prototype.update = function(x, y) {\n    var self = this,\n        startCoord = this.startCoord,\n        mouseCoord = [x, y],\n        limitedCoord = this.options.isResizeMode ?\n            this._getLimitedCoord(mouseCoord, startCoord) : mouseCoord,\n        renderedYIndex = util.keys(this.guideElements),\n        yCoordsToUpdate = util.range(\n            mmin(startCoord[1], limitedCoord[1]),\n            mmax(startCoord[1], limitedCoord[1]) + 1\n        ),\n        yCoordsToRemove = this._getExcludesInRange(\n            yCoordsToUpdate,\n            renderedYIndex\n        ),\n        renderIndication = {};\n\n    this._removeGuideElements(yCoordsToRemove);\n\n    util.forEach(yCoordsToUpdate, function(guideYCoord) {\n        var guide = self._getGuideElement(guideYCoord),\n            indicate;\n\n        if (!guide) {\n            return;\n        }\n\n        if (guideYCoord === startCoord[1]) {\n            indicate = self._getOriginIndicate(startCoord, limitedCoord);\n        } else if (guideYCoord === mouseCoord[1]) {\n            indicate = self._getMouseIndicate(startCoord, mouseCoord);\n        } else {\n            indicate = self._getContainIndicate();\n        }\n\n        renderIndication[guideYCoord] = util.extend({\n            guide: guide\n        }, indicate);\n    });\n\n    this._updateGuides(renderIndication);\n};\n\n/**\n * Clear all guide elements\n */\nMonthGuide.prototype.clear = function() {\n    util.forEach(this.guideElements, function(element) {\n        domutil.remove(element);\n    });\n\n    this.guideElements = {};\n};\n\n/**\n * Get the styles from theme\n * @param {Theme} theme - theme instance\n * @returns {object} styles - styles object\n */\nMonthGuide.prototype._getStyles = function(theme) {\n    var styles = {};\n\n    if (theme) {\n        styles.border = theme.common.creationGuide.border;\n        styles.backgroundColor = theme.common.creationGuide.backgroundColor;\n        styles.scheduleHeight = theme.month.schedule.height;\n        styles.scheduleGutter = theme.month.schedule.marginTop;\n        styles.marginLeft = theme.month.schedule.marginLeft;\n        styles.marginRight = theme.month.schedule.marginRight;\n        styles.borderRadius = theme.month.schedule.borderRadius;\n    }\n\n    return styles;\n};\n\nmodule.exports = MonthGuide;\n","/**\n * @fileoverview Move handler for DayGrid view.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar common = require('../../common/common');\nvar domutil = require('../../common/domutil');\nvar dayGridCore = require('./core');\nvar DayGridMoveGuide = require('./moveGuide');\nvar TZDate = require('../../common/timezone').Date;\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes dayGridCore\n * @mixes CustomEvents\n * @param {Drag} dragHandler - Drag handler instance.\n * @param {DayGrid} view - view instance.\n * @param {Base} controller - Base controller instance.\n */\nfunction DayGridMove(dragHandler, view, controller) {\n    /**\n     * Drag handler instance.\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * view instance.\n     * @type {DayGrid}\n     */\n    this.view = view;\n\n    /**\n     * Base controller instance.\n     * @type {Base}\n     */\n    this.controller = controller;\n\n    /**\n     * Temporary variable for dragstart event data.\n     * @type {object}\n     */\n    this._dragStart = null;\n\n    dragHandler.on({\n        dragStart: this._onDragStart\n    }, this);\n\n    /**\n     * @type {DayGridMoveGuide}\n     */\n    this.guide = new DayGridMoveGuide(this);\n}\n\nDayGridMove.prototype.destroy = function() {\n    this.guide.destroy();\n    this.dragHandler.off(this);\n    this.dragHandler = this.view = this.controller =\n        this.guide = this._dragStart = null;\n};\n\n/**\n * Check dragstart target is expected conditions for this handler.\n * @param {HTMLElement} target - dragstart event handler's target element.\n * @returns {boolean|DayGridSchedule} return DayGridSchedule view instance when satiate condition.\n */\nDayGridMove.prototype.checkExpectedCondition = function(target) {\n    var cssClass = domutil.getClass(target),\n        parentView,\n        matches;\n\n    if (~cssClass.indexOf(config.classname('weekday-resize-handle'))) {\n        return false;\n    }\n\n    parentView = domutil.closest(target, config.classname('.weekday'));\n\n    if (!parentView) {\n        return false;\n    }\n\n    cssClass = domutil.getClass(parentView);\n    matches = cssClass.match(config.daygrid.getViewIDRegExp);\n\n    if (!matches || matches.length < 2) {\n        return false;\n    }\n\n    return util.pick(this.view.children.items, matches[1]);\n};\n\n/**\n * DragStart event handler method.\n * @emits DayGridMove#dragstart\n * @param {object} dragStartEventData - Drag#dragStart event handler event data.\n */\nDayGridMove.prototype._onDragStart = function(dragStartEventData) {\n    var target = dragStartEventData.target,\n        result = this.checkExpectedCondition(target),\n        controller = this.controller,\n        excludeTarget = true,\n        scheduleBlockElement,\n        modelID,\n        targetModel,\n        getScheduleDataFunc,\n        scheduleData;\n\n    if (!result) {\n        return;\n    }\n\n    scheduleBlockElement = domutil.closest(target, config.classname('.weekday-schedule-block'), excludeTarget);\n    if (!scheduleBlockElement) {\n        return;\n    }\n\n    modelID = domutil.getData(scheduleBlockElement, 'id');\n    targetModel = controller.schedules.items[modelID];\n\n    if (!targetModel) {\n        return;\n    }\n\n    if (targetModel.isReadOnly) {\n        return;\n    }\n\n    getScheduleDataFunc = this._retriveScheduleData(this.view, dragStartEventData.originEvent);\n    this.getScheduleDataFunc = getScheduleDataFunc;\n    scheduleData = this._dragStart = getScheduleDataFunc(dragStartEventData.originEvent);\n\n    util.extend(scheduleData, {\n        scheduleBlockElement: scheduleBlockElement,\n        model: targetModel\n    });\n\n    this.dragHandler.on({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    /**\n     * @event DayGridMove#dragstart\n     * @type {object}\n     * @property {DayGrid} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     * @property {Schedule} model - data object of model isntance.\n     * @property {HTMLDivElement} scheduleBlockElement - target schedule block element.\n     */\n    this.fire('dragstart', scheduleData);\n};\n\n/**\n * Drag event handler method.\n * @emits DayGridMove#drag\n * @param {object} dragEventData - Drag#drag event handler eventdata.\n */\nDayGridMove.prototype._onDrag = function(dragEventData) {\n    var getScheduleDataFunc = this.getScheduleDataFunc;\n\n    if (!getScheduleDataFunc) {\n        return;\n    }\n\n    /**\n     * @schedule DayGridMove#drag\n     * @type {object}\n     * @property {DayGrid} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     */\n    this.fire('drag', getScheduleDataFunc(dragEventData.originEvent));\n};\n\n/**\n * Request update schedule model to base controller.\n * @fires DayGridMove#beforeUpdateSchedule\n * @param {object} scheduleData - schedule data from DayGridMove handler module.\n */\nDayGridMove.prototype._updateSchedule = function(scheduleData) {\n    var schedule = scheduleData.targetModel,\n        dateOffset = scheduleData.xIndex - scheduleData.dragStartXIndex,\n        newStarts = new TZDate(schedule.start),\n        newEnds = new TZDate(schedule.end);\n\n    newStarts = newStarts.addDate(dateOffset);\n    newEnds = newEnds.addDate(dateOffset);\n\n    /**\n     * @event DayGridMove#beforeUpdateSchedule\n     * @type {object}\n     * @property {Schedule} schedule - schedule instance to update\n     * @property {Date} start - start time to update\n     * @property {Date} end - end time to update\n     */\n    this.fire('beforeUpdateSchedule', {\n        schedule: schedule,\n        start: newStarts,\n        end: newEnds\n    });\n};\n\n/**\n * DragEnd event hander method.\n * @emits DayGridMove#dragend\n * @param {object} dragEndEventData - Drag#DragEnd event handler data.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {?boolean} skipUpdate - true then skip update schedule model.\n */\nDayGridMove.prototype._onDragEnd = function(dragEndEventData, overrideEventName, skipUpdate) {\n    var getScheduleDataFunc = this.getScheduleDataFunc,\n        dragStart = this._dragStart,\n        scheduleData;\n\n    if (!getScheduleDataFunc || !dragStart) {\n        return;\n    }\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    scheduleData = getScheduleDataFunc(dragEndEventData.originEvent);\n    util.extend(scheduleData, {\n        targetModel: dragStart.model\n    });\n\n    if (!skipUpdate) {\n        this._updateSchedule(scheduleData);\n    }\n\n    /**\n     * @event DayGridMove#dragend\n     * @type {object}\n     * @property {DayGrid} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     */\n    this.fire(overrideEventName || 'dragend', scheduleData);\n\n    this.getScheduleDataFunc = this._dragStart = null;\n};\n\n/**\n * Click event handler method.\n * @emits DayGridMove#click\n * @param {object} clickEventData - Drag#Click event handler data.\n */\nDayGridMove.prototype._onClick = function(clickEventData) {\n    /**\n     * @event DayGridMove#click\n     * @type {object}\n     * @property {DayGrid} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     */\n    this._onDragEnd(clickEventData, 'click', true);\n};\n\ncommon.mixin(dayGridCore, DayGridMove);\nutil.CustomEvents.mixin(DayGridMove);\n\nmodule.exports = DayGridMove;\n","/**\n * @fileoverview Floating layer for  showing detail schedule\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar View = require('../../view/view');\nvar FloatingLayer = require('../../common/floatingLayer');\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n    domevent = require('../../common/domevent'),\n    domutil = require('../../common/domutil');\nvar tmpl = require('../template/popup/scheduleDetailPopup.hbs');\nvar ARROW_WIDTH_HALF = 8;\n\n/**\n * @constructor\n * @extends {View}\n * @param {HTMLElement} container - container element\n */\nfunction ScheduleDetailPopup(container) {\n    View.call(this, container);\n    /**\n     * @type {FloatingLayer}\n     */\n    this.layer = new FloatingLayer(null, container);\n\n    /**\n     * cached view model\n     * @type {object}\n     */\n    this._viewModel = null;\n    this._schedule = null;\n    this._calendar = null;\n\n    domevent.on(container, 'click', this._onClick, this);\n}\n\nutil.inherit(ScheduleDetailPopup, View);\n\n/**\n * Mousedown event handler for hiding popup layer when user mousedown outside of\n * layer\n * @param {MouseEvent} mouseDownEvent - mouse event object\n */\nScheduleDetailPopup.prototype._onMouseDown = function(mouseDownEvent) {\n    var target = (mouseDownEvent.target || mouseDownEvent.srcElement),\n        popupLayer = domutil.closest(target, config.classname('.floating-layer'));\n\n    if (popupLayer) {\n        return;\n    }\n\n    this.hide();\n};\n\n/**\n * @override\n */\nScheduleDetailPopup.prototype.destroy = function() {\n    this.layer.destroy();\n    this.layer = null;\n    domevent.off(this.container, 'click', this._onClick, this);\n    domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n    View.prototype.destroy.call(this);\n};\n\n/**\n * @override\n * Click event handler for close button\n * @param {MouseEvent} clickEvent - mouse event object\n */\nScheduleDetailPopup.prototype._onClick = function(clickEvent) {\n    var target = (clickEvent.target || clickEvent.srcElement);\n\n    this._onClickEditSchedule(target);\n\n    this._onClickDeleteSchedule(target);\n};\n\n/**\n * @fires ScheduleDetailPopup#clickEditSchedule\n * @param {HTMLElement} target - event target\n */\nScheduleDetailPopup.prototype._onClickEditSchedule = function(target) {\n    var className = config.classname('popup-edit');\n\n    if (domutil.hasClass(target, className) || domutil.closest(target, '.' + className)) {\n        this.fire('beforeUpdateSchedule', {\n            schedule: this._schedule,\n            triggerEventName: 'click',\n            target: this._scheduleEl\n        });\n\n        this.hide();\n    }\n};\n\n/**\n * @fires ScheduleDetailPopup#clickEditSchedule\n * @param {HTMLElement} target - event target\n */\nScheduleDetailPopup.prototype._onClickDeleteSchedule = function(target) {\n    var className = config.classname('popup-delete');\n\n    if (domutil.hasClass(target, className) || domutil.closest(target, '.' + className)) {\n        this.fire('beforeDeleteSchedule', {\n            schedule: this._schedule\n        });\n\n        this.hide();\n    }\n};\n\n/**\n * @override\n * @param {object} viewModel - view model from factory/monthView\n */\nScheduleDetailPopup.prototype.render = function(viewModel) {\n    var layer = this.layer;\n    var self = this;\n\n    layer.setContent(tmpl({\n        schedule: viewModel.schedule,\n        calendar: viewModel.calendar\n    }));\n    layer.show();\n    this._setPopupPositionAndArrowDirection(viewModel.event);\n\n    this._schedule = viewModel.schedule;\n    this._calendar = viewModel.calendar;\n\n    util.debounce(function() {\n        domevent.on(document.body, 'mousedown', self._onMouseDown, self);\n    })();\n};\n\n/**\n * Set popup position and arrow direction to apear near guide element\n * @param {Event} event - creation guide element\n */\nScheduleDetailPopup.prototype._setPopupPositionAndArrowDirection = function(event) {\n    var layer = domutil.find(config.classname('.popup'), this.layer.container);\n    var layerSize = {\n        width: layer.offsetWidth,\n        height: layer.offsetHeight\n    };\n    var windowSize = {\n        right: window.innerWidth,\n        bottom: window.innerHeight\n    };\n    var parentRect = this.layer.parent.getBoundingClientRect();\n    var parentBounds = {\n        left: parentRect.left,\n        top: parentRect.top\n    };\n    var scheduleEl = event.target || event.srcElement;\n    var blockEl = domutil.closest(scheduleEl, config.classname('.time-date-schedule-block'))\n        || domutil.closest(scheduleEl, config.classname('.weekday-schedule'))\n        || scheduleEl;\n    var scheduleBound = blockEl.getBoundingClientRect();\n    var pos;\n\n    this._scheduleEl = blockEl;\n\n    pos = this._calcRenderingData(layerSize, windowSize, scheduleBound);\n    pos.x -= parentBounds.left + 4;\n    pos.y -= (parentBounds.top + ARROW_WIDTH_HALF);\n    this.layer.setPosition(pos.x, pos.y);\n    this._setArrowDirection(pos.arrow);\n};\n\n/**\n * Calculate rendering position usering guide elements\n * @param {{width: {number}, height: {number}}} layerSize - popup layer's width and height\n * @param {{top: {number}, left: {number}, right: {number}, bottom: {number}}} parentSize - width and height of the upper layer, that acts as a border of popup\n * @param {{top: {number}, left: {number}, right: {number}, bottom: {number}}} guideBound - guide element bound data\n * @returns {PopupRenderingData} rendering position of popup and popup arrow\n */\nScheduleDetailPopup.prototype._calcRenderingData = function(layerSize, parentSize, guideBound) {\n    var guideVerticalCenter = (guideBound.top + guideBound.bottom) / 2;\n    var x = guideBound.right;\n    var y = guideVerticalCenter;\n    var arrowDirection = 'arrow-left';\n    var arrowTop;\n\n    if (y < 0) {\n        y = y + (layerSize.height / 2) - guideVerticalCenter;\n    }\n\n    if (x > 0 && (x + layerSize.width > parentSize.right)) {\n        x = guideBound.left - layerSize.width - ARROW_WIDTH_HALF - 3;\n        arrowDirection = 'arrow-right';\n    }\n\n    if (x < 0) {\n        x = 0;\n    }\n\n    if (guideBound.right > x + layerSize.width) {\n        arrowDirection = 'arrow-right';\n    }\n\n    /**\n     * @typedef {Object} PopupRenderingData\n     * @property {number} x - left position\n     * @property {number} y - top position\n     * @property {string} arrow.direction - direction of popup arrow\n     * @property {number} [arrow.position] - relative position of popup arrow, if it is not set, arrow appears on the middle of popup\n     */\n    return {\n        x: x + ARROW_WIDTH_HALF,\n        y: y - (layerSize.height / 2) + ARROW_WIDTH_HALF,\n        arrow: {\n            direction: arrowDirection,\n            position: arrowTop\n        }\n    };\n};\n\n/**\n * Set arrow's direction and position\n * @param {Object} arrow rendering data for popup arrow\n */\nScheduleDetailPopup.prototype._setArrowDirection = function(arrow) {\n    var direction = arrow.direction || 'arrow-left';\n    var arrowEl = domutil.find(config.classname('.popup-arrow'), this.layer.container);\n    var borderElement = domutil.find(config.classname('.popup-arrow-border', arrowEl));\n\n    if (direction !== config.classname('arrow-left')) {\n        domutil.removeClass(arrowEl, config.classname('arrow-left'));\n        domutil.addClass(arrowEl, config.classname(direction));\n    }\n\n    if (arrow.position) {\n        borderElement.style.top = arrow.position + 'px';\n    }\n};\n\n/**\n * Hide layer\n */\nScheduleDetailPopup.prototype.hide = function() {\n    this.layer.hide();\n\n    if (this.guide) {\n        this.guide.clearGuideElement();\n        this.guide = null;\n    }\n\n    domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n};\n\n/**\n * refresh layer\n */\nScheduleDetailPopup.prototype.refresh = function() {\n    if (this._viewModel) {\n        this.layer.setContent(this.tmpl(this._viewModel));\n    }\n};\n\nmodule.exports = ScheduleDetailPopup;\n","/**\n * @fileoverview Floating layer for writing new schedules\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar View = require('../../view/view');\nvar FloatingLayer = require('../../common/floatingLayer');\nvar util = require('tui-code-snippet');\nvar DatePicker = require('tui-date-picker');\nvar timezone = require('../../common/timezone');\nvar config = require('../../config');\nvar domevent = require('../../common/domevent');\nvar domutil = require('../../common/domutil');\nvar common = require('../../common/common');\nvar tmpl = require('../template/popup/scheduleCreationPopup.hbs');\nvar TZDate = timezone.Date;\nvar MAX_WEEK_OF_MONTH = 6;\nvar ARROW_WIDTH_HALF = 8;\n\n/**\n * @constructor\n * @extends {View}\n * @param {HTMLElement} container - container element\n * @param {Array.<Calendar>} calendars - calendar list used to create new schedule\n */\nfunction ScheduleCreationPopup(container, calendars) {\n    View.call(this, container);\n    /**\n     * @type {FloatingLayer}\n     */\n    this.layer = new FloatingLayer(null, container);\n\n    /**\n     * cached view model\n     * @type {object}\n     */\n    this._viewModel = null;\n    this._selectedCal = null;\n    this._schedule = null;\n    this.calendars = calendars;\n    this._focusedDropdown = null;\n    this._onClickListeners = [\n        this._selectDropdownMenuItem.bind(this),\n        this._toggleDropdownMenuView.bind(this),\n        this._closeDropdownMenuView.bind(this, null),\n        this._closePopup.bind(this),\n        this._toggleIsAllday.bind(this),\n        this._toggleIsPrivate.bind(this),\n        this._onClickSaveSchedule.bind(this)\n    ];\n\n    domevent.on(container, 'click', this._onClick, this);\n}\n\nutil.inherit(ScheduleCreationPopup, View);\n\n/**\n * Mousedown event handler for hiding popup layer when user mousedown outside of\n * layer\n * @param {MouseEvent} mouseDownEvent - mouse event object\n */\nScheduleCreationPopup.prototype._onMouseDown = function(mouseDownEvent) {\n    var target = (mouseDownEvent.target || mouseDownEvent.srcElement),\n        popupLayer = domutil.closest(target, config.classname('.floating-layer'));\n\n    if (popupLayer) {\n        return;\n    }\n\n    this.hide();\n};\n\n/**\n * @override\n */\nScheduleCreationPopup.prototype.destroy = function() {\n    this.layer.destroy();\n    this.layer = null;\n    domevent.off(this.container, 'click', this._onClick, this);\n    domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n    View.prototype.destroy.call(this);\n};\n\n/**\n * @override\n * Click event handler for close button\n * @param {MouseEvent} clickEvent - mouse event object\n */\nScheduleCreationPopup.prototype._onClick = function(clickEvent) {\n    var target = (clickEvent.target || clickEvent.srcElement);\n\n    util.forEach(this._onClickListeners, function(listener) {\n        return !listener(target);\n    });\n};\n\n/**\n * Test click event target is close button, and return layer is closed(hidden)\n * @param {HTMLElement} target click event target\n * @returns {boolean} whether popup layer is closed or not\n */\nScheduleCreationPopup.prototype._closePopup = function(target) {\n    var className = config.classname('popup-close');\n\n    if (domutil.hasClass(target, className) || domutil.closest(target, '.' + className)) {\n        this.hide();\n\n        return true;\n    }\n\n    return false;\n};\n\n/**\n * Toggle dropdown menu view, when user clicks dropdown button\n * @param {HTMLElement} target click event target\n * @returns {boolean} whether user clicked dropdown button or not\n */\nScheduleCreationPopup.prototype._toggleDropdownMenuView = function(target) {\n    var className = config.classname('dropdown-button');\n    var dropdownBtn = domutil.hasClass(target, className) ? target : domutil.closest(target, '.' + className);\n\n    if (!dropdownBtn) {\n        return false;\n    }\n\n    if (domutil.hasClass(dropdownBtn.parentNode, config.classname('open'))) {\n        this._closeDropdownMenuView(dropdownBtn.parentNode);\n    } else {\n        this._openDropdownMenuView(dropdownBtn.parentNode);\n    }\n\n    return true;\n};\n\n/**\n * Close drop down menu\n * @param {HTMLElement} dropdown - dropdown element that has a opened dropdown menu\n */\nScheduleCreationPopup.prototype._closeDropdownMenuView = function(dropdown) {\n    dropdown = dropdown || this._focusedDropdown;\n    if (dropdown) {\n        domutil.removeClass(dropdown, config.classname('open'));\n        this._focusedDropdown = null;\n    }\n};\n\n/**\n * Open drop down menu\n * @param {HTMLElement} dropdown - dropdown element that has a closed dropdown menu\n */\nScheduleCreationPopup.prototype._openDropdownMenuView = function(dropdown) {\n    domutil.addClass(dropdown, config.classname('open'));\n    this._focusedDropdown = dropdown;\n};\n\n/**\n * If click dropdown menu item, close dropdown menu\n * @param {HTMLElement} target click event target\n * @returns {boolean} whether\n */\nScheduleCreationPopup.prototype._selectDropdownMenuItem = function(target) {\n    var itemClassName = config.classname('dropdown-menu-item');\n    var iconClassName = config.classname('icon');\n    var contentClassName = config.classname('content');\n    var selectedItem = domutil.hasClass(target, itemClassName) ? target : domutil.closest(target, '.' + itemClassName);\n    var bgColor, title, dropdown, dropdownBtn;\n\n    if (!selectedItem) {\n        return false;\n    }\n\n    bgColor = domutil.find('.' + iconClassName, selectedItem).style.backgroundColor || 'transparent';\n    title = domutil.find('.' + contentClassName, selectedItem).innerHTML;\n\n    dropdown = domutil.closest(selectedItem, config.classname('.dropdown'));\n    dropdownBtn = domutil.find(config.classname('.dropdown-button'), dropdown);\n    domutil.find('.' + contentClassName, dropdownBtn).innerText = title;\n\n    if (domutil.hasClass(dropdown, config.classname('section-calendar'))) {\n        domutil.find('.' + iconClassName, dropdownBtn).style.backgroundColor = bgColor;\n        this._selectedCal = common.find(this.calendars, function(cal) {\n            return cal.id === domutil.getData(selectedItem, 'calendarId');\n        });\n    }\n\n    domutil.removeClass(dropdown, config.classname('open'));\n\n    return true;\n};\n\n/**\n * Toggle allday checkbox state\n * @param {HTMLElement} target click event target\n * @returns {boolean} whether event target is allday section or not\n */\nScheduleCreationPopup.prototype._toggleIsAllday = function(target) {\n    var className = config.classname('section-allday');\n    var alldaySection = domutil.hasClass(target, className) ? target : domutil.closest(target, '.' + className);\n    var checkbox;\n\n    if (alldaySection) {\n        checkbox = domutil.find(config.classname('.checkbox-square'), alldaySection);\n        checkbox.checked = !checkbox.checked;\n\n        return true;\n    }\n\n    return false;\n};\n\n/**\n * Toggle private button\n * @param {HTMLElement} target click event target\n * @returns {boolean} whether event target is private section or not\n */\nScheduleCreationPopup.prototype._toggleIsPrivate = function(target) {\n    var className = config.classname('section-private');\n    var privateSection = domutil.hasClass(target, className) ? target : domutil.closest(target, '.' + className);\n\n    if (privateSection) {\n        if (domutil.hasClass(privateSection, config.classname('public'))) {\n            domutil.removeClass(privateSection, config.classname('public'));\n        } else {\n            domutil.addClass(privateSection, config.classname('public'));\n        }\n\n        return true;\n    }\n\n    return false;\n};\n\n/**\n * Save new schedule if user clicked save button\n * @emits ScheduleCreationPopup#saveSchedule\n * @param {HTMLElement} target click event target\n * @returns {boolean} whether save button is clicked or not\n */\nScheduleCreationPopup.prototype._onClickSaveSchedule = function(target) {\n    var className = config.classname('popup-save');\n    var cssPrefix = config.cssPrefix;\n    var title, isPrivate, location, isAllDay, startDate, endDate, state;\n    var start, end, calendarId;\n\n    if (!domutil.hasClass(target, className) && !domutil.closest(target, '.' + className)) {\n        return false;\n    }\n\n    title = domutil.get(cssPrefix + 'schedule-title');\n    startDate = new TZDate(this.rangePicker.getStartDate()).toLocalTime();\n    endDate = new TZDate(this.rangePicker.getEndDate()).toLocalTime();\n\n    if (!title.value) {\n        title.focus();\n\n        return true;\n    }\n\n    if (!startDate && !endDate) {\n        return true;\n    }\n\n    isPrivate = !domutil.hasClass(domutil.get(cssPrefix + 'schedule-private'), config.classname('public'));\n    location = domutil.get(cssPrefix + 'schedule-location');\n    state = domutil.get(cssPrefix + 'schedule-state');\n    isAllDay = !!domutil.get(cssPrefix + 'schedule-allday').checked;\n\n    if (isAllDay) {\n        startDate.setHours(0, 0, 0);\n        endDate.setHours(23, 59, 59);\n    }\n\n    start = new TZDate(startDate);\n    end = new TZDate(endDate);\n\n    if (this._selectedCal) {\n        calendarId = this._selectedCal.id;\n    }\n\n    if (this._isEditMode) {\n        this.fire('beforeUpdateSchedule', {\n            schedule: {\n                calendarId: calendarId || this._schedule.calendarId,\n                title: title.value,\n                location: location.value,\n                raw: {\n                    class: isPrivate ? 'private' : 'public'\n                },\n                start: start,\n                end: end,\n                isAllDay: isAllDay,\n                state: state.innerText,\n                triggerEventName: 'click',\n                id: this._schedule.id\n            },\n            start: start,\n            end: end,\n            calendar: this._selectedCal,\n            triggerEventName: 'click'\n        });\n    } else {\n        /**\n         * @event ScheduleCreationPopup#beforeCreateSchedule\n         * @type {object}\n         * @property {Schedule} schedule - new schedule instance to be added\n         */\n        this.fire('beforeCreateSchedule', {\n            calendarId: calendarId,\n            title: title.value,\n            location: location.value,\n            raw: {\n                class: isPrivate ? 'private' : 'public'\n            },\n            start: start,\n            end: end,\n            isAllDay: isAllDay,\n            state: state.innerText\n        });\n    }\n\n    this.hide();\n\n    return true;\n};\n\n/**\n * @override\n * @param {object} viewModel - view model from factory/monthView\n */\nScheduleCreationPopup.prototype.render = function(viewModel) {\n    var calendars = this.calendars;\n    var layer = this.layer;\n    var self = this;\n    var boxElement, guideElements;\n\n    viewModel.zIndex = this.layer.zIndex + 5;\n    viewModel.calendars = calendars;\n    if (calendars.length) {\n        viewModel.selectedCal = this._selectedCal = calendars[0];\n    }\n\n    this._isEditMode = viewModel.schedule && viewModel.schedule.id;\n    if (this._isEditMode) {\n        boxElement = viewModel.target;\n        viewModel = this._makeEditModeData(viewModel);\n    } else {\n        this.guide = viewModel.guide;\n        guideElements = this._getGuideElements(this.guide);\n        boxElement = guideElements.length ? guideElements[0] : null;\n    }\n    layer.setContent(tmpl(viewModel));\n    this._createDatepicker(viewModel.start, viewModel.end, viewModel.isAllDay);\n    layer.show();\n\n    if (boxElement) {\n        this._setPopupPositionAndArrowDirection(boxElement.getBoundingClientRect());\n    }\n\n    util.debounce(function() {\n        domevent.on(document.body, 'mousedown', self._onMouseDown, self);\n    })();\n};\n\n/**\n * Make view model for edit mode\n * @param {object} viewModel - original view model from 'beforeCreateEditPopup'\n * @returns {object} - edit mode view model\n */\nScheduleCreationPopup.prototype._makeEditModeData = function(viewModel) {\n    var schedule = viewModel.schedule;\n    var title, isPrivate, location, startDate, endDate, isAllDay, state;\n    var raw = schedule.raw || {};\n    var calendars = this.calendars;\n\n    var id = schedule.id;\n    title = schedule.title;\n    isPrivate = raw['class'] === 'private';\n    location = schedule.location;\n    startDate = schedule.start;\n    endDate = schedule.end;\n    isAllDay = schedule.isAllDay;\n    state = schedule.state;\n\n    viewModel.selectedCal = this._selectedCal = common.find(this.calendars, function(cal) {\n        return cal.id === viewModel.schedule.calendarId;\n    });\n\n    this._schedule = schedule;\n\n    return {\n        id: id,\n        selectedCal: this._selectedCal,\n        calendars: calendars,\n        title: title,\n        isPrivate: isPrivate,\n        location: location,\n        isAllDay: isAllDay,\n        state: state,\n        start: startDate,\n        end: endDate,\n        raw: {\n            class: isPrivate ? 'private' : 'public'\n        },\n        zIndex: this.layer.zIndex + 5,\n        isEditMode: this._isEditMode\n    };\n};\n\n/**\n * Set popup position and arrow direction to apear near guide element\n * @param {MonthCreationGuide|TimeCreationGuide|DayGridCreationGuide} guideBound - creation guide element\n */\nScheduleCreationPopup.prototype._setPopupPositionAndArrowDirection = function(guideBound) {\n    var layer = domutil.find(config.classname('.popup'), this.layer.container);\n    var layerSize = {\n        width: layer.offsetWidth,\n        height: layer.offsetHeight\n    };\n    var windowSize = {\n        right: window.innerWidth,\n        bottom: window.innerHeight\n    };\n    var parentRect = this.layer.parent.getBoundingClientRect();\n    var parentBounds = {\n        left: parentRect.left,\n        top: parentRect.top\n    };\n    var pos;\n\n    pos = this._calcRenderingData(layerSize, windowSize, guideBound);\n    pos.x -= parentBounds.left;\n    pos.y -= (parentBounds.top + 6);\n    this.layer.setPosition(pos.x, pos.y);\n    this._setArrowDirection(pos.arrow);\n};\n\n/**\n * Get guide elements from creation guide object\n * It is used to calculate rendering position of popup\n * It will be disappeared when hiding popup\n * @param {MonthCreationGuide|TimeCreationGuide|AlldayCreationGuide} guide - creation guide\n * @returns {Array.<HTMLElement>} creation guide element\n */\nScheduleCreationPopup.prototype._getGuideElements = function(guide) {\n    var guideElements = [];\n    var i = 0;\n\n    if (guide.guideElement) {\n        guideElements.push(guide.guideElement);\n    } else if (guide.guideElements) {\n        for (; i < MAX_WEEK_OF_MONTH; i += 1) {\n            if (guide.guideElements[i]) {\n                guideElements.push(guide.guideElements[i]);\n            }\n        }\n    }\n\n    return guideElements;\n};\n\n/**\n * Get guide element's bound data which only includes top, right, bottom, left\n * @param {Array.<HTMLElement>} guideElements - creation guide elements\n * @returns {Object} - popup bound data\n */\nScheduleCreationPopup.prototype._getBoundOfFirstRowGuideElement = function(guideElements) {\n    var bound;\n\n    if (!guideElements.length) {\n        return null;\n    }\n\n    bound = guideElements[0].getBoundingClientRect();\n\n    return {\n        top: bound.top,\n        left: bound.left,\n        bottom: bound.bottom,\n        right: bound.right\n    };\n};\n\n/**\n * Calculate rendering position usering guide elements\n * @param {{width: {number}, height: {number}}} layerSize - popup layer's width and height\n * @param {{top: {number}, left: {number}, right: {number}, bottom: {number}}} parentSize - width and height of the upper layer, that acts as a border of popup\n * @param {{top: {number}, left: {number}, right: {number}, bottom: {number}}} guideBound - guide element bound data\n * @returns {PopupRenderingData} rendering position of popup and popup arrow\n */\nScheduleCreationPopup.prototype._calcRenderingData = function(layerSize, parentSize, guideBound) {\n    var guideHorizontalCenter = (guideBound.left + guideBound.right) / 2;\n    var x = guideHorizontalCenter - (layerSize.width / 2);\n    var y = guideBound.top - layerSize.height + 3;\n    var arrowDirection = 'arrow-bottom';\n    var arrowLeft;\n\n    if (y < 0) {\n        y = guideBound.bottom + 9;\n        arrowDirection = 'arrow-top';\n    }\n\n    if (x > 0 && (x + layerSize.width > parentSize.right)) {\n        x = parentSize.right - layerSize.width;\n    }\n\n    if (x < 0) {\n        x = 0;\n    }\n\n    if (guideHorizontalCenter - x !== layerSize.width / 2) {\n        arrowLeft = guideHorizontalCenter - x - ARROW_WIDTH_HALF;\n    }\n\n    /**\n     * @typedef {Object} PopupRenderingData\n     * @property {number} x - left position\n     * @property {number} y - top position\n     * @property {string} arrow.direction - direction of popup arrow\n     * @property {number} [arrow.position] - relative position of popup arrow, if it is not set, arrow appears on the middle of popup\n     */\n    return {\n        x: x,\n        y: y,\n        arrow: {\n            direction: arrowDirection,\n            position: arrowLeft\n        }\n    };\n};\n\n/**\n * Set arrow's direction and position\n * @param {Object} arrow rendering data for popup arrow\n */\nScheduleCreationPopup.prototype._setArrowDirection = function(arrow) {\n    var direction = arrow.direction || 'arrow-bottom';\n    var arrowEl = domutil.get(config.classname('popup-arrow'));\n    var borderElement = domutil.find(config.classname('.popup-arrow-border', arrowEl));\n\n    if (direction !== config.classname('arrow-bottom')) {\n        domutil.removeClass(arrowEl, config.classname('arrow-bottom'));\n        domutil.addClass(arrowEl, config.classname(direction));\n    }\n\n    if (arrow.position) {\n        borderElement.style.left = arrow.position + 'px';\n    }\n};\n\n/**\n * Create date range picker using start date and end date\n * @param {TZDate} start - start date\n * @param {TZDate} end - end date\n * @param {boolean} isAllDay - isAllDay\n */\nScheduleCreationPopup.prototype._createDatepicker = function(start, end, isAllDay) {\n    var cssPrefix = config.cssPrefix;\n\n    this.rangePicker = DatePicker.createRangePicker({\n        startpicker: {\n            date: new TZDate(start).toDate(),\n            input: '#' + cssPrefix + 'schedule-start-date',\n            container: '#' + cssPrefix + 'startpicker-container'\n        },\n        endpicker: {\n            date: new TZDate(end).toDate(),\n            input: '#' + cssPrefix + 'schedule-end-date',\n            container: '#' + cssPrefix + 'endpicker-container'\n        },\n        format: isAllDay ? 'yyyy-MM-dd' : 'yyyy-MM-dd HH:mm',\n        timepicker: isAllDay ? null : {\n            showMeridiem: false\n        },\n        usageStatistics: true\n    });\n};\n\n/**\n * Hide layer\n */\nScheduleCreationPopup.prototype.hide = function() {\n    this.layer.hide();\n\n    if (this.guide) {\n        this.guide.clearGuideElement();\n        this.guide = null;\n    }\n\n    domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n};\n\n/**\n * refresh layer\n */\nScheduleCreationPopup.prototype.refresh = function() {\n    if (this._viewModel) {\n        this.layer.setContent(this.tmpl(this._viewModel));\n    }\n};\n\n/**\n * Set calendar list\n * @param {Array.<Calendar>} calendars - calendar list\n */\nScheduleCreationPopup.prototype.setCalendars = function(calendars) {\n    this.calendars = calendars || [];\n};\n\nmodule.exports = ScheduleCreationPopup;\n","/**\n * @fileoverview\n * Class for represent two dimensional x, y coordinates.\n *\n * It suppliy a group of functions for manipulate coordinates.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n * @example\n * var p = point(10, 10);\n * var r1 = p.add(Point(5, 5));\n * console.log(p.toString())    // \"Point(10, 10)\"\n * console.log(r1.toString())    // \"Point(15, 15)\"\n *\n * var p2 = new Point(10, 10);\n * p2._add(point(5, 5));\n * console.log(p2.toString())   // \"Point(15, 15)\"\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\n/**\n * Class for represent two dimentional x, y coordinates.\n * @constructor\n * @param {number} x The number of X coordinates.\n * @param {number} y The number of Y coordinates.\n * @param {boolean} [useRound=false] set true when each coordinates are rounded before initialize.\n * @example\n * var t = new Point(13, 5);\n */\nfunction Point(x, y, useRound) {\n    /**\n     * @type {number}\n     */\n    this.x = (useRound ? Math.round(x) : x);\n\n    /**\n     * @type {number}\n     */\n    this.y = (useRound ? Math.round(y) : y);\n}\n\n/**********\n * static props\n **********/\n\n/**\n * Calculate point ratio.\n * @param {Point} point The instance of point.\n * @param {number} factor From factor\n * @param {number} toFactor To factor\n * @returns {Point} Point instance calculated.\n */\nPoint.getRatio = function(point, factor, toFactor) {\n    if (factor === toFactor) {\n        return point.clone();\n    }\n\n    return point.multiplyBy(toFactor)._divideBy(factor);\n};\n\n/**\n * Syntatic sugar of new Point()\n * @param {(Point|number|number[])} x X coordinate value.\n * @param {(number|boolean)} [y] Y coordinate value or boolean value for coordinates round.\n * @param {boolean} [useRound] Set true then round initial coordinate values.\n * @returns {Point} The instance of point.\n * @example\n * var p1 = point(10, 15);\n * var p2 = point([10, 15]);\n */\nPoint.n = function(x, y, useRound) {\n    if (x instanceof Point) {\n        return x;\n    }\n\n    if (util.isArray(x)) {\n        return new Point(x[0], x[1], y);\n    }\n\n    return new Point(x, y, useRound);\n};\n\n/**********\n * prototype props\n **********/\n\n/**\n * Clone points\n * @returns {Point} The point instance cloned.\n */\nPoint.prototype.clone = function() {\n    return new Point(this.x, this.y);\n};\n\n/**\n * Add points.\n * @param {Point} point The point instance to add.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.add = function(point) {\n    return this.clone()._add(Point.n(point));\n};\n\n/**\n * Add self points.\n * @param {Point} point The point instance to add.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._add = function(point) {\n    this.x += point.x;\n    this.y += point.y;\n\n    return this;\n};\n\n/**\n * Subtract points.\n * @param {Point} point The point instance to subtract.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.subtract = function(point) {\n    return this.clone()._subtract(Point.n(point));\n};\n\n/**\n * Subtract points. (manipulate self)\n * @param {Point} point The point instance to subtract.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._subtract = function(point) {\n    this.x -= point.x;\n    this.y -= point.y;\n\n    return this;\n};\n\n/**\n * Divide points.\n * @param {number} num The number to divide.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.divideBy = function(num) {\n    return this.clone()._divideBy(num);\n};\n\n/**\n * Divide points. (manipulate self)\n * @param {number} num The number to divide.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._divideBy = function(num) {\n    this.x /= num;\n    this.y /= num;\n\n    return this;\n};\n\n/**\n * Multiply coordinates.\n * @param {number} num Thyen number to multiply\n * @returns {Point} Point calculated.\n */\nPoint.prototype.multiplyBy = function(num) {\n    return this.clone()._multiplyBy(num);\n};\n\n/**\n * Multiply self coordinates.\n * @param {number} num The number to multiply.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._multiplyBy = function(num) {\n    this.x *= num;\n    this.y *= num;\n\n    return this;\n};\n\n/**\n * Round coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.round = function() {\n    return this.clone()._round();\n};\n\n/**\n * Round self coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._round = function() {\n    this.x = Math.round(this.x);\n    this.y = Math.round(this.y);\n\n    return this;\n};\n\n/**\n * Reverse values between positive and negative.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.reverse = function() {\n    return this.clone()._reverse();\n};\n\n/**\n * Reverse self values between positive and negative.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._reverse = function() {\n    this.x *= -1;\n    this.y *= -1;\n\n    return this;\n};\n\n/**\n * Floor coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.floor = function() {\n    return this.clone()._floor();\n};\n\n/**\n * Floor self coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._floor = function() {\n    this.x = Math.floor(this.x);\n    this.y = Math.floor(this.y);\n\n    return this;\n};\n\n/**\n * Ceil coordinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype.ceil = function() {\n    return this.clone()._ceil();\n};\n\n/**\n * Ceil self coodinates.\n * @returns {Point} Point calculated.\n */\nPoint.prototype._ceil = function() {\n    this.x = Math.ceil(this.x);\n    this.y = Math.ceil(this.y);\n\n    return this;\n};\n\n/**\n * Rotate point.\n * @param {number} deg The number of rotate degree.\n * @param {Point} [center=this] Center point instance to use rotate center. use own when not supplied.\n * @param {number} [cos] Cosine values for rotate. it useful when multi point rotate.\n * @param {number} [sin] Sine values for rotate. it useful when multi point rotate.\n * @returns {Point} The point instance rotated.\n */\nPoint.prototype.rotate = function(deg, center, cos, sin) {\n    return this.clone()._rotate(deg, center, cos, sin);\n};\n\n/**\n * Rotate self.\n * @param {number} deg The number of rotate degree.\n * @param {Point} [center=this] Center point instance to use rotate center. use own when not supplied.\n * @param {number} [cos] Cosine values for rotate. it useful when multi point rotate.\n * @param {number} [sin] Sine values for rotate. it useful when multi point rotate.\n * @returns {Point} The point instance rotated.\n */\nPoint.prototype._rotate = function(deg, center, cos, sin) {\n    var rad = deg * (Math.PI / 180),\n        x,\n        y;\n\n    cos = cos || parseFloat(Math.cos(rad).toFixed(8));\n    sin = sin || parseFloat(Math.sin(rad).toFixed(8));\n\n    this._subtract(center);\n\n    x = this.x;\n    y = this.y;\n\n    this.x = (x * cos) - (y * sin);\n    this.y = (x * sin) + (y * cos);\n\n    this._add(center);\n\n    return this;\n};\n\n/**\n * Calculate distance between two points.\n * @param {Point} point Point instance.\n * @returns {number} The number of distance between two points.\n */\nPoint.prototype.distanceTo = function(point) {\n    var x,\n        y;\n\n    point = Point.n(point);\n\n    x = point.x - this.x;\n    y = point.y - this.y;\n\n    return Math.sqrt((x * x) + (y * y));\n};\n\n/**\n * Check point equals.\n * @param {Point} point Point instance to compare\n * @returns {boolean} equality\n */\nPoint.prototype.equals = function(point) {\n    point = Point.n(point);\n\n    return point.x === this.x && point.y === this.y;\n};\n\n/**\n * Return formatted string. 'Point(x, y)'\n * @returns {string} string\n */\nPoint.prototype.toString = function() {\n    return 'Point(' + this.x + ', ' + this.y + ')';\n};\n\n/**\n * Return coodinates to array. [x, y]\n * @returns {number[]} coordinate array.\n */\nPoint.prototype.toArray = function() {\n    return [this.x, this.y];\n};\n\nmodule.exports = Point;\n","/**\n * @fileoverview Weekday view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n    domutil = require('../common/domutil'),\n    datetime = require('../common/datetime'),\n    TZDate = require('../common/timezone').Date,\n    View = require('./view');\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - view options.\n * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n *  make create easy.\n * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n * @param {HTMLDIVElement} container - DOM element to use container for this\n *  view.\n */\nfunction Weekday(options, container) {\n    container = domutil.appendHTMLElement(\n        'div',\n        container,\n        config.classname('weekday')\n    );\n\n    /**\n     * @type {object}\n     */\n    this.options = util.extend({\n        containerBottomGutter: 8,\n        scheduleHeight: 18,\n        scheduleGutter: 2,\n        narrowWeekend: false,\n        startDayOfWeek: 0,\n        workweek: false\n    }, options);\n\n    /*\n     * cache parent's view model\n     * @type {object}\n     */\n    this._cacheParentViewModel = null;\n\n    View.call(this, container);\n}\n\nutil.inherit(Weekday, View);\n\n/**\n * Get render date range\n * @returns {Date[]} rendered date range\n */\nWeekday.prototype.getRenderDateRange = function() {\n    return this._cacheParentViewModel.range;\n};\n\n/**\n * Get render date grids information\n * @returns {Date[]} rendered date grids information\n */\nWeekday.prototype.getRenderDateGrids = function() {\n    return this._cacheParentViewModel.grids;\n};\n\n/**\n * Get default view model.\n * @param {object} viewModel parent's view model\n * @returns {object} viewModel to rendering.\n */\nWeekday.prototype.getBaseViewModel = function(viewModel) {\n    var opt = this.options;\n    var range = viewModel.range;\n    var today = datetime.format(new TZDate(), 'YYYYMMDD');\n    var gridWidth = (100 / range.length);\n    var grids = viewModel.grids;\n    var exceedDate = viewModel.exceedDate || {};\n    var theme = viewModel.theme;\n\n    this._cacheParentViewModel = viewModel;\n\n    return {\n        width: gridWidth,\n        scheduleHeight: opt.scheduleHeight,\n        scheduleBlockHeight: (opt.scheduleHeight + opt.scheduleGutter),\n        scheduleBlockGutter: opt.scheduleGutter,\n        dates: util.map(range, function(date, index) {\n            var day = date.getDay();\n            var ymd = datetime.format(date, 'YYYYMMDD');\n            var isToday = ymd === today;\n\n            return {\n                date: datetime.format(date, 'YYYY-MM-DD'),\n                month: date.getMonth() + 1,\n                day: day,\n                isToday: isToday,\n                ymd: ymd,\n                hiddenSchedules: exceedDate[ymd] || 0,\n                width: grids[index] ? grids[index].width : 0,\n                left: grids[index] ? grids[index].left : 0,\n                color: this._getDayNameColor(theme, day, isToday),\n                backgroundColor: this._getDayBackgroundColor(theme, day)\n            };\n        }, this)\n    };\n};\n\n/* eslint max-nested-callbacks: 0 */\n/**\n * Make exceed date information\n * @param {number} maxCount - exceed schedule count\n * @param {Array} eventsInDateRange  - matrix of ScheduleViewModel\n * @param {Array.<TZDate>} range - date range of one week\n * @returns {object} exceedDate\n */\nWeekday.prototype.getExceedDate = function(maxCount, eventsInDateRange, range) {\n    var exceedDate = this._initExceedDate(range);\n\n    util.forEach(eventsInDateRange, function(matrix) {\n        util.forEach(matrix, function(column) {\n            util.forEach(column, function(viewModel) {\n                var period;\n                if (!viewModel || viewModel.top < maxCount) {\n                    return;\n                }\n\n                // check that this schedule block is not visible after rendered.\n                viewModel.hidden = true;\n\n                period = datetime.range(\n                    viewModel.getStarts(),\n                    viewModel.getEnds(),\n                    datetime.MILLISECONDS_PER_DAY\n                );\n\n                util.forEach(period, function(date) {\n                    var ymd = datetime.format(date, 'YYYYMMDD');\n                    exceedDate[ymd] += 1;\n                });\n            });\n        });\n    });\n\n    return exceedDate;\n};\n\n/**\n * Initiate exceed date information\n * @param {Array.<TZDate>} range - date range of one week\n * @returns {Object} - initiated exceed date\n */\nWeekday.prototype._initExceedDate = function(range) {\n    var exceedDate = {};\n\n    util.forEach(range, function(date) {\n        var ymd = datetime.format(date, 'YYYYMMDD');\n        exceedDate[ymd] = 0;\n    });\n\n    return exceedDate;\n};\n\n/**\n * Get a day name color\n * @param {Theme} theme - theme instance\n * @param {number} day - day number\n * @param {boolean} isToday - today flag\n * @param {boolean} isOtherMonth - not this month flag\n * @returns {string} style - color style\n */\nWeekday.prototype._getDayNameColor = function(theme, day, isToday, isOtherMonth) {\n    var color = '';\n\n    if (theme) {\n        if (day === 0) {\n            color = isOtherMonth ? theme.month.holidayExceptThisMonth.color : theme.common.holiday.color;\n        } else if (day === 6) {\n            color = isOtherMonth ? theme.month.dayExceptThisMonth.color : theme.common.saturday.color;\n        } else if (isToday) {\n            color = theme.common.today.color;\n        } else {\n            color = isOtherMonth ? theme.month.dayExceptThisMonth.color : theme.common.dayname.color;\n        }\n    }\n\n    return color;\n};\n\n/**\n * Get a day background color\n * @param {Theme} theme - theme instance\n * @param {number} day - day number\n * @returns {string} style - color style\n */\nWeekday.prototype._getDayBackgroundColor = function(theme, day) {\n    var color = '';\n\n    if (theme) {\n        if (day === 0 || day === 6) {\n            color = theme.month.weekend.backgroundColor;\n        } else {\n            color = 'inherit';\n        }\n    }\n\n    return color;\n};\n\nmodule.exports = Weekday;\n","/**\n * @fileoverview Layout module that supplied split height, resize height features.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n    common = require('./common'),\n    domutil = require('./domutil'),\n    domevent = require('./domevent'),\n    View = require('../view/view'),\n    VPanel = require('./vpanel'),\n    Drag = require('../handler/drag');\n\nvar mAbs = Math.abs;\n\n/**\n * @typedef PanelOptions\n * @type {object}\n * @property {number} [minHeight=0] - minimum height of panel\n * @property {number} [height=0] - current panel height\n * @property {boolean} [splitter=false] - is this panel uses splitter?\n * @property {boolean} [autoHeight=false] - is this panel uses remain height of container?\n * @property {string} [className=''] - className string for add created element\n */\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options for VLayout module\n *  @param {PanelOptions[]} [options.panels] - panels to add layout when initialize\n *  @param {number[]} [options.panelHeights] - panel height list\n * @param {HTMLElement} container - container element\n * @param {Theme} theme - theme instance\n */\nfunction VLayout(options, container, theme) {\n    var opt, tempHeights;\n\n    if (!(this instanceof VLayout)) {\n        return new VLayout(options, container);\n    }\n\n    View.call(this, container);\n\n    domutil.addClass(container, config.classname('vlayout-container'));\n\n    /**\n     * @type {object}\n     */\n    opt = this.options = util.extend({\n        panels: [],\n        panelHeights: []\n    }, options);\n\n    /**\n     * @type {VPanel[]}\n     */\n    this.panels = [];\n\n    /**\n     * @type {Drag}\n     */\n    this._drag = new Drag({\n        distance: 10,\n        exclude: function(target) {\n            return !domutil.hasClass(target, config.classname('splitter'));\n        }\n    }, container);\n\n    this._drag.on({\n        dragStart: this._onDragStart,\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    /**\n     * @type {object}\n     */\n    this._dragData = null;\n\n    /**\n     * @type {Theme}\n     */\n    this.theme = theme;\n\n    if (opt.panels.length) {\n        if (opt.panelHeights.length) {\n            tempHeights = opt.panelHeights.slice();\n            util.forEach(opt.panels, function(panelOpt) {\n                if (!panelOpt.isSplitter && !panelOpt.autoHeight) {\n                    panelOpt.height = tempHeights.shift();\n                }\n            });\n        }\n\n        this.addPanels(opt.panels, this.container);\n    }\n\n    this.refresh();\n}\n\nutil.inherit(VLayout, View);\n\n/**\n * Get current panels height in layout\n * @returns {number[]} height of panels with `autoHeight` false\n */\nVLayout.prototype.getLayoutData = function() {\n    var heightList = [];\n\n    util.forEach(this.panels, function(panel) {\n        if (panel.isSplitter() || panel.options.autoHeight) {\n            return;\n        }\n\n        heightList.push(panel.getHeight());\n    });\n\n    return heightList;\n};\n\n/**\n * Set panels height in layout\n * @param {number[]} heightList of panels with `autoHeight` false\n */\nVLayout.prototype.setLayoutData = function(heightList) {\n    if (!heightList.length) {\n        return;\n    }\n\n    util.forEach(this.panels, function(panel) {\n        if (panel.isSplitter() || panel.options.autoHeight) {\n            return;\n        }\n\n        panel.setHeight(null, heightList.shift());\n    });\n\n    this.refresh();\n};\n\n/**\n * Get next panel instance by specific panel\n * @param {VPanel} panel - panel instance\n * @returns {VPanel} next panel\n */\nVLayout.prototype.nextPanel = function(panel) {\n    return this.panels[panel.index + 1];\n};\n\n/**\n * Get previous panel instance by specific panel\n * @param {VPanel} panel - panel instance\n * @returns {VPanel} previous panel\n */\nVLayout.prototype.prevPanel = function(panel) {\n    return this.panels[panel.index - 1];\n};\n\n/**\n * Initialize resizing guide element\n * @param {HTMLElement} element - element to use guide element after cloned\n * @param {number} top - top pixel value for guide element\n * @returns {HTMLElement} cloned element == guide element\n */\nVLayout.prototype._initializeGuideElement = function(element, top) {\n    var cloned = element.cloneNode(true);\n\n    domutil.addClass(cloned, config.classname('splitter-guide'));\n    this._refreshGuideElement(cloned, top);\n    this.container.appendChild(cloned);\n\n    return cloned;\n};\n\n/**\n * Refresh guide element position\n * @param {HTMLElement} element - guide element\n * @param {number} top - top pixel value for guide element\n */\nVLayout.prototype._refreshGuideElement = function(element, top) {\n    element.style.top = top + 'px';\n};\n\n/**\n * Clear guide element position\n * @param {HTMLElement} element - guide element\n */\nVLayout.prototype._clearGuideElement = function(element) {\n    domutil.remove(element);\n};\n\n/**\n * Resize overall panels size\n * @param {VPanel} splPanel - splitter panel instance\n * @param {number} startY - dragstart Y position\n * @param {number} mouseY - dragend Y position\n */\nVLayout.prototype._resize = function(splPanel, startY, mouseY) {\n    var diffY = startY - mouseY,\n        resizedHeight = mAbs(diffY),\n        resizeMap = [],\n        toDown = mouseY > startY,\n        backwardMethod = toDown ? 'prevPanel' : 'nextPanel',\n        forwardMethod = toDown ? 'nextPanel' : 'prevPanel',\n        cursor, resizeInfo;\n\n    cursor = this[backwardMethod](splPanel);\n    resizeInfo = cursor.getResizeInfoByGrowth(resizedHeight);\n    resizeMap.push([cursor, resizeInfo[0]]);\n\n    for (cursor = this[forwardMethod](cursor);\n        util.isExisty(cursor);\n        cursor = this[forwardMethod](cursor)) {\n        if (cursor.isSplitter()) {\n            continue;\n        }\n\n        resizeInfo = cursor.getResizeInfoByGrowth(-resizedHeight);\n        resizeMap.push([cursor, resizeInfo[0]]);\n        resizedHeight -= resizeInfo[1];\n    }\n\n    util.forEach(resizeMap, function(pair) {\n        pair[0].setHeight(null, pair[1], true);\n        pair[0].fire('resize');\n    });\n};\n\n/**\n * Get summation of splitter and panel's minimum height upper and below of supplied splitter\n * @param {VPanel} splPanel - splitter panel instance\n * @returns {number[]} upper and below splitter's height and panel minimum height summation.\n */\nVLayout.prototype._getMouseYAdditionalLimit = function(splPanel) {\n    var upper = 0,\n        below = 0,\n        cursor,\n        func = function(panel) {\n            if (panel.isSplitter()) {\n                return panel.getHeight();\n            }\n\n            return panel.options.minHeight;\n        };\n\n    for (cursor = this.prevPanel(splPanel);\n        util.isExisty(cursor);\n        cursor = this.prevPanel(cursor)) {\n        upper += func(cursor);\n    }\n\n    for (cursor = this.nextPanel(splPanel);\n        util.isExisty(cursor);\n        cursor = this.nextPanel(cursor)) {\n        below += func(cursor);\n    }\n\n    return [upper, below];\n};\n\n/**********\n * Drag Handlers\n **********/\n\n/**\n * Drag start schedule handler\n * @param {object} e - drag start schedule data\n */\nVLayout.prototype._onDragStart = function(e) {\n    var oEvent = e.originEvent,\n        target = e.target,\n        splIndex = domutil.getData(target, 'panelIndex'),\n        splPanel = this.panels[splIndex],\n        splHeight = splPanel.getHeight(),\n        splOffsetY = domevent.getMousePosition(oEvent, target)[1],\n        mouseY = domevent.getMousePosition(oEvent, this.container)[1],\n        guideElement = this._initializeGuideElement(target, mouseY);\n\n    splPanel.addClass(config.classname('splitter-focused'));\n\n    this._dragData = {\n        splPanel: splPanel,\n        splOffsetY: splOffsetY,\n        guideElement: guideElement,\n        startY: mouseY - splOffsetY,\n        minY: 0,\n        maxY: this.getViewBound().height - splHeight\n    };\n\n    if (!util.browser.msie) {\n        domutil.addClass(document.body, config.classname('resizing'));\n    }\n};\n\n/**\n * Drag schedule handler\n * @param {object} e - drag schedule data\n */\nVLayout.prototype._onDrag = function(e) {\n    var dragData = this._dragData,\n        mouseY = domevent.getMousePosition(e.originEvent, this.container)[1];\n\n    mouseY = common.limit(mouseY - dragData.splOffsetY, [dragData.minY], [dragData.maxY]);\n\n    this._refreshGuideElement(dragData.guideElement, mouseY);\n};\n\n/**\n * Drag end schedule handler\n * @fires VLayout#resize\n * @param {object} e - dragend schedule data\n */\nVLayout.prototype._onDragEnd = function(e) {\n    var dragData = this._dragData,\n        asideMinMax = this._getMouseYAdditionalLimit(dragData.splPanel),\n        mouseY = domevent.getMousePosition(e.originEvent, this.container)[1];\n\n    // mouseY value can't exceed summation of splitter height and panel's minimum height based on target splitter.\n    mouseY = common.limit(\n        mouseY - dragData.splOffsetY,\n        [dragData.minY + asideMinMax[0]],\n        [dragData.maxY - asideMinMax[1]]\n    );\n\n    this._resize(dragData.splPanel, dragData.startY, mouseY);\n\n    /**\n     * @event VLayout#resize\n     * @type {object}\n     * @property {number[]} layoutData - layout data after resized\n     */\n    this.fire('resize', {\n        layoutData: this.getLayoutData()\n    });\n\n    this._dragData = null;\n    this._clearGuideElement(dragData.guideElement);\n    dragData.splPanel.removeClass(config.classname('splitter-focused'));\n    domutil.removeClass(document.body, config.classname('resizing'));\n};\n\n/**********\n * Methods\n **********/\n\n/**\n * refresh each panels\n */\nVLayout.prototype.refresh = function() {\n    var panelToFillHeight = [];\n    var layoutHeight = this.getViewBound().height;\n    var usedHeight = 0;\n    var remainHeight;\n\n    if (!layoutHeight) {\n        return;\n    }\n\n    util.forEach(this.panels, function(panel) {\n        if (panel.options.autoHeight) {\n            panelToFillHeight.push(panel);\n        } else {\n            usedHeight += panel.getHeight();\n        }\n    });\n\n    remainHeight = (layoutHeight - usedHeight) / panelToFillHeight.length;\n\n    util.forEach(panelToFillHeight, function(panel) {\n        panel.setHeight(null, remainHeight);\n    });\n};\n\n/**\n * add panel\n * @param {PanelOptions} options - options for panel\n * @param {container} [container] - container element\n */\nVLayout.prototype.addPanel = function(options, container) {\n    var element = document.createElement('div'),\n        panels = this.panels,\n        index = panels.length;\n\n    options = util.extend({\n        index: index\n    }, options);\n\n    panels.push(new VPanel(options, element, this.theme));\n\n    container.appendChild(element);\n};\n\n/**\n * Add multiple panel\n * @param {PanelOptions[]} options - panel options list\n * @param {HTMLElement} container - container element\n */\nVLayout.prototype.addPanels = function(options, container) {\n    var self = this,\n        frag = document.createDocumentFragment();\n\n    util.forEach(options, function(option) {\n        self.addPanel(option, frag);\n    });\n\n    container.appendChild(frag);\n};\n\n/**\n * Get a panel by name\n * @param {string} name - panel's name\n * @returns {VPanel}\n */\nVLayout.prototype.getPanelByName = function(name) {\n    var found;\n    util.forEach(this.panels, function(panel) {\n        if (panel.name === name) {\n            found = panel;\n        }\n    });\n\n    return found;\n};\n\nmodule.exports = VLayout;\n","/**\n * @fileoverview Model for views\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar datetime = require('../../common/datetime');\n\nvar SCHEDULE_MIN_DURATION = datetime.MILLISECONDS_SCHEDULE_MIN_DURATION;\n\n/**\n * Schedule ViewModel\n * @constructor\n * @param {Schedule} schedule Schedule instance.\n */\nfunction ScheduleViewModel(schedule) {\n    /**\n     * The model of schedule.\n     * @type {Schedule}\n     */\n    this.model = schedule;\n\n    /**\n     * @type {number}\n     */\n    this.top = 0;\n\n    /**\n     * @type {number}\n     */\n    this.left = 0;\n\n    /**\n     * @type {number}\n     */\n    this.width = 0;\n\n    /**\n     * @type {number}\n     */\n    this.height = 0;\n\n    /**\n     * Represent schedule has collide with other schedules when rendering.\n     * @type {boolean}\n     */\n    this.hasCollide = false;\n\n    /**\n     * Extra space at rigth side of this schedule.\n     * @type {number}\n     */\n    this.extraSpace = 0;\n\n    /**\n     * represent this schedule block is not visible after rendered.\n     *\n     * in month view, some viewmodel in date need to hide when already rendered before dates.\n     *\n     * set true then it just shows empty space.\n     * @type {boolean}\n     */\n    this.hidden = false;\n\n    /**\n     * whether the schedule includes multiple dates\n     */\n    this.hasMultiDates = false;\n\n    /**\n     * represent render start date used at rendering.\n     *\n     * if set null then use model's 'start' property.\n     * @type {TZDate}\n     */\n    this.renderStarts = null;\n\n    /**\n     * whether the actual start-date is before the render-start-date\n     * @type {boolean}\n     */\n    this.exceedLeft = false;\n\n    /**\n     * represent render end date used at rendering.\n     *\n     * if set null then use model's 'end' property.\n     * @type {TZDate}\n     */\n    this.renderEnds = null;\n\n    /**\n     * whether the actual end-date is after the render-end-date\n     * @type {boolean}\n     */\n    this.exceedRight = false;\n}\n\n/**********\n * static props\n **********/\n\n/**\n * ScheduleViewModel factory method.\n * @param {Schedule} schedule Schedule instance.\n * @returns {ScheduleViewModel} ScheduleViewModel instance.\n */\nScheduleViewModel.create = function(schedule) {\n    return new ScheduleViewModel(schedule);\n};\n\n/**********\n * prototype props\n **********/\n\n/**\n * return renderStarts property to render properly when specific schedule that exceed rendering date range.\n *\n * if renderStarts is not set. return model's start property.\n * @override\n * @returns {Date} render start date.\n */\nScheduleViewModel.prototype.getStarts = function() {\n    if (this.renderStarts) {\n        return this.renderStarts;\n    }\n\n    return this.model.start;\n};\n\n/**\n * return renderStarts property to render properly when specific schedule that exceed rendering date range.\n *\n * if renderEnds is not set. return model's end property.\n * @override\n * @returns {Date} render end date.\n */\nScheduleViewModel.prototype.getEnds = function() {\n    if (this.renderEnds) {\n        return this.renderEnds;\n    }\n\n    return this.model.end;\n};\n\n/**\n * @returns {number} unique number for model.\n */\nScheduleViewModel.prototype.cid = function() {\n    return util.stamp(this.model);\n};\n\n/**\n * Shadowing valueOf method for schedule sorting.\n * @returns {Schedule} The model of schedule.\n */\nScheduleViewModel.prototype.valueOf = function() {\n    return this.model;\n};\n\n/**\n * Link duration method\n * @returns {number} Schedule#duration result.\n */\nScheduleViewModel.prototype.duration = function() {\n    return this.model.duration();\n};\n\n/**\n * Link collidesWith method\n * @param {Schedule|ScheduleViewModel} viewModel - Model or viewmodel instance of Schedule.\n * @returns {boolean} Schedule#collidesWith result.\n */\nScheduleViewModel.prototype.collidesWith = function(viewModel) {\n    var ownStarts = this.getStarts(),\n        ownEnds = this.getEnds(),\n        start = viewModel.getStarts(),\n        end = viewModel.getEnds();\n    var ownGoingDuration = datetime.millisecondsFrom('minutes', this.valueOf().goingDuration),\n        ownComingDuration = datetime.millisecondsFrom('minutes', this.valueOf().comingDuration),\n        goingDuration = datetime.millisecondsFrom('minutes', viewModel.valueOf().goingDuration),\n        comingDuration = datetime.millisecondsFrom('minutes', viewModel.valueOf().comingDuration);\n\n    if (Math.abs(ownEnds - ownStarts) < SCHEDULE_MIN_DURATION) {\n        ownEnds += SCHEDULE_MIN_DURATION;\n    }\n\n    if (Math.abs(end - start) < SCHEDULE_MIN_DURATION) {\n        end += SCHEDULE_MIN_DURATION;\n    }\n\n    ownStarts -= ownGoingDuration;\n    ownEnds += ownComingDuration;\n    start -= goingDuration;\n    end += comingDuration;\n\n    if ((start > ownStarts && start < ownEnds) ||\n        (end > ownStarts && end < ownEnds) ||\n        (start <= ownStarts && end >= ownEnds)) {\n        return true;\n    }\n\n    return false;\n};\n\nmodule.exports = ScheduleViewModel;\n","/**\n * @fileoverview Drag handler for calendar.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar domutil = require('../common/domutil');\nvar domevent = require('../common/domevent');\n\n/**\n * @constructor\n * @mixes CustomEvents\n * @param {object} options - options for drag handler\n * @param {number} [options.distance=10] - distance in pixels after mouse must move before dragging should start\n * @param {function} [options.exclude] - filter function for don't fire drag events that specific conditions.\n * @param {HTMLElement} container element to watching drag interaction.\n */\nfunction Drag(options, container) {\n    domevent.on(container, 'mousedown', this._onMouseDown, this);\n\n    this.options = util.extend({\n        distance: 10,\n        exclude: null\n    }, options);\n\n    /**\n     * @type {HTMLElement}\n     */\n    this.container = container;\n\n    /**\n     * Flag for represent current dragging session has been cancelled for exclude option.\n     * @type {boolean}\n     */\n    this._cancelled = false;\n\n    /**\n     * @type {boolean}\n     */\n    this._isMoved = false;\n\n    /**\n     * dragging distance in pixel between mousedown and firing dragStart events\n     * @type {number}\n     */\n    this._distance = 0;\n\n    /**\n     * @type {boolean}\n     */\n    this._dragStartFired = false;\n\n    /**\n     * @type {object}\n     */\n    this._dragStartEventData = null;\n}\n\n/**\n * Destroy method.\n */\nDrag.prototype.destroy = function() {\n    domevent.off(this.container, 'mousedown', this._onMouseDown, this);\n    this._isMoved = null;\n    this.container = null;\n};\n\n/**\n * Clear cache data for single dragging session.\n */\nDrag.prototype._clearData = function() {\n    this._cancelled = false;\n    this._distance = 0;\n    this._isMoved = false;\n    this._dragStartFired = false;\n    this._dragStartEventData = null;\n};\n\n/**\n * Toggle events for mouse dragging.\n * @param {boolean} toBind - bind events related with dragging when supplied \"true\"\n */\nDrag.prototype._toggleDragEvent = function(toBind) {\n    var container = this.container,\n        domMethod,\n        method;\n\n    if (toBind) {\n        domMethod = 'on';\n        method = 'disable';\n    } else {\n        domMethod = 'off';\n        method = 'enable';\n    }\n\n    domutil[method + 'TextSelection'](container);\n    domutil[method + 'ImageDrag'](container);\n    domevent[domMethod](global.document, {\n        mousemove: this._onMouseMove,\n        mouseup: this._onMouseUp\n    }, this);\n};\n\n/**\n * Normalize mouse event object.\n * @param {MouseEvent} mouseEvent - mouse event object.\n * @returns {object} normalized mouse event data.\n */\nDrag.prototype._getEventData = function(mouseEvent) {\n    return {\n        target: mouseEvent.target || mouseEvent.srcElement,\n        originEvent: mouseEvent\n    };\n};\n\n/**\n * MouseDown DOM event handler.\n * @param {MouseEvent} mouseDownEvent MouseDown event object.\n */\nDrag.prototype._onMouseDown = function(mouseDownEvent) {\n    var opt = this.options,\n        target = (mouseDownEvent.srcElement || mouseDownEvent.target);\n\n    // only primary button can start drag.\n    if (domevent.getMouseButton(mouseDownEvent) !== 0) {\n        return;\n    }\n\n    if (opt.exclude && opt.exclude(target)) {\n        this._cancelled = true;\n\n        return;\n    }\n\n    this._clearData();\n    this._dragStartEventData = this._getEventData(mouseDownEvent);\n\n    this._toggleDragEvent(true);\n\n    /**\n     * mousedown event for firefox bug. cancelable.\n     * @event Drag#mouseDown\n     * @type {object}\n     * @property {HTMLElement} target - target element in this event.\n     * @property {MouseEvent} originEvent - original mouse event object.\n     */\n    this.fire('mousedown', this._dragStartEventData);\n};\n\n/**\n * MouseMove DOM event handler.\n * @emits Drag#drag\n * @emits Drag#dragStart\n * @param {MouseEvent} mouseMoveEvent MouseMove event object.\n */\nDrag.prototype._onMouseMove = function(mouseMoveEvent) {\n    var distance;\n\n    if (this._cancelled) {\n        this._clearData();\n\n        return;\n    }\n\n    distance = this.options.distance;\n    // prevent automatic scrolling.\n    domevent.preventDefault(mouseMoveEvent);\n\n    if (this._distance < distance) {\n        this._distance += 1;\n\n        return;\n    }\n    this._isMoved = true;\n\n    if (!this._dragStartFired) {\n        this._dragStartFired = true;\n\n        /**\n         * Drag start events. cancelable.\n         * @event Drag#dragStart\n         * @type {object}\n         * @property {HTMLElement} target - target element in this event.\n         * @property {MouseEvent} originEvent - original mouse event object.\n         */\n        if (!this.invoke('dragStart', this._dragStartEventData)) {\n            this._toggleDragEvent(false);\n            this._clearData();\n\n            return;\n        }\n    }\n\n    /**\n     * CalEvents while dragging.\n     * @event Drag#drag\n     * @type {object}\n     * @property {HTMLElement} target - target element in this event.\n     * @property {MouseEvent} originEvent - original mouse event object.\n     */\n    this.fire('drag', this._getEventData(mouseMoveEvent));\n};\n\n/**\n * MouseUp DOM event handler.\n * @param {MouseEvent} mouseUpEvent MouseUp event object.\n * @emits Drag#dragEnd\n * @emits Drag#click\n */\nDrag.prototype._onMouseUp = function(mouseUpEvent) {\n    if (this._cancelled) {\n        return;\n    }\n\n    this._toggleDragEvent(false);\n\n    // emit \"click\" event when not emitted drag event between mousedown and mouseup.\n    if (this._isMoved) {\n        this._isMoved = false;\n        /**\n         * Drag end events.\n         * @event Drag#dragEnd\n         * @type {MouseEvent}\n         * @property {HTMLElement} target - target element in this event.\n         * @property {MouseEvent} originEvent - original mouse event object.\n         */\n        this.fire('dragEnd', this._getEventData(mouseUpEvent));\n    } else {\n        /**\n         * Click events.\n         * @event Drag#click\n         * @type {MouseEvent}\n         * @property {HTMLElement} target - target element in this event.\n         * @property {MouseEvent} originEvent - original mouse event object.\n         */\n        this.fire('click', this._getEventData(mouseUpEvent));\n    }\n\n    this._clearData();\n};\n\nutil.CustomEvents.mixin(Drag);\n\nmodule.exports = Drag;\n","/**\n * @fileoverview Wrapper module for easy calc date object\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar TZDate = require('./timezone').Date;\n\n/**\n * @constructor\n * @param {TZDate} date to wrapping DW class\n */\nfunction DW(date) {\n    if (!(this instanceof DW)) {\n        return new DW(date);\n    }\n\n    if (!(date instanceof TZDate)) {\n        date = new TZDate(date);\n    }\n\n    /**\n     * @type {TZDate}\n     */\n    this.d = date;\n}\n\n/**\n * Return d property when supplied object is DW. else return itself\n * @param {*} obj - object\n * @returns {TZDate} date\n */\nDW.prototype.safe = function(obj) {\n    if (obj.constructor === DW) {\n        return obj.d;\n    }\n\n    return obj;\n};\n\n/**\n * Clone DW object\n * @returns {DW} cloned dwrap object\n */\nDW.prototype.clone = function() {\n    return new DW(new TZDate(this.d));\n};\n\n/**\n * Add days\n * @param {number} day - day to add\n * @returns {DW} wrapper object\n */\nDW.prototype.addDate = function(day) {\n    this.d.setDate(this.d.getDate() + day);\n\n    return this;\n};\n\n/**\n * Add month.\n * @param {number} m - month to add\n * @returns {DW} wrapper object\n */\nDW.prototype.addMonth = function(m) {\n    var currentMonth = this.d.getMonth();\n    var currentDay = this.d.getDate();\n    var leapYear = this._isLeapYear();\n    var targetMonth = currentMonth + m;\n    var clone = this.clone();\n    var targetDaysOfMonth = currentDay;\n\n    if (m) {\n        if (targetMonth === 1) {\n            targetDaysOfMonth = leapYear ? 29 : 28;\n        } else {\n            if (m > 0) {\n                clone.d.setMonth(targetMonth + 1, 0);\n            } else {\n                clone.d.setMonth(currentMonth, 0);\n            }\n            targetDaysOfMonth = clone.d.getDate();\n        }\n    }\n\n    this.d.setMonth(targetMonth, Math.min(currentDay, targetDaysOfMonth));\n\n    return this;\n};\n\n/**\n * Is leap year or not\n * @returns {boolean}\n */\nDW.prototype._isLeapYear = function() {\n    var year = this.d.getFullYear();\n\n    return ((year % 4 === 0) && (year % 100 !== 0)) || !(year % 400);\n};\n\n/**\n * Set hour, minutes, seconds, milliseconds\n * @param {number} h - hours\n * @param {number} m - minutes\n * @param {number} s - seconds\n * @param {number} ms - milliseconds\n * @returns {DW} wrapper object\n */\nDW.prototype.setHours = function(h, m, s, ms) {\n    this.d.setHours(h, m, s, ms);\n\n    return this;\n};\n\n/**\n * Whether date is between supplied dates?\n * @param {TZDate|DW} d1 - from date\n * @param {TZDate|DW} d2 - to date\n * @returns {boolean} is between?\n */\nDW.prototype.isBetween = function(d1, d2) {\n    var safe = this.safe;\n\n    return safe(d1) <= this.d && this.d <= safe(d2);\n};\n\nmodule.exports = DW;\n","'use strict';\n\nexports.__esModule = true;\nexports.HandlebarsEnvironment = HandlebarsEnvironment;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _utils = require('./utils');\n\nvar _exception = require('./exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nvar _helpers = require('./helpers');\n\nvar _decorators = require('./decorators');\n\nvar _logger = require('./logger');\n\nvar _logger2 = _interopRequireDefault(_logger);\n\nvar VERSION = '4.0.11';\nexports.VERSION = VERSION;\nvar COMPILER_REVISION = 7;\n\nexports.COMPILER_REVISION = COMPILER_REVISION;\nvar REVISION_CHANGES = {\n  1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it\n  2: '== 1.0.0-rc.3',\n  3: '== 1.0.0-rc.4',\n  4: '== 1.x.x',\n  5: '== 2.0.0-alpha.x',\n  6: '>= 2.0.0-beta.1',\n  7: '>= 4.0.0'\n};\n\nexports.REVISION_CHANGES = REVISION_CHANGES;\nvar objectType = '[object Object]';\n\nfunction HandlebarsEnvironment(helpers, partials, decorators) {\n  this.helpers = helpers || {};\n  this.partials = partials || {};\n  this.decorators = decorators || {};\n\n  _helpers.registerDefaultHelpers(this);\n  _decorators.registerDefaultDecorators(this);\n}\n\nHandlebarsEnvironment.prototype = {\n  constructor: HandlebarsEnvironment,\n\n  logger: _logger2['default'],\n  log: _logger2['default'].log,\n\n  registerHelper: function registerHelper(name, fn) {\n    if (_utils.toString.call(name) === objectType) {\n      if (fn) {\n        throw new _exception2['default']('Arg not supported with multiple helpers');\n      }\n      _utils.extend(this.helpers, name);\n    } else {\n      this.helpers[name] = fn;\n    }\n  },\n  unregisterHelper: function unregisterHelper(name) {\n    delete this.helpers[name];\n  },\n\n  registerPartial: function registerPartial(name, partial) {\n    if (_utils.toString.call(name) === objectType) {\n      _utils.extend(this.partials, name);\n    } else {\n      if (typeof partial === 'undefined') {\n        throw new _exception2['default']('Attempting to register a partial called \"' + name + '\" as undefined');\n      }\n      this.partials[name] = partial;\n    }\n  },\n  unregisterPartial: function unregisterPartial(name) {\n    delete this.partials[name];\n  },\n\n  registerDecorator: function registerDecorator(name, fn) {\n    if (_utils.toString.call(name) === objectType) {\n      if (fn) {\n        throw new _exception2['default']('Arg not supported with multiple decorators');\n      }\n      _utils.extend(this.decorators, name);\n    } else {\n      this.decorators[name] = fn;\n    }\n  },\n  unregisterDecorator: function unregisterDecorator(name) {\n    delete this.decorators[name];\n  }\n};\n\nvar log = _logger2['default'].log;\n\nexports.log = log;\nexports.createFrame = _utils.createFrame;\nexports.logger = _logger2['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2Jhc2UuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7cUJBQTRDLFNBQVM7O3lCQUMvQixhQUFhOzs7O3VCQUNFLFdBQVc7OzBCQUNSLGNBQWM7O3NCQUNuQyxVQUFVOzs7O0FBRXRCLElBQU0sT0FBTyxHQUFHLFFBQVEsQ0FBQzs7QUFDekIsSUFBTSxpQkFBaUIsR0FBRyxDQUFDLENBQUM7OztBQUU1QixJQUFNLGdCQUFnQixHQUFHO0FBQzlCLEdBQUMsRUFBRSxhQUFhO0FBQ2hCLEdBQUMsRUFBRSxlQUFlO0FBQ2xCLEdBQUMsRUFBRSxlQUFlO0FBQ2xCLEdBQUMsRUFBRSxVQUFVO0FBQ2IsR0FBQyxFQUFFLGtCQUFrQjtBQUNyQixHQUFDLEVBQUUsaUJBQWlCO0FBQ3BCLEdBQUMsRUFBRSxVQUFVO0NBQ2QsQ0FBQzs7O0FBRUYsSUFBTSxVQUFVLEdBQUcsaUJBQWlCLENBQUM7O0FBRTlCLFNBQVMscUJBQXFCLENBQUMsT0FBTy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XJQYXJ0aWFsOiBmdW5jdGlvbihuYW1lKSB7XG4gICAgZGVsZXRlIHRoaXMucGFydGlhbHNbbmFtZV07XG4gIH0sXG5cbiAgcmVnaXN0ZXJEZWNvcmF0b3I6IGZ1bmN0aW9uKG5hbWUsIGZuKSB7XG4gICAgaWYgKHRvU3RyaW5nLmNhbGwobmFtZSkgPT09IG9iamVjdFR5cGUpIHtcbiAgICAgIGlmIChmbikgeyB0aHJvdyBuZXcgRXhjZXB0aW9uKCdBcmcgbm90IHN1cHBvcnRlZCB3aXRoIG11bHRpcGxlIGRlY29yYXRvcnMnKTsgfVxuICAgICAgZXh0ZW5kKHRoaXMuZGVjb3JhdG9ycywgbmFtZSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMuZGVjb3JhdG9yc1tuYW1lXSA9IGZuO1xuICAgIH1cbiAgfSxcbiAgdW5yZWdpc3RlckRlY29yYXRvcjogZnVuY3Rpb24obmFtZSkge1xuICAgIGRlbGV0ZSB0aGlzLmRlY29yYXRvcnNbbmFtZV07XG4gIH1cbn07XG5cbmV4cG9ydCBsZXQgbG9nID0gbG9nZ2VyLmxvZztcblxuZXhwb3J0IHtjcmVhdGVGcmFtZSwgbG9nZ2VyfTtcbiJdfQ==\n","module.exports = require('handlebars/runtime');","/* eslint complexity: 0 */\n/**\n * @fileoverview Helpers for handlebar templates.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar Handlebars = require('handlebars-template-loader/runtime');\nvar datetime = require('../../common/datetime');\nvar common = require('../../common/common');\nvar config = require('../../config');\nvar mmax = Math.max;\nvar SIXTY_MINUTES = 60;\nvar helpers = {\n    /**\n     * Stamp supplied object\n     *\n     * Commonly use for rendering object's unique ID to rendered view\n     * @param {object} obj - object to stamp\n     * @returns {number} stamp value\n     */\n    'stamp': function(obj) {\n        return util.stamp(obj);\n    },\n\n    /**\n     * Whether supplied object are equal?\n     * @param {*} a - a\n     * @param {*} b - b\n     * @returns {boolean} result of operation\n     */\n    'equal': function(a, b) {\n        return a === b;\n    },\n\n    /**\n     * OR\n     * @param {*} a - a\n     * @param {*} b - b\n     * @returns {boolean} or\n     */\n    'or': function(a, b) {\n        return a || b;\n    },\n\n    /**\n     * AND\n     * @param {*} a - a\n     * @param {*} b - b\n     * @returns {boolean} or\n     */\n    'and': function(a, b) {\n        return a && b;\n    },\n\n    /**\n     * Compare object or apply logical operation by customizable oper parameter\n     * @param {*} a - a\n     * @param {string} oper - operator ex) '==', '<'\n     * @param {*} b - b\n     * @param {Handlebars} options - handlebar options\n     * @returns {boolean} result of operation\n     */\n    'fi': function(a, oper, b, options) {\n        switch (oper) {\n            case '==':\n                return (a == b) ? options.fn(this) : options.inverse(this);  // eslint-disable-line\n            case '===':\n                return (a === b) ? options.fn(this) : options.inverse(this);\n            case '!==':\n                return (a !== b) ? options.fn(this) : options.inverse(this);\n            case '<':\n                return (a < b) ? options.fn(this) : options.inverse(this);\n            case '||':\n                return (a || b) ? options.fn(this) : options.inverse(this);\n            default:\n                throw new Error('Not match operation');\n        }\n    },\n\n    /**\n     * Get hhmm formatted time str\n     * @param {Date} date - date object\n     * @returns {string} formatted value\n     */\n    'hhmm': function(date) {\n        return datetime.format(date, 'HH:mm');\n    },\n\n    /**\n     * Get `width` stylesheet string\n     * @param {number} width - width percentage\n     * @returns {string} css style part\n     */\n    'common-width': function(width) {\n        return getElSize(width, '%', 'width');\n    },\n\n    /**\n     * Get element left based on narrowWeekend\n     * @param {object} viewModel - view model\n     * @param {Array} grids - dates information\n     * @returns {number} element left\n     */\n    'grid-left': function(viewModel, grids) {\n        return getElLeft(viewModel, grids);\n    },\n\n    /**\n     * Get element width based on narrowWeekend\n     * @param {object} viewModel - view model\n     * @param {Array} grids - dates information\n     * @returns {number} element width\n     */\n    'grid-width': function(viewModel, grids) {\n        return getElWidth(viewModel, grids);\n    },\n\n    /**\n     * Use in time.hbs\n     * @param {ScheduleViewModel} viewModel viewModel\n     * @returns {string} element size css class\n     */\n    'time-scheduleBlock': function(viewModel) {\n        var top = getElSize(viewModel.top, 'px', 'top'),\n            left = getElSize(viewModel.left, '%', 'left'),\n            width = getElSize(viewModel.width, '%', 'width'),\n            height = getElSize(viewModel.height, 'px', 'height');\n\n        return [top, left, width, height].join(';');\n    },\n\n    'month-scheduleBlock': function(viewModel, grids, blockHeight, paddingTop) {\n        var top = getElSize(((viewModel.top - 1) * blockHeight) + paddingTop, 'px', 'top');\n        var left = getElSize(grids[viewModel.left] ? grids[viewModel.left].left : 0, '%', 'left');\n        var width = getElSize(getElWidth(viewModel, grids), '%', 'width');\n        var height = getElSize(viewModel.height, 'px', 'height');\n\n        return [top, left, width, height].join(';');\n    },\n\n    'holiday': function(day) {\n        var cssClass = '';\n\n        if (day === 0) {\n            cssClass = config.classname('holiday-sun');\n        }\n\n        if (day === 6) {\n            cssClass = config.classname('holiday-sat');\n        }\n\n        return cssClass;\n    },\n\n    /**\n     * Add supplied two parameter\n     * @param {*} a - a\n     * @param {*} b - b\n     * @returns {number} result of operation\n     */\n    'add': function(a, b) {\n        return a + b;\n    },\n\n    /**\n     * Multiply supplied two parameter\n     * @param {*} a - a\n     * @param {*} b - b\n     * @returns {number} result of operation\n     */\n    'multiply': function(a, b) {\n        return a * b;\n    },\n\n    /**\n     * Divide supplied two parameter\n     * @param {*} a - a\n     * @param {*} b - b\n     * @returns {number} result of operation\n     */\n    'divide': function(a, b) {\n        return a / b;\n    },\n\n    /**\n     * Subtract supplied two parameter\n     * @param {*} a - a\n     * @param {*} b - b\n     * @returns {number} result of operation\n     */\n    'subtract': function(a, b) {\n        return a - b;\n    },\n\n    'getRight': function(a, b) {\n        return mmax(0, 100 - (a + b));\n    },\n\n    /**\n     * Get css prefix in global configuration\n     * @returns {string} css prefix\n     */\n    'CSS_PREFIX': function() {\n        return config.cssPrefix;\n    },\n\n    'reverse': function(array) {\n        return array.slice().reverse();\n    },\n\n    /**********\n     * Default schedule template\n     **********/\n\n    'milestone-tmpl': function(model) {\n        var icon = config.classname('icon');\n        var iconName = config.classname('ic-milestone');\n\n        return '<span class=\"' + icon + ' ' + iconName + '\"></span><span style=\"background-color: ' + model.bgColor + '\">' + common.stripTags(model.title) + '</span>';\n    },\n\n    'milestoneTitle-tmpl': function() {\n        var className = config.classname('left-content');\n\n        return '<span class=\"' + className + '\">Milestone</span>';\n    },\n\n    'task-tmpl': function(model) {\n        return '#' + model.title;\n    },\n\n    'taskTitle-tmpl': function() {\n        var className = config.classname('left-content');\n\n        return '<span class=\"' + className + '\">Task</span>';\n    },\n\n    'alldayTitle-tmpl': function() {\n        var className = config.classname('left-content');\n\n        return '<span class=\"' + className + '\">All Day</span>';\n    },\n\n    'allday-tmpl': function(model) {\n        return common.stripTags(model.title);\n    },\n\n    'time-tmpl': function(model) {\n        return common.stripTags(model.title);\n    },\n\n    'goingDuration-tmpl': function(model) {\n        var goingDuration = model.goingDuration;\n        var hour = parseInt(goingDuration / SIXTY_MINUTES, 10);\n        var minutes = goingDuration % SIXTY_MINUTES;\n\n        return 'GoingTime ' + datetime.leadingZero(hour, 2) + ':' + datetime.leadingZero(minutes, 2);\n    },\n\n    'comingDuration-tmpl': function(model) {\n        var goingDuration = model.goingDuration;\n        var hour = parseInt(goingDuration / SIXTY_MINUTES, 10);\n        var minutes = goingDuration % SIXTY_MINUTES;\n\n        return 'ComingTime ' + datetime.leadingZero(hour, 2) + ':' + datetime.leadingZero(minutes, 2);\n    },\n\n    'monthMoreTitleDate-tmpl': function(date, dayname) {\n        var classDay = config.classname('month-more-title-day');\n        var classDayLabel = config.classname('month-more-title-day-label');\n        var day = util.pick(date.split('.'), 2);\n\n        return '<span class=\"' + classDay + '\">' + day + '</span> <span class=\"' + classDayLabel + '\">' + dayname + '</span>';\n    },\n\n    'monthMoreClose-tmpl': function() {\n        return '';\n    },\n\n    'monthGridHeader-tmpl': function(model) {\n        var date = parseInt(model.date.split('-')[2], 10);\n        var classNames = [];\n\n        classNames.push(config.classname('weekday-grid-date'));\n        if (model.isToday) {\n            classNames.push(config.classname('weekday-grid-date-decorator'));\n        }\n\n        return '<span class=\"' + classNames.join(' ') + '\">' + date + '</span>';\n    },\n\n    'monthGridHeaderExceed-tmpl': function(hiddenSchedules) {\n        var className = config.classname('weekday-grid-more-schedules');\n\n        return '<span class=\"' + className + '\">' + hiddenSchedules + ' more</span>';\n    },\n\n    'monthGridFooter-tmpl': function() {\n        return '';\n    },\n\n    /* eslint no-unused-vars: 0 */\n    'monthGridFooterExceed-tmpl': function(hiddenSchedules) {\n        return '';\n    },\n\n    'monthDayname-tmpl': function(model) {\n        return model.label;\n    },\n\n    'weekDayname-tmpl': function(model) {\n        var classDate = config.classname('dayname-date');\n        var className = config.classname('dayname-name');\n\n        return '<span class=\"' + classDate + '\">' + model.date + '</span>&nbsp;&nbsp;<span class=\"' + className + '\">' + model.dayName + '</span>';\n    },\n\n    'weekGridFooterExceed-tmpl': function(hiddenSchedules) {\n        return '+' + hiddenSchedules;\n    },\n\n    'dayGridTitle-tmpl': function(viewName) {\n        var tmpl = Handlebars.helpers[viewName + 'Title-tmpl'];\n        if (tmpl) {\n            return tmpl(viewName);\n        }\n\n        return viewName;\n    },\n\n    'schedule-tmpl': function(model) {\n        var tmpl = Handlebars.helpers[model.category + '-tmpl'];\n        if (tmpl) {\n            return tmpl(model);\n        }\n\n        return '';\n    },\n\n    'collapseBtnTitle-tmpl': function() {\n        var iconName = config.classname('icon');\n        var closeIconName = config.classname('ic-arrow-solid-top');\n\n        return '<span class=\"' + iconName + ' ' + closeIconName + '\"></span>';\n    },\n\n    'timezoneDisplayLabel-tmpl': function(timezoneOffset, displayLabel) {\n        var gmt, hour, minutes;\n\n        if (util.isUndefined(displayLabel)) {\n            gmt = timezoneOffset < 0 ? '-' : '+';\n            hour = Math.abs(parseInt(timezoneOffset / SIXTY_MINUTES, 10));\n            minutes = Math.abs(timezoneOffset % SIXTY_MINUTES);\n            displayLabel = gmt + datetime.leadingZero(hour, 2) + ':' + datetime.leadingZero(minutes, 2);\n        }\n\n        return displayLabel;\n    },\n\n    'timegridDisplayPrimayTime-tmpl': function(time) {\n        /* TODO: 삭제 필요 (will be deprecated) */\n        return helpers['timegridDisplayPrimaryTime-tmpl'](time);\n    },\n\n    'timegridDisplayPrimaryTime-tmpl': function(time) {\n        var hour = time.hour;\n        var meridiem = hour >= 12 ? 'pm' : 'am';\n\n        if (hour > 12) {\n            hour = hour - 12;\n        }\n\n        return hour + ' ' + meridiem;\n    },\n\n    'timegridDisplayTime-tmpl': function(time) {\n        return datetime.leadingZero(time.hour, 2) + ':' + datetime.leadingZero(time.minutes, 2);\n    },\n\n    'timegridCurrentTime-tmpl': function(timezone) {\n        var templates = [];\n\n        if (timezone.dateDifference) {\n            templates.push('[' + timezone.dateDifferenceSign + timezone.dateDifference + ']<br>');\n        }\n\n        templates.push(datetime.format(timezone.hourmarker, 'HH:mm'));\n\n        return templates.join('');\n    },\n\n    'popupIsAllDay-tmpl': function() {\n        return 'All day';\n    },\n\n    'popupStateFree-tmpl': function() {\n        return 'Free';\n    },\n\n    'popupStateBusy-tmpl': function() {\n        return 'Busy';\n    },\n\n    'titlePlaceholder-tmpl': function() {\n        return 'Subject';\n    },\n\n    'locationPlaceholder-tmpl': function() {\n        return 'Location';\n    },\n\n    'startDatePlaceholder-tmpl': function() {\n        return 'Start date';\n    },\n\n    'endDatePlaceholder-tmpl': function() {\n        return 'End date';\n    },\n    'popupSave-tmpl': function() {\n        return 'Save';\n    },\n    'popupUpdate-tmpl': function() {\n        return 'Update';\n    },\n    'popupDetailDate-tmpl': function(isAllDay, start, end) {\n        var isSameDate = datetime.isSameDate(start, end);\n        var endFormat = (isSameDate ? '' : 'YYYY.MM.DD ') + 'hh:mm tt';\n\n        if (isAllDay) {\n            return datetime.format(start, 'YYYY.MM.DD') + (isSameDate ? '' : ' - ' + datetime.format(end, 'YYYY.MM.DD'));\n        }\n\n        return (datetime.format(start, 'YYYY.MM.DD hh:mm tt') + ' - ' + datetime.format(end, endFormat));\n    },\n    'popupDetailLocation-tmpl': function(schedule) {\n        return schedule.location;\n    },\n    'popupDetailUser-tmpl': function(schedule) {\n        return (schedule.attendees || []).join(', ');\n    },\n    'popupDetailState-tmpl': function(schedule) {\n        return schedule.state || 'Busy';\n    },\n    'popupDetailRepeat-tmpl': function(schedule) {\n        return schedule.recurrenceRule;\n    },\n    'popupDetailBody-tmpl': function(schedule) {\n        return schedule.body;\n    },\n    'popupEdit-tmpl': function() {\n        return 'Edit';\n    },\n    'popupDelete-tmpl': function() {\n        return 'Delete';\n    }\n};\n\n/**\n * Get CSS syntax for element size\n * @param {number} value - size value to apply element\n * @param {string} postfix - postfix string ex) px, em, %\n * @param {string} prefix - property name ex) width, height\n * @returns {string} CSS syntax\n */\nfunction getElSize(value, postfix, prefix) {\n    prefix = prefix || '';\n    if (util.isNumber(value)) {\n        return prefix + ':' + value + postfix;\n    }\n\n    return prefix + ':auto';\n}\n\n/**\n * Get element left based on narrowWeekend\n * @param {object} viewModel - view model\n * @param {Array} grids - dates information\n * @returns {number} element left\n */\nfunction getElLeft(viewModel, grids) {\n    return grids[viewModel.left] ? grids[viewModel.left].left : 0;\n}\n\n/**\n * Get element width based on narrowWeekend\n * @param {object} viewModel - view model\n * @param {Array} grids - dates information\n * @returns {number} element width\n */\nfunction getElWidth(viewModel, grids) {\n    var width = 0;\n    var i = 0;\n    var length = grids.length;\n    var left;\n    for (; i < viewModel.width; i += 1) {\n        left = (viewModel.left + i) % length;\n        left += parseInt((viewModel.left + i) / length, 10);\n        if (left < length) {\n            width += grids[left] ? grids[left].width : 0;\n        }\n    }\n\n    return width;\n}\n\nHandlebars.registerHelper(helpers);\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = (helpers.fi || (depth0 && depth0.fi) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),\"||\",(depth0 != null ? depth0.hasMultiDates : depth0),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"2\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=container.lambda, alias5=\"function\";\n\n  return \"<div data-id=\\\"\"\n    + alias3((helpers.stamp || (depth0 && depth0.stamp) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"stamp\",\"hash\":{},\"data\":data}))\n    + \"\\\"\\n                data-schedule-id=\\\"\"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.id : stack1), depth0))\n    + \"\\\" data-calendar-id=\\\"\"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.calendarId : stack1), depth0))\n    + \"\\\"\\n                class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-more-schedule \"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-more-allday \"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title\\\"\\n                style=\\\"height: \"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; line-height: \"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; margin-top: \"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.scheduleGutter), depth0))\n    + \"px; border-radius: \"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.borderRadius), depth0))\n    + \";\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.program(5, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"                    \\n                    \"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.customStyle : stack1), depth0))\n    + \"\\\">\\n                    \"\n    + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n            </div>\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                        color: #ffffff; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; border-left:3px solid \"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                        color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n    + \";  border-left:3px solid \"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \"\\n\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = (helpers.fi || (depth0 && depth0.fi) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.category : stack1),\"===\",\"time\",{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.program(17, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"8\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=container.lambda, alias5=\"function\";\n\n  return \"                <div data-id=\\\"\"\n    + alias3((helpers.stamp || (depth0 && depth0.stamp) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"stamp\",\"hash\":{},\"data\":data}))\n    + \"\\\"\\n                    data-schedule-id=\\\"\"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.id : stack1), depth0))\n    + \"\\\" data-calendar-id=\\\"\"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.calendarId : stack1), depth0))\n    + \"\\\"\\n                    class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-more-schedule \"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule \"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-time\\\"\\n                    style=\\\"height: \"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; line-height: \"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; margin-top: \"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.scheduleGutter), depth0))\n    + \"px;\"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.customStyle : stack1), depth0))\n    + \"\\\">\\n                    <span class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-bullet\\\"\\n                        style=\\\"top: \"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.scheduleBulletTop), depth0))\n    + \"px;\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.program(11, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"></span>\\n                    <span class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title\\\"\\n                        style=\\\"\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(13, data, 0),\"inverse\":container.program(15, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"\\n                        data-title=\\\"\"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.title : stack1), depth0))\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n                </div>\\n\";\n},\"9\":function(container,depth0,helpers,partials,data) {\n    return \"                                background: #ffffff\\n\";\n},\"11\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                                background:\"\n    + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \"\\n                            \";\n},\"13\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"\\n                                color: #ffffff;\\n                                background-color: \"\n    + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"\\n\";\n},\"15\":function(container,depth0,helpers,partials,data) {\n    return \"                                color:#333;\\n                            \";\n},\"17\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=container.lambda, alias5=\"function\";\n\n  return \"<div data-id=\\\"\"\n    + alias3((helpers.stamp || (depth0 && depth0.stamp) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"stamp\",\"hash\":{},\"data\":data}))\n    + \"\\\"\\n                    data-schedule-id=\\\"\"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.id : stack1), depth0))\n    + \"\\\" data-calendar-id=\\\"\"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.calendarId : stack1), depth0))\n    + \"\\\"\\n                    class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-more-schedule \"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(18, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"\\n                    style=\\\"height:\"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; line-height:\"\n    + alias3(alias4(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; border-radius: \"\n    + alias3(alias4(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderRadius), depth0))\n    + \";\\n\"\n    + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.exceedLeft : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(20, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.exceedRight : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(22, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(24, data, 0),\"inverse\":container.program(26, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"                        \"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.customStyle : stack1), depth0))\n    + \"\\\">\\n                    <span class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias5 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title\\\"\\n                                    data-title=\\\"\"\n    + alias3(alias4(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.title : stack1), depth0))\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"schedule-tmpl\"] || (depth0 && depth0[\"schedule-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"schedule-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n                </div>\\n\";\n},\"18\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-focused \";\n},\"20\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                        margin-left: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.marginLeft), depth0))\n    + \";\\n\";\n},\"22\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                        margin-right: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.marginRight), depth0))\n    + \";\\n\";\n},\"24\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                        color: #ffffff; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \";\\n\";\n},\"26\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                        color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-more\\\" style=\\\"padding-bottom: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.paddingBottom : stack1), depth0))\n    + \"; border: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.border : stack1), depth0))\n    + \"; box-shadow: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.boxShadow : stack1), depth0))\n    + \"; background-color: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.backgroundColor : stack1), depth0))\n    + \";\\\">\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-more-title\\\"\\n        style=\\\"height: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.titleHeight : stack1), depth0))\n    + \"; margin-bottom: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.titleMarginBottom : stack1), depth0))\n    + \"; background-color: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.titleBackgroundColor : stack1), depth0))\n    + \"; border-bottom: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.titleBorderBottom : stack1), depth0))\n    + \"; padding: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.titlePadding : stack1), depth0))\n    + \";\\\">\\n        <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-more-title-date\\\">\"\n    + ((stack1 = (helpers[\"monthMoreTitleDate-tmpl\"] || (depth0 && depth0[\"monthMoreTitleDate-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.date : depth0),(depth0 != null ? depth0.dayname : depth0),{\"name\":\"monthMoreTitleDate-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n        <button type=\\\"button\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-more-close\\\">\"\n    + ((stack1 = ((helper = (helper = helpers[\"monthMoreClose-tmpl\"] || (depth0 != null ? depth0[\"monthMoreClose-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"monthMoreClose-tmpl\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n    + \"</button>\\n    </div>\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-more-list\\\" style=\\\"padding: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.listPadding : stack1), depth0))\n    + \"; height: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.listHeight : stack1), depth0))\n    + \";\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.schedules : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"    </div>\\n</div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview Floating layer for displaying schedule in specific date\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar OUT_PADDING = 5;\nvar VIEW_MIN_WIDTH = 280;\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n    domevent = require('../../common/domevent'),\n    domutil = require('../../common/domutil'),\n    View = require('../../view/view'),\n    FloatingLayer = require('../../common/floatingLayer'),\n    common = require('../../common/common'),\n    tmpl = require('../template/month/more.hbs');\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options\n * @param {object} [options.moreLayerSize] - more layer size\n * @param {object} [options.moreLayerSize.width=null] - css width value(px, auto).\n *                                                           The default value 'null' is to fit a grid cell.\n * @param {object} [options.moreLayerSize.height=null] - css height value(px, auto).\n *                                                            The default value 'null' is to fit a grid cell.\n * @param {HTMLElement} container = container element\n * @param {Theme} theme - theme instance\n */\nfunction More(options, container, theme) {\n    View.call(this, container);\n\n    /**\n     * @type {FloatingLayer}\n     */\n    this.layer = new FloatingLayer(null, container);\n\n    /**\n     * cached view model\n     * @type {object}\n     */\n    this._viewModel = null;\n\n    /**\n     * @type {object}\n     */\n    this.options = util.extend({\n        moreLayerSize: {\n            width: null,\n            height: null\n        },\n        scheduleHeight: parseInt(theme.month.schedule.height, 10) || 18,\n        scheduleGutter: parseInt(theme.month.schedule.marginTop, 10) || 2,\n        scheduleBulletTop: (parseInt(theme.month.schedule.height, 10) || 18) / 3,\n        borderRadius: theme.month.schedule.borderRadius\n    }, options);\n\n    /**\n     * @type {Theme}\n     */\n    this.theme = theme;\n\n    domevent.on(container, 'click', this._onClick, this);\n}\n\nutil.inherit(More, View);\n\n/**\n * Click event handler for close button\n * @param {MouseEvent} clickEvent - mouse event object\n */\nMore.prototype._onClick = function(clickEvent) {\n    var target = (clickEvent.target || clickEvent.srcElement);\n    var className = config.classname('month-more-close');\n\n    if (!domutil.hasClass(target, className) && !domutil.closest(target, '.' + className)) {\n        return;\n    }\n\n    this.hide();\n};\n\n/**\n * Mousedown event handler for hiding more layer when user mousedown outside of\n * layer\n * @param {MouseEvent} mouseDownEvent - mouse event object\n */\nMore.prototype._onMouseDown = function(mouseDownEvent) {\n    var target = (mouseDownEvent.target || mouseDownEvent.srcElement),\n        moreLayer = domutil.closest(target, config.classname('.month-more'));\n\n    if (moreLayer) {\n        return;\n    }\n\n    this.hide();\n};\n\n/**\n * Get new position for more layer by +n element itself\n * @param {HTMLElement} target - parent grid-line element of +n element\n * @param {HTMLElement} weekItem - weekItem container element\n * @returns {number[]} new position of more layer\n */\nMore.prototype._getRenderPosition = function(target, weekItem) {\n    var pos = domevent.getMousePosition({\n        clientX: domutil.getPosition(target)[0],\n        clientY: domutil.getPosition(weekItem)[1]\n    }, this.container);\n    var containerSize = domutil.getSize(this.container);\n    var left = pos[0] - OUT_PADDING;\n    var top = pos[1] - OUT_PADDING;\n\n    left = common.ratio(containerSize[0], 100, left);\n    top = common.ratio(containerSize[1], 100, top);\n\n    return [left, top];\n};\n\n/**\n * @override\n */\nMore.prototype.destroy = function() {\n    this.layer.destroy();\n    this.layer = null;\n    domevent.off(this.container, 'click', this._onClick, this);\n    domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n    View.prototype.destroy.call(this);\n};\n\n/**\n * @override\n * @param {object} viewModel - view model from factory/monthView\n */\nMore.prototype.render = function(viewModel) {\n    var target = domutil.closest(viewModel.target, config.classname('.weekday-grid-line'));\n    var weekItem = domutil.closest(target, config.classname('.month-week-item'));\n    var layer = this.layer;\n    var self = this;\n    var pos = this._getRenderPosition(target, weekItem);\n    var minHeight = domutil.getSize(weekItem)[1] + (OUT_PADDING * 2);\n    var width = target.offsetWidth + (OUT_PADDING * 2);\n    var opt = this.options;\n    var optMoreLayerSize = opt.moreLayerSize;\n    var styles = this._getStyles(this.theme);\n    var maxVisibleSchedulesInLayer = 10;\n    var height = '';\n    var containerSize = domutil.getSize(this.container);\n    var calWidth = 0;\n    var calHeight = 0;\n    var isOverWidth = false;\n    var isOverHeight = false;\n    var leftPos = pos[0];\n    var topPos = pos[1];\n\n    this._viewModel = util.extend(viewModel, {\n        scheduleGutter: opt.scheduleGutter,\n        scheduleHeight: opt.scheduleHeight,\n        scheduleBulletTop: opt.scheduleBulletTop,\n        borderRadius: opt.borderRadius,\n        styles: styles\n    });\n\n    width = Math.max(width, VIEW_MIN_WIDTH);\n    height = parseInt(styles.titleHeight, 10);\n    height += parseInt(styles.titleMarginBottom, 10);\n    if (viewModel.schedules.length <= maxVisibleSchedulesInLayer) {\n        height += (opt.scheduleGutter + opt.scheduleHeight) * viewModel.schedules.length;\n    } else {\n        height += (opt.scheduleGutter + opt.scheduleHeight) * maxVisibleSchedulesInLayer;\n    }\n    height += parseInt(styles.paddingBottom, 10);\n    height += OUT_PADDING; // for border\n\n    if (optMoreLayerSize.width) {\n        width = optMoreLayerSize.width;\n    }\n\n    if (optMoreLayerSize.height) {\n        height = optMoreLayerSize.height;\n    }\n\n    if (isNaN(height) || height < minHeight) {\n        height = minHeight;\n    }\n\n    layer.setContent(tmpl(viewModel));\n\n    calWidth = leftPos * containerSize[0] / 100;\n    calHeight = topPos * containerSize[1] / 100;\n    isOverWidth = calWidth + width >= containerSize[0];\n    isOverHeight = calHeight + height >= containerSize[1];\n    leftPos = leftPos + '%';\n    topPos = topPos + '%';\n\n    if (isOverWidth && isOverHeight) {\n        layer.setLTRB({\n            right: 0,\n            bottom: 0\n        });\n    } else if (!isOverWidth && isOverHeight) {\n        layer.setLTRB({\n            left: leftPos,\n            bottom: 0\n        });\n    } else if (isOverWidth && !isOverHeight) {\n        layer.setLTRB({\n            right: 0,\n            top: topPos\n        });\n    } else {\n        layer.setPosition(leftPos, topPos);\n    }\n\n    layer.setSize(width, height);\n\n    layer.show();\n\n    util.debounce(function() {\n        domevent.on(document.body, 'mousedown', self._onMouseDown, self);\n    })();\n};\n\n/**\n * Hide layer\n */\nMore.prototype.hide = function() {\n    this.layer.hide();\n    domevent.off(document.body, 'mousedown', this._onMouseDown, this);\n};\n\n/**\n * refresh layer\n */\nMore.prototype.refresh = function() {\n    if (this._viewModel) {\n        this.layer.setContent(tmpl(this._viewModel));\n    }\n};\n\n/**\n * Return more layer root element\n * @returns {HTMLElement} root element\n */\nMore.prototype.getMoreViewElement = function() {\n    return domutil.find(config.classname('.month-more'), this.layer.container);\n};\n\n/**\n * Get the styles from theme\n * @param {Theme} theme - theme instance\n * @returns {object} styles - styles object\n */\nMore.prototype._getStyles = function(theme) {\n    var styles = {};\n    var listHeight = '';\n\n    if (theme) {\n        styles.border = theme.month.moreView.border || theme.common.border;\n        styles.boxShadow = theme.month.moreView.boxShadow;\n        styles.backgroundColor = theme.month.moreView.backgroundColor || theme.common.backgroundColor;\n        styles.paddingBottom = theme.month.moreView.paddingBottom;\n        styles.titleHeight = theme.month.moreViewTitle.height;\n        styles.titleMarginBottom = theme.month.moreViewTitle.marginBottom;\n        styles.titleBackgroundColor = theme.month.moreViewTitle.backgroundColor;\n        styles.titleBorderBottom = theme.month.moreViewTitle.borderBottom;\n        styles.titlePadding = theme.month.moreViewTitle.padding;\n        styles.listPadding = theme.month.moreViewList.padding;\n        listHeight = 'calc(100%';\n\n        if (parseInt(styles.titleHeight, 10)) {\n            listHeight += ' - ' + styles.titleHeight;\n        }\n        if (parseInt(styles.titleMarginBottom, 10)) {\n            listHeight += ' - ' + styles.titleMarginBottom;\n        }\n        listHeight += ')';\n\n        styles.listHeight = listHeight;\n    }\n\n    return styles;\n};\n\nmodule.exports = More;\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"            border-left:3px solid \"\n    + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\n            \";\n},\"3\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"    <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-bullet \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-bullet-focused\\\" style=\\\"top: \"\n    + alias4(container.lambda(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.scheduleBulletTop : stack1), depth0))\n    + \"px;\\\"></span>\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title-focused\\\"\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"            \"\n    + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n\";\n},\"9\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"            \"\n    + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-guide \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-guide-focused\\\"\\n     style=\\\"top: -50%;\\n            left: -50%;\\n            width: 100%;\\n            color: #ffffff;\\n            background-color:\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.dragBgColor : stack1), depth0))\n    + \";\\n            height:\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.scheduleHeight : stack1), depth0))\n    + \"px;\\n            line-height:\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.scheduleHeight : stack1), depth0))\n    + \"px;\\n            border-radius: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.borderRadius : stack1), depth0))\n    + \";\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\">\\n\"\n    + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-move-guide \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title \"\n    + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \">\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.program(9, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"    </div>\\n</div>\\n<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-guide-cover\\\" style=\\\"height:\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.scheduleHeight : stack1), depth0))\n    + \"px; border-radius: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.borderRadius : stack1), depth0))\n    + \";\\\"></div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview Module for modification of guide element for move in month view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config'),\n    domutil = require('../../common/domutil'),\n    domevent = require('../../common/domevent'),\n    FloatingLayer = require('../../common/floatingLayer'),\n    tmpl = require('./moveGuide.hbs'),\n    Schedule = require('../../model/schedule');\n\n/**\n * @constructor\n * @param {MonthMove} monthMove - month/move module instance\n */\nfunction MonthMoveGuide(monthMove) {\n    /**\n     * @type {MonthMove}\n     */\n    this.monthMove = monthMove;\n\n    /**\n     * @type {HTMLElement[]}\n     */\n    this.elements = null;\n\n    /**\n     * @type {FloatingLayer}\n     */\n    this.layer = null;\n\n    monthMove.on({\n        monthMoveDragstart: this._onDragStart,\n        monthMoveDrag: this._onDrag,\n        monthMoveDragend: this._onDragEnd\n    }, this);\n}\n\n/**\n * Destructor\n */\nMonthMoveGuide.prototype.destroy = function() {\n    this.monthMove.off(this);\n    this._clearGridBgColor();\n\n    if (this.layer) {\n        this.layer.destroy();\n    }\n\n    if (this.element) {\n        domutil.remove(this.element);\n    }\n\n    this.monthMove = this.elements = this.layer = null;\n};\n\n/**\n * Hide element blocks for resize effect\n * @param {number} modelID - Schedule model instance ID\n */\nMonthMoveGuide.prototype._hideOriginScheduleBlocks = function(modelID) {\n    var className = config.classname('weekday-schedule-block-dragging-dim');\n\n    this.elements = domutil.find(\n        config.classname('.weekday-schedule-block-' + modelID),\n        this.monthMove.monthView.container,\n        true\n    );\n\n    util.forEach(this.elements, function(el) {\n        domutil.addClass(el, className);\n    });\n};\n\n/**\n * Show element blocks\n */\nMonthMoveGuide.prototype._showOriginScheduleBlocks = function() {\n    var className = config.classname('weekday-schedule-block-dragging-dim');\n\n    util.forEach(this.elements, function(el) {\n        domutil.removeClass(el, className);\n    });\n};\n\n/**\n * Clear background color for filled grid element.\n */\nMonthMoveGuide.prototype._clearGridBgColor = function() {\n    var selector = config.classname('.weekday-filled'),\n        className = config.classname('weekday-filled'),\n        beforeGridElement = domutil.find(selector,\n            this.monthMove.monthView.container);\n\n    if (beforeGridElement) {\n        domutil.removeClass(beforeGridElement, className);\n    }\n};\n\n/**\n * Fill background color of date grids relatied with model updates.\n * @param {object} dragEvent - drag event data from MonthMoveGuide#_onDrag\n */\nMonthMoveGuide.prototype._updateGridBgColor = function(dragEvent) {\n    var gridElements = domutil.find(config.classname('.weekday-grid-line'), this.monthMove.monthView.container, true),\n        className = config.classname('weekday-filled'),\n        targetIndex = (dragEvent.x + (dragEvent.sizeX * dragEvent.y));\n\n    this._clearGridBgColor();\n\n    if (!gridElements || !gridElements[targetIndex]) {\n        return;\n    }\n\n    domutil.addClass(gridElements[targetIndex], className);\n};\n\n/**\n * Handler for MonthMove#dragStart\n * @param {object} dragStartEvent - dragStart schedule data object\n */\nMonthMoveGuide.prototype._onDragStart = function(dragStartEvent) {\n    var monthView = this.monthMove.monthView,\n        firstWeekdayView = monthView.children.single(),\n        weekdayOptions = firstWeekdayView.options,\n        widthPercent = 100 / firstWeekdayView.getRenderDateRange().length,\n        height = weekdayOptions.scheduleGutter + weekdayOptions.scheduleHeight,\n        container = monthView.container,\n        mousePos = domevent.getMousePosition(dragStartEvent.originEvent, container),\n        model = dragStartEvent.model,\n        layer = new FloatingLayer(null, container);\n\n    this._hideOriginScheduleBlocks(model.cid());\n\n    this.layer = layer;\n    layer.setSize(widthPercent + '%', height);\n    layer.setPosition(mousePos[0], mousePos[1]);\n    layer.setContent(tmpl({\n        model: util.extend(\n            Schedule.create(model),\n            model\n        ),\n        styles: {\n            scheduleHeight: weekdayOptions.scheduleHeight,\n            scheduleBulletTop: weekdayOptions.scheduleHeight / 3,\n            borderRadius: monthView.controller.theme.month.schedule.borderRadius\n        }\n    }));\n    layer.show();\n\n    if (!util.browser.msie) {\n        domutil.addClass(global.document.body, config.classname('dragging'));\n    }\n};\n\n/**\n * Handler for MonthMove#drag\n * @param {object} dragEvent - drag event data object\n */\nMonthMoveGuide.prototype._onDrag = function(dragEvent) {\n    var container = this.monthMove.monthView.container,\n        mousePos = domevent.getMousePosition(\n            dragEvent.originEvent,\n            container\n        );\n\n    this._updateGridBgColor(dragEvent);\n\n    if (!this.layer) {\n        return;\n    }\n\n    this.layer.setPosition(mousePos[0], mousePos[1]);\n};\n\n/**\n * Handler for MonthMove#dragEnd\n */\nMonthMoveGuide.prototype._onDragEnd = function() {\n    this._showOriginScheduleBlocks();\n\n    if (!util.browser.msie) {\n        domutil.removeClass(global.document.body, config.classname('dragging'));\n    }\n\n    this._clearGridBgColor();\n    this.layer.destroy();\n    this.layer = null;\n};\n\nmodule.exports = MonthMoveGuide;\n","/**\n * @fileoverview Move handler for month view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config'),\n    domutil = require('../../common/domutil'),\n    datetime = require('../../common/datetime'),\n    getMousePosData = require('./core'),\n    MonthMoveGuide = require('./moveGuide'),\n    TZDate = require('../../common/timezone').Date;\n\n/**\n * @constructor\n * @mixes CustomEvents\n * @param {Drag} dragHandler - Drag handler instance.\n * @param {Month} monthView - Month view instance.\n * @param {Base} baseController - Base controller instance.\n */\nfunction MonthMove(dragHandler, monthView, baseController) {\n    /**\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * @type {Month}\n     */\n    this.monthView = monthView;\n\n    /**\n     * @type {Base}\n     */\n    this.baseController = baseController;\n\n    /**\n     * @type {function}\n     */\n    this.getScheduleData = null;\n\n    /**\n     * @type {object}\n     */\n    this._cache = null;\n\n    /**\n     * @type {MonthMoveGuide}\n     */\n    this.guide = new MonthMoveGuide(this);\n\n    dragHandler.on('dragStart', this._onDragStart, this);\n}\n\n/**\n * Destructor\n */\nMonthMove.prototype.destroy = function() {\n    this.dragHandler.off(this);\n\n    this.dragHandler = this.monthView = this.baseController = null;\n};\n\n/**\n * Update target schedule\n * @fires {MonthMove#beforeUpdateSchedule}\n * @param {object} scheduleCache - cache object that result of single dragging\n *  session.\n */\nMonthMove.prototype.updateSchedule = function(scheduleCache) {\n    var schedule = scheduleCache.model;\n    var duration = schedule.duration();\n    var startDateRaw = datetime.raw(schedule.start);\n    var dragEndTime = new TZDate(scheduleCache.end);\n    var newStartDate = new TZDate(dragEndTime);\n\n    newStartDate.setHours(startDateRaw.h, startDateRaw.m, startDateRaw.s, startDateRaw.ms);\n\n    /**\n     * @event MonthMove#beforeUpdateSchedule\n     * @type {object}\n     * @property {Schedule} schedule - schedule instance to update\n     * @property {Date} start - start time to update\n     * @property {Date} end - end time to update\n     */\n    this.fire('beforeUpdateSchedule', {\n        schedule: schedule,\n        start: newStartDate,\n        end: new TZDate(newStartDate).addMilliseconds(duration)\n    });\n};\n\n/**\n * Get schedule block to clone for month guide effect\n * @param {HTMLElement} target - target element that related with drag schedule\n * @returns {HTMLElement} element to create guide effect\n */\nMonthMove.prototype.getMonthScheduleBlock = function(target) {\n    var blockSelector = config.classname('.weekday-schedule-block');\n\n    return domutil.closest(target, blockSelector);\n};\n\n/**\n * Get schedule block from more layer\n * @param {HTMLElement} target - element to check\n * @returns {HTMLElement} schedule element\n */\nMonthMove.prototype.getMoreLayerScheduleBlock = function(target) {\n    var className = config.classname('.month-more-schedule');\n\n    return domutil.closest(target, className);\n};\n\n/**\n * Check handler has permission to handle fired schedule\n * @fires {MonthMove#monthMoveStart_from_morelayer}\n * @param {HTMLElement} target - target element of fired schedule\n * @returns {(string|null)} model instance ID related with schedule. if handle\n *  has not permission to handle the schedule then return null.\n */\nMonthMove.prototype.hasPermissionToHandle = function(target) {\n    var modelID = null;\n    var blockElement;\n\n    if (domutil.hasClass(target, config.classname('weekday-resize-handle'))) {\n        return null;\n    }\n\n    blockElement = this.getMonthScheduleBlock(target);\n\n    if (blockElement) {\n        modelID = domutil.getData(blockElement, 'id');\n    } else {\n        blockElement = this.getMoreLayerScheduleBlock(target);\n\n        if (blockElement) {\n            modelID = domutil.getData(blockElement, 'id');\n            /**\n             * Fire for notificate that the drag schedule start at more layer view.\n             * @event {MonthMove#monthMoveStart_from_morelayer}\n             */\n            this.fire('monthMoveStart_from_morelayer');\n        }\n    }\n\n    return modelID;\n};\n\n/**\n * Event handler for Drag#dragStart\n * @fires {MonthMove#monthMoveDragstart}\n * @param {object} dragStartEvent - drag start schedule data\n */\nMonthMove.prototype._onDragStart = function(dragStartEvent) {\n    var target = dragStartEvent.target,\n        modelID = this.hasPermissionToHandle(target),\n        model = this.baseController.schedules.items[modelID],\n        scheduleData;\n\n    if (!modelID || !model || model.isReadOnly || model.isPending) {\n        return;\n    }\n\n    this.dragHandler.on({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    this.getScheduleData = getMousePosData(this.monthView);\n\n    scheduleData = this.getScheduleData(dragStartEvent.originEvent);\n    scheduleData.originEvent = dragStartEvent.originEvent;\n    scheduleData.target = this.getMonthScheduleBlock(target);\n    scheduleData.model = model;\n\n    this._cache = {\n        model: model,\n        target: target,\n        start: new TZDate(Number(scheduleData.date))\n    };\n\n    /**\n     * @event {MonthMove#monthMoveDragstart}\n     * @type {object}\n     * @property {number} x - x index\n     * @property {number} y - y index\n     * @property {Date} date - drag date\n     * @property {HTMLElement} target - schedule block element\n     * @property {Schedule} model - model instance\n     */\n    this.fire('monthMoveDragstart', scheduleData);\n};\n\n/**\n * @fires {MonthMove#monthMoveDrag}\n * @param {object} dragEvent - drag event data\n */\nMonthMove.prototype._onDrag = function(dragEvent) {\n    var scheduleData;\n\n    if (!this.getScheduleData) {\n        return;\n    }\n\n    scheduleData = util.extend({\n        originEvent: dragEvent.originEvent\n    }, this.getScheduleData(dragEvent.originEvent));\n\n    if (!scheduleData) {\n        return;\n    }\n\n    /**\n     * @event {MonthMove#monthMoveDrag}\n     * @type {object}\n     * @property {number} x - x index\n     * @property {number} y - y index\n     * @property {Date} date - drag date\n     */\n    this.fire('monthMoveDrag', scheduleData);\n};\n\n/**\n * Event handler for Drag#dragEnd\n * @fires {MonthMove#monthMoveDragend}\n * @param {object} dragEndEvent - dragend event data\n */\nMonthMove.prototype._onDragEnd = function(dragEndEvent) {\n    var cache = this._cache;\n    var scheduleData;\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    if (!this.getScheduleData) {\n        return;\n    }\n\n    scheduleData = this.getScheduleData(dragEndEvent.originEvent);\n\n    if (scheduleData) {\n        cache.end = new TZDate(scheduleData.date);\n        this.updateSchedule(cache);\n    }\n\n    /**\n     * @event {MonthResize#monthMoveDragend}\n     * @type {object}\n     * @property {number} x - x index\n     * @property {number} y - y index\n     * @property {Date} date - drag date\n     */\n    this.fire('monthMoveDragend', scheduleData);\n\n    this.getScheduleData = this._cache = null;\n};\n\nutil.CustomEvents.mixin(MonthMove);\n\nmodule.exports = MonthMove;\n","/**\n * @fileoverview Module for modification of guide element in schedule resize\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config'),\n    domutil = require('../../common/domutil'),\n    MonthGuide = require('./guide');\n\n/**\n * @constructor\n * @param {MonthResize} monthResize - month/resize module instance\n */\nfunction MonthResizeGuide(monthResize) {\n    /**\n     * @type {MonthResize}\n     */\n    this.monthResize = monthResize;\n\n    /**\n     * @type {HTMLElement[]}\n     */\n    this.elements = null;\n\n    /**\n     * @type {MonthGuide}\n     */\n    this.guide = null;\n\n    monthResize.on({\n        monthResizeDragstart: this._onDragStart,\n        monthResizeDrag: this._onDrag,\n        monthResizeDragend: this._onDragEnd\n    }, this);\n}\n\n/**\n * Destructor\n */\nMonthResizeGuide.prototype.destroy = function() {\n    this.monthResize.off(this);\n    this.guide.destroy();\n\n    this.guide = this.monthResize = null;\n};\n\n/**\n * Hide element blocks for resize effect\n * @param {number} modelID - Schedule model instance ID\n */\nMonthResizeGuide.prototype._hideScheduleBlocks = function(modelID) {\n    this.elements = domutil.find(\n        config.classname('.weekday-schedule-block-' + modelID),\n        this.monthResize.monthView.container,\n        true\n    );\n\n    util.forEach(this.elements, function(el) {\n        el.style.display = 'none';\n    });\n};\n\n/**\n * Show element blocks\n */\nMonthResizeGuide.prototype._showScheduleBlocks = function() {\n    util.forEach(this.elements, function(el) {\n        el.style.display = 'block';\n    });\n};\n\n/**\n * Drag start event handler\n * @param {object} dragStartEvent - schedule data from MonthResize\n */\nMonthResizeGuide.prototype._onDragStart = function(dragStartEvent) {\n    this.guide = new MonthGuide({\n        isResizeMode: true\n    }, this.monthResize.monthView);\n\n    this.guide.start(dragStartEvent);\n\n    this._hideScheduleBlocks(dragStartEvent.model.cid());\n\n    if (!util.browser.msie) {\n        domutil.addClass(global.document.body, config.classname('resizing-x'));\n    }\n};\n\n/**\n * Drag event handler\n * @param {object} dragEvent - event data from MonthCreation\n */\nMonthResizeGuide.prototype._onDrag = function(dragEvent) {\n    this.guide.update(dragEvent.x, dragEvent.y);\n};\n\n/**\n * Drag end event handler\n */\nMonthResizeGuide.prototype._onDragEnd = function() {\n    this._showScheduleBlocks();\n\n    this.guide.destroy();\n    this.elements = this.guide = null;\n\n    if (!util.browser.msie) {\n        domutil.removeClass(global.document.body, config.classname('resizing-x'));\n    }\n};\n\nmodule.exports = MonthResizeGuide;\n","/**\n * @fileoverview Module for resize schedule in month view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config'),\n    datetime = require('../../common/datetime'),\n    domutil = require('../../common/domutil'),\n    getMousePosData = require('./core'),\n    MonthResizeGuide = require('./resizeGuide'),\n    TZDate = require('../../common/timezone').Date;\n\n/**\n * @constructor\n * @param {Drag} dragHandler - Drag handler instance.\n * @param {Month} monthView - Month view instance.\n * @param {Base} baseController - Base controller instance.\n */\nfunction MonthResize(dragHandler, monthView, baseController) {\n    /**\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * @type {Month}\n     */\n    this.monthView = monthView;\n\n    /**\n     * @type {Base}\n     */\n    this.baseController = baseController;\n\n    /**\n     * @type {function}\n     */\n    this.getScheduleData = null;\n\n    /**\n     * @type {object}\n     */\n    this._cache = null;\n\n    /**\n     * @type {MonthResizeGuide}\n     */\n    this.guide = new MonthResizeGuide(this);\n\n    dragHandler.on('dragStart', this._onDragStart, this);\n}\n\n/**\n * Destructor\n */\nMonthResize.prototype.destroy = function() {\n    this.dragHandler.off(this);\n\n    this.dragHandler = this.monthView = this.baseController = null;\n};\n\n/**\n * Fire event for update model\n * @fires {MonthResize#beforeUpdateSchedule}\n * @param {object} scheduleCache - cache object that result of single dragging\n *  session.\n */\nMonthResize.prototype._updateSchedule = function(scheduleCache) {\n    // You can not change the start date of the event. Only the end time can be changed.\n    var newEnd = datetime.end(new TZDate(scheduleCache.end)),\n        schedule = scheduleCache.schedule;\n\n    /**\n     * @event MonthResize#beforeUpdateSchedule\n     * @type {object}\n     * @property {Schedule} schedule - schedule instance to update\n     * @property {Date} start - start time to update\n     * @property {Date} end - end time to update\n     */\n    this.fire('beforeUpdateSchedule', {\n        schedule: schedule,\n        start: new TZDate(schedule.getStarts()),\n        end: newEnd\n    });\n};\n\n/**\n * Event handler for Drag#dragStart\n * @fires {MonthResize#monthResizeDragstart}\n * @param {object} dragStartEvent - drag start event data\n */\nMonthResize.prototype._onDragStart = function(dragStartEvent) {\n    var target = dragStartEvent.target,\n        modelID, schedule,\n        scheduleData;\n\n    if (!domutil.hasClass(target, config.classname('weekday-resize-handle'))) {\n        return;\n    }\n\n    target = domutil.closest(target, config.classname('.weekday-schedule-block'));\n\n    if (!target) {\n        return;\n    }\n\n    modelID = domutil.getData(target, 'id');\n    schedule = this.baseController.schedules.items[modelID];\n\n    this.dragHandler.on({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    this.getScheduleData = getMousePosData(this.monthView);\n    scheduleData = this.getScheduleData(dragStartEvent.originEvent);\n    scheduleData.target = target;\n    scheduleData.model = schedule;\n\n    this._cache = {\n        schedule: schedule,\n        target: target,\n        start: new TZDate(scheduleData.date)\n    };\n\n    /**\n     * @event {MonthCreation#monthResizeDragstart}\n     * @type {object}\n     * @property {number} x - x index\n     * @property {number} y - y index\n     * @property {Date} date - drag date\n     * @property {HTMLElement} target - schedule block element\n     * @property {Schedule} model - model instance\n     */\n    this.fire('monthResizeDragstart', scheduleData);\n};\n\n/**\n * @fires {MonthResize#monthResizeDrag}\n * @param {object} dragEvent - drag event data\n */\nMonthResize.prototype._onDrag = function(dragEvent) {\n    var scheduleData;\n\n    if (!this.getScheduleData) {\n        return;\n    }\n\n    scheduleData = this.getScheduleData(dragEvent.originEvent);\n\n    if (!scheduleData) {\n        return;\n    }\n\n    /**\n     * @event {MonthResize#monthResizeDrag}\n     * @type {object}\n     * @property {number} x - x index\n     * @property {number} y - y index\n     * @property {Date} date - drag date\n     */\n    this.fire('monthResizeDrag', scheduleData);\n};\n\n/**\n * @fires {MonthResize#monthResizeDragend}\n * @param {object} dragEndEvent - drag end event data\n */\nMonthResize.prototype._onDragEnd = function(dragEndEvent) {\n    var cache = this._cache;\n    var scheduleData;\n    var start, end;\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    if (!this.getScheduleData) {\n        return;\n    }\n\n    scheduleData = this.getScheduleData(dragEndEvent.originEvent);\n\n    if (scheduleData) {\n        start = new TZDate(cache.schedule.getStarts());\n        end = new TZDate(scheduleData.date);\n        cache.end = end;\n\n        if (start <= cache.end) {\n            this._updateSchedule(cache);\n        }\n    }\n\n    /**\n     * @event {MonthResize#monthResizeDragend}\n     * @type {object}\n     * @property {number} x - x index\n     * @property {number} y - y index\n     * @property {Date} date - drag date\n     */\n    this.fire('monthResizeDragend', scheduleData);\n\n    this.getScheduleData = this._cache = null;\n};\n\nutil.CustomEvents.mixin(MonthResize);\n\nmodule.exports = MonthResize;\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=container.escapeExpression, alias2=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias1(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-creation-guide\\\" style=\\\"border: \"\n    + alias1(alias2(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.border : stack1), depth0))\n    + \"; background-color: \"\n    + alias1(alias2(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.backgroundColor : stack1), depth0))\n    + \";\\\"></div>\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule\\\"\\n        style=\\\"height: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.scheduleHeight : stack1), depth0))\n    + \"; line-height: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.scheduleHeight : stack1), depth0))\n    + \"; margin-top: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.scheduleGutter : stack1), depth0))\n    + \"; border-radius:\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.borderRadius : stack1), depth0))\n    + \"; margin-left: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.marginLeft : stack1), depth0))\n    + \"; margin-right: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.marginRight : stack1), depth0))\n    + \";\\n            color:\"\n    + alias4(((helper = (helper = helpers.color || (depth0 != null ? depth0.color : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"color\",\"hash\":{},\"data\":data}) : helper)))\n    + \";border-color:\"\n    + alias4(((helper = (helper = helpers.borderColor || (depth0 != null ? depth0.borderColor : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"borderColor\",\"hash\":{},\"data\":data}) : helper)))\n    + \";background-color:\"\n    + alias4(((helper = (helper = helpers.bgColor || (depth0 != null ? depth0.bgColor : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"bgColor\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\">\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title\\\">\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isAllDay : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.program(6, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"        </div>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-resize-handle handle-y\\\" style=\\\"line-height: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.scheduleHeight : stack1), depth0))\n    + \";\\\">&nbsp;</div>\\n    </div>\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                \"\n    + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                \"\n    + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-guide-block\\\" style=\\\"top:\"\n    + alias4(((helper = (helper = helpers.top || (depth0 != null ? depth0.top : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"top\",\"hash\":{},\"data\":data}) : helper)))\n    + \";height:\"\n    + alias4(((helper = (helper = helpers.height || (depth0 != null ? depth0.height : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"height\",\"hash\":{},\"data\":data}) : helper)))\n    + \";display:none\\\">\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isCreationMode : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview Creation guide module for month view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar MonthGuide = require('./guide');\n\n/**\n * @constructor\n * @param {MonthCreation} monthCreation - instance of MonthCreation\n */\nfunction MonthCreationGuide(monthCreation) {\n    /**\n     * @type {MonthCreation}\n     */\n    this.monthCreation = monthCreation;\n\n    /**\n     * @type {MonthGuide}\n     */\n    this.guide = null;\n\n    monthCreation.on({\n        monthCreationDragstart: this._createGuideElement,\n        monthCreationDrag: this._onDrag,\n        monthCreationDragend: this._onDragEnd,\n        monthCreationClick: this._createGuideElement\n    }, this);\n}\n\n/**\n * Destructor\n */\nMonthCreationGuide.prototype.destroy = function() {\n    this.monthCreation.off(this);\n\n    if (this.guide) {\n        this.guide.destroy();\n    }\n\n    this.guide = this.monthCreation = null;\n};\n\n/**\n * Drag start event handler\n * @param {object} dragStartEvent - schedule data from MonthCreation\n */\nMonthCreationGuide.prototype._createGuideElement = function(dragStartEvent) {\n    var options = {\n        isCreationMode: true,\n        height: '100%',\n        top: 0\n    };\n\n    this.guide = new MonthGuide(options, this.monthCreation.monthView);\n    this.guide.start(dragStartEvent);\n};\n\n/**\n * Drag event handler\n * @param {object} dragEvent - schedule data from MonthCreation\n */\nMonthCreationGuide.prototype._onDrag = function(dragEvent) {\n    this.guide.update(dragEvent.x, dragEvent.y);\n};\n\n/**\n * Drag end event handler\n */\nMonthCreationGuide.prototype._onDragEnd = function() {\n    // Do nothing. User calls destroy directly.\n    this.guide = null;\n};\n\nmodule.exports = MonthCreationGuide;\n","/**\n * @fileoverview Creation handler for month view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar array = require('../../common/array');\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar getMousePosDate = require('./core');\nvar Guide = require('./creationGuide');\nvar TZDate = require('../../common/timezone').Date;\n\nvar CLICK_DELAY = 300;\n\n/**\n * @constructor\n * @param {Drag} dragHandler - Drag handler instance.\n * @param {Month} monthView - Month view instance.\n * @param {Base} baseController - Base controller instance.\n * @param {Options} [options] - calendar Options\n */\nfunction MonthCreation(dragHandler, monthView, baseController, options) {\n    /**\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * @type {Month}\n     */\n    this.monthView = monthView;\n\n    /**\n     * @type {Base}\n     */\n    this.baseController = baseController;\n\n    /**\n     * @type {function}\n     */\n    this.getScheduleData = null;\n\n    /**\n     * Cache for dragging session\n     * @type {object}\n     */\n    this._cache = null;\n\n    /**\n     * @type {MonthCreationGuide}\n     */\n    this.guide = new Guide(this);\n\n    /**\n     * @type {boolean}\n     */\n    this._requestOnClick = false;\n\n    /**\n     * @type {boolean}\n     */\n    this._disableDblClick = options.disableDblClick;\n\n    /**\n     * @type {boolean}\n     */\n    this._disableClick = options.disableClick;\n\n    dragHandler.on('dragStart', this._onDragStart, this);\n    dragHandler.on('click', this._onClick, this);\n\n    if (this._disableDblClick) {\n        CLICK_DELAY = 0;\n    } else {\n        domevent.on(monthView.container, 'dblclick', this._onDblClick, this);\n    }\n}\n\n/**\n * Destructor\n */\nMonthCreation.prototype.destroy = function() {\n    this.dragHandler.off(this);\n    this.guide.destroy();\n\n    if (this.monthView && this.monthView.container) {\n        domevent.off(this.monthView.container, 'dblclick', this._onDblClick, this);\n    }\n\n    this.dragHandler = this.monthView = this.baseController =\n        this.getScheduleData = this._cache = this.guide = null;\n};\n\n/**\n * Fire before create schedule\n * @fires {MonthCreation#beforeCreateSchedule}\n * @param {object} eventData - cache data from single dragging session\n */\nMonthCreation.prototype._createSchedule = function(eventData) {\n    /**\n     * @event {MonthCreation#beforeCreateSchedule}\n     * @type {object}\n     * @property {boolean} isAllDay - whether schedule is fired in allday view area?\n     * @property {Date} start - select start time\n     * @property {Date} end - select end time\n     * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n     * @property {string} triggerEventName - event name\n     */\n    this.fire('beforeCreateSchedule', {\n        isAllDay: eventData.isAllDay,\n        start: eventData.start,\n        end: eventData.end,\n        guide: this.guide.guide,\n        triggerEventName: eventData.triggerEvent\n    });\n};\n\n/**\n * DragStart event handler\n * @fires {MonthCreation#monthCreationDragstart}\n * @param {object} dragStartEvent - dragStart event data\n */\nMonthCreation.prototype._onDragStart = function(dragStartEvent) {\n    var eventData;\n\n    if (!isElementWeekdayGrid(dragStartEvent.target)) {\n        return;\n    }\n\n    this.dragHandler.on({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    this.getScheduleData = getMousePosDate(this.monthView);\n\n    eventData = this.getScheduleData(dragStartEvent.originEvent);\n\n    this._cache = {\n        start: new TZDate(eventData.date)\n    };\n\n    /**\n     * @event {MonthCreation#monthCreationDragstart}\n     * @type {object}\n     * @property {number} x - x index\n     * @property {number} y - y index\n     * @property {Date} date - drag date\n     */\n    this.fire('monthCreationDragstart', eventData);\n};\n\n/**\n * Drag event handler\n * @fires {MonthCreation#monthCreationDrag}\n * @param {object} dragEvent - drag event data\n */\nMonthCreation.prototype._onDrag = function(dragEvent) {\n    var eventData;\n\n    if (!this.getScheduleData) {\n        return;\n    }\n\n    eventData = this.getScheduleData(dragEvent.originEvent);\n\n    if (!eventData) {\n        return;\n    }\n\n    /**\n     * @event {MonthCreation#monthCreationDrag}\n     * @type {object}\n     * @property {number} x - x index\n     * @property {number} y - y index\n     * @property {Date} date - drag date\n     */\n    this.fire('monthCreationDrag', eventData);\n};\n\n/**\n * DragEnd event handler\n * @fires {MonthCreation#monthCreationDragend}\n * @param {object} dragEndEvent - drag end event data\n */\nMonthCreation.prototype._onDragEnd = function(dragEndEvent) {\n    var cache = this._cache;\n    var eventData;\n    var times;\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    if (!this.getScheduleData) {\n        return;\n    }\n\n    eventData = this.getScheduleData(dragEndEvent.originEvent);\n\n    if (eventData) {\n        cache.end = new TZDate(eventData.date);\n        cache.isAllDay = true;\n\n        times = [\n            cache.start,\n            cache.end\n        ].sort(array.compare.num.asc);\n\n        cache.start = new TZDate(times[0]);\n        cache.end = datetime.end(times[1]);\n\n        this._createSchedule(cache);\n    }\n\n    /**\n     * @event {MonthCreation#monthCreationDragend}\n     * @type {object}\n     * @property {number} x - x index\n     * @property {number} y - y index\n     * @property {Date} date - drag date\n     */\n    this.fire('monthCreationDragend', eventData);\n\n    this.getScheduleData = this._cache = null;\n};\n\n/**\n * Dblclick event handler\n * @fires {MonthCreation#monthCreationDragstart}\n * @param {MouseEvent} e - Native MouseEvent\n */\nMonthCreation.prototype._onDblClick = function(e) {\n    var eventData, range;\n\n    if (!isElementWeekdayGrid(e.target)) {\n        return;\n    }\n\n    eventData = getMousePosDate(this.monthView)(e);\n\n    this.fire('monthCreationClick', eventData);\n\n    range = this._adjustStartAndEndTime(new TZDate(eventData.date), new TZDate(eventData.date));\n\n    this._createSchedule({\n        start: range.start,\n        end: range.end,\n        isAllDay: false,\n        triggerEvent: eventData.triggerEvent\n    });\n\n    this._requestOnClick = false;\n};\n\n/**\n * Click event handler\n * @fires {MonthCreation#monthCreationDragstart}\n * @param {MouseEvent} e - Native MouseEvent\n */\nMonthCreation.prototype._onClick = function(e) {\n    var self = this;\n    var eventData, range;\n\n    if (!isElementWeekdayGrid(e.target) || this._disableClick) {\n        return;\n    }\n\n    eventData = getMousePosDate(this.monthView)(e.originEvent);\n\n    this._requestOnClick = true;\n    setTimeout(function() {\n        if (self._requestOnClick) {\n            self.fire('monthCreationClick', eventData);\n\n            range = self._adjustStartAndEndTime(new TZDate(eventData.date), new TZDate(eventData.date));\n\n            self._createSchedule({\n                start: range.start,\n                end: range.end,\n                isAllDay: false,\n                triggerEvent: eventData.triggerEvent\n            });\n        }\n        self._requestOnClick = false;\n    }, CLICK_DELAY);\n};\n\n/**\n * Adjust time to our o'clock\n * @param {TZDate} start - start time\n * @param {TZDate} end - end time\n * @returns {Object} start and end\n */\nMonthCreation.prototype._adjustStartAndEndTime = function(start, end) {\n    var now = new TZDate();\n    var hours = now.getHours();\n    var minutes = now.getMinutes();\n\n    // adjust start to less time. Adjusting had been greater time in monthly view when clicking grid\n    if (minutes <= 30) {\n        minutes = 0;\n    } else {\n        minutes = 30;\n    }\n    start.setHours(hours, minutes, 0, 0);\n    end.setHours(hours + 1, minutes, 0, 0);\n\n    return {\n        start: start,\n        end: end\n    };\n};\n\n/**\n * Invoke creation click\n * @param {Schedule} schedule - schedule instance\n */\nMonthCreation.prototype.invokeCreationClick = function(schedule) {\n    var eventData = {\n        model: schedule\n    };\n\n    this.fire('monthCreationClick', eventData);\n\n    this._createSchedule({\n        start: schedule.start,\n        end: schedule.end,\n        isAllDay: schedule.isAllDay,\n        triggerEvent: 'manual'\n    });\n};\n\n/**\n * Returns whether the given element is Weekday-Schedule.\n * @param {HTMLElement} el - target element\n * @returns {boolean}\n */\nfunction isElementWeekdayGrid(el) {\n    return domutil.closest(el, config.classname('.weekday-grid'))\n        && !domutil.closest(el, config.classname('.weekday-exceed-in-month'));\n}\n\nutil.CustomEvents.mixin(MonthCreation);\n\nmodule.exports = MonthCreation;\n","/**\n * @fileoverview Click handler for month view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n    datetime = require('../../common/datetime'),\n    domutil = require('../../common/domutil');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {Month} [monthView] - Month view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction MonthClick(dragHandler, monthView, baseController) {\n    /**\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * @type {Month}\n     */\n    this.monthView = monthView;\n\n    /**\n     * @type {Base}\n     */\n    this.baseController = baseController;\n\n    dragHandler.on({\n        'click': this._onClick\n    }, this);\n}\n\n/**\n * Destructor\n */\nMonthClick.prototype.destroy = function() {\n    this.dragHandler.off(this);\n    this.monthView = this.baseController = this.dragHandler = null;\n};\n\n/**\n * @fires MonthClick#clickMore\n * @param {object} clickEvent - click event object\n */\nMonthClick.prototype._onClick = function(clickEvent) {\n    var self = this,\n        moreElement,\n        scheduleCollection = this.baseController.schedules,\n        blockElement = domutil.closest(clickEvent.target, config.classname('.weekday-schedule-block'))\n                    || domutil.closest(clickEvent.target, config.classname('.month-more-schedule'));\n\n    moreElement = domutil.closest(\n        clickEvent.target,\n        config.classname('.weekday-exceed-in-month')\n    );\n\n    if (moreElement) {\n        self.fire('clickMore', {\n            date: datetime.parse(domutil.getData(moreElement, 'ymd')),\n            target: moreElement,\n            ymd: domutil.getData(moreElement, 'ymd')\n        });\n    }\n\n    if (blockElement) {\n        scheduleCollection.doWhenHas(domutil.getData(blockElement, 'id'), function(schedule) {\n            /**\n             * @events AlldayClick#clickSchedule\n             * @type {object}\n             * @property {Schedule} schedule - schedule instance\n             * @property {MouseEvent} event - MouseEvent object\n             */\n            self.fire('clickSchedule', {\n                schedule: schedule,\n                event: clickEvent.originEvent\n            });\n        });\n    }\n};\n\nutil.CustomEvents.mixin(MonthClick);\n\nmodule.exports = MonthClick;\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"2\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"\\n\"\n    + ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"3\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"\\n\"\n    + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"4\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"\\n\"\n    + ((stack1 = (helpers.fi || (depth0 && depth0.fi) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.top : depth0),\"<\",((stack1 = (data && data.root)) && stack1.renderLimitIdx),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=\"function\";\n\n  return \"<div data-id=\\\"\"\n    + alias3((helpers.stamp || (depth0 && depth0.stamp) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"stamp\",\"hash\":{},\"data\":data}))\n    + \"\\\"\\n         class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-block\\n                \"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-block-\"\n    + alias3((helpers.stamp || (depth0 && depth0.stamp) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"stamp\",\"hash\":{},\"data\":data}))\n    + \"\\n            \"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.exceedLeft : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n            \"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.exceedRight : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"\\n         style=\\\"\"\n    + alias3((helpers[\"month-scheduleBlock\"] || (depth0 && depth0[\"month-scheduleBlock\"]) || alias2).call(alias1,depth0,((stack1 = (data && data.root)) && stack1.dates),((stack1 = (data && data.root)) && stack1.scheduleBlockHeight),((stack1 = (data && data.root)) && stack1.gridHeaderHeight),{\"name\":\"month-scheduleBlock\",\"hash\":{},\"data\":data}))\n    + \";\\n                margin-top:\"\n    + alias3(container.lambda(((stack1 = (data && data.root)) && stack1.scheduleBlockGutter), depth0))\n    + \"px\\\">\\n\"\n    + ((stack1 = (helpers.fi || (depth0 && depth0.fi) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isAllDay : stack1),\"||\",(depth0 != null ? depth0.hasMultiDates : depth0),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(10, data, 0),\"inverse\":container.program(23, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"    </div>\\n\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-exceed-left\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-exceed-right\";\n},\"10\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing, alias5=\"function\";\n\n  return \"        <div data-schedule-id=\\\"\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.id : stack1), depth0))\n    + \"\\\" data-calendar-id=\\\"\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.calendarId : stack1), depth0))\n    + \"\\\" class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule \"\n    + ((stack1 = helpers[\"if\"].call(alias3,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(11, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"\\n             style=\\\"height:\"\n    + alias2(alias1(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; line-height:\"\n    + alias2(alias1(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; border-radius: \"\n    + alias2(alias1(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderRadius), depth0))\n    + \";\\n\"\n    + ((stack1 = helpers.unless.call(alias3,(depth0 != null ? depth0.exceedLeft : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(13, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers.unless.call(alias3,(depth0 != null ? depth0.exceedRight : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(15, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers[\"if\"].call(alias3,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(17, data, 0),\"inverse\":container.program(19, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"                    \"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.customStyle : stack1), depth0))\n    + \"\\\">\\n            <span class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title\\\"\\n                  data-title=\\\"\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.title : stack1), depth0))\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"allday-tmpl\"] || (depth0 && depth0[\"allday-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"allday-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n            \"\n    + ((stack1 = helpers.unless.call(alias3,(helpers.or || (depth0 && depth0.or) || alias4).call(alias3,((stack1 = (data && data.root)) && stack1.isReadOnly),((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isReadOnly : stack1),{\"name\":\"or\",\"hash\":{},\"data\":data}),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(21, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n        </div>\\n\";\n},\"11\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-focused \";\n},\"13\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                    margin-left: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.marginLeft), depth0))\n    + \";\\n\";\n},\"15\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                    margin-right: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.marginRight), depth0))\n    + \";\\n\";\n},\"17\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                    color: #ffffff; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \";\\n\";\n},\"19\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                    color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\n\";\n},\"21\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=container.escapeExpression;\n\n  return \"<span class=\\\"\"\n    + alias1(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-resize-handle handle-y\\\" style=\\\"line-height: \"\n    + alias1(container.lambda(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px;\\\">&nbsp;</span>\";\n},\"23\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = (helpers.fi || (depth0 && depth0.fi) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.category : stack1),\"===\",\"time\",{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(24, data, 0),\"inverse\":container.program(33, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"24\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing, alias5=\"function\";\n\n  return \"                <div data-schedule-id=\\\"\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.id : stack1), depth0))\n    + \"\\\" data-calendar-id=\\\"\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.calendarId : stack1), depth0))\n    + \"\\\" class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule \"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-time\\\"\\n                    style=\\\"height:\"\n    + alias2(alias1(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; line-height:\"\n    + alias2(alias1(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; \"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.customStyle : stack1), depth0))\n    + \"\\\">\\n                    <span class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-bullet\\\"\\n                        style=\\\"top: \"\n    + alias2(alias1(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.scheduleBulletTop), depth0))\n    + \"px;\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias3,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(25, data, 0),\"inverse\":container.program(27, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"                            \\\"\\n                    ></span>\\n                    <span class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title\\\"\\n                        style=\\\"\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias3,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(29, data, 0),\"inverse\":container.program(31, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"                            \\\"\\n                        data-title=\\\"\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.title : stack1), depth0))\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n                </div>\\n\";\n},\"25\":function(container,depth0,helpers,partials,data) {\n    return \"                                background: #ffffff\\n\";\n},\"27\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                                background:\"\n    + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \"\\n\";\n},\"29\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                                color: #ffffff;\\n                                background-color: \"\n    + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"\\n\";\n},\"31\":function(container,depth0,helpers,partials,data) {\n    return \"                                color:#333;\\n\";\n},\"33\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing, alias5=\"function\";\n\n  return \"<div data-schedule-id=\\\"\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.id : stack1), depth0))\n    + \"\\\" data-calendar-id=\\\"\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.calendarId : stack1), depth0))\n    + \"\\\" class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule \"\n    + ((stack1 = helpers[\"if\"].call(alias3,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(11, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"\\n                    style=\\\"height:\"\n    + alias2(alias1(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; line-height:\"\n    + alias2(alias1(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; border-radius: \"\n    + alias2(alias1(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderRadius), depth0))\n    + \";\\n\"\n    + ((stack1 = helpers.unless.call(alias3,(depth0 != null ? depth0.exceedLeft : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(34, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers.unless.call(alias3,(depth0 != null ? depth0.exceedRight : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(36, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers[\"if\"].call(alias3,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(38, data, 0),\"inverse\":container.program(40, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"                        \"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.customStyle : stack1), depth0))\n    + \"\\\">\\n                    <span class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title\\\"\\n                                    data-title=\\\"\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.title : stack1), depth0))\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"schedule-tmpl\"] || (depth0 && depth0[\"schedule-tmpl\"]) || alias4).call(alias3,(depth0 != null ? depth0.model : depth0),{\"name\":\"schedule-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n                </div>\\n\";\n},\"34\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                        margin-left: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.marginLeft), depth0))\n    + \";\\n\";\n},\"36\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                        margin-right: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.marginRight), depth0))\n    + \";\\n\";\n},\"38\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                        color: #ffffff; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \";\\n\";\n},\"40\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                        color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.matrices : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-grid-line \"\n    + alias4((helpers.holiday || (depth0 && depth0.holiday) || alias2).call(alias1,(depth0 != null ? depth0.day : depth0),{\"name\":\"holiday\",\"hash\":{},\"data\":data}))\n    + ((stack1 = (helpers.fi || (depth0 && depth0.fi) || alias2).call(alias1,(depth0 != null ? depth0.date : depth0),\"!==\",1,{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isToday : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isOtherMonth : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"\\n        style=\\\"width:\"\n    + alias4(((helper = (helper = helpers.width || (depth0 != null ? depth0.width : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"width\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; left:\"\n    + alias4(((helper = (helper = helpers.left || (depth0 != null ? depth0.left : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"left\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; background-color: \"\n    + alias4(((helper = (helper = helpers.backgroundColor || (depth0 != null ? depth0.backgroundColor : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"backgroundColor\",\"hash\":{},\"data\":data}) : helper)))\n    + \"; font-size: \"\n    + alias4(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.fontSize), depth0))\n    + \";\\n\"\n    + ((stack1 = helpers.unless.call(alias1,(data && data.last),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"        \\\">\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-grid-header\\\">\\n            <span style=\\\"color: \"\n    + alias4(((helper = (helper = helpers.color || (depth0 != null ? depth0.color : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"color\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\\\">\"\n    + ((stack1 = (helpers[\"monthGridHeader-tmpl\"] || (depth0 && depth0[\"monthGridHeader-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"monthGridHeader-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(10, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"        </div>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-grid-footer\\\">\\n            <span style=\\\"color: \"\n    + alias4(((helper = (helper = helpers.color || (depth0 != null ? depth0.color : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"color\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\\\">\"\n    + ((stack1 = (helpers[\"monthGridFooter-tmpl\"] || (depth0 && depth0[\"monthGridFooter-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"monthGridFooter-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(12, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"        </div>\\n    </div>\\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"near-month-day\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"today\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"extra-date\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"        border-right:\"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderLeft), depth0))\n    + \";\\n\";\n},\"10\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-exceed-in-month\\\" data-ymd=\\\"\"\n    + alias4(((helper = (helper = helpers.ymd || (depth0 != null ? depth0.ymd : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"ymd\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"monthGridHeaderExceed-tmpl\"] || (depth0 && depth0[\"monthGridHeaderExceed-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"monthGridHeaderExceed-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n\";\n},\"12\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-exceed-in-month\\\" data-ymd=\\\"\"\n    + alias4(((helper = (helper = helpers.ymd || (depth0 != null ? depth0.ymd : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"ymd\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"monthGridFooterExceed-tmpl\"] || (depth0 && depth0[\"monthGridFooterExceed-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"monthGridFooterExceed-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-border\\\"\\n    style=\\\"\\n    border-top: \"\n    + alias4(container.lambda(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.borderTop : stack1), depth0))\n    + \";\\n\\\"></div>\\n<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-grid\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.dates : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedules\\\"></div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview Monthday in month view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n    common = require('../../common/common.js'),\n    domutil = require('../../common/domutil'),\n    View = require('../../view/view'),\n    Weekday = require('../weekday'),\n    baseTmpl = require('../template/month/weekdayInMonth.hbs'),\n    scheduleTmpl = require('../template/month/weekdayInMonthSchedule.hbs');\nvar mfloor = Math.floor,\n    mmin = Math.min;\n\n/**\n * @constructor\n * @extends {Weekday}\n * @param {object} options - options for WeekdayInWeek view\n * @param {number} [options.heightPercent] - height percent of view\n * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n *  make create easy.\n * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n * @param {HTMLDIVElement} container - DOM element to use container for this\n *  view.\n */\nfunction WeekdayInMonth(options, container) {\n    Weekday.call(this, options, container);\n    container.style.height = options.heightPercent + '%';\n}\n\nutil.inherit(WeekdayInMonth, Weekday);\n\n/**\n * Get schedule container element's bound properly by override\n *\n * View#getViewBound.\n * @override\n */\nWeekdayInMonth.prototype.getViewBound = function() {\n    var bound = View.prototype.getViewBound.call(this);\n\n    return bound;\n};\n\n/**\n * Get limit index of schedule block in current view\n * @param {number} panelHeight - panel's height for pre-calculation\n * @returns {number} limit index\n */\nWeekdayInMonth.prototype._getRenderLimitIndex = function(panelHeight) {\n    var opt = this.options;\n    var containerHeight = panelHeight || this.getViewBound().height;\n    var gridHeaderHeight = util.pick(opt, 'grid', 'header', 'height') || 0;\n    var gridFooterHeight = util.pick(opt, 'grid', 'footer', 'height') || 0;\n    var visibleScheduleCount = opt.visibleScheduleCount || 0;\n    var count;\n\n    containerHeight -= (gridHeaderHeight + gridFooterHeight);\n\n    count = mfloor(containerHeight / (opt.scheduleHeight + opt.scheduleGutter));\n\n    if (!visibleScheduleCount) {\n        visibleScheduleCount = count;\n    }\n\n    return mmin(count, visibleScheduleCount); // subtraction for '+n' label block\n};\n\n/**\n * @override\n * @param {object} viewModel - schedules view models\n */\nWeekdayInMonth.prototype.getBaseViewModel = function(viewModel) {\n    var opt = this.options,\n        gridHeaderHeight = util.pick(opt, 'grid', 'header', 'height') || 0,\n        gridFooterHeight = util.pick(opt, 'grid', 'footer', 'height') || 0,\n        renderLimitIdx = this._getRenderLimitIndex() + 1,\n        exceedDate = this.getExceedDate(renderLimitIdx, viewModel.eventsInDateRange, viewModel.range),\n        styles = this._getStyles(viewModel.theme);\n    var baseViewModel;\n\n    viewModel = util.extend({\n        exceedDate: exceedDate\n    }, viewModel);\n\n    baseViewModel = Weekday.prototype.getBaseViewModel.call(this, viewModel);\n\n    baseViewModel = util.extend({\n        matrices: viewModel.eventsInDateRange,\n        gridHeaderHeight: gridHeaderHeight,\n        gridFooterHeight: gridFooterHeight,\n        renderLimitIdx: renderLimitIdx,\n        isReadOnly: opt.isReadOnly,\n        styles: styles\n    }, baseViewModel);\n\n    return baseViewModel;\n};\n\n/**\n * @override\n * @param {object} viewModel - schedules view models\n */\nWeekdayInMonth.prototype.render = function(viewModel) {\n    var container = this.container,\n        baseViewModel = this.getBaseViewModel(viewModel),\n        scheduleContainer;\n\n    if (!this.options.visibleWeeksCount) {\n        setIsOtherMonthFlag(baseViewModel.dates, this.options.renderMonth, viewModel.theme);\n    }\n\n    container.innerHTML = baseTmpl(baseViewModel);\n\n    scheduleContainer = domutil.find(\n        config.classname('.weekday-schedules'),\n        container\n    );\n\n    if (!scheduleContainer) {\n        return;\n    }\n\n    scheduleContainer.innerHTML = scheduleTmpl(baseViewModel);\n\n    common.setAutoEllipsis(\n        config.classname('.weekday-schedule-title'),\n        container,\n        true\n    );\n};\n\nWeekdayInMonth.prototype._beforeDestroy = function() {\n};\n\n/**\n * Get the styles from theme\n * @param {Theme} theme - theme instance\n * @returns {object} styles - styles object\n */\nWeekdayInMonth.prototype._getStyles = function(theme) {\n    var styles = {};\n\n    if (theme) {\n        styles.borderTop = theme.common.border;\n        styles.borderLeft = theme.common.border;\n        styles.fontSize = theme.month.day.fontSize;\n        styles.borderRadius = theme.month.schedule.borderRadius;\n        styles.marginLeft = theme.month.schedule.marginLeft;\n        styles.marginRight = theme.month.schedule.marginRight;\n        styles.scheduleBulletTop = this.options.scheduleHeight / 3;\n    }\n\n    return styles;\n};\n\n/**\n * 현재 달이 아닌 날짜에 대해 isOtherMonth = true 플래그를 추가한다.\n * @param {Array} dates - 날짜정보 배열\n * @param {TZDate} renderMonth - 현재 렌더링중인 월 (YYYYMM)\n * @param {Theme} theme - theme instance\n */\nfunction setIsOtherMonthFlag(dates, renderMonth, theme) {\n    var month = renderMonth.getMonth() + 1;\n\n    util.forEach(dates, function(dateObj) {\n        var isOtherMonth = dateObj.month !== month;\n        dateObj.isOtherMonth = isOtherMonth;\n\n        if (isOtherMonth) {\n            dateObj.color = Weekday.prototype._getDayNameColor(theme, dateObj.day, dateObj.isToday, isOtherMonth);\n        }\n    });\n}\n\nmodule.exports = WeekdayInMonth;\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-dayname-item\\\"\\n         style=\\\"position: absolute;\\n                width: \"\n    + alias4(((helper = (helper = helpers.width || (depth0 != null ? depth0.width : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"width\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%;\\n                left: \"\n    + alias4(((helper = (helper = helpers.left || (depth0 != null ? depth0.left : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"left\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%;\\n                padding-left: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.paddingLeft), depth0))\n    + \";\\n                padding-right: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.paddingRight), depth0))\n    + \";\\n                line-height: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.height), depth0))\n    + \";\\n\"\n    + ((stack1 = helpers.unless.call(alias1,(data && data.last),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"                \\\">\\n        <span class=\\\"\"\n    + alias4((helpers.holiday || (depth0 && depth0.holiday) || alias2).call(alias1,(depth0 != null ? depth0.day : depth0),{\"name\":\"holiday\",\"hash\":{},\"data\":data}))\n    + \"\\\" style=\\\"color: \"\n    + alias4(((helper = (helper = helpers.color || (depth0 != null ? depth0.color : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"color\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\\\">\\n            \"\n    + ((stack1 = (helpers[\"monthDayname-tmpl\"] || (depth0 && depth0[\"monthDayname-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"monthDayname-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n        </span>\\n    </div>\\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                border-right: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderLeft), depth0))\n    + \";\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.escapeExpression, alias3=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"month-dayname\\\"\\n    style=\\\"border-top: \"\n    + alias2(alias3(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.borderTop : stack1), depth0))\n    + \"; height: \"\n    + alias2(alias3(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.height : stack1), depth0))\n    + \"; font-size: \"\n    + alias2(alias3(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.fontSize : stack1), depth0))\n    + \"; background-color: \"\n    + alias2(alias3(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.backgroundColor : stack1), depth0))\n    + \"; text-align: \"\n    + alias2(alias3(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.textAlign : stack1), depth0))\n    + \"; font-weight: \"\n    + alias2(alias3(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.fontWeight : stack1), depth0))\n    + \";\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.daynames : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview Month view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n    datetime = require('../../common/datetime'),\n    domutil = require('../../common/domutil'),\n    TZDate = require('../../common/timezone').Date,\n    tmpl = require('../template/month/month.hbs'),\n    View = require('../view'),\n    VLayout = require('../..//common/vlayout'),\n    WeekdayInMonth = require('./weekdayInMonth');\nvar mmin = Math.min;\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options\n * @param {function} [options.scheduleFilter] - schedule filter\n * @param {number} [options.startDayOfWeek=0] - start day of week\n * @param {string} [options.renderMonth='2015-12'] - render month\n * @param {string[]} [options.daynames] - daynames to use upside of month view\n * @param {HTMLElement} container - container element\n * @param {Base.Month} controller - controller instance\n */\nfunction Month(options, container, controller) {\n    var theme = controller ? controller.theme : null;\n    var monthOption;\n\n    options = options || {};\n    monthOption = options ? options.month : {};\n\n    View.call(this, container);\n\n    /**\n     * @type {Base.Month}\n     */\n    this.controller = controller;\n\n    /**\n     * @type {VLayout}\n     */\n    this.vLayout = new VLayout({\n        panels: [\n            {height: parseInt(controller.theme.month.dayname.height, 10) || 42},\n            {autoHeight: true}\n        ]\n    }, container, theme);\n\n    /**\n     * @type {string}\n     */\n    this.options = util.extend({\n        scheduleFilter: function(schedule) {\n            return Boolean(schedule.isVisible);\n        },\n        startDayOfWeek: 0,\n        renderMonth: '2018-01',\n        daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n        narrowWeekend: false,\n        visibleWeeksCount: null,\n        isAlways6Week: true,\n        isReadOnly: options.isReadOnly,\n        grid: {\n            header: {\n                height: 34\n            },\n            footer: {\n                height: 3\n            }\n        }\n    }, monthOption);\n\n    this.options.grid.header = util.extend({\n        height: 34\n    }, util.pick(monthOption, 'grid', 'header'));\n    this.options.grid.footer = util.extend({\n        height: 3\n    }, util.pick(monthOption, 'grid', 'footer'));\n\n    /**\n     * horizontal grid information\n     * @type {Object}\n     */\n    this.grids = datetime.getGridLeftAndWidth(\n        this.options.daynames.length,\n        this.options.narrowWeekend,\n        this.options.startDayOfWeek);\n}\n\nutil.inherit(Month, View);\n\n/**\n * Name of view. for managing subview at layout view\n * @type {string}\n */\nMonth.prototype.viewName = 'month';\n\n/**\n * Get calendar array by supplied date\n * @param {string} renderMonth - month to render YYYY-MM, weeks2/3 to render YYYY-MM-DD\n * @returns {array.<Date[]>} calendar array\n */\nMonth.prototype._getMonthCalendar = function(renderMonth) {\n    var date = new TZDate(renderMonth);\n    var startDayOfWeek = this.options.startDayOfWeek || 0;\n    var visibleWeeksCount = mmin(this.options.visibleWeeksCount || 0, 6);\n    var workweek = this.options.workweek || false;\n    var datetimeOptions, calendar;\n\n    if (this.options.visibleWeeksCount) {\n        datetimeOptions = {\n            startDayOfWeek: startDayOfWeek,\n            isAlways6Week: false,\n            visibleWeeksCount: visibleWeeksCount,\n            workweek: workweek\n        };\n    } else {\n        datetimeOptions = {\n            startDayOfWeek: startDayOfWeek,\n            isAlways6Week: this.options.isAlways6Week,\n            workweek: workweek\n        };\n    }\n\n    calendar = datetime.arr2dCalendar(date, datetimeOptions);\n\n    return calendar;\n};\n\n/**\n * Create children view (week) and add children\n * @param {HTMLElement} container - container element to render weeks\n * @param {array.<Date[]>} calendar - calendar array from datetime#arr2dCalendar\n * @param {Theme} theme - theme instance\n */\nMonth.prototype._renderChildren = function(container, calendar, theme) {\n    var self = this;\n    var weekCount = calendar.length;\n    var heightPercent = 100 / weekCount;\n    var opt = this.options;\n    var renderMonth = opt.renderMonth;\n    var narrowWeekend = opt.narrowWeekend;\n    var startDayOfWeek = opt.startDayOfWeek;\n    var visibleWeeksCount = opt.visibleWeeksCount;\n    var visibleScheduleCount = opt.visibleScheduleCount;\n    var gridOption = opt.grid;\n    var isReadOnly = opt.isReadOnly;\n\n    container.innerHTML = '';\n    this.children.clear();\n\n    util.forEach(calendar, function(weekArr) {\n        var start = new TZDate(weekArr[0]),\n            end = new TZDate(weekArr[weekArr.length - 1]),\n            weekdayViewContainer,\n            weekdayView;\n\n        weekdayViewContainer = domutil.appendHTMLElement(\n            'div', container, config.classname('month-week-item'));\n\n        weekdayView = new WeekdayInMonth({\n            renderMonth: renderMonth,\n            heightPercent: heightPercent,\n            renderStartDate: start,\n            renderEndDate: end,\n            narrowWeekend: narrowWeekend,\n            startDayOfWeek: startDayOfWeek,\n            visibleWeeksCount: visibleWeeksCount,\n            visibleScheduleCount: visibleScheduleCount,\n            grid: gridOption,\n            scheduleHeight: parseInt(theme.month.schedule.height, 10),\n            scheduleGutter: parseInt(theme.month.schedule.marginTop, 10),\n            isReadOnly: isReadOnly\n        }, weekdayViewContainer);\n\n        self.addChild(weekdayView);\n    });\n};\n\n/**\n * Render month view\n * @override\n */\nMonth.prototype.render = function() {\n    var self = this,\n        opt = this.options,\n        vLayout = this.vLayout,\n        controller = this.controller,\n        daynames = opt.daynames,\n        workweek = opt.workweek,\n        calendar = this._getMonthCalendar(opt.renderMonth),\n        scheduleFilter = opt.scheduleFilter,\n        theme = controller ? controller.theme : null,\n        styles = this._getStyles(theme),\n        grids,\n        daynameViewModel,\n        baseViewModel;\n\n    grids = this.grids = datetime.getGridLeftAndWidth(\n        opt.daynames.length,\n        opt.narrowWeekend,\n        opt.startDayOfWeek\n    );\n\n    daynameViewModel = util.map(\n        util.range(opt.startDayOfWeek, 7).concat(util.range(7)).slice(0, 7),\n        function(day, index) {\n            return {\n                day: day,\n                label: daynames[day],\n                width: grids[index] ? grids[index].width : 0,\n                left: grids[index] ? grids[index].left : 0,\n                color: this._getDayNameColor(theme, day)\n            };\n        },\n        this\n    );\n\n    if (workweek) {\n        grids = this.grids = datetime.getGridLeftAndWidth(5, opt.narrowWeekend, opt.startDayOfWeek, workweek);\n\n        daynameViewModel = util.filter(daynameViewModel, function(daynameModel) {\n            return !datetime.isWeekend(daynameModel.day);\n        });\n\n        util.forEach(daynameViewModel, function(daynameModel, index) {\n            daynameModel.width = grids[index] ? grids[index].width : 0;\n            daynameModel.left = grids[index] ? grids[index].left : 0;\n        });\n    }\n\n    baseViewModel = {\n        daynames: daynameViewModel,\n        styles: styles\n    };\n\n    vLayout.panels[0].container.innerHTML = tmpl(baseViewModel);\n\n    this._renderChildren(vLayout.panels[1].container, calendar, theme);\n\n    baseViewModel.panelHeight = vLayout.panels[1].getHeight();\n\n    this.children.each(function(childView) {\n        var start = datetime.start(childView.options.renderStartDate);\n        var end = datetime.start(childView.options.renderEndDate);\n        var eventsInDateRange = controller.findByDateRange(\n            datetime.start(start),\n            datetime.end(end),\n            scheduleFilter\n        );\n        var dateRange = datetime.range(\n            datetime.start(start),\n            datetime.end(end),\n            datetime.MILLISECONDS_PER_DAY);\n        var viewModel = {\n            eventsInDateRange: eventsInDateRange,\n            range: dateRange.slice(0, grids.length),\n            grids: grids,\n            panelHeight: baseViewModel.panelHeight,\n            theme: theme\n        };\n\n        childView.render(viewModel);\n\n        self._invokeAfterRenderSchedule(eventsInDateRange);\n    });\n};\n\n/**\n * Fire 'afterRenderSchedule' event\n * @param {Array} matrices - schedule matrices from view model\n * @fires Month#afterRenderSchedule\n */\nMonth.prototype._invokeAfterRenderSchedule = function(matrices) {\n    var self = this;\n    util.forEachArray(matrices, function(matrix) {\n        util.forEachArray(matrix, function(column) {\n            util.forEachArray(column, function(scheduleViewModel) {\n                if (scheduleViewModel && !scheduleViewModel.hidden) {\n                    /**\n                     * @event Month#afterRenderSchedule\n                     */\n                    self.fire('afterRenderSchedule', {schedule: scheduleViewModel.model});\n                }\n            });\n        });\n    });\n};\n\n/**\n * Get the styles from theme\n * @param {Theme} theme - theme instance\n * @returns {object} styles - styles object\n */\nMonth.prototype._getStyles = function(theme) {\n    var styles = {};\n    var dayname;\n\n    if (theme) {\n        dayname = theme.month.dayname;\n\n        styles.borderTop = dayname.borderTop || theme.common.border;\n        styles.borderLeft = dayname.borderLeft || theme.common.border;\n        styles.height = dayname.height;\n        styles.paddingLeft = dayname.paddingLeft;\n        styles.paddingRight = dayname.paddingRight;\n        styles.fontSize = dayname.fontSize;\n        styles.backgroundColor = dayname.backgroundColor;\n        styles.fontWeight = dayname.fontWeight;\n        styles.textAlign = dayname.textAlign;\n    }\n\n    return styles;\n};\n\n/**\n * Get a day name color\n * @param {Theme} theme - theme instance\n * @param {number} day - day number\n * @returns {string} style - color style\n */\nMonth.prototype._getDayNameColor = function(theme, day) {\n    var color = '';\n\n    if (theme) {\n        if (day === 0) {\n            color = theme.common.holiday.color;\n        } else if (day === 6) {\n            color = theme.common.saturday.color;\n        } else {\n            color = theme.common.dayname.color;\n        }\n    }\n\n    return color;\n};\n\nmodule.exports = Month;\n","/**\n * @fileoverview Month view factory module\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n    array = require('../common/array'),\n    datetime = require('../common/datetime'),\n    domutil = require('../common/domutil'),\n    common = require('../common/common'),\n    Month = require('../view/month/month'),\n    MonthClick = require('../handler/month/click'),\n    MonthCreation = require('../handler/month/creation'),\n    MonthResize = require('../handler/month/resize'),\n    MonthMove = require('../handler/month/move'),\n    More = require('../view/month/more'),\n    ScheduleCreationPopup = require('../view/popup/scheduleCreationPopup'),\n    ScheduleDetailPopup = require('../view/popup/scheduleDetailPopup'),\n    Schedule = require('../model/schedule');\n\n/**\n * Get the view model for more layer\n * @param {TZDate} date - date has more schedules\n * @param {HTMLElement} target - target element\n * @param {Collection} schedules - schedule collection\n * @param {string[]} daynames - daynames to use upside of month more view\n * @returns {object} view model\n */\nfunction getViewModelForMoreLayer(date, target, schedules, daynames) {\n    schedules.each(function(schedule) {\n        var model = schedule.model;\n        schedule.hasMultiDates = !datetime.isSameDate(model.start, model.end);\n    });\n\n    return {\n        target: target,\n        date: datetime.format(date, 'YYYY.MM.DD'),\n        dayname: daynames[date.getDay()],\n        schedules: schedules.sort(array.compare.schedule.asc)\n    };\n}\n\n/**\n * @param {Base} baseController - controller instance\n * @param {HTMLElement} layoutContainer - container element for month view\n * @param {Drag} dragHandler - drag handler instance\n * @param {object} options - options\n * @returns {object} view instance and refresh method\n */\nfunction createMonthView(baseController, layoutContainer, dragHandler, options) {\n    var monthViewContainer, monthView, moreView, createView;\n    var clickHandler, creationHandler, resizeHandler, moveHandler, clearSchedulesHandler, onUpdateSchedule;\n    var onShowCreationPopup, onSaveNewSchedule, onShowEditPopup;\n    var detailView, onShowDetailPopup, onDeleteSchedule, onEditSchedule;\n\n    monthViewContainer = domutil.appendHTMLElement(\n        'div', layoutContainer, config.classname('month'));\n\n    monthView = new Month(options, monthViewContainer, baseController.Month);\n    moreView = new More(options.month, layoutContainer, baseController.theme);\n\n    // handlers\n    clickHandler = new MonthClick(dragHandler, monthView, baseController);\n    if (!options.isReadOnly) {\n        creationHandler = new MonthCreation(dragHandler, monthView, baseController, options);\n        resizeHandler = new MonthResize(dragHandler, monthView, baseController);\n        moveHandler = new MonthMove(dragHandler, monthView, baseController);\n    }\n\n    clearSchedulesHandler = function() {\n        if (moreView) {\n            moreView.hide();\n        }\n    };\n\n    onUpdateSchedule = function() {\n        if (moreView) {\n            moreView.refresh();\n        }\n    };\n\n    // binding +n click schedule\n    clickHandler.on('clickMore', function(clickMoreSchedule) {\n        var date = clickMoreSchedule.date,\n            target = clickMoreSchedule.target,\n            schedules = util.pick(baseController.findByDateRange(\n                datetime.start(date),\n                datetime.end(date)\n            ), clickMoreSchedule.ymd);\n\n        schedules.items = util.filter(schedules.items, function(item) {\n            return options.month.scheduleFilter(item.model);\n        });\n\n        if (schedules && schedules.length) {\n            moreView.render(getViewModelForMoreLayer(date, target, schedules, monthView.options.daynames));\n\n            schedules.each(function(scheduleViewModel) {\n                if (scheduleViewModel) {\n                    /**\n                     * @event More#afterRenderSchedule\n                     */\n                    monthView.fire('afterRenderSchedule', {schedule: scheduleViewModel.model});\n                }\n            });\n\n            monthView.fire('clickMore', {\n                date: clickMoreSchedule.date,\n                target: moreView.getMoreViewElement()\n            });\n        }\n    });\n\n    // binding popup for schedules creation\n    if (options.useCreationPopup) {\n        createView = new ScheduleCreationPopup(layoutContainer, baseController.calendars);\n\n        onSaveNewSchedule = function(scheduleData) {\n            creationHandler.fire('beforeCreateSchedule', util.extend(scheduleData, {\n                useCreationPopup: true\n            }));\n        };\n        createView.on('beforeCreateSchedule', onSaveNewSchedule);\n    }\n\n    // binding popup for schedule detail\n    if (options.useDetailPopup) {\n        detailView = new ScheduleDetailPopup(layoutContainer, baseController.calendars);\n        onShowDetailPopup = function(eventData) {\n            var scheduleId = eventData.schedule.calendarId;\n            eventData.calendar = common.find(baseController.calendars, function(calendar) {\n                return calendar.id === scheduleId;\n            });\n\n            if (options.isReadOnly) {\n                eventData.schedule = util.extend({}, eventData.schedule, {isReadOnly: true});\n            }\n\n            detailView.render(eventData);\n        };\n        onDeleteSchedule = function(eventData) {\n            if (creationHandler) {\n                creationHandler.fire('beforeDeleteSchedule', eventData);\n            }\n        };\n        onEditSchedule = function(eventData) {\n            moveHandler.fire('beforeUpdateSchedule', eventData);\n        };\n\n        clickHandler.on('clickSchedule', onShowDetailPopup);\n\n        detailView.on('beforeDeleteSchedule', onDeleteSchedule);\n\n        if (options.useCreationPopup) {\n            onShowEditPopup = function(eventData) {\n                createView.setCalendars(baseController.calendars);\n                createView.render(eventData);\n            };\n            createView.on('beforeUpdateSchedule', onEditSchedule);\n            detailView.on('beforeUpdateSchedule', onShowEditPopup);\n        } else {\n            detailView.on('beforeUpdateSchedule', onEditSchedule);\n        }\n    }\n\n    // binding clear schedules\n    baseController.on('clearSchedules', clearSchedulesHandler);\n\n    // bind update schedule event\n    baseController.on('updateSchedule', onUpdateSchedule);\n\n    if (moveHandler) {\n        moveHandler.on('monthMoveStart_from_morelayer', function() {\n            moreView.hide();\n        });\n    }\n\n    monthView.handler = {\n        click: {\n            'default': clickHandler\n        }\n    };\n\n    if (!options.isReadOnly) {\n        monthView.handler = util.extend(monthView.handler, {\n            creation: {\n                'default': creationHandler\n            },\n            resize: {\n                'default': resizeHandler\n            },\n            move: {\n                'default': moveHandler\n            }\n        });\n    }\n\n    monthView._beforeDestroy = function() {\n        moreView.destroy();\n        baseController.off('clearSchedules', clearSchedulesHandler);\n        baseController.off('updateSchedule', onUpdateSchedule);\n\n        util.forEach(monthView.handler, function(type) {\n            util.forEach(type, function(handler) {\n                handler.off();\n                handler.destroy();\n            });\n        });\n\n        if (options.useCreationPopup && options.useDetailPopup) {\n            createView.off('beforeUpdateSchedule', onUpdateSchedule);\n        }\n\n        if (options.useCreationPopup) {\n            if (creationHandler) {\n                creationHandler.off('beforeCreateSchedule', onShowCreationPopup);\n            }\n            createView.off('saveSchedule', onSaveNewSchedule);\n            createView.destroy();\n        }\n\n        if (options.useDetailPopup) {\n            clickHandler.off('clickSchedule', onShowDetailPopup);\n            detailView.off('beforeUpdateSchedule', onUpdateSchedule);\n            detailView.off('beforeDeleteSchedule', onDeleteSchedule);\n            detailView.destroy();\n        }\n    };\n\n    // add controller\n    monthView.controller = baseController.Month;\n\n    return {\n        view: monthView,\n        refresh: function() {\n            monthView.vLayout.refresh();\n        },\n        openCreationPopup: function(schedule) {\n            if (createView && creationHandler) {\n                creationHandler.invokeCreationClick(Schedule.create(schedule));\n            }\n        },\n        showCreationPopup: function(eventData) {\n            if (createView) {\n                createView.setCalendars(baseController.calendars);\n                createView.render(eventData);\n            }\n        },\n        hideMoreView: function() {\n            if (moreView) {\n                moreView.hide();\n            }\n        }\n    };\n}\n\nmodule.exports = createMonthView;\n","/**\n * @fileoverview Module for Time.Resize effect while dragging.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar ratio = require('../../common/common').ratio;\nvar datetime = require('../../common/datetime');\n\n/**\n * Class for Time.Resize effect.\n * @constructor\n * @param {TimeResize} timeResize - the instance of TimeResize handler.\n */\nfunction TimeResizeGuide(timeResize) {\n    /**\n     * @type {HTMLElement}\n     */\n    this.guideElement = null;\n\n    /**\n     * @type {TimeResize}\n     */\n    this.timeResize = timeResize;\n\n    /**\n     * @type {function}\n     */\n    this._getTopFunc = null;\n\n    /**\n     * @type {HTMLElement}\n     */\n    this._originScheduleElement = null;\n\n    /**\n     * @type {number}\n     */\n    this._startTopPixel = 0;\n\n    /**\n     * @type {number}\n     */\n    this._startHeightPixel = 0;\n\n    /**\n     * @type {number}\n     */\n    this._startGridY = 0;\n\n    /**\n     * @type {Schedule}\n     */\n    this._schedule = null;\n\n    timeResize.on({\n        'timeResizeDragstart': this._onDragStart,\n        'timeResizeDrag': this._onDrag,\n        'timeResizeDragend': this._clearGuideElement,\n        'timeResizeClick': this._clearGuideElement\n    }, this);\n}\n\n/**\n * Destroy method\n */\nTimeResizeGuide.prototype.destroy = function() {\n    this._clearGuideElement();\n    this.timeResize.off(this);\n    this.guideElement = this.timeResize = this._getTopFunc =\n        this._originScheduleElement = this._startHeightPixel =\n        this._startGridY = this._startTopPixel = null;\n};\n\n/**\n * Clear guide element.\n */\nTimeResizeGuide.prototype._clearGuideElement = function() {\n    var guideElement = this.guideElement,\n        originElement = this._originScheduleElement;\n\n    if (!util.browser.msie) {\n        domutil.removeClass(global.document.body, config.classname('resizing'));\n    }\n\n    if (originElement) {\n        originElement.style.display = 'block';\n    }\n\n    domutil.remove(guideElement);\n\n    this.guideElement = this._getTopFunc = this._originScheduleElement =\n        this._startHeightPixel = this._startGridY = this._startTopPixel = null;\n};\n\n/**\n * Refresh guide element\n * @param {number} guideHeight - guide element's style height.\n * @param {number} minTimeHeight - time element's min height\n * @param {number} timeHeight - time element's height.\n */\nTimeResizeGuide.prototype._refreshGuideElement = function(guideHeight, minTimeHeight, timeHeight) {\n    var guideElement = this.guideElement;\n    var timeElement;\n\n    if (!guideElement) {\n        return;\n    }\n\n    timeElement = domutil.find(config.classname('.time-schedule-content-time'), guideElement);\n\n    reqAnimFrame.requestAnimFrame(function() {\n        guideElement.style.height = guideHeight + 'px';\n        guideElement.style.display = 'block';\n\n        if (timeElement) {\n            timeElement.style.height = timeHeight + 'px';\n            timeElement.style.minHeight = minTimeHeight + 'px';\n        }\n    });\n};\n\n/**\n * TimeMove#timeMoveDragstart event handler\n * @param {object} dragStartEventData - dragstart event data\n */\nTimeResizeGuide.prototype._onDragStart = function(dragStartEventData) {\n    var originElement = domutil.closest(\n            dragStartEventData.target,\n            config.classname('.time-date-schedule-block')\n        ),\n        schedule = dragStartEventData.schedule,\n        guideElement;\n\n    if (!util.browser.msie) {\n        domutil.addClass(global.document.body, config.classname('resizing'));\n    }\n\n    if (!originElement || !schedule) {\n        return;\n    }\n\n    this._startGridY = dragStartEventData.nearestGridY;\n    this._startHeightPixel = parseFloat(originElement.style.height);\n    this._startTopPixel = parseFloat(originElement.style.top);\n\n    this._originScheduleElement = originElement;\n    this._schedule = schedule;\n\n    guideElement = this.guideElement = originElement.cloneNode(true);\n    domutil.addClass(guideElement, config.classname('time-guide-resize'));\n\n    originElement.style.display = 'none';\n    dragStartEventData.relatedView.container.appendChild(guideElement);\n};\n\n/**\n * @param {object} dragEventData - event data from Drag#drag.\n */\nTimeResizeGuide.prototype._onDrag = function(dragEventData) {\n    var timeView = dragEventData.relatedView,\n        viewOptions = timeView.options,\n        viewHeight = timeView.getViewBound().height,\n        hourLength = viewOptions.hourEnd - viewOptions.hourStart,\n        guideElement = this.guideElement,\n        guideTop = parseFloat(guideElement.style.top),\n        gridYOffset = dragEventData.nearestGridY - this._startGridY,\n        // hourLength : viewHeight = gridYOffset : X;\n        gridYOffsetPixel = ratio(hourLength, viewHeight, gridYOffset),\n        goingDuration = this._schedule.goingDuration,\n        modelDuration = this._schedule.duration() / datetime.MILLISECONDS_PER_MINUTES,\n        comingDuration = this._schedule.comingDuration,\n        minutesLength = hourLength * 60,\n        timeHeight,\n        timeMinHeight,\n        minHeight,\n        maxHeight,\n        height;\n\n    height = (this._startHeightPixel + gridYOffsetPixel);\n    // at least large than 30min from schedule start time.\n    minHeight = guideTop + ratio(hourLength, viewHeight, 0.5);\n    minHeight -= this._startTopPixel;\n    timeMinHeight = minHeight;\n    minHeight += ratio(minutesLength, viewHeight, goingDuration) + ratio(minutesLength, viewHeight, comingDuration);\n    // smaller than 24h\n    maxHeight = viewHeight - guideTop;\n\n    height = Math.max(height, minHeight);\n    height = Math.min(height, maxHeight);\n\n    timeHeight = ratio(minutesLength, viewHeight, modelDuration) + gridYOffsetPixel;\n\n    this._refreshGuideElement(height, timeMinHeight, timeHeight);\n};\n\nmodule.exports = TimeResizeGuide;\n","/**\n * @fileoverview Handling resize schedules from drag handler and time grid view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar TZDate = require('../../common/timezone').Date;\nvar timeCore = require('./core');\nvar TimeResizeGuide = require('./resizeGuide');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes timeCore\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction TimeResize(dragHandler, timeGridView, baseController) {\n    /**\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * @type {TimeGrid}\n     */\n    this.timeGridView = timeGridView;\n\n    /**\n     * @type {Base}\n     */\n    this.baseController = baseController;\n\n    /**\n     * @type {function}\n     */\n    this._getScheduleDataFunc = null;\n\n    /**\n     * @type {object}\n     */\n    this._dragStart = null;\n\n    /**\n     * @type {TimeResizeGuide}\n     */\n    this._guide = new TimeResizeGuide(this);\n\n    dragHandler.on('dragStart', this._onDragStart, this);\n}\n\n/**\n * Destroy method\n */\nTimeResize.prototype.destroy = function() {\n    this._guide.destroy();\n    this.dragHandler.off(this);\n    this.dragHandler = this.timeGridView = this.baseController =\n        this._getScheduleDataFunc = this._dragStart = this._guide = null;\n};\n\n/**\n * @param {HTMLElement} target - element to check condition.\n * @returns {object|boolean} - return time view instance or false\n */\nTimeResize.prototype.checkExpectCondition = function(target) {\n    var container,\n        matches;\n\n    if (!domutil.hasClass(target, config.classname('time-resize-handle'))) {\n        return false;\n    }\n\n    container = domutil.closest(target, config.classname('.time-date'));\n\n    if (!container) {\n        return false;\n    }\n\n    matches = domutil.getClass(container).match(config.time.getViewIDRegExp);\n\n    if (!matches || matches.length < 2) {\n        return false;\n    }\n\n    return util.pick(this.timeGridView.children.items, Number(matches[1]));\n};\n\n/**\n * @emits TimeResize#timeResizeDragstart\n * @param {object} dragStartEventData - event data of Drag#dragstart\n */\nTimeResize.prototype._onDragStart = function(dragStartEventData) {\n    var target = dragStartEventData.target,\n        timeView = this.checkExpectCondition(target),\n        blockElement = domutil.closest(target, config.classname('.time-date-schedule-block')),\n        ctrl = this.baseController,\n        targetModelID,\n        getScheduleDataFunc,\n        scheduleData;\n\n    if (!timeView || !blockElement) {\n        return;\n    }\n\n    targetModelID = domutil.getData(blockElement, 'id');\n    getScheduleDataFunc = this._getScheduleDataFunc = this._retriveScheduleData(timeView);\n    scheduleData = this._dragStart = getScheduleDataFunc(\n        dragStartEventData.originEvent, {\n            targetModelID: targetModelID,\n            schedule: ctrl.schedules.items[targetModelID]\n        }\n    );\n\n    this.dragHandler.on({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    /**\n     * @event TimeResize#timeResizeDragstart\n     * @type {object}\n     * @property {HTMLElement} target - current target in mouse event object.\n     * @property {Time} relatedView - time view instance related with mouse position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     * @property {string} targetModelID - The model unique id emitted move schedule.\n     * @property {Schedule} schedule - schedule data\n     */\n    this.fire('timeResizeDragstart', scheduleData);\n};\n\n/**\n * Drag#drag event handler\n * @emits TimeResize#timeResizeDrag\n * @param {object} dragEventData - event data of Drag#drag custom event.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {function} [revise] - supply function for revise schedule data before emit.\n */\nTimeResize.prototype._onDrag = function(dragEventData, overrideEventName, revise) {\n    var getScheduleDataFunc = this._getScheduleDataFunc,\n        startScheduleData = this._dragStart,\n        scheduleData;\n\n    if (!getScheduleDataFunc || !startScheduleData) {\n        return;\n    }\n\n    scheduleData = getScheduleDataFunc(dragEventData.originEvent, {\n        targetModelID: startScheduleData.targetModelID\n    });\n\n    if (revise) {\n        revise(scheduleData);\n    }\n\n    /**\n     * @event TimeResize#timeResizeDrag\n     * @type {object}\n     * @property {HTMLElement} target - current target in mouse event object.\n     * @property {Time} relatedView - time view instance related with drag start position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     * @property {string} targetModelID - The model unique id emitted move schedule.\n     */\n    this.fire(overrideEventName || 'timeResizeDrag', scheduleData);\n};\n\n/**\n * Update model instance by dragend event results.\n * @fires TimeResize#beforeUpdateSchedule\n * @param {object} scheduleData - schedule data from TimeResize#timeResizeDragend\n */\nTimeResize.prototype._updateSchedule = function(scheduleData) {\n    var ctrl = this.baseController,\n        modelID = scheduleData.targetModelID,\n        range = scheduleData.nearestRange,\n        timeDiff = range[1] - range[0],\n        schedule = ctrl.schedules.items[modelID],\n        relatedView = scheduleData.relatedView,\n        dateEnd,\n        newEnds,\n        baseDate;\n\n    if (!schedule) {\n        return;\n    }\n\n    timeDiff -= datetime.millisecondsFrom('minutes', 30);\n\n    baseDate = new TZDate(relatedView.getDate());\n    dateEnd = datetime.end(baseDate);\n    newEnds = new TZDate(schedule.getEnds()).addMilliseconds(timeDiff);\n\n    if (newEnds > dateEnd) {\n        newEnds = new TZDate(dateEnd);\n    }\n\n    if (newEnds.getTime() - schedule.getStarts().getTime() < datetime.millisecondsFrom('minutes', 30)) {\n        newEnds = new TZDate(schedule.getStarts()).addMinutes(30);\n    }\n\n    /**\n     * @event TimeResize#beforeUpdateSchedule\n     * @type {object}\n     * @property {Schedule} schedule - schedule instance to update\n     * @property {Date} start - start time to update\n     * @property {Date} end - end time to update\n     */\n    this.fire('beforeUpdateSchedule', {\n        schedule: schedule,\n        start: schedule.getStarts(),\n        end: newEnds\n    });\n};\n\n/**\n * Drag#dragEnd event handler\n * @emits TimeResize#timeResizeDragend\n * @param {MouseEvent} dragEndEventData - Mouse event of Drag#dragEnd custom event.\n */\nTimeResize.prototype._onDragEnd = function(dragEndEventData) {\n    var getScheduleDataFunc = this._getScheduleDataFunc,\n        dragStart = this._dragStart,\n        scheduleData;\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    if (!getScheduleDataFunc || !dragStart) {\n        return;\n    }\n\n    scheduleData = getScheduleDataFunc(dragEndEventData.originEvent, {\n        targetModelID: dragStart.targetModelID\n    });\n\n    scheduleData.range = [\n        dragStart.timeY,\n        new TZDate(scheduleData.timeY).addMinutes(30)\n    ];\n\n    scheduleData.nearestRange = [\n        dragStart.nearestGridTimeY,\n        scheduleData.nearestGridTimeY.addMinutes(30)\n    ];\n\n    this._updateSchedule(scheduleData);\n\n    /**\n     * @event TimeResize#timeResizeDragend\n     * @type {object}\n     * @property {HTMLElement} target - current target in mouse event object.\n     * @property {Time} relatedView - time view instance related with drag start position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     * @property {string} targetModelID - The model unique id emitted move schedule.\n     * @property {number[]} range - milliseconds range between drag start and end.\n     * @property {number[]} nearestRange - milliseconds range related with nearestGridY between start and end.\n     */\n    this.fire('timeResizeDragend', scheduleData);\n\n    this._getScheduleDataFunc = this._dragStart = null;\n};\n\n/**\n * @emits TimeResize#timeResizeClick\n */\nTimeResize.prototype._onClick = function() {\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    /**\n     * @event TimeResize#timeResizeClick\n     */\n    this.fire('timeResizeClick');\n};\n\ntimeCore.mixin(TimeResize);\nutil.CustomEvents.mixin(TimeResize);\n\nmodule.exports = TimeResize;\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content-travel-time\\\" style=\\\"border-color:\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \"; border-bottom: 1px dashed \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; height: \"\n    + alias4(((helper = (helper = helpers.goingDurationHeight || (depth0 != null ? depth0.goingDurationHeight : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"goingDurationHeight\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%;\\\">\"\n    + ((stack1 = (helpers[\"goingDuration-tmpl\"] || (depth0 && depth0[\"goingDuration-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"goingDuration-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content-travel-time\\\" style=\\\"border-color:\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \"; border-top: 1px dashed \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; height: \"\n    + alias4(((helper = (helper = helpers.comingDurationHeight || (depth0 != null ? depth0.comingDurationHeight : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"comingDurationHeight\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%;\\\">\"\n    + ((stack1 = (helpers[\"comingDuration-tmpl\"] || (depth0 && depth0[\"comingDuration-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"comingDuration-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \"<div class=\\\"\"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-resize-handle handle-x\\\">&nbsp;</div>\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-date-schedule-block\\\" data-id=\\\"\"\n    + alias4((helpers.stamp || (depth0 && depth0.stamp) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"stamp\",\"hash\":{},\"data\":data}))\n    + \"\\\" style=\\\"width: 100%; height: 100%;\\\">\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-date-schedule-block-focused\\\" style=\\\"color: #ffffff; background-color:\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.dragBgColor : stack1), depth0))\n    + \";\\\">\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hasGoingDuration : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content\\\" style=\\\"height: \"\n    + alias4(((helper = (helper = helpers.modelDurationHeight || (depth0 != null ? depth0.modelDurationHeight : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"modelDurationHeight\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; border-color:\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\\">\\n                \"\n    + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n            </div>\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hasComingDuration : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"    </div>\\n    \"\n    + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.croppedEnd : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-date-schedule-block-cover\\\"></div>\\n</div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview Module for Time.Move effect while dragging.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar ratio = require('../../common/common').ratio;\nvar FloatingLayer = require('../../common/floatingLayer');\nvar tmpl = require('../../view/template/week/timeMoveGuide.hbs');\nvar TZDate = require('../../common/timezone').Date;\nvar Schedule = require('../../model/schedule');\nvar datetime = require('../../common/datetime');\nvar common = require('../../common/common');\n\nvar SCHEDULE_MIN_DURATION = datetime.MILLISECONDS_SCHEDULE_MIN_DURATION;\n\n/**\n * Class for Time.Move effect.\n * @constructor\n * @param {TimeMove} timeMove - The instance of TimeMove.\n */\nfunction TimeMoveGuide(timeMove) {\n    /**\n     * @type {FloatingLayer}\n     */\n    this._guideLayer = null;\n\n    /**\n     * @Type {Schedule}\n     */\n    this._model = null;\n\n    /**\n     * @type {object}\n     */\n    this._viewModel = null;\n\n    /**\n     * @type {object}\n     */\n    this._lastDrag = null;\n\n    /**\n     * @type {HTMLElement}\n     */\n    this.guideElement = null;\n\n    /**\n     * @type {TimeMove}\n     */\n    this.timeMove = timeMove;\n\n    /**\n     * @type {HTMLElement}\n     */\n    this._container = null;\n\n    /**\n     * @type {function}\n     */\n    this._getTopFunc = null;\n\n    /**\n     * @type {number}\n     */\n    this._startGridY = 0;\n\n    /**\n     * @type {number}\n     */\n    this._startTopPixel = 0;\n\n    timeMove.on({\n        'timeMoveDragstart': this._onDragStart,\n        'timeMoveDrag': this._onDrag,\n        'timeMoveDragend': this._clearGuideElement,\n        'timeMoveClick': this._clearGuideElement\n    }, this);\n}\n\n/**\n * Destroy method\n */\nTimeMoveGuide.prototype.destroy = function() {\n    this._clearGuideElement();\n    this.timeMove.off(this);\n    if (this._guideLayer) {\n        this._guideLayer.destroy();\n    }\n    this.guideElement = this.timeMove = this._container = this._guideLayer = this._lastDrag =\n        this._getTopFunc = this._startGridY = this._startTopPixel = this._viewModel = null;\n};\n\n/**\n * Clear guide element.\n */\nTimeMoveGuide.prototype._clearGuideElement = function() {\n    if (!util.browser.msie) {\n        domutil.removeClass(global.document.body, config.classname('dragging'));\n    }\n    if (this._guideLayer) {\n        this._guideLayer.destroy();\n    }\n\n    this._showOriginScheduleBlocks();\n\n    this.guideElement = this._getTopFunc = this._guideLayer = this._model = this._lastDrag =\n        this._startGridY = this._startTopPixel = this._viewModel = null;\n};\n\n/**\n * Dim element blocks\n * @param {number} modelID - Schedule model instance ID\n */\nTimeMoveGuide.prototype._hideOriginScheduleBlocks = function() {\n    var className = config.classname('time-date-schedule-block-dragging-dim');\n    if (this.guideElement) {\n        domutil.addClass(this.guideElement, className);\n    }\n};\n\n/**\n * Show element blocks\n */\nTimeMoveGuide.prototype._showOriginScheduleBlocks = function() {\n    var className = config.classname('time-date-schedule-block-dragging-dim');\n    if (this.guideElement) {\n        domutil.removeClass(this.guideElement, className);\n    }\n};\n\n/**\n * Refresh guide element\n * @param {string} top - guide element's style top.\n * @param {Schedule} model - updated model\n * @param {object} viewModel - view model\n */\nTimeMoveGuide.prototype._refreshGuideElement = function(top, model, viewModel) {\n    var self = this;\n\n    reqAnimFrame.requestAnimFrame(function() {\n        if (!self._guideLayer) {\n            return;\n        }\n        self._guideLayer.setPosition(0, top);\n        self._guideLayer.setContent(tmpl(util.extend({model: model}, viewModel)));\n    });\n};\n\n/**\n * TimeMove#timeMoveDragstart event handler\n * @param {object} dragStartEventData - dragstart event data\n */\nTimeMoveGuide.prototype._onDragStart = function(dragStartEventData) {\n    var guideElement = domutil.closest(\n        dragStartEventData.target,\n        config.classname('.time-date-schedule-block')\n    );\n    var duration, modelDuration, goingDuration, comingDuration;\n\n    if (!guideElement) {\n        return;\n    }\n\n    this._startTopPixel = parseFloat(guideElement.style.top);\n    this._startGridY = dragStartEventData.nearestGridY;\n    this.guideElement = guideElement;\n    this._container = dragStartEventData.relatedView.container;\n\n    this._model = util.extend(\n        Schedule.create(dragStartEventData.model),\n        dragStartEventData.model\n    );\n\n    modelDuration = this._model.duration();\n    modelDuration = modelDuration > SCHEDULE_MIN_DURATION ? modelDuration : SCHEDULE_MIN_DURATION;\n    goingDuration = datetime.millisecondsFrom('minutes', this._model.goingDuration);\n    comingDuration = datetime.millisecondsFrom('minutes', this._model.comingDuration);\n    duration = goingDuration + modelDuration + comingDuration;\n\n    this._lastDrag = dragStartEventData;\n    this._viewModel = {\n        hasGoingDuration: goingDuration > 0,\n        hasComingDuration: comingDuration > 0,\n        goingDurationHeight: common.ratio(duration, goingDuration, 100),\n        modelDurationHeight: common.ratio(duration, modelDuration, 100),\n        comingDurationHeight: common.ratio(duration, comingDuration, 100)\n    };\n\n    this._resetGuideLayer();\n    this._hideOriginScheduleBlocks();\n};\n\n/**\n * TimeMove#timeMoveDrag event handler\n * @param {object} dragEventData - drag event data\n */\nTimeMoveGuide.prototype._onDrag = function(dragEventData) {\n    var timeView = dragEventData.currentView,\n        viewOptions = timeView.options,\n        viewHeight = timeView.getViewBound().height,\n        guideHeight = parseFloat(this.guideElement.style.height),\n        hourLength = viewOptions.hourEnd - viewOptions.hourStart,\n        gridYOffset = dragEventData.nearestGridY - this._startGridY,\n        gridYOffsetPixel = ratio(hourLength, viewHeight, gridYOffset),\n        gridDiff = dragEventData.nearestGridY - this._lastDrag.nearestGridY,\n        bottomLimit,\n        top;\n\n    if (!util.browser.msie) {\n        domutil.addClass(global.document.body, config.classname('dragging'));\n    }\n\n    if (this._container !== timeView.container) {\n        this._container = timeView.container;\n        this._resetGuideLayer();\n    }\n\n    top = this._startTopPixel + gridYOffsetPixel;\n    bottomLimit = viewHeight - guideHeight;\n\n    top = Math.max(top, 0);\n    top = Math.min(top, bottomLimit);\n\n    // update time\n    this._model.start = new TZDate(this._model.getStarts()).addMinutes(datetime.minutesFromHours(gridDiff));\n    this._model.end = new TZDate(this._model.getEnds()).addMinutes(datetime.minutesFromHours(gridDiff));\n    this._lastDrag = dragEventData;\n\n    this._refreshGuideElement(top, this._model, this._viewModel);\n};\n\nTimeMoveGuide.prototype._resetGuideLayer = function() {\n    if (this._guideLayer) {\n        this._guideLayer.destroy();\n        this._guideLayer = null;\n    }\n    this._guideLayer = new FloatingLayer(null, this._container);\n    this._guideLayer.setSize(this._container.getBoundingClientRect().width, this.guideElement.style.height);\n    this._guideLayer.setPosition(0, this.guideElement.style.top);\n    this._guideLayer.setContent(tmpl(util.extend({model: this._model}, this._viewModel)));\n    this._guideLayer.show();\n};\n\nmodule.exports = TimeMoveGuide;\n","/**\n * @fileoverview Handling move schedules from drag handler and time grid view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar TZDate = require('../../common/timezone').Date;\nvar timeCore = require('./core');\nvar TimeMoveGuide = require('./moveGuide');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes timeCore\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction TimeMove(dragHandler, timeGridView, baseController) {\n    /**\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * @type {TimeGrid}\n     */\n    this.timeGridView = timeGridView;\n\n    /**\n     * @type {Base}\n     */\n    this.baseController = baseController;\n\n    /**\n     * @type {function}\n     */\n    this._getScheduleDataFunc = null;\n\n    /**\n     * @type {object}\n     */\n    this._dragStart = null;\n\n    /**\n     * @type {TimeMoveGuide}\n     */\n    this._guide = new TimeMoveGuide(this);\n\n    dragHandler.on('dragStart', this._onDragStart, this);\n    dragHandler.on('mousedown', this._onMouseDown, this);\n}\n\n/**\n * Destroy method.\n */\nTimeMove.prototype.destroy = function() {\n    this._guide.destroy();\n    this.dragHandler.off(this);\n    this.dragHandler = this.timeGridView = this.baseController =\n        this._getScheduleDataFunc = this._dragStart = this._guide = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {boolean|object} - return object when satiate condition.\n */\nTimeMove.prototype.checkExpectCondition = function(target) {\n    if (!domutil.closest(target, config.classname('.time-schedule'))) {\n        return false;\n    }\n\n    return this._getTimeView(target);\n};\n\n/**\n * Get Time view container from supplied element.\n * @param {HTMLElement} target - element to find time view container.\n * @returns {object|boolean} - return time view instance when finded.\n */\nTimeMove.prototype._getTimeView = function(target) {\n    var container = domutil.closest(target, config.classname('.time-date')),\n        matches;\n\n    if (!container) {\n        return false;\n    }\n\n    matches = domutil.getClass(container).match(config.time.getViewIDRegExp);\n\n    if (!matches || matches.length < 2) {\n        return false;\n    }\n\n    return util.pick(this.timeGridView.children.items, Number(matches[1]));\n};\n\n/**\n * @emits TimeMove#mousedown\n * @param {object} mouseDownEventData - Drag#mousedown schedule data.\n */\nTimeMove.prototype._onMouseDown = function(mouseDownEventData) {\n    var target = mouseDownEventData.target,\n        timeView = this.checkExpectCondition(target),\n        blockElement = domutil.closest(target, config.classname('.time-date-schedule-block'));\n\n    if (!timeView || !blockElement) {\n        return;\n    }\n\n    // EventTarget.target is not changed in mousemove event even if mouse is over the other element.\n    // It's different with other browsers(IE, Chrome, Safari)\n    if (util.browser.firefox) {\n        domevent.preventDefault(mouseDownEventData.originEvent);\n    }\n};\n\n/**\n * @emits TimeMove#timeMoveDragstart\n * @param {object} dragStartEventData - Drag#dragStart schedule data.\n */\nTimeMove.prototype._onDragStart = function(dragStartEventData) {\n    var target = dragStartEventData.target,\n        timeView = this.checkExpectCondition(target),\n        blockElement = domutil.closest(target, config.classname('.time-date-schedule-block')),\n        getScheduleDataFunc,\n        scheduleData,\n        ctrl = this.baseController,\n        targetModelID,\n        targetModel;\n\n    if (!timeView || !blockElement) {\n        return;\n    }\n\n    targetModelID = domutil.getData(blockElement, 'id');\n    targetModel = ctrl.schedules.items[targetModelID];\n\n    if (targetModel.isReadOnly) {\n        return;\n    }\n\n    getScheduleDataFunc = this._getScheduleDataFunc = this._retriveScheduleData(timeView);\n    scheduleData = this._dragStart = getScheduleDataFunc(\n        dragStartEventData.originEvent, {\n            targetModelID: targetModelID,\n            model: targetModel\n        }\n    );\n\n    this.dragHandler.on({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    /**\n     * @event TimeMove#timeMoveDragstart\n     * @type {object}\n     * @property {HTMLElement} target - current target in mouse event object.\n     * @property {Time} relatedView - time view instance related with mouse position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     * @property {string} targetModelID - The model unique id emitted move schedule.\n     * @property {Schedule} model - model instance\n     */\n    this.fire('timeMoveDragstart', scheduleData);\n};\n\n/**\n * @emits TimeMove#timeMoveDrag\n * @param {MouseEvent} dragEventData - mousemove event object\n * @param {string} [overrideEventName] - name of emitting event to override.\n * @param {function} [revise] - supply function for revise schedule data before emit.\n */\nTimeMove.prototype._onDrag = function(dragEventData, overrideEventName, revise) {\n    var getScheduleDataFunc = this._getScheduleDataFunc,\n        timeView = this._getTimeView(dragEventData.target),\n        dragStart = this._dragStart,\n        scheduleData;\n\n    if (!timeView || !getScheduleDataFunc || !dragStart) {\n        return;\n    }\n\n    scheduleData = getScheduleDataFunc(dragEventData.originEvent, {\n        currentView: timeView,\n        targetModelID: dragStart.targetModelID\n    });\n\n    if (revise) {\n        revise(scheduleData);\n    }\n\n    /**\n     * @event TimeMove#timeMoveDrag\n     * @type {object}\n     * @property {HTMLElement} target - current target in mouse event object.\n     * @property {Time} relatedView - time view instance related with drag start position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     * @property {Time} currentView - time view instance related with current mouse position.\n     * @property {string} targetModelID - The model unique id emitted move schedule.\n     */\n    this.fire(overrideEventName || 'timeMoveDrag', scheduleData);\n};\n\n/**\n * Update model instance by dragend event results.\n * @fires TimeMove#beforeUpdateSchedule\n * @param {object} scheduleData - schedule data from TimeMove#timeMoveDragend\n */\nTimeMove.prototype._updateSchedule = function(scheduleData) {\n    var ctrl = this.baseController,\n        modelID = scheduleData.targetModelID,\n        range = scheduleData.nearestRange,\n        timeDiff = range[1] - range[0],\n        dateDiff = 0,\n        schedule = ctrl.schedules.items[modelID],\n        relatedView = scheduleData.relatedView,\n        currentView = scheduleData.currentView,\n        newStarts,\n        newEnds;\n\n    if (!schedule || !currentView) {\n        return;\n    }\n\n    timeDiff -= datetime.millisecondsFrom('minutes', 30);\n    newStarts = new TZDate(schedule.getStarts()).addMilliseconds(timeDiff);\n    newEnds = new TZDate(schedule.getEnds()).addMilliseconds(timeDiff);\n\n    if (currentView) {\n        dateDiff = currentView.getDate() - relatedView.getDate();\n    }\n\n    newStarts.addMilliseconds(dateDiff);\n    newEnds.addMilliseconds(dateDiff);\n\n    /**\n     * @event TimeMove#beforeUpdateSchedule\n     * @type {object}\n     * @property {Schedule} schedule - schedule instance to update\n     * @property {Date} start - start time to update\n     * @property {Date} end - end time to update\n     */\n    this.fire('beforeUpdateSchedule', {\n        schedule: schedule,\n        start: newStarts,\n        end: newEnds\n    });\n};\n\n/**\n * @emits TimeMove#timeMoveDragend\n * @param {MouseEvent} dragEndEventData - mouseup mouse event object.\n */\nTimeMove.prototype._onDragEnd = function(dragEndEventData) {\n    var getScheduleDataFunc = this._getScheduleDataFunc,\n        currentView = this._getTimeView(dragEndEventData.target),\n        dragStart = this._dragStart,\n        scheduleData;\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    if (!getScheduleDataFunc || !dragStart) {\n        return;\n    }\n\n    scheduleData = getScheduleDataFunc(dragEndEventData.originEvent, {\n        currentView: currentView,\n        targetModelID: dragStart.targetModelID\n    });\n\n    scheduleData.range = [\n        dragStart.timeY,\n        new TZDate(scheduleData.timeY).addMinutes(30)\n    ];\n\n    scheduleData.nearestRange = [\n        dragStart.nearestGridTimeY,\n        new TZDate(scheduleData.nearestGridTimeY).addMinutes(30)\n    ];\n\n    this._updateSchedule(scheduleData);\n\n    /**\n     * @event TimeMove#timeMoveDragend\n     * @type {object}\n     * @property {HTMLElement} target - current target in mouse event object.\n     * @property {Time} relatedView - time view instance related with drag start position.\n     * @property {Time} currentView - time view instance related with current mouse position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     * @property {string} targetModelID - The model unique id emitted move schedule.\n     * @property {number[]} range - milliseconds range between drag start and end.\n     * @property {number[]} nearestRange - milliseconds range related with nearestGridY between start and end.\n     */\n    this.fire('timeMoveDragend', scheduleData);\n};\n\n/**\n * @emits TimeMove#timeMoveClick\n * @param {MouseEvent} clickEventData - click mouse event object.\n */\nTimeMove.prototype._onClick = function(clickEventData) {\n    var getScheduleDataFunc = this._getScheduleDataFunc,\n        dragStart = this._dragStart,\n        scheduleData;\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    if (!getScheduleDataFunc || !dragStart) {\n        return;\n    }\n\n    scheduleData = getScheduleDataFunc(clickEventData.originEvent, {\n        targetModelID: dragStart.targetModelID\n    });\n\n    /**\n     * @event TimeMove#timeMoveClick\n     * @type {object}\n     * @property {HTMLElement} target - current target in mouse event object.\n     * @property {Time} relatedView - time view instance related with drag start position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     * @property {string} targetModelID - The model unique id emitted move schedule.\n     */\n    this.fire('timeMoveClick', scheduleData);\n};\n\ntimeCore.mixin(TimeMove);\nutil.CustomEvents.mixin(TimeMove);\n\nmodule.exports = TimeMove;\n","/**\n * @fileoverview Module for Time.Creation effect while dragging.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar common = require('../../common/common');\nvar datetime = require('../../common/datetime');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar ratio = require('../../common/common').ratio;\nvar TZDate = require('../../common/timezone').Date;\nvar MIN60 = (datetime.MILLISECONDS_PER_MINUTES * 60);\n\n/**\n * Class for Time.Creation dragging effect.\n * @constructor\n * @param {TimeCreation} timeCreation - instance of TimeCreation.\n */\nfunction TimeCreationGuide(timeCreation) {\n    /**\n     * Guide element for creation effect.\n     * @type {HTMLElement}\n     */\n    this.guideElement = global.document.createElement('div');\n\n    /**\n     * @type {HTMLDivElement}\n     */\n    this.guideTimeElement = domutil.appendHTMLElement(\n        'span',\n        this.guideElement,\n        config.classname('time-guide-creation-label')\n    );\n\n    domutil.addClass(this.guideElement, config.classname('time-guide-creation'));\n\n    /**\n     * @type {TimeCreation}\n     */\n    this.timeCreation = timeCreation;\n\n    /**\n     * @type {array}\n     */\n    this._styleUnit = null;\n\n    /**\n     * @type {array}\n     */\n    this._styleStart = null;\n\n    /**\n     * @type {function}\n     */\n    this._styleFunc = null;\n\n    timeCreation.on({\n        timeCreationDragstart: this._createGuideElement,\n        timeCreationDrag: this._onDrag,\n        timeCreationClick: this._createGuideElement\n    }, this);\n\n    this.applyTheme(timeCreation.baseController.theme);\n}\n\n/**\n * Destroy method.\n */\nTimeCreationGuide.prototype.destroy = function() {\n    this.clearGuideElement();\n    this.timeCreation.off(this);\n    this.timeCreation = this._styleUnit = this._styleStart =\n        this._styleFunc = this.guideElement = this.guideTimeElement = null;\n};\n\n/**\n * Clear guide element.\n */\nTimeCreationGuide.prototype.clearGuideElement = function() {\n    var guideElement = this.guideElement,\n        timeElement = this.guideTimeElement;\n\n    domutil.remove(guideElement);\n\n    reqAnimFrame.requestAnimFrame(function() {\n        guideElement.style.display = 'none';\n        guideElement.style.top = '';\n        guideElement.style.height = '';\n        timeElement.innerHTML = '';\n    });\n};\n\n/**\n * Refresh guide element\n * @param {number} top - The number of guide element's style top\n * @param {number} height - The number of guide element's style height\n * @param {TZDate} start - start time of schedule to create\n * @param {TZDate} end - end time of schedule to create\n * @param {boolean} bottomLabel - is label need to render bottom of guide element?\n */\nTimeCreationGuide.prototype._refreshGuideElement = function(top, height, start, end, bottomLabel) {\n    var guideElement = this.guideElement;\n    var timeElement = this.guideTimeElement;\n\n    guideElement.style.top = top + 'px';\n    guideElement.style.height = height + 'px';\n    guideElement.style.display = 'block';\n\n    timeElement.innerHTML = datetime.format(start, 'HH:mm') +\n        ' - ' + datetime.format(end, 'HH:mm');\n\n    if (bottomLabel) {\n        domutil.removeClass(timeElement, config.classname('time-guide-bottom'));\n    } else {\n        domutil.addClass(timeElement, config.classname('time-guide-bottom'));\n    }\n};\n\n/**\n * Get unit data of calculating new style of guide element by user interaction\n * @param {Time} relatedView - time view instance related with schedule\n * @returns {array} unit data.\n */\nTimeCreationGuide.prototype._getUnitData = function(relatedView) {\n    var viewOpt = relatedView.options,\n        viewHeight = relatedView.getViewBound().height,\n        hourLength = viewOpt.hourEnd - viewOpt.hourStart,\n        todayStart = datetime.parse(viewOpt.ymd),\n        todayEnd = datetime.end(todayStart);\n\n    todayStart.setHours(0, 0, 0, 0);\n    todayStart.setHours(viewOpt.hourStart);\n\n    // [0] height of view\n    // [1] hour length of view\n    // [2] start time of view\n    // [3] end time of view\n    // [4] height of view for one hour\n    return [\n        viewHeight,\n        hourLength,\n        todayStart,\n        todayEnd,\n        viewHeight / hourLength\n    ];\n};\n\n/**\n * Applying limitation to supplied data and return it.\n * @param {number} top - top pixel of guide element\n * @param {number} height - height pixel of guide element\n * @param {TZDate} start - relative time value of dragstart point\n * @param {TZDate} end - relative time value of dragend point\n * @returns {array} limited style data\n */\nTimeCreationGuide.prototype._limitStyleData = function(top, height, start, end) {\n    var unitData = this._styleUnit;\n\n    top = common.limit(top, [0], [unitData[0]]);\n    height = common.limit(top + height, [0], [unitData[0]]) - top;\n    start = common.limitDate(start, unitData[2], unitData[3]);\n    end = common.limitDate(end, unitData[2], unitData[3]);\n\n    return [top, height, start, end];\n};\n\n/**\n * Get function to calculate guide element UI data from supplied units\n * @param {number} viewHeight - total height of view's container element\n * @param {number} hourLength - hour length that rendered in time view\n * @param {TZDate} todayStart - time for view's start date\n * @returns {function} UI data calculator function\n */\nTimeCreationGuide.prototype._getStyleDataFunc = function(viewHeight, hourLength, todayStart) {\n    var todayStartTime = todayStart;\n    var todayEndTime = datetime.end(todayStart);\n\n    /**\n     * Get top, time value from schedule data\n     * @param {object} scheduleData - schedule data object\n     * @returns {number[]} top, time\n     */\n    function getStyleData(scheduleData) {\n        var minMinutes = 30;\n        var gridY = scheduleData.nearestGridY,\n            gridTimeY = scheduleData.nearestGridTimeY,\n            gridEndTimeY = scheduleData.nearestGridEndTimeY || new TZDate(gridTimeY).addMinutes(minMinutes),\n            top, startTime, endTime;\n\n        top = common.limit(ratio(hourLength, viewHeight, gridY), [0], [viewHeight]);\n        startTime = common.limitDate(gridTimeY, todayStartTime, todayEndTime);\n        endTime = common.limitDate(gridEndTimeY, todayStartTime, todayEndTime);\n\n        return [top, startTime, endTime];\n    }\n\n    return getStyleData;\n};\n\n/**\n * DragStart event handler\n * @param {object} dragStartEventData - dragStart schedule data.\n */\nTimeCreationGuide.prototype._createGuideElement = function(dragStartEventData) {\n    var relatedView = dragStartEventData.relatedView,\n        hourStart = datetime.millisecondsFrom('hour', dragStartEventData.hourStart) || 0,\n        unitData, styleFunc, styleData, result, top, height, start, end;\n\n    unitData = this._styleUnit = this._getUnitData(relatedView);\n    styleFunc = this._styleFunc = this._getStyleDataFunc.apply(this, unitData);\n    styleData = this._styleStart = styleFunc(dragStartEventData);\n\n    start = new TZDate(styleData[1]).addMinutes(datetime.minutesFromHours(hourStart));\n    end = new TZDate(styleData[2]).addMinutes(datetime.minutesFromHours(hourStart));\n    top = styleData[0];\n    height = (unitData[4] * (end - start) / MIN60);\n\n    result = this._limitStyleData(\n        top,\n        height,\n        start,\n        end\n    );\n\n    this._refreshGuideElement.apply(this, result);\n\n    relatedView.container.appendChild(this.guideElement);\n};\n\n/**\n * Drag event handler\n * @param {object} dragEventData - drag schedule data.\n */\nTimeCreationGuide.prototype._onDrag = function(dragEventData) {\n    var minutes30 = 30;\n    var styleFunc = this._styleFunc,\n        unitData = this._styleUnit,\n        startStyle = this._styleStart,\n        refreshGuideElement = this._refreshGuideElement.bind(this),\n        heightOfHalfHour,\n        endStyle,\n        result;\n\n    if (!styleFunc || !unitData || !startStyle) {\n        return;\n    }\n\n    heightOfHalfHour = (unitData[4] / 2);\n    endStyle = styleFunc(dragEventData);\n\n    if (endStyle[0] > startStyle[0]) {\n        result = this._limitStyleData(\n            startStyle[0],\n            (endStyle[0] - startStyle[0]) + heightOfHalfHour,\n            startStyle[1],\n            new TZDate(endStyle[1]).addMinutes(minutes30)\n        );\n    } else {\n        result = this._limitStyleData(\n            endStyle[0],\n            (startStyle[0] - endStyle[0]) + heightOfHalfHour,\n            endStyle[1],\n            new TZDate(startStyle[1]).addMinutes(minutes30)\n        );\n        result.push(true);\n    }\n\n    reqAnimFrame.requestAnimFrame(function() {\n        refreshGuideElement.apply(null, result);\n    });\n};\n\nTimeCreationGuide.prototype.applyTheme = function(theme) {\n    var style = this.guideElement.style;\n    var timeStyle = this.guideTimeElement.style;\n\n    // block\n    style.backgroundColor = theme.common.creationGuide.backgroundColor;\n    style.border = theme.common.creationGuide.border;\n\n    // label\n    timeStyle.color = theme.week.creationGuide.color;\n    timeStyle.fontSize = theme.week.creationGuide.fontSize;\n    timeStyle.fontWeight = theme.week.creationGuide.fontWeight;\n};\n\nmodule.exports = TimeCreationGuide;\n","/**\n * @fileoverview Handling creation events from drag handler and time grid view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar array = require('../../common/array');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar common = require('../../common/common');\nvar TimeCreationGuide = require('./creationGuide');\nvar TZDate = require('../../common/timezone').Date;\nvar timeCore = require('./core');\n\nvar CLICK_DELAY = 300;\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes timeCore\n * @mixes CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n * @param {Base} [baseController] - Base controller instance.\n * @param {Options} [options] - calendar Options\n */\nfunction TimeCreation(dragHandler, timeGridView, baseController, options) {\n    /**\n     * Drag handler instance.\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * TimeGrid view instance.\n     * @type {TimeGrid}\n     */\n    this.timeGridView = timeGridView;\n\n    /**\n     * Base controller instance.\n     * @type {Base}\n     */\n    this.baseController = baseController;\n\n    /**\n     * @type {TimeCreationGuide}\n     */\n    this.guide = new TimeCreationGuide(this);\n\n    /**\n     * Temporary function for single drag session's calc.\n     * @type {function}\n     */\n    this._getScheduleDataFunc = null;\n\n    /**\n     * Temporary function for drag start data cache.\n     * @type {object}\n     */\n    this._dragStart = null;\n\n    /**\n     * @type {boolean}\n     */\n    this._requestOnClick = false;\n\n    /**\n     * @type {boolean}\n     */\n    this._disableDblClick = options.disableDblClick;\n\n    /**\n     * @type {boolean}\n     */\n    this._disableClick = options.disableClick;\n\n    dragHandler.on('dragStart', this._onDragStart, this);\n    dragHandler.on('click', this._onClick, this);\n\n    if (this._disableDblClick) {\n        CLICK_DELAY = 0;\n    } else {\n        domevent.on(timeGridView.container, 'dblclick', this._onDblClick, this);\n    }\n}\n\n/**\n * Destroy method\n */\nTimeCreation.prototype.destroy = function() {\n    var timeGridView = this.timeGridView;\n\n    this.guide.destroy();\n    this.dragHandler.off(this);\n\n    if (timeGridView && timeGridView.container) {\n        domevent.off(timeGridView.container, 'dblclick', this._onDblClick, this);\n    }\n\n    this.dragHandler = this.timeGridView = this.baseController =\n        this._getScheduleDataFunc = this._dragStart = this.guide = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {(boolean|Time)} - return Time view instance when satiate condition.\n */\nTimeCreation.prototype.checkExpectedCondition = function(target) {\n    var cssClass = domutil.getClass(target),\n        matches;\n\n    if (cssClass === config.classname('time-date-schedule-block-wrap')) {\n        target = target.parentNode;\n        cssClass = domutil.getClass(target);\n    }\n\n    matches = cssClass.match(config.time.getViewIDRegExp);\n\n    if (!matches || matches.length < 2) {\n        return false;\n    }\n\n    return util.pick(this.timeGridView.children.items, matches[1]);\n};\n\n/**\n * Drag#dragStart event handler.\n * @emits TimeCreation#timeCreationDragstart\n * @param {object} dragStartEventData - Drag#dragStart event data.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {function} [revise] - supply function for revise event data before emit.\n */\nTimeCreation.prototype._onDragStart = function(dragStartEventData, overrideEventName, revise) {\n    var target = dragStartEventData.target,\n        result = this.checkExpectedCondition(target),\n        getScheduleDataFunc,\n        eventData;\n\n    if (!result) {\n        return;\n    }\n\n    getScheduleDataFunc = this._getScheduleDataFunc = this._retriveScheduleData(result);\n    eventData = this._dragStart = getScheduleDataFunc(dragStartEventData.originEvent);\n\n    if (revise) {\n        revise(eventData);\n    }\n\n    this.dragHandler.on({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    /**\n     * @event TimeCreation#timeCreationDragstart\n     * @type {object}\n     * @property {Time} relatedView - time view instance related with mouse position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     */\n    this.fire(overrideEventName || 'timeCreationDragstart', eventData);\n};\n\n/**\n * Drag#drag event handler\n * @emits TimeCreation#timeCreationDrag\n * @param {object} dragEventData - event data from Drag#drag.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {function} [revise] - supply function for revise event data before emit.\n */\nTimeCreation.prototype._onDrag = function(dragEventData, overrideEventName, revise) {\n    var getScheduleDataFunc = this._getScheduleDataFunc,\n        eventData;\n\n    if (!getScheduleDataFunc) {\n        return;\n    }\n\n    eventData = getScheduleDataFunc(dragEventData.originEvent);\n\n    if (revise) {\n        revise(eventData);\n    }\n\n    /**\n     * @event TimeCreation#timeCreationDrag\n     * @type {object}\n     * @property {Time} relatedView - time view instance related with mouse position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     */\n    this.fire(overrideEventName || 'timeCreationDrag', eventData);\n};\n\n/**\n * @fires TimeCreation#beforeCreateSchedule\n * @param {object} eventData - event data object from TimeCreation#timeCreationDragend\n * or TimeCreation#timeCreationClick\n */\nTimeCreation.prototype._createSchedule = function(eventData) {\n    var relatedView = eventData.relatedView,\n        createRange = eventData.createRange,\n        nearestGridTimeY = eventData.nearestGridTimeY,\n        nearestGridEndTimeY = eventData.nearestGridEndTimeY\n            ? eventData.nearestGridEndTimeY\n            : new TZDate(nearestGridTimeY).addMinutes(30),\n        baseDate,\n        dateStart,\n        dateEnd,\n        start,\n        end;\n\n    if (!createRange) {\n        createRange = [\n            nearestGridTimeY,\n            nearestGridEndTimeY\n        ];\n    }\n\n    baseDate = new TZDate(relatedView.getDate());\n    dateStart = datetime.start(baseDate);\n    dateEnd = datetime.end(baseDate);\n    start = common.limitDate(createRange[0], dateStart, dateEnd);\n    end = common.limitDate(createRange[1], dateStart, dateEnd);\n\n    /**\n     * @event TimeCreation#beforeCreateSchedule\n     * @type {object}\n     * @property {boolean} isAllDay - whether schedule is fired in allday view area?\n     * @property {Date} start - select start time\n     * @property {Date} end - select end time\n     * @property {TimeCreationGuide} guide - TimeCreationGuide instance\n     * @property {string} triggerEventName - event name\n     */\n    this.fire('beforeCreateSchedule', {\n        isAllDay: false,\n        start: new TZDate(start),\n        end: new TZDate(end),\n        guide: this.guide,\n        triggerEventName: eventData.triggerEvent\n    });\n};\n\n/**\n * Drag#dragEnd event handler\n * @emits TimeCreation#timeCreationDragend\n * @param {object} dragEndEventData - event data from Drag#dragend\n */\nTimeCreation.prototype._onDragEnd = function(dragEndEventData) {\n    var self = this,\n        dragStart = this._dragStart;\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    /**\n     * Function for manipulate event data before firing event\n     * @param {object} eventData - event data\n     */\n    function reviseFunc(eventData) {\n        var range = [\n            dragStart.nearestGridTimeY,\n            eventData.nearestGridTimeY\n        ].sort(array.compare.num.asc);\n        range[1].addMinutes(30);\n\n        eventData.createRange = range;\n\n        self._createSchedule(eventData);\n    }\n\n    /**\n     * @event TimeCreation#timeCreationDragend\n     * @type {object}\n     * @property {Time} relatedView - time view instance related with mouse position.\n     * @property {MouseEvent} originEvent - mouse event object.\n     * @property {number} mouseY - mouse Y px mouse event.\n     * @property {number} gridY - grid Y index value related with mouseY value.\n     * @property {number} timeY - milliseconds value of mouseY points.\n     * @property {number} nearestGridY - nearest grid index related with mouseY value.\n     * @property {number} nearestGridTimeY - time value for nearestGridY.\n     * @property {number[]} createRange - milliseconds range between drag start and end to create.\n     */\n    this._onDrag(dragEndEventData, 'timeCreationDragend', reviseFunc);\n\n    this._dragStart = this._getScheduleDataFunc = null;\n};\n\n/**\n * Drag#click event handler\n * @emits TimeCreation#timeCreationClick\n * @param {object} clickEventData - event data from Drag#click.\n */\nTimeCreation.prototype._onClick = function(clickEventData) {\n    var self = this;\n    var condResult, getScheduleDataFunc, eventData;\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    condResult = this.checkExpectedCondition(clickEventData.target);\n    if (!condResult || this._disableClick) {\n        return;\n    }\n\n    getScheduleDataFunc = this._retriveScheduleData(condResult);\n    eventData = getScheduleDataFunc(clickEventData.originEvent);\n\n    this._requestOnClick = true;\n    setTimeout(function() {\n        if (self._requestOnClick) {\n            self.fire('timeCreationClick', eventData);\n            self._createSchedule(eventData);\n        }\n        self._requestOnClick = false;\n    }, CLICK_DELAY);\n    this._dragStart = this._getScheduleDataFunc = null;\n};\n\n/**\n * Dblclick event handler\n * @param {MouseEvent} e - Native MouseEvent\n */\nTimeCreation.prototype._onDblClick = function(e) {\n    var condResult, getScheduleDataFunc, eventData;\n\n    condResult = this.checkExpectedCondition(e.target);\n    if (!condResult) {\n        return;\n    }\n\n    getScheduleDataFunc = this._retriveScheduleData(condResult);\n    eventData = getScheduleDataFunc(e);\n\n    this.fire('timeCreationClick', eventData);\n\n    this._createSchedule(eventData);\n\n    this._requestOnClick = false;\n};\n\n/**\n * Invoke creation click\n * @param {Schedule} schedule - schedule instance\n */\nTimeCreation.prototype.invokeCreationClick = function(schedule) {\n    var opt = this.timeGridView.options,\n        range = datetime.range(\n            opt.renderStartDate,\n            opt.renderEndDate,\n            datetime.MILLISECONDS_PER_DAY),\n        hourStart = opt.hourStart,\n        targetDate = schedule.start;\n    var getScheduleDataFunc, eventData, timeView;\n\n    util.forEach(range, function(date, index) {\n        if (datetime.isSameDate(date, targetDate)) {\n            timeView = this.timeGridView.children.toArray()[index];\n        }\n    }, this);\n\n    // If start date is not in current date, set start date as first date.\n    if (!timeView) {\n        timeView = this.timeGridView.children.toArray()[0];\n    }\n\n    getScheduleDataFunc = this._retriveScheduleDataFromDate(timeView);\n    eventData = getScheduleDataFunc(schedule.start, schedule.end, hourStart);\n\n    this.fire('timeCreationClick', eventData);\n\n    this._createSchedule(eventData);\n};\n\ntimeCore.mixin(TimeCreation);\nutil.CustomEvents.mixin(TimeCreation);\n\nmodule.exports = TimeCreation;\n","/**\n * @fileoverview Allday event click event hander module\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {TimeGrid} [timeGridView] - TimeGrid view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction TimeClick(dragHandler, timeGridView, baseController) {\n    /**\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * @type {TimeGrid}\n     */\n    this.timeGridView = timeGridView;\n\n    /**\n     * @type {Base}\n     */\n    this.baseController = baseController;\n\n    dragHandler.on({\n        'click': this._onClick\n    }, this);\n}\n\n/**\n * Destroy method\n */\nTimeClick.prototype.destroy = function() {\n    this.dragHandler.off(this);\n    this.timeGridView = this.baseController = this.dragHandler = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {string} - model id\n */\nTimeClick.prototype.checkExpectCondition = function(target) {\n    var container,\n        matches;\n\n    container = domutil.closest(target, config.classname('.time-date'));\n\n    if (!container) {\n        return false;\n    }\n\n    matches = domutil.getClass(container).match(config.time.getViewIDRegExp);\n\n    if (!matches || matches.length < 2) {\n        return false;\n    }\n\n    return util.pick(this.timeGridView.children.items, Number(matches[1]));\n};\n\n/**\n * Click event hander\n * @param {object} clickEvent - click event from {@link Drag}\n * @emits TimeClick#clickEvent\n */\nTimeClick.prototype._onClick = function(clickEvent) {\n    var self = this,\n        target = clickEvent.target,\n        timeView = this.checkExpectCondition(target),\n        blockElement = domutil.closest(target, config.classname('.time-date-schedule-block')),\n        schedulesCollection = this.baseController.schedules;\n\n    if (!timeView || !blockElement) {\n        return;\n    }\n\n    schedulesCollection.doWhenHas(domutil.getData(blockElement, 'id'), function(schedule) {\n        /**\n         * @events TimeClick#clickSchedule\n         * @type {object}\n         * @property {Schedule} schedule - schedule instance\n         * @property {MouseEvent} event - MouseEvent object\n         */\n        self.fire('clickSchedule', {\n            schedule: schedule,\n            event: clickEvent.originEvent\n        });\n    });\n};\n\nutil.CustomEvents.mixin(TimeClick);\n\nmodule.exports = TimeClick;\n","/**\n * @fileoverview Resize Guide module.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar datetime = require('../../common/datetime');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\n\n/**\n * @constructor\n * @param {DayGridResize} resizeHandler - instance of DayGridResize\n */\nfunction DayGridResizeGuide(resizeHandler) {\n    /**\n     * @type {DayGridResize}\n     */\n    this.resizeHandler = resizeHandler;\n\n    /**\n     * The element that actually contains the event element\n     * @type {HTMLDIVElement}\n     */\n    this.scheduleContainer = null;\n\n    /**\n     * @type {function}\n     */\n    this.getScheduleDataFunc = null;\n\n    /**\n     * @type {HTMLDIVElement}\n     */\n    this.guideElement = null;\n\n    /**\n     * @type {HTMLDIVElement}\n     */\n    this.scheduleBlockElement = null;\n\n    resizeHandler.on({\n        'dragstart': this._onDragStart,\n        'drag': this._onDrag,\n        'dragend': this._clearGuideElement,\n        'click': this._clearGuideElement\n    }, this);\n}\n\n/**\n * Destroy method\n */\nDayGridResizeGuide.prototype.destroy = function() {\n    this._clearGuideElement();\n    this.resizeHandler.off(this);\n    this.resizeHandler = this.scheduleContainer = this.getScheduleDataFunc =\n        this.guideElement = this.scheduleBlockElement = null;\n};\n\n/**\n * Clear guide element.\n */\nDayGridResizeGuide.prototype._clearGuideElement = function() {\n    domutil.remove(this.guideElement);\n\n    if (!util.browser.msie) {\n        domutil.removeClass(global.document.body, config.classname('resizing-x'));\n    }\n\n    if (this.scheduleBlockElement) {\n        domutil.removeClass(this.scheduleBlockElement, config.classname('weekday-schedule-block-dragging-dim'));\n    }\n\n    this.getScheduleDataFunc = null;\n};\n\n/**\n * Refresh guide element\n * @param {number} newWidth - new width percentage value to resize guide element.\n */\nDayGridResizeGuide.prototype.refreshGuideElement = function(newWidth) {\n    var guideElement = this.guideElement;\n\n    reqAnimFrame.requestAnimFrame(function() {\n        guideElement.style.width = newWidth + '%';\n    });\n};\n\n/**\n * Return function that calculate guide element's new width percentage value.\n * @param {object} dragStartEventData - dragstart schedule data.\n * @returns {function} return function that calculate guide element new width percentage.\n */\nDayGridResizeGuide.prototype.getGuideElementWidthFunc = function(dragStartEventData) {\n    var model = dragStartEventData.model,\n        viewOptions = this.resizeHandler.view.options,\n        fromLeft = Math.ceil(\n            (model.start - viewOptions.renderStartDate) / datetime.MILLISECONDS_PER_DAY\n        ) || 0,\n        grids = dragStartEventData.grids;\n\n    return function(xIndex) {\n        var width = 0;\n        var i = 0;\n        var length = grids.length;\n        width += grids[fromLeft] ? grids[fromLeft].width : 0;\n\n        for (; i < length; i += 1) {\n            if (i > fromLeft && i <= xIndex) {\n                width += grids[i] ? grids[i].width : 0;\n            }\n        }\n\n        return width;\n    };\n};\n\n/**\n * DragStart event handler.\n * @param {object} dragStartEventData - schedule data.\n */\nDayGridResizeGuide.prototype._onDragStart = function(dragStartEventData) {\n    var container = this.resizeHandler.view.container,\n        scheduleBlockElement = this.scheduleBlockElement = dragStartEventData.scheduleBlockElement,\n        guideElement = this.guideElement = scheduleBlockElement.cloneNode(true),\n        scheduleContainer;\n\n    if (!util.browser.msie) {\n        domutil.addClass(global.document.body, config.classname('resizing-x'));\n    }\n\n    scheduleContainer = domutil.find(config.classname('.weekday-schedules'), container);\n    domutil.addClass(guideElement, config.classname('daygrid-guide-move'));\n    domutil.addClass(scheduleBlockElement, config.classname('weekday-schedule-block-dragging-dim'));\n\n    scheduleContainer.appendChild(guideElement);\n\n    this.getScheduleDataFunc = this.getGuideElementWidthFunc(dragStartEventData);\n};\n\n/**\n * Drag event handler.\n * @param {object} dragEventData - schedule data.\n */\nDayGridResizeGuide.prototype._onDrag = function(dragEventData) {\n    var func = this.getScheduleDataFunc;\n\n    if (!func) {\n        return;\n    }\n\n    this.refreshGuideElement(func(dragEventData.xIndex));\n};\n\nmodule.exports = DayGridResizeGuide;\n","/**\n * @fileoverview Resize handler module for DayGrid view.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar common = require('../../common/common');\nvar dayGridCore = require('./core');\nvar DayGridResizeGuide = require('./resizeGuide');\nvar TZDate = require('../../common/timezone').Date;\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes dayGridCore\n * @mixes CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {DayGrid} [view] - view instance.\n * @param {Base} [controller] - Base controller instance.\n */\nfunction DayGridResize(dragHandler, view, controller) {\n    /**\n     * Drag handler instance.\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * view instance.\n     * @type {DayGrid}\n     */\n    this.view = view;\n\n    /**\n     * Base controller instance.\n     * @type {Base}\n     */\n    this.controller = controller;\n\n    /**\n     * Temporary variable for dragStart event data.\n     * @type {object}\n     */\n    this._dragStart = null;\n\n    dragHandler.on({\n        dragStart: this._onDragStart\n    }, this);\n\n    /**\n     * @type {DayGridResizeGuide}\n     */\n    this.guide = new DayGridResizeGuide(this);\n}\n\n/**\n * Destroy method\n */\nDayGridResize.prototype.destroy = function() {\n    this.guide.destroy();\n    this.dragHandler.off(this);\n    this.dragHandler = this.view = this.controller =\n        this.guide = this._dragStart = null;\n};\n\n/**\n * Check dragstart target is expected conditions for this handler.\n * @param {HTMLElement} target - dragstart event handler's target element.\n * @returns {boolean|WeekdayInWeek} return WeekdayInWeek view instance when satiate condition.\n */\nDayGridResize.prototype.checkExpectedCondition = function(target) {\n    var cssClass = domutil.getClass(target),\n        matches;\n\n    if (!~cssClass.indexOf(config.classname('weekday-resize-handle'))) {\n        return false;\n    }\n\n    target = domutil.closest(target, config.classname('.weekday'));\n\n    if (!target) {\n        return false;\n    }\n\n    cssClass = domutil.getClass(target);\n    matches = cssClass.match(config.daygrid.getViewIDRegExp);\n\n    if (!matches || matches.length < 2) {\n        return false;\n    }\n\n    return util.pick(this.view.children.items, matches[1]);\n};\n\n/**\n * DragStart event handler.\n * @emits DayGridResize#dragstart\n * @param {object} dragStartEventData - schedule data.\n */\nDayGridResize.prototype._onDragStart = function(dragStartEventData) {\n    var target = dragStartEventData.target,\n        result = this.checkExpectedCondition(target),\n        controller = this.controller,\n        scheduleBlockElement,\n        modelID,\n        targetModel,\n        getScheduleDataFunc,\n        scheduleData;\n\n    if (!result) {\n        return;\n    }\n\n    scheduleBlockElement = domutil.closest(target, config.classname('.weekday-schedule-block'));\n    modelID = domutil.getData(scheduleBlockElement, 'id');\n    targetModel = controller.schedules.items[modelID];\n\n    if (!targetModel) {\n        return;\n    }\n\n    getScheduleDataFunc = this._retriveScheduleData(this.view, dragStartEventData.originEvent);\n    this.getScheduleDataFunc = getScheduleDataFunc;\n    scheduleData = this._dragStart = getScheduleDataFunc(dragStartEventData.originEvent);\n\n    util.extend(scheduleData, {\n        scheduleBlockElement: scheduleBlockElement,\n        model: targetModel\n    });\n\n    this.dragHandler.on({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    /**\n     * @event DayGridResize#dragstart\n     * @type {object}\n     * @property {View} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     * @property {Schedule} model - data object of model isntance.\n     * @property {HTMLDivElement} scheduleBlockElement - target schedule block element.\n     */\n    this.fire('dragstart', scheduleData);\n};\n\n/**\n * Drag event handler method.\n * @emits DayGridResize#drag\n * @param {object} dragEventData - Drag#drag event handler scheduledata.\n */\nDayGridResize.prototype._onDrag = function(dragEventData) {\n    var getScheduleDataFunc = this.getScheduleDataFunc;\n\n    if (!getScheduleDataFunc) {\n        return;\n    }\n\n    /**\n     * @event DayGridResize#drag\n     * @type {object}\n     * @property {View} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     */\n    this.fire('drag', getScheduleDataFunc(dragEventData.originEvent));\n};\n\n/**\n * Request update schedule instance to base controller.\n * @fires DayGridResize#beforeUpdateSchedule\n * @param {object} scheduleData - schedule data from DayGridResize handler.\n */\nDayGridResize.prototype._updateSchedule = function(scheduleData) {\n    var schedule = scheduleData.targetModel,\n        dateOffset = scheduleData.xIndex - scheduleData.dragStartXIndex,\n        newEnds = new TZDate(schedule.end);\n\n    newEnds = newEnds.addDate(dateOffset);\n    newEnds = new TZDate(common.maxDate(datetime.end(schedule.start), newEnds));\n\n    /**\n     * @event DayGridResize#beforeUpdateSchedule\n     * @type {object}\n     * @property {Schedule} schedule - schedule instance to update\n     * @property {date} start - start time to update\n     * @property {date} end - end time to update\n     */\n    this.fire('beforeUpdateSchedule', {\n        schedule: schedule,\n        start: schedule.getStarts(),\n        end: newEnds\n    });\n};\n\n/**\n * DragEnd event hander method.\n * @emits DayGridResize#dragend\n * @param {object} dragEndEventData - Drag#DragEnd event handler data.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n * @param {?boolean} skipUpdate - true then skip update schedule model.\n */\nDayGridResize.prototype._onDragEnd = function(dragEndEventData, overrideEventName, skipUpdate) {\n    var getScheduleDataFunc = this.getScheduleDataFunc,\n        dragStart = this._dragStart,\n        scheduleData;\n\n    if (!getScheduleDataFunc || !dragStart) {\n        return;\n    }\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd,\n        click: this._onClick\n    }, this);\n\n    scheduleData = getScheduleDataFunc(dragEndEventData.originEvent);\n    util.extend(scheduleData, {\n        targetModel: dragStart.model\n    });\n\n    if (!skipUpdate) {\n        this._updateSchedule(scheduleData);\n    }\n\n    /**\n     * @event DayGridResize#dragend\n     * @type {object}\n     * @property {View} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     */\n    this.fire(overrideEventName || 'dragend', scheduleData);\n\n    this.getScheduleDataFunc = this._dragStart = null;\n};\n\n/**\n * Click event handler method.\n * @emits DayGridResize#click\n * @param {object} clickEventData - Drag#Click event handler data.\n */\nDayGridResize.prototype._onClick = function(clickEventData) {\n    /**\n     * @event DayGridResize#click\n     * @type {object}\n     * @property {View} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     */\n    this._onDragEnd(clickEventData, 'click', true);\n};\n\ncommon.mixin(dayGridCore, DayGridResize);\nutil.CustomEvents.mixin(DayGridResize);\n\nmodule.exports = DayGridResize;\n","/**\n * @fileoverview Guide element for DayGrid.Creation\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\n\n/**\n * Class for DayGrid.Creation dragging effect.\n * @constructor\n * @param {DayGridCreation} creation - instance of DayGridCreation.\n */\nfunction DayGridCreationGuide(creation) {\n    /**\n     * @type {DayGridCreation}\n     */\n    this.creation = creation;\n\n    /**\n     * @type {HTMLDIVElement}\n     */\n    this.scheduleContainer = null;\n\n    /**\n     * @type {HTMLDIVElement}\n     */\n    this.guideElement = document.createElement('div');\n\n    this.initializeGuideElement();\n    this.applyTheme(creation.controller.theme);\n\n    creation.on({\n        dragstart: this._createGuideElement,\n        drag: this._onDrag,\n        click: this._createGuideElement\n    }, this);\n}\n\n/**\n * Destroy method\n */\nDayGridCreationGuide.prototype.destroy = function() {\n    this.clearGuideElement();\n    this.creation.off(this);\n    this.creation = this.scheduleContainer = this.guideElement = null;\n};\n\n/**\n * initialize guide element's default style.\n */\nDayGridCreationGuide.prototype.initializeGuideElement = function() {\n    domutil.addClass(this.guideElement, config.classname('daygrid-guide-creation-block'));\n};\n\n/**\n * Drag event handler\n * @param {object} scheduleData - schedule data from DayGrid.Creation handler.\n */\nDayGridCreationGuide.prototype._onDrag = function(scheduleData) {\n    this._refreshGuideElement(scheduleData, true);\n};\n\n/**\n * Get element width based on narrowWeekend\n * @param {number} dragStartIndex - grid start index\n * @param {number} dragEndIndex - grid end index\n * @param {Array} grids - dates information\n * @returns {number} element width\n */\nDayGridCreationGuide.prototype._getGuideWidth = function(dragStartIndex, dragEndIndex, grids) {\n    var width = 0;\n    var i = dragStartIndex;\n    for (; i <= dragEndIndex; i += 1) {\n        width += grids[i] ? grids[i].width : 0;\n    }\n\n    return width;\n};\n\n/**\n * Refresh guide element.\n * @param {object} scheduleData - schedule data from DayGrid.Creation handler.\n * @param {boolean} defer - If set to true, set style in the next frame\n */\nDayGridCreationGuide.prototype._refreshGuideElement = function(scheduleData, defer) {\n    var guideElement = this.guideElement,\n        data = scheduleData,\n        dragStartXIndex = data.dragStartXIndex < data.xIndex ? data.dragStartXIndex : data.xIndex,\n        dragEndXIndex = data.dragStartXIndex < data.xIndex ? data.xIndex : data.dragStartXIndex,\n        leftPercent,\n        widthPercent;\n\n    leftPercent = data.grids[dragStartXIndex] ? data.grids[dragStartXIndex].left : 0;\n    widthPercent = this._getGuideWidth(dragStartXIndex, dragEndXIndex, data.grids);\n\n    /** eslint-disable require-jsdoc */\n    function setStyle() {\n        guideElement.style.display = 'block';\n        guideElement.style.left = leftPercent + '%';\n        guideElement.style.width = widthPercent + '%';\n    }\n\n    if (defer) {\n        reqAnimFrame.requestAnimFrame(setStyle);\n    } else {\n        setStyle();\n    }\n};\n\n/**\n * Clear guide element.\n */\nDayGridCreationGuide.prototype.clearGuideElement = function() {\n    var guideElement = this.guideElement;\n\n    domutil.remove(guideElement);\n\n    guideElement.style.display = 'none';\n    guideElement.style.left = '';\n    guideElement.style.width = '';\n};\n\n/**\n * Create guide element\n * @param {object} dragStartEventData - schedule data object of DayGrid.Creation.\n */\nDayGridCreationGuide.prototype._createGuideElement = function(dragStartEventData) {\n    var creation = this.creation,\n        view = creation.view,\n        container = view.container,\n        scheduleContainer = domutil.find(config.classname('.weekday-grid'), container);\n\n    scheduleContainer.appendChild(this.guideElement);\n    this._refreshGuideElement(dragStartEventData);\n};\n\n/**\n * Drag event handler.\n * @param {object} dragEventData - event data object of DayGrid.Creation.\n */\nDayGridCreationGuide.prototype._onDrag = function(dragEventData) {\n    this._refreshGuideElement(dragEventData);\n};\n\nDayGridCreationGuide.prototype.applyTheme = function(theme) {\n    var style = this.guideElement.style;\n\n    style.backgroundColor = theme.common.creationGuide.backgroundColor;\n    style.border = theme.common.creationGuide.border;\n};\n\nmodule.exports = DayGridCreationGuide;\n","/**\n * @fileoverview Handler module for WeekdayInWeek view's creation actions.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar common = require('../../common/common');\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar dayGridCore = require('./core');\nvar DayGridCreationGuide = require('./creationGuide');\nvar TZDate = require('../../common/timezone').Date;\n\nvar CLICK_DELAY = 300;\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes dayGridCore\n * @mixes CutomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {DayGrid} [view] - DayGrid view instance.\n * @param {Base} [controller] - Base controller instance.\n * @param {Options} [options] - calendar Options\n */\nfunction DayGridCreation(dragHandler, view, controller, options) {\n    /**\n     * Drag handler instance.\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * view instance.\n     * @type {DayGrid}\n     */\n    this.view = view;\n\n    /**\n     * Base controller instance.\n     * @type {Base}\n     */\n    this.controller = controller;\n\n    /**\n     * @type {function}\n     */\n    this.getScheduleDataFunc = null;\n\n    /**\n     * @type {DayGridCreationGuide}\n     */\n    this.guide = new DayGridCreationGuide(this);\n\n    /**\n     * @type {boolean}\n     */\n    this._requestOnClick = false;\n\n    /**\n     * @type {boolean}\n     */\n    this._disableDblClick = options.disableDblClick;\n\n    /**\n     * @type {boolean}\n     */\n    this._disableClick = options.disableClick;\n\n    dragHandler.on('dragStart', this._onDragStart, this);\n    dragHandler.on('click', this._onClick, this);\n\n    if (this._disableDblClick) {\n        CLICK_DELAY = 0;\n    } else {\n        domevent.on(view.container, 'dblclick', this._onDblClick, this);\n    }\n}\n\n/**\n * Destroy method\n */\nDayGridCreation.prototype.destroy = function() {\n    this.guide.destroy();\n    this.dragHandler.off(this);\n\n    if (this.view && this.view.container) {\n        domevent.off(this.view.container, 'dblclick', this._onDblClick, this);\n    }\n\n    this.dragHandler = this.view = this.controller = this.getScheduleDataFunc = null;\n};\n\n/**\n * Check dragstart target is expected conditions for this handler.\n * @param {HTMLElement} target - dragstart event handler's target element.\n * @returns {boolean|WeekdayInWeek} return WeekdayInWeek view instance when satiate condition.\n */\nDayGridCreation.prototype.checkExpectedCondition = function(target) {\n    var cssClass = domutil.getClass(target).trim();\n    var excludeTarget = true;\n    var matches, schedulesElement;\n\n    if (domutil.closest(target, config.classname('.weekday-exceed-in-week'))\n        || domutil.closest(target, config.classname('.weekday-collapse-btn'))\n    ) {\n        return false;\n    }\n\n    if (domutil.closest(target, config.classname('.weekday-schedule-block'), excludeTarget)) {\n        return false;\n    }\n\n    schedulesElement = domutil.closest(target, config.classname('.weekday-schedules'));\n    if (!schedulesElement && cssClass !== config.classname('weekday-schedules')) {\n        return false;\n    }\n\n    target = schedulesElement ? schedulesElement.parentNode : target.parentNode;\n    cssClass = domutil.getClass(target);\n    matches = cssClass.match(config.daygrid.getViewIDRegExp);\n\n    if (!matches || matches.length < 2) {\n        return false;\n    }\n\n    return util.pick(this.view.children.items, matches[1]);\n};\n\n/**\n * Request schedule model creation to controller by custom schedules.\n * @fires {DayGridCreation#beforeCreateSchedule}\n * @param {object} scheduleData - schedule data from DayGridCreation module.\n */\nDayGridCreation.prototype._createSchedule = function(scheduleData) {\n    var dateRange = scheduleData.range,\n        startXIndex = scheduleData.dragStartXIndex,\n        xIndex = scheduleData.xIndex,\n        start, end;\n\n    // when inverse start, end then change it.\n    if (xIndex < startXIndex) {\n        startXIndex = xIndex + startXIndex;\n        xIndex = startXIndex - xIndex;\n        startXIndex = startXIndex - xIndex;\n    }\n\n    start = new TZDate(dateRange[startXIndex]);\n    end = datetime.end(dateRange[xIndex]);\n\n    /**\n     * @event {DayGridCreation#beforeCreateSchedule}\n     * @type {object}\n     * @property {string} category - schedule category\n     * @property {boolean} isAllDay - whether schedule is fired in view area?\n     * @property {Date} start - select start time\n     * @property {Date} end - select end time\n     * @property {DayGridCreationGuide} guide - DayGridCreationGuide instance\n     * @property {string} triggerEventName - event name\n     */\n    this.fire('beforeCreateSchedule', {\n        category: this.view.options.viewName,\n        isAllDay: true,\n        start: start,\n        end: end,\n        guide: this.guide,\n        triggerEventName: scheduleData.triggerEvent\n    });\n};\n\n/**\n * DragStart event handler method.\n * @emits DayGridCreation#dragstart\n * @param {object} dragStartEventData - Drag#dragStart event handler schedule data.\n */\nDayGridCreation.prototype._onDragStart = function(dragStartEventData) {\n    var target = dragStartEventData.target,\n        result = this.checkExpectedCondition(target),\n        getScheduleDataFunc,\n        scheduleData;\n\n    if (!result) {\n        return;\n    }\n\n    this.dragHandler.on({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    getScheduleDataFunc = this._retriveScheduleData(this.view, dragStartEventData.originEvent);\n    this.getScheduleDataFunc = getScheduleDataFunc;\n\n    scheduleData = getScheduleDataFunc(dragStartEventData.originEvent);\n\n    /**\n     * @event DayGridCreation#dragstart\n     * @type {object}\n     * @property {DayGridView} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     */\n    this.fire('dragstart', scheduleData);\n};\n\n/**\n * Drag event handler method.\n * @emits DayGridCreation#drag\n * @param {object} dragEventData - Drag#drag event handler scheduledata.\n */\nDayGridCreation.prototype._onDrag = function(dragEventData) {\n    var getScheduleDataFunc = this.getScheduleDataFunc,\n        scheduleData;\n\n    if (!getScheduleDataFunc) {\n        return;\n    }\n\n    scheduleData = getScheduleDataFunc(dragEventData.originEvent);\n\n    /**\n     * @event DayGridCreation#drag\n     * @type {object}\n     * @property {DayGridView} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     */\n    this.fire('drag', scheduleData);\n};\n\n/**\n * DragEnd event hander method.\n * @emits DayGridCreation#dragend\n * @param {object} dragEndEventData - Drag#dragEnd event handler data.\n * @param {string} [overrideEventName] - override emitted event name when supplied.\n */\nDayGridCreation.prototype._onDragEnd = function(dragEndEventData, overrideEventName) {\n    var getScheduleDataFunc = this.getScheduleDataFunc;\n    var scheduleData;\n\n    if (!getScheduleDataFunc) {\n        return;\n    }\n\n    this.dragHandler.off({\n        drag: this._onDrag,\n        dragEnd: this._onDragEnd\n    }, this);\n\n    scheduleData = getScheduleDataFunc(dragEndEventData.originEvent);\n\n    this._createSchedule(scheduleData);\n\n    /**\n     * @event DayGridCreation#dragend\n     * @type {object}\n     * @property {DayGridView} relatedView - view instance.\n     * @property {number} datesInRange - date count of this view.\n     * @property {number} dragStartXIndex - index number of dragstart grid index.\n     * @property {number} xIndex - index number of mouse positions.\n     */\n    this.fire(overrideEventName || 'dragend', scheduleData);\n\n    this.getScheduleDataFunc = null;\n};\n\n/**\n * Click event handler method.\n * @emits DayGridCreation#click\n * @param {object} clickEventData - Drag#click event handler data.\n */\nDayGridCreation.prototype._onClick = function(clickEventData) {\n    var self = this;\n    var getScheduleDataFunc, scheduleData;\n\n    if (!this.checkExpectedCondition(clickEventData.target) || this._disableClick) {\n        return;\n    }\n\n    getScheduleDataFunc = this._retriveScheduleData(this.view, clickEventData.originEvent);\n    scheduleData = getScheduleDataFunc(clickEventData.originEvent);\n\n    this._requestOnClick = true;\n    setTimeout(function() {\n        if (self._requestOnClick) {\n            self.fire('click', scheduleData);\n            self._createSchedule(scheduleData);\n        }\n        self._requestOnClick = false;\n    }, CLICK_DELAY);\n};\n\n/**\n * Dblclick event handler method.\n * @emits DayGridCreation#click\n * @param {object} clickEventData - Drag#Click event handler data.\n */\nDayGridCreation.prototype._onDblClick = function(clickEventData) {\n    var getScheduleDataFunc, scheduleData;\n\n    if (!this.checkExpectedCondition(clickEventData.target)) {\n        return;\n    }\n\n    getScheduleDataFunc = this._retriveScheduleData(this.view, clickEventData);\n    scheduleData = getScheduleDataFunc(clickEventData);\n\n    this.fire('click', scheduleData);\n\n    this._createSchedule(scheduleData);\n\n    this._requestOnClick = false;\n};\n\n/**\n * Invoke creation click\n * @param {Schedule} schedule - schedule instance\n */\nDayGridCreation.prototype.invokeCreationClick = function(schedule) {\n    var getScheduleDataFunc, scheduleData;\n\n    getScheduleDataFunc = this._retriveScheduleDataFromDate(this.view, schedule.start);\n    scheduleData = getScheduleDataFunc(schedule.start);\n\n    this.fire('click', scheduleData);\n\n    this._createSchedule(scheduleData);\n};\n\ncommon.mixin(dayGridCore, DayGridCreation);\nutil.CustomEvents.mixin(DayGridCreation);\n\nmodule.exports = DayGridCreation;\n","/**\n * @fileoverview Effect module for DayGrid.Move\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\n\n/**\n * Class for DayGrid.Move dragging effect.\n * @constructor\n * @param {DayGridMove} daygridMove - instance of DayGridMove.\n */\nfunction DayGridMoveGuide(daygridMove) {\n    /**\n     * @type {DayGridMove}\n     */\n    this.daygridMove = daygridMove;\n\n    /**\n     * The element that actually contains the event element\n     * @type {HTMLDIVElement}\n     */\n    this.scheduleContainer = null;\n\n    /**\n     * @type {number}\n     */\n    this._dragStartXIndex = null;\n\n    /**\n     * @type {HTMLDIVElement}\n     */\n    this.guideElement = null;\n\n    /**\n     * @type {HTMLElement[]}\n     */\n    this.elements = null;\n\n    daygridMove.on({\n        'dragstart': this._onDragStart,\n        'drag': this._onDrag,\n        'dragend': this._clearGuideElement,\n        'click': this._clearGuideElement\n    }, this);\n}\n\n/**\n * Destroy method\n */\nDayGridMoveGuide.prototype.destroy = function() {\n    this._clearGuideElement();\n    this.daygridMove.off(this);\n    this.daygridMove = this.scheduleContainer = this._dragStartXIndex =\n        this.elements = this.guideElement = null;\n};\n\n/**\n * Clear guide element.\n */\nDayGridMoveGuide.prototype._clearGuideElement = function() {\n    this._showOriginScheduleBlocks();\n\n    domutil.remove(this.guideElement);\n\n    if (!util.browser.msie) {\n        domutil.removeClass(global.document.body, config.classname('dragging'));\n    }\n\n    this._dragStartXIndex = this.getScheduleDataFunc = this.guideElement = null;\n};\n\n/**\n * Dim element blocks\n * @param {number} modelID - Schedule model instance ID\n */\nDayGridMoveGuide.prototype._hideOriginScheduleBlocks = function(modelID) {\n    var className = config.classname('weekday-schedule-block-dragging-dim');\n    var scheduleBlocks = domutil.find(\n        config.classname('.weekday-schedule-block'),\n        this.daygridMove.view.container,\n        true\n    );\n\n    this.elements = util.filter(scheduleBlocks, function(schedule) {\n        return domutil.getData(schedule, 'id') === modelID;\n    });\n\n    util.forEach(this.elements, function(el) {\n        domutil.addClass(el, className);\n    });\n};\n\n/**\n * Show element blocks\n */\nDayGridMoveGuide.prototype._showOriginScheduleBlocks = function() {\n    var className = config.classname('weekday-schedule-block-dragging-dim');\n\n    util.forEach(this.elements, function(el) {\n        domutil.removeClass(el, className);\n    });\n};\n\n/**\n * Highlight element blocks\n * @param {Schedule} model - model\n * @param {HTMLElement} parent - parent element\n */\nDayGridMoveGuide.prototype._highlightScheduleBlocks = function(model, parent) {\n    var elements = domutil.find(config.classname('.weekday-schedule'), parent, true);\n\n    util.forEach(elements, function(el) {\n        el.style.margin = '0';\n\n        if (!model.isFocused) {\n            el.style.backgroundColor = model.dragBgColor;\n            el.style.borderLeftColor = model.borderColor;\n            el.style.color = '#ffffff';\n        }\n    });\n};\n\n/**\n * Refresh guide element.\n * @param {number} leftPercent - left percent of guide element.\n * @param {number} widthPercent - width percent of guide element.\n * @param {boolean} isExceededLeft - schedule start is faster then render start date?\n * @param {boolean} isExceededRight - schedule end is later then render end date?\n */\nDayGridMoveGuide.prototype.refreshGuideElement = function(leftPercent, widthPercent, isExceededLeft, isExceededRight) {\n    var guideElement = this.guideElement;\n\n    reqAnimFrame.requestAnimFrame(function() {\n        guideElement.style.left = leftPercent + '%';\n        guideElement.style.width = widthPercent + '%';\n\n        if (isExceededLeft) {\n            domutil.addClass(guideElement, config.classname('weekday-exceed-left'));\n        } else {\n            domutil.removeClass(guideElement, config.classname('weekday-exceed-left'));\n        }\n\n        if (isExceededRight) {\n            domutil.addClass(guideElement, config.classname('weekday-exceed-right'));\n        } else {\n            domutil.removeClass(guideElement, config.classname('weekday-exceed-right'));\n        }\n    });\n};\n\n/**\n * Get schedule block information from schedule data.\n *\n * For example, there is single schedule has 10 length. but render range in view is 5 then\n * rendered block must be cut out to render properly. in this case, this method return\n * how many block are cut before rendering.\n *\n * @param {object} dragStartEventData - schedule data from DayGrid.Move handler.\n * @returns {function} function that return schedule block information.\n */\nDayGridMoveGuide.prototype._getScheduleBlockDataFunc = function(dragStartEventData) {\n    var model = dragStartEventData.model,\n        datesInRange = dragStartEventData.datesInRange,\n        range = dragStartEventData.range,\n        baseWidthPercent = (100 / datesInRange),\n        originScheduleStarts = datetime.start(model.start),\n        originScheduleEnds = datetime.end(model.end),\n        renderStartDate = datetime.start(range[0]),\n        renderEndDate = datetime.end(range[range.length - 1]),\n        fromLeft = Math.ceil((originScheduleStarts.getTime() -\n            renderStartDate.getTime()) / datetime.MILLISECONDS_PER_DAY) || 0,\n        fromRight = Math.ceil((originScheduleEnds.getTime() -\n            renderEndDate.getTime()) / datetime.MILLISECONDS_PER_DAY) || 0;\n\n    return function(indexOffset) {\n        return {\n            baseWidthPercent: baseWidthPercent,\n            fromLeft: fromLeft + indexOffset,\n            fromRight: fromRight + indexOffset\n        };\n    };\n};\n\n/**\n * DragStart event handler.\n * @param {object} dragStartEventData - schedule data.\n */\nDayGridMoveGuide.prototype._onDragStart = function(dragStartEventData) {\n    var container = this.daygridMove.view.container,\n        guideElement = this.guideElement = dragStartEventData.scheduleBlockElement.cloneNode(true),\n        scheduleContainer;\n\n    if (!util.browser.msie) {\n        domutil.addClass(global.document.body, config.classname('dragging'));\n    }\n\n    this._hideOriginScheduleBlocks(String(dragStartEventData.model.cid()));\n\n    scheduleContainer = domutil.find(config.classname('.weekday-schedules'), container);\n    domutil.appendHTMLElement('div', guideElement, config.classname('weekday-schedule-cover'));\n    scheduleContainer.appendChild(guideElement);\n\n    this._dragStartXIndex = dragStartEventData.xIndex;\n    this.getScheduleDataFunc = this._getScheduleBlockDataFunc(dragStartEventData);\n\n    this._highlightScheduleBlocks(dragStartEventData.model, guideElement);\n};\n\n/**\n * Drag event handler.\n * @param {object} dragEventData - schedule data.\n */\nDayGridMoveGuide.prototype._onDrag = function(dragEventData) {\n    var getScheduleDataFunc = this.getScheduleDataFunc,\n        dragStartXIndex = this._dragStartXIndex,\n        datesInRange = dragEventData.datesInRange,\n        grids = dragEventData.grids,\n        scheduleData,\n        isExceededLeft,\n        isExceededRight,\n        originLength,\n        leftIndex,\n        size,\n        newLeft,\n        newWidth;\n\n    if (!getScheduleDataFunc) {\n        return;\n    }\n\n    scheduleData = getScheduleDataFunc(dragEventData.xIndex - dragStartXIndex);\n    isExceededLeft = scheduleData.fromLeft < 0;\n    isExceededRight = scheduleData.fromRight > 0;\n\n    leftIndex = Math.max(0, scheduleData.fromLeft);\n    originLength = (scheduleData.fromLeft * -1) + (datesInRange + scheduleData.fromRight);\n    size = isExceededLeft ? (originLength + scheduleData.fromLeft) : originLength;\n    size = isExceededRight ? (size - scheduleData.fromRight) : size;\n\n    newLeft = grids[leftIndex] ? grids[leftIndex].left : 0;\n    newWidth = getScheduleBlockWidth(leftIndex, size, grids);\n\n    this.refreshGuideElement(newLeft, newWidth, isExceededLeft, isExceededRight);\n};\n\n/**\n * Get schedule width based on grids\n * @param {number} left - left index\n * @param {number} size - schedule width\n * @param {Array} grids - dates information\n * @returns {number} element width\n */\nfunction getScheduleBlockWidth(left, size, grids) {\n    var width = 0;\n    var i = 0;\n    var length = grids.length;\n    for (; i < size; i += 1) {\n        left = (left + i) % length;\n        if (left < length) {\n            width += grids[left] ? grids[left].width : 0;\n        }\n    }\n\n    return width;\n}\n\nmodule.exports = DayGridMoveGuide;\n","/**\n * @fileoverview Click handle module for daygrid schedules\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar DayGridMove = require('./move');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {DayGrid} [view] - daygrid view instance.\n * @param {Base} [controller] - Base controller instance.\n */\nfunction DayGridClick(dragHandler, view, controller) {\n    /**\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * @type {DayGrid}\n     */\n    this.view = view;\n\n    /**\n     * @type {Base}\n     */\n    this.controller = controller;\n\n    dragHandler.on({\n        'click': this._onClick\n    }, this);\n}\n\n/**\n * Destroy handler module\n */\nDayGridClick.prototype.destroy = function() {\n    this.dragHandler.off(this);\n    this.view = this.controller = this.dragHandler = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {string} - model id\n */\nDayGridClick.prototype.checkExpectCondition = DayGridMove.prototype.checkExpectedCondition;\n\n/**\n * Click event handler\n * @param {object} clickEvent - click event data\n * @emits DayGridClick#clickSchedule\n * @emits DayGridClick#collapse\n * @emits DayGridClick#expand\n */\nDayGridClick.prototype._onClick = function(clickEvent) {\n    var self = this,\n        target = clickEvent.target,\n        dayGridScheduleView = this.checkExpectCondition(target),\n        scheduleCollection = this.controller.schedules,\n        collapseBtnElement = domutil.closest(\n            target,\n            config.classname('.weekday-collapse-btn')\n        ),\n        expandBtnElement = domutil.closest(\n            target,\n            config.classname('.weekday-exceed-in-week')\n        ),\n        containsTarget = this.view.container.contains(target);\n    var blockElement, scheduleElement;\n\n    if (!containsTarget) {\n        return;\n    }\n\n    if (collapseBtnElement) {\n        /**\n         * click collpase btn event\n         * @events DayGridClick#collapse\n         */\n        self.fire('collapse');\n\n        return;\n    }\n\n    if (expandBtnElement) {\n        this.view.setState({\n            clickedExpandBtnIndex: parseInt(domutil.getData(expandBtnElement, 'index'), 10)\n        });\n\n        /**\n         * click expand btn event\n         * @events DayGridClick#expand\n         */\n        self.fire('expand');\n\n        return;\n    }\n\n    if (!dayGridScheduleView) {\n        return;\n    }\n\n    scheduleElement = domutil.closest(target, config.classname('.weekday-schedule'));\n    if (scheduleElement) {\n        blockElement = domutil.closest(target, config.classname('.weekday-schedule-block'));\n        scheduleCollection.doWhenHas(domutil.getData(blockElement, 'id'), function(schedule) {\n            /**\n             * @events DayGridClick#clickSchedule\n             * @type {object}\n             * @property {Schedule} schedule - schedule instance\n             * @property {MouseEvent} event - MouseEvent object\n             */\n            self.fire('clickSchedule', {\n                schedule: schedule,\n                event: clickEvent.originEvent\n            });\n        });\n    }\n};\n\nutil.CustomEvents.mixin(DayGridClick);\n\nmodule.exports = DayGridClick;\n","/**\n * @fileoverview Dayname click event hander module\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\n\n/**\n * @constructor\n * @implements {Handler}\n * @mixes util.CustomEvents\n * @param {Drag} [dragHandler] - Drag handler instance.\n * @param {DayName} [dayNameView] - DayName view instance.\n * @param {Base} [baseController] - Base controller instance.\n */\nfunction DayNameClick(dragHandler, dayNameView, baseController) {\n    /**\n     * @type {Drag}\n     */\n    this.dragHandler = dragHandler;\n\n    /**\n     * @type {DayName}\n     */\n    this.dayNameView = dayNameView;\n\n    /**\n     * @type {Base}\n     */\n    this.baseController = baseController;\n\n    dragHandler.on({\n        'click': this._onClick\n    }, this);\n}\n\n/**\n * Destroy method\n */\nDayNameClick.prototype.destroy = function() {\n    this.dragHandler.off(this);\n    this.dayNameView = this.baseController = this.dragHandler = null;\n};\n\n/**\n * Check target element is expected condition for activate this plugins.\n * @param {HTMLElement} target - The element to check\n * @returns {string} - model id\n */\nDayNameClick.prototype.checkExpectCondition = function(target) {\n    var container = domutil.closest(target, config.classname('.dayname-date-area'));\n\n    if (!container) {\n        return false;\n    }\n\n    return true;\n};\n\n/**\n * Click event hander\n * @param {object} clickEvent - click event from {@link Drag}\n * @emits DayNameClick#clickDayname\n */\nDayNameClick.prototype._onClick = function(clickEvent) {\n    var self = this,\n        target = clickEvent.target,\n        daynameView = this.checkExpectCondition(target),\n        blockElement = domutil.closest(target, config.classname('.dayname'));\n\n    if (!daynameView || !blockElement) {\n        return;\n    }\n\n    /**\n     * @events DayNameClick#clickDayname\n     * @type {object}\n     * @property {string} date - click date\n     */\n    self.fire('clickDayname', {\n        date: domutil.getData(blockElement, 'date')\n    });\n};\n\nutil.CustomEvents.mixin(DayNameClick);\n\nmodule.exports = DayNameClick;\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail-item\\\"><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-location-b\\\"></span><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4((helpers[\"popupDetailLocation-tmpl\"] || (depth0 && depth0[\"popupDetailLocation-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.schedule : depth0),{\"name\":\"popupDetailLocation-tmpl\",\"hash\":{},\"data\":data}))\n    + \"</span></div>\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n    var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail-item\\\"><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-repeat-b\\\"></span><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4((helpers[\"popupDetailRepeat-tmpl\"] || (depth0 && depth0[\"popupDetailRepeat-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.schedule : depth0),{\"name\":\"popupDetailRepeat-tmpl\",\"hash\":{},\"data\":data}))\n    + \"</span></div>\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail-item-indent\\\"><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-user-b\\\"></span><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4((helpers[\"popupDetailUser-tmpl\"] || (depth0 && depth0[\"popupDetailUser-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.schedule : depth0),{\"name\":\"popupDetailUser-tmpl\",\"hash\":{},\"data\":data}))\n    + \"</span></div>\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n    var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail-item\\\"><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-state-b\\\"></span><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4((helpers[\"popupDetailState-tmpl\"] || (depth0 && depth0[\"popupDetailState-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.schedule : depth0),{\"name\":\"popupDetailState-tmpl\",\"hash\":{},\"data\":data}))\n    + \"</span></div>\";\n},\"9\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail-item\\\"><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"calendar-dot\\\" style=\\\"background-color: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.bgColor : stack1), depth0))\n    + \"\\\"></span><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.calendar : depth0)) != null ? stack1.name : stack1), depth0))\n    + \"</span></div>\\n\";\n},\"11\":function(container,depth0,helpers,partials,data) {\n    var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail-item-separate\\\"><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4((helpers[\"popupDetailBody-tmpl\"] || (depth0 && depth0[\"popupDetailBody-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.schedule : depth0),{\"name\":\"popupDetailBody-tmpl\",\"hash\":{},\"data\":data}))\n    + \"</span></div>\";\n},\"13\":function(container,depth0,helpers,partials,data) {\n    return \"\";\n},\"15\":function(container,depth0,helpers,partials,data) {\n    var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-button\\\">\\n      <button class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-edit\\\"><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-edit\\\"></span><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4(((helper = (helper = helpers[\"popupEdit-tmpl\"] || (depth0 != null ? depth0[\"popupEdit-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"popupEdit-tmpl\",\"hash\":{},\"data\":data}) : helper)))\n    + \"</span></button>\\n      <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-vertical-line\\\"></div>\\n      <button class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-delete\\\"><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-delete\\\"></span><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4(((helper = (helper = helpers[\"popupDelete-tmpl\"] || (depth0 != null ? depth0[\"popupDelete-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"popupDelete-tmpl\",\"hash\":{},\"data\":data}) : helper)))\n    + \"</span></button>\\n    </div>\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail\\\">\\n  <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-container\\\">\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-header\\\">\\n      <div>\\n        <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-private \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-private\\\"></span>\\n        <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-title\\\">\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.title : stack1), depth0))\n    + \"</span>\\n      </div>\\n      <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-detail-date \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4((helpers[\"popupDetailDate-tmpl\"] || (depth0 && depth0[\"popupDetailDate-tmpl\"]) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.isAllDay : stack1),((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.start : stack1),((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.end : stack1),{\"name\":\"popupDetailDate-tmpl\",\"hash\":{},\"data\":data}))\n    + \"</div>\\n    </div>\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-detail\\\">\\n        \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.location : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n        \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.recurrenceRule : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n        \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.attendees : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n        \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.state : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.calendar : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"        \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.body : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(11, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n    </div>\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.isReadOnly : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(13, data, 0),\"inverse\":container.program(15, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"  </div>\\n  <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-top-line\\\" style=\\\"background-color: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.schedule : depth0)) != null ? stack1.bgColor : stack1), depth0))\n    + \"\\\"></div>\\n  <div id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-arrow\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-arrow \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"arrow-left\\\">\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-arrow-border\\\">\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-arrow-fill\\\"></div>\\n    </div>\\n  </div>\\n</div>\\n\";\n},\"useData\":true});","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"hide\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n    var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"                    <li class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown-menu-item\\\" data-calendar-id=\\\"\"\n    + alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"id\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\">\\n                        <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"calendar-dot\\\" style=\\\"background-color: \"\n    + alias4(((helper = (helper = helpers.bgColor || (depth0 != null ? depth0.bgColor : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"bgColor\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\"></span>\\n                        <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n    + \"</span>\\n                    </li>\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"public\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n    return \" checked\";\n},\"9\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers.state || (depth0 != null ? depth0.state : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"state\",\"hash\":{},\"data\":data}) : helper)));\n},\"11\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers[\"popupStateBusy-tmpl\"] || (depth0 != null ? depth0[\"popupStateBusy-tmpl\"] : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"popupStateBusy-tmpl\",\"hash\":{},\"data\":data}) : helper)));\n},\"13\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers[\"popupUpdate-tmpl\"] || (depth0 != null ? depth0[\"popupUpdate-tmpl\"] : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"popupUpdate-tmpl\",\"hash\":{},\"data\":data}) : helper)));\n},\"15\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers[\"popupSave-tmpl\"] || (depth0 != null ? depth0[\"popupSave-tmpl\"] : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"popupSave-tmpl\",\"hash\":{},\"data\":data}) : helper)));\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup\\\">\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-container\\\">\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"close \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-calendar\"\n    + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.calendars : depth0)) != null ? stack1.length : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\">\\n            <button class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"button \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown-button \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item\\\">\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"calendar-dot\\\" style=\\\"background-color: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.selectedCal : depth0)) != null ? stack1.bgColor : stack1), depth0))\n    + \"\\\"></span>\\n                <span id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-calendar\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.selectedCal : depth0)) != null ? stack1.name : stack1), depth0))\n    + \"</span>\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown-arrow\\\"></span>\\n                </span>\\n            </button>\\n            <ul class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown-menu\\\" style=\\\"z-index: \"\n    + alias4(((helper = (helper = helpers.zIndex || (depth0 != null ? depth0.zIndex : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"zIndex\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.calendars : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"            </ul>\\n        </div>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section\\\">\\n            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-title\\\">\\n            <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-title\\\"></span>\\n            <input id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-title\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\" placeholder=\\\"\"\n    + alias4(((helper = (helper = helpers[\"titlePlaceholder-tmpl\"] || (depth0 != null ? depth0[\"titlePlaceholder-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"titlePlaceholder-tmpl\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\" value=\\\"\"\n    + alias4(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"title\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\"></span>\\n            </div>\\n            <button id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-private\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"button \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-private\"\n    + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.isPrivate : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\">\\n            <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-private\\\"></span>\\n            </button>\\n        </div>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section\\\">\\n            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-location\\\">\\n            <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-location\\\"></span>\\n                <input id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-location\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\" placeholder=\\\"\"\n    + alias4(((helper = (helper = helpers[\"locationPlaceholder-tmpl\"] || (depth0 != null ? depth0[\"locationPlaceholder-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"locationPlaceholder-tmpl\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\" value=\\\"\"\n    + alias4(((helper = (helper = helpers.location || (depth0 != null ? depth0.location : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"location\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\"></span>\\n            </div>\\n        </div>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section\\\">\\n            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-start-date\\\">\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-date\\\"></span>\\n                <input id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-start-date\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\" placeholder=\\\"\"\n    + alias4(((helper = (helper = helpers[\"startDatePlaceholder-tmpl\"] || (depth0 != null ? depth0[\"startDatePlaceholder-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"startDatePlaceholder-tmpl\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\"></span>\\n                <div id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"startpicker-container\\\" style=\\\"margin-left: -1px; position: relative\\\"></div>\\n            </div>\\n            <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-date-dash\\\">-</span>\\n            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-end-date\\\">\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-date\\\"></span>\\n                <input id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-end-date\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\" placeholder=\\\"\"\n    + alias4(((helper = (helper = helpers[\"endDatePlaceholder-tmpl\"] || (depth0 != null ? depth0[\"endDatePlaceholder-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"endDatePlaceholder-tmpl\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\"></span>\\n                <div id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"endpicker-container\\\" style=\\\"margin-left: -1px; position: relative\\\"></div>\\n            </div>\\n            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-allday\\\">\\n                <input id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-allday\\\" type=\\\"checkbox\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"checkbox-square\\\"\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isAllDay : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"></input>\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-checkbox\\\"></span>\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4(((helper = (helper = helpers[\"popupIsAllDay-tmpl\"] || (depth0 != null ? depth0[\"popupIsAllDay-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"popupIsAllDay-tmpl\",\"hash\":{},\"data\":data}) : helper)))\n    + \"</span>\\n            </div>\\n        </div>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"close \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-state\\\">\\n            <button class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"button \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown-button \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item\\\">\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-state\\\"></span>\\n                <span id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"schedule-state\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.state : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.program(11, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown-arrow\\\"></span>\\n            </button>\\n            <ul class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown-menu\\\" style=\\\"z-index: \"\n    + alias4(((helper = (helper = helpers.zIndex || (depth0 != null ? depth0.zIndex : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"zIndex\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\">\\n                <li class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown-menu-item\\\">\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"none\\\"></span>\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4(((helper = (helper = helpers[\"popupStateBusy-tmpl\"] || (depth0 != null ? depth0[\"popupStateBusy-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"popupStateBusy-tmpl\",\"hash\":{},\"data\":data}) : helper)))\n    + \"</span>\\n                </li>\\n                <li class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-section-item \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dropdown-menu-item\\\">\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"none\\\"></span>\\n                <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"content\\\">\"\n    + alias4(((helper = (helper = helpers[\"popupStateFree-tmpl\"] || (depth0 != null ? depth0[\"popupStateFree-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"popupStateFree-tmpl\",\"hash\":{},\"data\":data}) : helper)))\n    + \"</span>\\n                </li>\\n            </ul>\\n        </div>\\n        <button class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"button \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-close\\\"><span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-close\\\"></span></button>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"section-button-save\\\"><button class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"button \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"confirm \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-save\\\"><span>\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isEditMode : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(13, data, 0),\"inverse\":container.program(15, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"</span></button></div>\\n    </div>\\n    <div id=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-arrow\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-arrow \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"arrow-bottom\\\">\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-arrow-border\\\">\\n            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"popup-arrow-fill\\\"></div>\\n        </div>\\n    </div>\\n</div>\\n\";\n},\"useData\":true});","module.exports = __WEBPACK_EXTERNAL_MODULE__69__;","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = (helpers[\"timegridCurrentTime-tmpl\"] || (depth0 && depth0[\"timegridCurrentTime-tmpl\"]) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"timegridCurrentTime-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n\";\n},\"useData\":true});","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-timezone-label-container\\\" style=\\\"\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hidden : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"background-color: \"\n    + alias4(((helper = (helper = helpers.backgroundColor || (depth0 != null ? depth0.backgroundColor : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"backgroundColor\",\"hash\":{},\"data\":data}) : helper)))\n    + \"; height: 100%; width: \"\n    + alias4(((helper = (helper = helpers.width || (depth0 != null ? depth0.width : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"width\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; left: \"\n    + alias4(((helper = (helper = helpers.left || (depth0 != null ? depth0.left : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"left\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; font-size: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.leftFontSize), depth0))\n    + \"; border-right: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.leftBorderRight), depth0))\n    + \";\\\">\\n    <div title=\\\"\"\n    + alias4(((helper = (helper = helpers.tooltip || (depth0 != null ? depth0.tooltip : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"tooltip\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-timezone-label-cell\\\" data-timezone=\\\"\"\n    + alias4(((helper = (helper = helpers.displayLabel || (depth0 != null ? depth0.displayLabel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"displayLabel\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\" style=\\\"height: 100%; width: 100%;\\\">\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(helpers.and || (depth0 && depth0.and) || alias2).call(alias1,(depth0 != null ? depth0.isPrimary : depth0),((stack1 = (data && data.root)) && stack1.showTimezoneCollapseButton),{\"name\":\"and\",\"hash\":{},\"data\":data}),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-timezone-label\\\">\"\n    + ((stack1 = (helpers[\"timezoneDisplayLabel-tmpl\"] || (depth0 && depth0[\"timezoneDisplayLabel-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.timezoneOffset : depth0),(depth0 != null ? depth0.displayLabel : depth0),{\"name\":\"timezoneDisplayLabel-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n    </div>\\n</div>\\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n    return \"display:none;\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-timezone-close-btn\\\" style=\\\"border: 1px solid #ddd; top:2px; bottom: 2px; width: 10px; border-left: none;\\\">\\n                <span style=\\\"color: #777; height: calc(\"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.displayTimezoneLabelHeight), depth0))\n    + \" - 6px); line-height: calc(\"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.displayTimezoneLabelHeight), depth0))\n    + \" - 6px);\\\">\\n                    <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"icon \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (data && data.root)) && stack1.timezonesCollapsed),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"></span>\\n                </span>\\n            </div>\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-arrow-right\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"ic-arrow-left\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});\n\n  return ((stack1 = helpers.each.call(alias1,(helpers.reverse || (depth0 && depth0.reverse) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.timezones : depth0),{\"name\":\"reverse\",\"hash\":{},\"data\":data}),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-timezone\\\" data-timezone-index=\\\"\"\n    + alias4(((helper = (helper = helpers.index || (data && data.index)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"index\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\" style=\\\"\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hidden : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"position: absolute; top: 0; width: \"\n    + alias4(((helper = (helper = helpers.width || (depth0 != null ? depth0.width : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"width\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; left: \"\n    + alias4(((helper = (helper = helpers.left || (depth0 != null ? depth0.left : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"left\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; border-right: \"\n    + alias4(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.leftBorderRight), depth0))\n    + \"; background-color: \"\n    + alias4(((helper = (helper = helpers.backgroundColor || (depth0 != null ? depth0.backgroundColor : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"backgroundColor\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\\\" >\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isPrimary : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.program(10, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"        </div>\\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n    return \"display:none;\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});\n\n  return ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.timeSlots : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (data && data.root)) && stack1.showHourMarker),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hour\\\" style=\\\"height: \"\n    + alias4(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.oneHourHeight), depth0))\n    + \"; color: \"\n    + alias4(((helper = (helper = helpers.color || (depth0 != null ? depth0.color : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"color\",\"hash\":{},\"data\":data}) : helper)))\n    + \"; font-weight: \"\n    + alias4(((helper = (helper = helpers.fontWeight || (depth0 != null ? depth0.fontWeight : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"fontWeight\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\\\">\\n                    <span style=\\\"\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hidden : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"timegridDisplayPrimayTime-tmpl\"] || (depth0 && depth0[\"timegridDisplayPrimayTime-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"timegridDisplayPrimayTime-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n                </div>\\n\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n    return \"display:none\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"                <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hourmarker\\\" style=\\\"top:\"\n    + alias4(alias5(((stack1 = (data && data.root)) && stack1.hourmarkerTop), depth0))\n    + \"%; margin-top: calc(6px - \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.halfHourHeight), depth0))\n    + \"); height: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.halfHourHeight), depth0))\n    + \";\\\">\\n                    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hourmarker-time\\\" style=\\\"color: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.currentTimeColor), depth0))\n    + \"; font-size: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.currentTimeFontSize), depth0))\n    + \"; font-weight: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.currentTimeFontWeight), depth0))\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"timegridCurrentTime-tmpl\"] || (depth0 && depth0[\"timegridCurrentTime-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"timegridCurrentTime-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n                </div>\\n\";\n},\"10\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});\n\n  return ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.timeSlots : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(11, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (data && data.root)) && stack1.showHourMarker),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(13, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"11\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hour\\\" style=\\\"height: \"\n    + alias4(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.oneHourHeight), depth0))\n    + \"; color: \"\n    + alias4(((helper = (helper = helpers.color || (depth0 != null ? depth0.color : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"color\",\"hash\":{},\"data\":data}) : helper)))\n    + \"; font-weight: \"\n    + alias4(((helper = (helper = helpers.fontWeight || (depth0 != null ? depth0.fontWeight : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"fontWeight\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\\\">\\n                    <span style=\\\"\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hidden : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"timegridDisplayTime-tmpl\"] || (depth0 && depth0[\"timegridDisplayTime-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"timegridDisplayTime-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n                </div>\\n\";\n},\"13\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"                <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hourmarker\\\" style=\\\"top:\"\n    + alias4(alias5(((stack1 = (data && data.root)) && stack1.hourmarkerTop), depth0))\n    + \"%; margin-top: calc(6px - \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.halfHourHeight), depth0))\n    + \"); height: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.halfHourHeight), depth0))\n    + \";\\\">\\n                    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hourmarker-time\\\" style=\\\"color: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.currentTimeColor), depth0))\n    + \"; font-size: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.currentTimeFontSize), depth0))\n    + \";\\\">\"\n    + ((stack1 = (helpers[\"timegridCurrentTime-tmpl\"] || (depth0 && depth0[\"timegridCurrentTime-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"timegridCurrentTime-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n                </div>\\n\";\n},\"15\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-gridline\\\" style=\\\"height: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.oneHourHeight), depth0))\n    + \";\\n\"\n    + ((stack1 = helpers.unless.call(alias1,(data && data.last),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(16, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"        \\\">\\n            <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-gridline-half\\\" style=\\\"height: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.halfHourHeight), depth0))\n    + \"; border-bottom: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.halfHourBorderBottom), depth0))\n    + \";\\\"></div>\\n        </div>\\n\";\n},\"16\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"            border-bottom: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderBottom), depth0))\n    + \";\\n\";\n},\"18\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hourmarker\\\" style=\\\"top:\"\n    + alias4(((helper = (helper = helpers.hourmarkerTop || (depth0 != null ? depth0.hourmarkerTop : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"hourmarkerTop\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%\\\">\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hourmarker-line-left\\\" style=\\\"width:\"\n    + alias4(((helper = (helper = helpers.todaymarkerLeft || (depth0 != null ? depth0.todaymarkerLeft : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"todaymarkerLeft\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; border-top: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.currentTimeLeftBorderTop : stack1), depth0))\n    + \";\\\"></div>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-todaymarker\\\" style=\\\"left:\"\n    + alias4(((helper = (helper = helpers.todaymarkerLeft || (depth0 != null ? depth0.todaymarkerLeft : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"todaymarkerLeft\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; background-color: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.currentTimeBulletBackgroundColor : stack1), depth0))\n    + \"; \\\">today</div>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hourmarker-line-today\\\" style=\\\"left:\"\n    + alias4(((helper = (helper = helpers.todaymarkerLeft || (depth0 != null ? depth0.todaymarkerLeft : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"todaymarkerLeft\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; width: \"\n    + alias4(((helper = (helper = helpers.todaymarkerWidth || (depth0 != null ? depth0.todaymarkerWidth : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"todaymarkerWidth\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; border-top: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.currentTimeTodayBorderTop : stack1), depth0))\n    + \";\\\"></div>\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-hourmarker-line-right\\\" style=\\\"left:\"\n    + alias4(((helper = (helper = helpers.todaymarkerRight || (depth0 != null ? depth0.todaymarkerRight : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"todaymarkerRight\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; border-top: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.currentTimeRightBorderTop : stack1), depth0))\n    + \";\\\"></div>\\n    </div>\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-left\\\" style=\\\"width: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.leftWidth : stack1), depth0))\n    + \"; font-size: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.leftFontSize : stack1), depth0))\n    + \";\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.timezones : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-right\\\" style=\\\"margin-left: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.leftWidth), depth0))\n    + \";\\\">\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-h-grid\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.hoursLabels : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(15, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-schedules\\\">\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"timegrid-schedules-container\\\"></div>\\n    </div>\\n\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.showHourMarker : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(18, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview Add autoscroll feature to elements that prevented text selection.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar domevent = require('../common/domevent');\nvar domutil = require('../common/domutil');\nvar Point = require('../common/point');\n\nvar SCROLL_INTERVAL = 30;\nvar SCROLL_MAX = 15;\nvar SCROLL_CLICK_INCREASED = 2; // In IE, the offset of the actual UI pixel when the scroll bar is clicked is offset.\n\n/**\n * Add autoscroll feature to elements that prevented text selection.\n * @constructor\n * @param {HTMLElement} container - HTMLElement to add autoscroll features.\n */\nfunction AutoScroll(container) {\n    /**\n     * @type {HTMLElement}\n     */\n    this.container = container;\n\n    /**\n     * @type {AutoScroll.DIRECTION}\n     */\n    this._direction = AutoScroll.DIRECTION.INSIDE;\n\n    /**\n     * @type {number}\n     */\n    this._offset = 0;\n\n    /**\n     * interval to scrolling\n     * @type {number}\n     */\n    this._intervalID = 0;\n\n    domevent.on(container, {\n        'mousedown': this._onMouseDown\n    }, this);\n}\n\n/**\n * @enum\n */\nAutoScroll.DIRECTION = {\n    INSIDE: 0,\n    TOP: 1,\n    RIGHT: 2,\n    BOTTOM: 3,\n    LEFT: 4\n};\n\n/**\n * Instance destroy method.\n */\nAutoScroll.prototype.destroy = function() {\n    domevent.off(this.container, {\n        'mousedown': this._onMouseDown,\n        'mousemove': this._onMouseMove,\n        'mouseup': this._onMouseUp\n    }, this);\n\n    window.clearInterval(this._intervalID);\n    this._intervalID = this._direction = this.container = null;\n};\n\n/**\n * Normalize ClientRect and calculate each position of edges.\n * @param {ClientRect} clientRect - ClientRect object of element.\n * @returns {object} edges.\n */\nAutoScroll.prototype._getEdgePositions = function(clientRect) {\n    return {\n        top: clientRect.top,\n        right: clientRect.left + clientRect.width,\n        bottom: clientRect.bottom,\n        left: clientRect.left\n    };\n};\n\n/**\n * Get element real size (\"real size\" -> size without scrollbar)\n * @param {HTMLElement} el - element want to know real size (\"real size\" -> size without scrollbar)\n * @returns {number[]} real size [width, height]\n */\nAutoScroll.prototype.getRealSize = function(el) {\n    var computed = domutil.getComputedStyle(el),\n        border,\n        padding;\n\n    border = parseFloat(computed.getPropertyValue('border-top-width')) +\n        parseFloat(computed.getPropertyValue('border-bottom-width'));\n    padding = parseFloat(computed.getPropertyValue('padding-top')) +\n        parseFloat(computed.getPropertyValue('padding-bottom'));\n\n    return [el.clientWidth + border + padding, el.clientHeight + border + padding];\n};\n\n/**\n * Check supplied element has scrollbar.\n * @param {HTMLElement} el - element want to know has scrollbar.\n * @returns {boolean[]} has scrollbar? [horizontal, vertical]\n */\nAutoScroll.prototype.hasScrollbar = function(el) {\n    var realSize = this.getRealSize(el);\n\n    return [\n        el.offsetWidth > Math.ceil(realSize[0]),\n        el.offsetHeight > Math.ceil(realSize[1])\n    ];\n};\n\n/**\n * @param {HTMLElement} el - element want to know.\n * @param {MouseEvent} mouseEvent - mouse event object.\n * @returns {boolean} mouse pointer is on the scrollbar?\n */\nAutoScroll.prototype.isOnScrollbar = function(el, mouseEvent) {\n    var realSize = this.getRealSize(el),\n        pos = domevent.getMousePosition(mouseEvent, el),\n        mouseInScrollbar = false;\n\n    mouseInScrollbar = (realSize[0] - SCROLL_CLICK_INCREASED < pos[0] ||\n                        realSize[1] - SCROLL_CLICK_INCREASED < pos[1]);\n\n    return mouseInScrollbar;\n};\n\n/**\n * MouseDown event handler\n * @param {MouseEvent} mouseDownEvent - mouse down event\n */\nAutoScroll.prototype._onMouseDown = function(mouseDownEvent) {\n    // only primary button can start drag.\n    if (domevent.getMouseButton(mouseDownEvent) !== 0) {\n        return;\n    }\n\n    // deactivate autoscroll feature when mouse is on the scrollbar. (IE)\n    if (util.browser.msie && this.isOnScrollbar(this.container, mouseDownEvent)) {\n        return;\n    }\n\n    window.clearInterval(this._intervalID);\n    this._intervalID = window.setInterval(util.bind(this._onTick, this), SCROLL_INTERVAL);\n\n    domevent.on(global, {\n        'mousemove': this._onMouseMove,\n        'mouseup': this._onMouseUp\n    }, this);\n};\n\n/**\n * MouseMove event handler\n * @param {MouseEvent} mouseEvent - mouse move event object.\n */\nAutoScroll.prototype._onMouseMove = function(mouseEvent) {\n    var edge = this._getEdgePositions(this.container.getBoundingClientRect()),\n        pos = Point.n(domevent.getMousePosition(mouseEvent));\n\n    if (pos.y >= edge.top && pos.y <= edge.bottom &&\n        pos.x >= edge.left && pos.x <= edge.right) {\n        this._direction = AutoScroll.DIRECTION.INSIDE;\n\n        return;\n    }\n\n    if (pos.y < edge.top) {\n        this._direction = AutoScroll.DIRECTION.TOP;\n        this._offset = edge.top - pos.y;\n\n        return;\n    }\n\n    if (pos.y > edge.bottom) {\n        this._direction = AutoScroll.DIRECTION.BOTTOM;\n        this._offset = pos.y - edge.bottom;\n\n        return;\n    }\n\n    if (pos.x < edge.left) {\n        this._direction = AutoScroll.DIRECTION.LEFT;\n        this._offset = edge.left - pos.x;\n\n        return;\n    }\n\n    this._direction = AutoScroll.DIRECTION.RIGHT;\n    this._offset = pos.x - edge.right;\n};\n\n/**\n * MouseUp event handler.\n */\nAutoScroll.prototype._onMouseUp = function() {\n    window.clearInterval(this._intervalID);\n    this._intervalID = 0;\n    this._direction = AutoScroll.DIRECTION.INSIDE;\n    this._offset = 0;\n\n    domevent.off(global, {\n        'mousemove': this._onMouseMove,\n        'mouseup': this._onMouseUp\n    }, this);\n};\n\n/**\n * Interval tick event handler\n */\nAutoScroll.prototype._onTick = function() {\n    var direction = this._direction,\n        container,\n        factor;\n\n    if (!direction) {\n        return;\n    }\n\n    container = this.container;\n    factor = Math.min(this._offset, SCROLL_MAX);\n\n    switch (direction) {\n        case AutoScroll.DIRECTION.TOP:\n            container.scrollTop -= factor;\n            break;\n        case AutoScroll.DIRECTION.RIGHT:\n            container.scrollLeft += factor;\n            break;\n        case AutoScroll.DIRECTION.BOTTOM:\n            container.scrollTop += factor;\n            break;\n        default:\n            container.scrollLeft -= factor;\n            break;\n    }\n};\n\nmodule.exports = AutoScroll;\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"2\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"3\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"4\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-date-schedule-block \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isPending : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\" data-id=\\\"\"\n    + alias4((helpers.stamp || (depth0 && depth0.stamp) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"stamp\",\"hash\":{},\"data\":data}))\n    + \"\\\"\\n            style=\\\"\"\n    + alias4((helpers[\"time-scheduleBlock\"] || (depth0 && depth0[\"time-scheduleBlock\"]) || alias2).call(alias1,depth0,{\"name\":\"time-scheduleBlock\",\"hash\":{},\"data\":data}))\n    + \";\\n\"\n    + ((stack1 = (helpers.fi || (depth0 && depth0.fi) || alias2).call(alias1,(depth0 != null ? depth0.left : depth0),\"!==\",0,{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"            \\\">\\n            <div data-schedule-id=\\\"\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.id : stack1), depth0))\n    + \"\\\" data-calendar-id=\\\"\"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.calendarId : stack1), depth0))\n    + \"\\\" class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"\\n                style=\\\"\\n\"\n    + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.croppedEnd : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(11, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.croppedStart : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(13, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(15, data, 0),\"inverse\":container.program(17, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"                 \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.customStyle : stack1), depth0))\n    + \"\\\"\\n            >\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hasGoingDuration : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(19, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"                <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content-time\\\" style=\\\"height: \"\n    + alias4(((helper = (helper = helpers.modelDurationHeight || (depth0 != null ? depth0.modelDurationHeight : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"modelDurationHeight\",\"hash\":{},\"data\":data}) : helper)))\n    + \"px;\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(20, data, 0),\"inverse\":container.program(22, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"                \"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hasComingDuration : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(24, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\">\\n                    \"\n    + ((stack1 = (helpers[\"time-tmpl\"] || (depth0 && depth0[\"time-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"time-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n                </div>\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.hasComingDuration : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(26, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"            </div>\\n            \"\n    + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.croppedEnd : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(29, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n        </div>\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-date-schedule-block-pending\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                    padding-left: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.paddingLeft), depth0))\n    + \";\\n\";\n},\"9\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-focused \";\n},\"11\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                    border-bottom-left-radius: \"\n    + alias2(alias1(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderRadius), depth0))\n    + \";\\n                    border-bottom-right-radius: \"\n    + alias2(alias1(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderRadius), depth0))\n    + \";\\n\";\n},\"13\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                    border-top-left-radius: \"\n    + alias2(alias1(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderRadius), depth0))\n    + \";\\n                    border-top-right-radius: \"\n    + alias2(alias1(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderRadius), depth0))\n    + \";\\n\";\n},\"15\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                    color: #ffffff; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \";\\n\";\n},\"17\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                    color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\n\";\n},\"19\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"                <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content-travel-time\\\" style=\\\"height: \"\n    + alias4(((helper = (helper = helpers.goingDurationHeight || (depth0 != null ? depth0.goingDurationHeight : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"goingDurationHeight\",\"hash\":{},\"data\":data}) : helper)))\n    + \"px;\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(20, data, 0),\"inverse\":container.program(22, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"                border-bottom: 1px dashed \"\n    + alias4(((helper = (helper = helpers.travelBorderColor || (depth0 != null ? depth0.travelBorderColor : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"travelBorderColor\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\\\">\"\n    + ((stack1 = (helpers[\"goingDuration-tmpl\"] || (depth0 && depth0[\"goingDuration-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"goingDuration-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"20\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                    border-color:\"\n    + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \";\\n\";\n},\"22\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                    border-color:\"\n    + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\n\";\n},\"24\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \"border-bottom: 1px dashed \"\n    + container.escapeExpression(((helper = (helper = helpers.travelBorderColor || (depth0 != null ? depth0.travelBorderColor : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"travelBorderColor\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\";\n},\"26\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"                <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-schedule-content-travel-time\\\" style=\\\"height: \"\n    + alias4(((helper = (helper = helpers.comingDurationHeight || (depth0 != null ? depth0.comingDurationHeight : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"comingDurationHeight\",\"hash\":{},\"data\":data}) : helper)))\n    + \"px;\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(20, data, 0),\"inverse\":container.program(27, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \";\\\">\"\n    + ((stack1 = (helpers[\"comingDuration-tmpl\"] || (depth0 && depth0[\"comingDuration-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"comingDuration-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"27\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                    border-color:\"\n    + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\n                \";\n},\"29\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias1(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-resize-handle handle-x\\\" style=\\\"margin-left: \"\n    + alias1(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.paddingLeft), depth0))\n    + \";\\\">&nbsp;</div>\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"time-date-schedule-block-wrap\\\" style=\\\"margin-right: \"\n    + alias2(container.lambda(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.marginRight : stack1), depth0))\n    + \";\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.matrices : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview View of time.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar datetime = require('../../common/datetime');\nvar domutil = require('../../common/domutil');\nvar View = require('../view');\nvar timeTmpl = require('../template/week/time.hbs');\n\nvar forEachArr = util.forEachArray;\nvar SCHEDULE_MIN_DURATION = datetime.MILLISECONDS_SCHEDULE_MIN_DURATION;\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options Options\n * @param {number} options.index Date index in week view.\n * @param {number} options.width Date element width (percent)\n * @param {string} options.ymd YYYMMDD string for this view\n * @param {boolean} options.isToday when set true then assign today design class to container.\n * @param {number} options.hourStart Can limit of render hour start.\n * @param {number} options.hourEnd Can limit of render hour end.\n * @param {HTMLElement} container Element to use container for this view.\n * @param {Theme} theme - theme instance\n */\nfunction Time(options, container, theme) {\n    View.call(this, container);\n\n    this.options = util.extend({\n        index: 0,\n        width: 0,\n        ymd: '',\n        isToday: false,\n        pending: false,\n        hourStart: 0,\n        hourEnd: 24,\n        defaultMarginBottom: 2,\n        minHeight: 18.5,\n        isReadOnly: false\n    }, options);\n\n    this.timeTmpl = timeTmpl;\n\n    /**\n     * @type {Theme}\n     */\n    this.theme = theme;\n\n    container.style.width = options.width + '%';\n    container.style.left = options.left + '%';\n\n    if (this.options.isToday) {\n        domutil.addClass(this.container, config.classname('today'));\n    }\n\n    this.applyTheme();\n}\n\nutil.inherit(Time, View);\n\n/**\n * Convert YYYYMMDD formatted string date to Date.\n * @param {string} str formatted string.\n * @returns {Date} start of date.\n */\nTime.prototype._parseDateGroup = function(str) {\n    var y = parseInt(str.substr(0, 4), 10),\n        m = parseInt(str.substr(4, 2), 10),\n        d = parseInt(str.substr(6, 2), 10);\n    var date = datetime.start();\n\n    date.setFullYear(y, m - 1, d);\n\n    return datetime.start(date);\n};\n\n/**\n * calculate left and width\n * @param {ScheduleViewModel} viewModel - view model instance to calculate bound.\n * @param {object} options - options for calculating schedule element's bound.\n * @returns {object} - left and width\n */\nTime.prototype._getScheduleViewBoundX = function(viewModel, options) {\n    var width = options.baseWidth * (viewModel.extraSpace + 1);\n\n    // set width auto when has no collisions.\n    if (!viewModel.hasCollide) {\n        width = null;\n    }\n\n    return {\n        left: options.baseLeft[options.columnIndex],\n        width: width\n    };\n};\n\n/**\n * calculate top, height, croppedStart and croppedEnd\n * @param {ScheduleViewModel} viewModel - view model instance to calculate bound.\n * @param {object} options - options for calculating schedule element's bound.\n * @returns {object} - left and width\n */\nTime.prototype._getScheduleViewBoundY = function(viewModel, options) {\n    var baseMS = options.baseMS;\n    var baseHeight = options.baseHeight;\n    var croppedStart = false;\n    var croppedEnd = false;\n    var goingDuration = datetime.millisecondsFrom('minutes', viewModel.valueOf().goingDuration);\n    var comingDuration = datetime.millisecondsFrom('minutes', viewModel.valueOf().comingDuration);\n    var offsetStart = viewModel.valueOf().start - goingDuration - options.todayStart;\n    // containerHeight : milliseconds in day = x : schedule's milliseconds\n    var top = (baseHeight * offsetStart) / baseMS;\n    var modelDuration = viewModel.duration();\n    var height;\n    var duration;\n    var goingDurationHeight;\n    var modelDurationHeight;\n    var comingDurationHeight;\n\n    modelDuration = modelDuration > SCHEDULE_MIN_DURATION ? modelDuration : SCHEDULE_MIN_DURATION;\n    duration = modelDuration + goingDuration + comingDuration;\n    height = (baseHeight * duration) / baseMS;\n\n    goingDurationHeight = (baseHeight * goingDuration) / baseMS; // common.ratio(duration, goingDuration, 100);\n    modelDurationHeight = (baseHeight * modelDuration) / baseMS; // common.ratio(duration, modelDuration, 100);\n    comingDurationHeight = (baseHeight * comingDuration) / baseMS; // common.ratio(duration, comingDuration, 100);\n\n    if (offsetStart < 0) {\n        top = 0;\n        height += ((baseHeight * offsetStart) / baseMS);\n        croppedStart = true;\n    }\n\n    if (height + top > baseHeight) {\n        height = baseHeight - top;\n        croppedEnd = true;\n    }\n\n    return {\n        top: top,\n        height: Math.max(height, this.options.minHeight) - this.options.defaultMarginBottom,\n        modelDurationHeight: modelDurationHeight,\n        goingDurationHeight: goingDurationHeight,\n        comingDurationHeight: comingDurationHeight,\n        hasGoingDuration: goingDuration > 0,\n        hasComingDuration: comingDuration > 0,\n        croppedStart: croppedStart,\n        croppedEnd: croppedEnd\n    };\n};\n\n/**\n * @param {ScheduleViewModel} viewModel - view model instance to calculate bound.\n * @param {object} options - options for calculating schedule element's bound.\n * @param {Date} options.todayStart - date object represent schedule date's start (00:00:00)\n * @param {number} options.baseMS - the number of milliseconds to render schedule blocks.\n * @param {number} options.baseHeight - pixel value related with baseMS options.\n * @param {number[]} options.baseLeft - left position percents for each columns.\n * @param {number} options.baseWidth - the unit of schedule blocks width percent.\n * @param {number} options.columnIndex - the number index of schedule blocks.\n * it represent rendering index from left sides in view.\n * @returns {object} bound object for supplied view model.\n */\nTime.prototype.getScheduleViewBound = function(viewModel, options) {\n    var boundX = this._getScheduleViewBoundX(viewModel, options);\n    var boundY = this._getScheduleViewBoundY(viewModel, options);\n    var schedule = viewModel.model;\n    var isReadOnly = util.pick(schedule, 'isReadOnly') || false;\n    var travelBorderColor = schedule.isFocused ? '#ffffff' : schedule.borderColor;\n    if (travelBorderColor === schedule.bgColor) {\n        travelBorderColor = null; // follow text color\n    }\n\n    return util.extend({\n        isReadOnly: isReadOnly,\n        travelBorderColor: travelBorderColor\n    }, boundX, boundY);\n};\n\n/**\n * Set viewmodels for rendering.\n * @param {string} ymd The date of schedules. YYYYMMDD format.\n * @param {array} matrices The matrices for schedule placing.\n * @param {number} containerHeight - container's height\n */\nTime.prototype._getBaseViewModel = function(ymd, matrices, containerHeight) {\n    var self = this,\n        options = this.options,\n        hourStart = options.hourStart,\n        hourEnd = options.hourEnd,\n        isReadOnly = options.isReadOnly,\n        todayStart,\n        baseMS;\n\n    /**\n     * Calculate each schedule element bounds relative with rendered hour milliseconds and\n     * wrap each schedule model to viewmodels.\n     */\n    containerHeight = containerHeight || this.getViewBound().height;\n    todayStart = this._parseDateGroup(ymd);\n    todayStart.setHours(hourStart);\n    baseMS = datetime.millisecondsFrom('hour', (hourEnd - hourStart));\n\n    forEachArr(matrices, function(matrix) {\n        var maxRowLength,\n            widthPercent,\n            leftPercents,\n            i;\n\n        maxRowLength = Math.max.apply(null, util.map(matrix, function(row) {\n            return row.length;\n        }));\n\n        widthPercent = 100 / maxRowLength;\n\n        leftPercents = [];\n        for (i = 0; i < maxRowLength; i += 1) {\n            leftPercents[i] = widthPercent * i;\n        }\n\n        forEachArr(matrix, function(row) {\n            forEachArr(row, function(viewModel, col) {\n                var viewBound;\n\n                if (!viewModel) {\n                    return;\n                }\n\n                viewBound = self.getScheduleViewBound(viewModel, {\n                    todayStart: todayStart,\n                    baseMS: baseMS,\n                    baseLeft: leftPercents,\n                    baseWidth: widthPercent,\n                    baseHeight: containerHeight,\n                    columnIndex: col,\n                    isReadOnly: isReadOnly\n                });\n\n                util.extend(viewModel, viewBound);\n            });\n        });\n    });\n};\n\n/**\n * @returns {Date} - Date of this view.\n */\nTime.prototype.getDate = function() {\n    return this._parseDateGroup(this.options.ymd);\n};\n\n/**\n * @override\n * @param {string} ymd The date of schedules. YYYYMMDD format\n * @param {array} matrices Matrices for placing schedules\n * @param {number} containerHeight - container's height\n */\nTime.prototype.render = function(ymd, matrices, containerHeight) {\n    this._getBaseViewModel(ymd, matrices, containerHeight);\n    this.container.innerHTML = this.timeTmpl({\n        matrices: matrices,\n        styles: this._getStyles(this.theme)\n    });\n};\n\n/**\n * Get the styles from theme\n * @param {Theme} theme - theme instance\n * @returns {object} styles - styles object\n */\nTime.prototype._getStyles = function(theme) {\n    var styles = {};\n    var options = this.options;\n\n    if (theme) {\n        styles.borderRight = theme.week.timegrid.borderRight || theme.common.border;\n        styles.marginRight = theme.week.timegrid.paddingRight;\n        styles.borderRadius = theme.week.timegridSchedule.borderRadius;\n        styles.paddingLeft = theme.week.timegridSchedule.paddingLeft;\n        styles.backgroundColor = options.isToday ? theme.week.today.backgroundColor : 'inherit';\n    }\n\n    return styles;\n};\n\nTime.prototype.applyTheme = function() {\n    var style = this.container.style;\n    var styles = this._getStyles(this.theme);\n\n    style.borderRight = styles.borderRight;\n    style.backgroundColor = styles.backgroundColor;\n};\n\nmodule.exports = Time;\n","/**\n * @fileoverview View for rendered schedules by times.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar common = require('../../common/common');\nvar domutil = require('../../common/domutil');\nvar domevent = require('../../common/domevent');\nvar datetime = require('../../common/datetime');\nvar Timezone = require('../../common/timezone');\nvar reqAnimFrame = require('../../common/reqAnimFrame');\nvar View = require('../view');\nvar Time = require('./time');\nvar AutoScroll = require('../../common/autoScroll');\nvar mainTmpl = require('../template/week/timeGrid.hbs');\nvar timezoneStickyTmpl = require('../template/week/timezoneSticky.hbs');\nvar timegridCurrentTimeTmpl = require('../template/week/timeGridCurrentTime.hbs');\nvar TZDate = Timezone.Date;\nvar HOURMARKER_REFRESH_INTERVAL = 1000 * 60;\nvar SIXTY_SECONDS = 60;\nvar SIXTY_MINUTES = 60;\n\n/**\n * Returns a list of time labels from start to end.\n * For hidden labels near the current time, set to hidden: true.\n * @param {object} opt - TimeGrid.options\n * @param {boolean} hasHourMarker - Whether the current time is displayed\n * @param {number} timezoneOffset - timezone offset\n * @param {object} styles - styles\n * @returns {Array.<Object>}\n */\nfunction getHoursLabels(opt, hasHourMarker, timezoneOffset, styles) {\n    var hourStart = opt.hourStart;\n    var hourEnd = opt.hourEnd;\n    var renderEndDate = new TZDate(opt.renderEndDate);\n    var shiftByOffset = parseInt(timezoneOffset / SIXTY_MINUTES, 10);\n    var shiftMinutes = Math.abs(timezoneOffset % SIXTY_MINUTES);\n    var now = new TZDate().toLocalTime();\n    var nowMinutes = now.getMinutes();\n    var hoursRange = util.range(0, 24);\n    var nowAroundHours = null;\n    var nowHours, nowHoursIndex;\n\n    if (shiftByOffset < 0 && shiftMinutes > 0) {\n        shiftByOffset -= 1;\n    }\n\n    // shift the array and take elements between start and end\n    common.shiftArray(hoursRange, shiftByOffset);\n    common.takeArray(hoursRange, hourStart, hourEnd);\n\n    nowHours = common.shiftHours(now.getHours(), shiftByOffset) % 24;\n    nowHoursIndex = util.inArray(nowHours, hoursRange);\n\n    if (hasHourMarker) {\n        if (nowMinutes < 20) {\n            nowAroundHours = nowHours;\n        } else if (nowMinutes > 40) {\n            nowAroundHours = nowHours + 1;\n        }\n\n        if (util.isNumber(nowAroundHours)) {\n            nowAroundHours %= 24;\n        }\n    }\n\n    return util.map(hoursRange, function(hour, index) {\n        var color;\n        var fontWeight;\n        var isPast = (hasHourMarker && index <= nowHoursIndex) ||\n                     (renderEndDate < now && !datetime.isSameDate(renderEndDate, now));\n\n        if (isPast) {\n            // past\n            color = styles.pastTimeColor;\n            fontWeight = styles.pastTimeFontWeight;\n        } else {\n            // future\n            color = styles.futureTimeColor;\n            fontWeight = styles.futureTimeFontWeight;\n        }\n\n        return {\n            hour: hour,\n            minutes: shiftMinutes,\n            hidden: nowAroundHours === hour || index === 0,\n            color: color || '',\n            fontWeight: fontWeight || ''\n        };\n    });\n}\n/**\n * @constructor\n * @extends {View}\n * @param {string} name - view name\n * @param {object} options The object for view customization.\n * @param {string} options.renderStartDate - render start date. YYYY-MM-DD\n * @param {string} options.renderEndDate - render end date. YYYY-MM-DD\n * @param {number} [options.hourStart=0] You can change view's start hours.\n * @param {number} [options.hourEnd=0] You can change view's end hours.\n * @param {HTMLElement} panelElement panel element.\n */\nfunction TimeGrid(name, options, panelElement) {\n    var container = domutil.appendHTMLElement(\n        'div',\n        panelElement,\n        config.classname('timegrid-container')\n    );\n    var stickyContainer = domutil.appendHTMLElement(\n        'div',\n        panelElement,\n        config.classname('timegrid-sticky-container')\n    );\n\n    panelElement.style.position = 'relative'; // for stickyContainer\n\n    name = name || 'time';\n\n    View.call(this, container);\n\n    if (!util.browser.safari) {\n        /**\n         * @type {AutoScroll}\n         */\n        this._autoScroll = new AutoScroll(container);\n    }\n\n    this.stickyContainer = stickyContainer;\n\n    /**\n     * Time view options.\n     * @type {object}\n     */\n    this.options = util.extend({\n        viewName: name,\n        renderStartDate: '',\n        renderEndDate: '',\n        hourStart: 0,\n        hourEnd: 24,\n        timezones: options.timezones,\n        isReadOnly: options.isReadOnly,\n        showTimezoneCollapseButton: false\n    }, options.week);\n\n    if (this.options.timezones.length < 1) {\n        this.options.timezones = [{\n            timezoneOffset: Timezone.getOffset()\n        }];\n    }\n\n    /**\n     * Interval id for hourmarker animation.\n     * @type {number}\n     */\n    this.intervalID = 0;\n\n    /**\n     * timer id for hourmarker initial state\n     * @type {number}\n     */\n    this.timerID = 0;\n\n    /**\n     * @type {boolean}\n     */\n    this._scrolled = false;\n\n    /**\n     * cache parent's view model\n     * @type {object}\n     */\n    this._cacheParentViewModel = null;\n\n    /**\n     * cache hoursLabels view model to render again TimeGrid\n     * @type {object}\n     */\n    this._cacheHoursLabels = null;\n\n    this.attachEvent();\n}\n\nutil.inherit(TimeGrid, View);\n\n/**********\n * Prototype props\n **********/\n\n/**\n * @type {string}\n */\nTimeGrid.prototype.viewName = 'timegrid';\n\n/**\n * Destroy view.\n * @override\n */\nTimeGrid.prototype._beforeDestroy = function() {\n    clearInterval(this.intervalID);\n    clearTimeout(this.timerID);\n\n    if (this._autoScroll) {\n        this._autoScroll.destroy();\n    }\n\n    domevent.off(this.stickyContainer, 'click', this._onClickStickyContainer, this);\n\n    this._autoScroll = this.hourmarkers = this.intervalID =\n    this.timerID = this._cacheParentViewModel = this.stickyContainer = null;\n};\n\n/**\n * @param {Date} [time] - date object to convert pixel in grids.\n * use **Date.now()** when not supplied.\n * @returns {number} The pixel value represent current time in grids.\n */\nTimeGrid.prototype._getTopPercentByTime = function(time) {\n    var opt = this.options,\n        raw = datetime.raw(time || new TZDate()),\n        hourLength = util.range(opt.hourStart, opt.hourEnd).length,\n        maxMilliseconds = hourLength * datetime.MILLISECONDS_PER_HOUR,\n        hmsMilliseconds = datetime.millisecondsFrom('hour', raw.h) +\n            datetime.millisecondsFrom('minutes', raw.m) +\n            datetime.millisecondsFrom('seconds', raw.s) +\n            raw.ms,\n        topPercent;\n\n    topPercent = common.ratio(maxMilliseconds, 100, hmsMilliseconds);\n    topPercent -= common.ratio(maxMilliseconds, 100, datetime.millisecondsFrom('hour', opt.hourStart));\n\n    return common.limit(topPercent, [0], [100]);\n};\n\n/**\n * Get Hourmarker viewmodel.\n * @param {TZDate} now - now\n * @param {object} grids grid information(width, left, day)\n * @param {Array.<TZDate>} range render range\n * @returns {object} ViewModel of hourmarker.\n */\nTimeGrid.prototype._getHourmarkerViewModel = function(now, grids, range) {\n    var todaymarkerLeft = -1;\n    var todaymarkerWidth = -1;\n    var hourmarkerTimzones = [];\n    var opt = this.options;\n    var primaryOffset = Timezone.getOffset();\n    var timezones = opt.timezones;\n    var viewModel;\n\n    util.forEach(range, function(date, index) {\n        if (datetime.isSameDate(now, date)) {\n            todaymarkerLeft = grids[index] ? grids[index].left : 0;\n            todaymarkerWidth = grids[index] ? grids[index].width : 0;\n        }\n    });\n\n    util.forEach(timezones, function(timezone) {\n        var timezoneDifference = timezone.timezoneOffset + primaryOffset;\n        var hourmarker = new TZDate(now);\n        var dateDifference;\n\n        hourmarker.setMinutes(hourmarker.getMinutes() + timezoneDifference);\n        dateDifference = hourmarker.getDate() - now.getDate();\n\n        hourmarkerTimzones.push({\n            hourmarker: hourmarker,\n            dateDifferenceSign: (dateDifference < 0) ? '-' : '+',\n            dateDifference: Math.abs(dateDifference)\n        });\n    });\n\n    viewModel = {\n        currentHours: now.getHours(),\n        hourmarkerTop: this._getTopPercentByTime(now),\n        hourmarkerTimzones: hourmarkerTimzones,\n        todaymarkerLeft: todaymarkerLeft,\n        todaymarkerWidth: todaymarkerWidth,\n        todaymarkerRight: todaymarkerLeft + todaymarkerWidth\n    };\n\n    return viewModel;\n};\n\n/**\n * Get timezone view model\n * @param {number} currentHours - current hour\n * @param {boolean} timezonesCollapsed - multiple timezones are collapsed.\n * @param {object} styles - styles\n * @returns {object} ViewModel\n */\nTimeGrid.prototype._getTimezoneViewModel = function(currentHours, timezonesCollapsed, styles) {\n    var opt = this.options;\n    var primaryOffset = Timezone.getOffset();\n    var timezones = opt.timezones;\n    var timezonesLength = timezones.length;\n    var timezoneViewModel = [];\n    var collapsed = timezonesCollapsed;\n    var width = collapsed ? 100 : 100 / timezonesLength;\n    var now = new TZDate().toLocalTime();\n    var backgroundColor = styles.displayTimezoneLabelBackgroundColor;\n\n    util.forEach(timezones, function(timezone, index) {\n        var hourmarker = new TZDate(now);\n        var timezoneDifference;\n        var timeSlots;\n        var dateDifference;\n\n        timezoneDifference = timezone.timezoneOffset + primaryOffset;\n        timeSlots = getHoursLabels(opt, currentHours >= 0, timezoneDifference, styles);\n\n        hourmarker.setMinutes(hourmarker.getMinutes() + timezoneDifference);\n        dateDifference = hourmarker.getDate() - now.getDate();\n\n        if (index > 0) {\n            backgroundColor = styles.additionalTimezoneBackgroundColor;\n        }\n\n        timezoneViewModel.push({\n            timeSlots: timeSlots,\n            displayLabel: timezone.displayLabel,\n            timezoneOffset: timezone.timezoneOffset,\n            tooltip: timezone.tooltip || '',\n            width: width,\n            left: collapsed ? 0 : (timezones.length - index - 1) * width,\n            isPrimary: index === 0,\n            backgroundColor: backgroundColor || '',\n            hidden: index !== 0 && collapsed,\n            hourmarker: hourmarker,\n            dateDifferenceSign: (dateDifference < 0) ? '-' : '+',\n            dateDifference: Math.abs(dateDifference)\n        });\n    });\n\n    return timezoneViewModel;\n};\n\n/**\n * Get base viewModel.\n * @param {object} viewModel - view model\n * @returns {object} ViewModel\n */\nTimeGrid.prototype._getBaseViewModel = function(viewModel) {\n    var grids = viewModel.grids;\n    var range = viewModel.range;\n    var opt = this.options;\n    var baseViewModel = this._getHourmarkerViewModel(new TZDate().toLocalTime(), grids, range);\n    var timezonesCollapsed = util.pick(viewModel, 'state', 'timezonesCollapsed');\n    var styles = this._getStyles(viewModel.theme, timezonesCollapsed);\n\n    return util.extend(baseViewModel, {\n        timezones: this._getTimezoneViewModel(baseViewModel.todaymarkerLeft, timezonesCollapsed, styles),\n        hoursLabels: getHoursLabels(opt, baseViewModel.todaymarkerLeft >= 0, 0, styles),\n        styles: styles,\n        showTimezoneCollapseButton: util.pick(opt, 'showTimezoneCollapseButton'),\n        timezonesCollapsed: timezonesCollapsed\n    });\n};\n\n/**\n * Reconcilation child views and render.\n * @param {object} viewModels Viewmodel\n * @param {object} grids grid information(width, left, day)\n * @param {HTMLElement} container Container element for each time view.\n * @param {Theme} theme - theme instance\n */\nTimeGrid.prototype._renderChildren = function(viewModels, grids, container, theme) {\n    var self = this,\n        options = this.options,\n        childOption,\n        child,\n        isToday,\n        containerHeight,\n        today = datetime.format(new TZDate(), 'YYYYMMDD'),\n        i = 0;\n\n    // clear contents\n    container.innerHTML = '';\n    this.children.clear();\n\n    containerHeight = domutil.getSize(container.parentElement)[1];\n\n    // reconcilation of child views\n    util.forEach(viewModels, function(schedules, ymd) {\n        isToday = ymd === today;\n\n        childOption = {\n            index: i,\n            left: grids[i] ? grids[i].left : 0,\n            width: grids[i] ? grids[i].width : 0,\n            ymd: ymd,\n            isToday: isToday,\n            isPending: options.isPending,\n            isFocused: options.isFocused,\n            isReadOnly: options.isReadOnly,\n            hourStart: options.hourStart,\n            hourEnd: options.hourEnd\n        };\n\n        child = new Time(\n            childOption,\n            domutil.appendHTMLElement('div', container, config.classname('time-date')),\n            theme\n        );\n        child.render(ymd, schedules, containerHeight);\n\n        self.addChild(child);\n\n        i += 1;\n    });\n};\n\n/**\n * @override\n * @param {object} viewModel ViewModel list from Week view.\n */\nTimeGrid.prototype.render = function(viewModel) {\n    var opt = this.options,\n        timeViewModel = viewModel.schedulesInDateRange[opt.viewName],\n        container = this.container,\n        grids = viewModel.grids,\n        baseViewModel = this._getBaseViewModel(viewModel),\n        scheduleLen = util.keys(timeViewModel).length;\n\n    this._cacheParentViewModel = viewModel;\n    this._cacheHoursLabels = baseViewModel.hoursLabels;\n\n    if (!scheduleLen) {\n        return;\n    }\n\n    baseViewModel.showHourMarker = baseViewModel.todaymarkerLeft >= 0;\n\n    container.innerHTML = mainTmpl(baseViewModel);\n\n    /**********\n     * Render sticky container for timezone display label\n     **********/\n    this.renderStickyContainer(baseViewModel);\n\n    /**********\n     * Render children\n     **********/\n    this._renderChildren(\n        timeViewModel,\n        grids,\n        domutil.find(config.classname('.timegrid-schedules-container'), container),\n        viewModel.theme\n    );\n\n    this._hourLabels = domutil.find('ul', container);\n\n    /**********\n     * Render hourmarker\n     **********/\n    this.hourmarkers = domutil.find(config.classname('.timegrid-hourmarker'), container, true);\n\n    if (!this._scrolled) {\n        this._scrolled = true;\n        this.scrollToNow();\n    }\n};\n\nTimeGrid.prototype.renderStickyContainer = function(baseViewModel) {\n    var stickyContainer = this.stickyContainer;\n\n    stickyContainer.innerHTML = timezoneStickyTmpl(baseViewModel);\n\n    stickyContainer.style.display = baseViewModel.timezones.length > 1 ? 'block' : 'none';\n    stickyContainer.style.width = baseViewModel.styles.leftWidth;\n    stickyContainer.style.height = baseViewModel.styles.displayTimezoneLabelHeight;\n    stickyContainer.style.borderBottom = baseViewModel.styles.leftBorderRight;\n};\n\n/**\n * Refresh hourmarker element.\n */\nTimeGrid.prototype.refreshHourmarker = function() {\n    var hourmarkers = this.hourmarkers;\n    var viewModel = this._cacheParentViewModel;\n    var hoursLabels = this._cacheHoursLabels;\n    var baseViewModel;\n\n    if (!hourmarkers || !viewModel) {\n        return;\n    }\n\n    baseViewModel = this._getBaseViewModel(viewModel);\n\n    reqAnimFrame.requestAnimFrame(function() {\n        var needsRender = false;\n\n        util.forEach(hoursLabels, function(hoursLabel, index) {\n            if (hoursLabel.hidden !== baseViewModel.hoursLabels[index].hidden) {\n                needsRender = true;\n\n                return false;\n            }\n\n            return true;\n        });\n\n        if (needsRender) {\n            this.render(viewModel);\n        } else {\n            util.forEach(hourmarkers, function(hourmarker) {\n                var todaymarker = domutil.find(config.classname('.timegrid-todaymarker'), hourmarker);\n                var hourmarkerContainer = domutil.find(config.classname('.timegrid-hourmarker-time'), hourmarker);\n                var timezone = domutil.closest(hourmarker, config.classname('.timegrid-timezone'));\n                var timezoneIndex = timezone ? domutil.getData(timezone, 'timezoneIndex') : 0;\n\n                hourmarker.style.top = baseViewModel.hourmarkerTop + '%';\n\n                if (todaymarker) {\n                    todaymarker.style.display = (baseViewModel.todaymarkerLeft >= 0) ? 'block' : 'none';\n                }\n                if (hourmarkerContainer) {\n                    hourmarkerContainer.innerHTML = timegridCurrentTimeTmpl(\n                        baseViewModel.hourmarkerTimzones[timezoneIndex]\n                    );\n                }\n            });\n        }\n    }, this);\n};\n\n/**\n * Attach events\n */\nTimeGrid.prototype.attachEvent = function() {\n    clearInterval(this.intervalID);\n    clearTimeout(this.timerID);\n    this.intervalID = this.timerID = null;\n\n    this.timerID = setTimeout(util.bind(this.onTick, this), (SIXTY_SECONDS - new TZDate().getSeconds()) * 1000);\n\n    domevent.on(this.stickyContainer, 'click', this._onClickStickyContainer, this);\n};\n\n/**\n * Scroll time grid to current hourmarker.\n */\nTimeGrid.prototype.scrollToNow = function() {\n    var container = this.container;\n    var offsetTop,\n        viewBound,\n        scrollTop,\n        scrollAmount,\n        scrollBy,\n        scrollFn;\n\n    if (!this.hourmarkers || !this.hourmarkers.length) {\n        return;\n    }\n\n    offsetTop = this.hourmarkers[0].offsetTop;\n    viewBound = this.getViewBound();\n    scrollTop = offsetTop;\n    scrollAmount = viewBound.height / 4;\n    scrollBy = 10;\n\n    scrollFn = function() {\n        if (scrollTop > offsetTop - scrollAmount) {\n            scrollTop -= scrollBy;\n            container.scrollTop = scrollTop;\n\n            reqAnimFrame.requestAnimFrame(scrollFn);\n        } else {\n            container.scrollTop = offsetTop - scrollAmount;\n        }\n    };\n\n    reqAnimFrame.requestAnimFrame(scrollFn);\n};\n\n/**********\n * Schedule handlers\n **********/\n\n/**\n * Interval tick handler\n */\nTimeGrid.prototype.onTick = function() {\n    if (this.timerID) {\n        clearTimeout(this.timerID);\n        this.timerID = null;\n    }\n\n    if (!this.intervalID) {\n        this.intervalID = setInterval(util.bind(this.onTick, this), HOURMARKER_REFRESH_INTERVAL);\n    }\n    this.refreshHourmarker();\n};\n\n/**\n * Get the styles from theme\n * @param {Theme} theme - theme instance\n * @param {boolean} timezonesCollapsed - multiple timezones are collapsed.\n * @returns {object} styles - styles object\n */\nTimeGrid.prototype._getStyles = function(theme, timezonesCollapsed) {\n    var styles = {};\n    var timezonesLength = this.options.timezones.length;\n    var collapsed = timezonesCollapsed;\n    var numberAndUnit;\n\n    if (theme) {\n        styles.borderBottom = theme.week.timegridHorizontalLine.borderBottom || theme.common.border;\n        styles.halfHourBorderBottom = theme.week.timegridHalfHour.borderBottom || theme.common.border;\n\n        styles.todayBackgroundColor = theme.week.today.backgroundColor;\n        styles.weekendBackgroundColor = theme.week.weekend.backgroundColor;\n        styles.backgroundColor = theme.week.daygrid.backgroundColor;\n        styles.leftWidth = theme.week.timegridLeft.width;\n        styles.leftBackgroundColor = theme.week.timegridLeft.backgroundColor;\n        styles.leftBorderRight = theme.week.timegridLeft.borderRight || theme.common.border;\n        styles.leftFontSize = theme.week.timegridLeft.fontSize;\n        styles.timezoneWidth = theme.week.timegridLeft.width;\n        styles.additionalTimezoneBackgroundColor = theme.week.timegridLeftAdditionalTimezone.backgroundColor\n                                                || styles.leftBackgroundColor;\n\n        styles.displayTimezoneLabelHeight = theme.week.timegridLeftTimezoneLabel.height;\n        styles.displayTimezoneLabelBackgroundColor = theme.week.timegridLeft.backgroundColor === 'inherit' ? 'white' : theme.week.timegridLeft.backgroundColor;\n\n        styles.oneHourHeight = theme.week.timegridOneHour.height;\n        styles.halfHourHeight = theme.week.timegridHalfHour.height;\n        styles.quaterHourHeight = (parseInt(styles.halfHourHeight, 10) / 2) + 'px';\n\n        styles.currentTimeColor = theme.week.currentTime.color;\n        styles.currentTimeFontSize = theme.week.currentTime.fontSize;\n        styles.currentTimeFontWeight = theme.week.currentTime.fontWeight;\n\n        styles.pastTimeColor = theme.week.pastTime.color;\n        styles.pastTimeFontWeight = theme.week.pastTime.fontWeight;\n\n        styles.futureTimeColor = theme.week.futureTime.color;\n        styles.futureTimeFontWeight = theme.week.futureTime.fontWeight;\n\n        styles.currentTimeLeftBorderTop = theme.week.currentTimeLinePast.border;\n        styles.currentTimeBulletBackgroundColor = theme.week.currentTimeLineBullet.backgroundColor;\n        styles.currentTimeTodayBorderTop = theme.week.currentTimeLineToday.border;\n        styles.currentTimeRightBorderTop = theme.week.currentTimeLineFuture.border;\n\n        if (!collapsed && timezonesLength > 1) {\n            numberAndUnit = common.parseUnit(styles.leftWidth);\n            styles.leftWidth = (numberAndUnit[0] * timezonesLength) + numberAndUnit[1];\n        }\n    }\n\n    return styles;\n};\n\n/**\n * @param {MouseEvent} event - mouse event object\n */\nTimeGrid.prototype._onClickStickyContainer = function(event) {\n    var target = event.target || event.srcElement;\n    var closeBtn = domutil.closest(target, config.classname('.timegrid-timezone-close-btn'));\n\n    if (!closeBtn) {\n        return;\n    }\n\n    this.fire('clickTimezonesCollapsedBtn');\n};\n\nmodule.exports = TimeGrid;\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-grid-line\\\"\\n                style=\\\"left:\"\n    + alias4(((helper = (helper = helpers.left || (depth0 != null ? depth0.left : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"left\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; width:\"\n    + alias4(((helper = (helper = helpers.width || (depth0 != null ? depth0.width : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"width\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; background-color: \"\n    + alias4(((helper = (helper = helpers.backgroundColor || (depth0 != null ? depth0.backgroundColor : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"backgroundColor\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\\n\"\n    + ((stack1 = helpers.unless.call(alias1,(data && data.last),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"            \\\"></div>\\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"                    border-right: \"\n    + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderRight), depth0))\n    + \";\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.days : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (data && data.root)) && stack1.collapsed),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.program(9, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"6\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"7\":function(container,depth0,helpers,partials,data) {\n    var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"                    <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-exceed-in-week\\\" style=\\\"z-index: 1; right:\"\n    + alias4((helpers.getRight || (depth0 && depth0.getRight) || alias2).call(alias1,(depth0 != null ? depth0.left : depth0),(depth0 != null ? depth0.width : depth0),{\"name\":\"getRight\",\"hash\":{},\"data\":data}))\n    + \"%;\\\" data-index=\\\"\"\n    + alias4(((helper = (helper = helpers.key || (data && data.key)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"key\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\">\"\n    + alias4((helpers[\"weekGridFooterExceed-tmpl\"] || (depth0 && depth0[\"weekGridFooterExceed-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.hiddenSchedules : depth0),{\"name\":\"weekGridFooterExceed-tmpl\",\"hash\":{},\"data\":data}))\n    + \"</span>\\n\";\n},\"9\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = (helpers.fi || (depth0 && depth0.fi) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(data && data.key),\"===\",((stack1 = (data && data.root)) && stack1.collapseBtnIndex),{\"name\":\"fi\",\"hash\":{},\"fn\":container.program(10, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"10\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"                    <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-collapse-btn\\\" style=\\\"z-index: 1; right:\"\n    + alias4((helpers.getRight || (depth0 && depth0.getRight) || alias2).call(alias1,(depth0 != null ? depth0.left : depth0),(depth0 != null ? depth0.width : depth0),{\"name\":\"getRight\",\"hash\":{},\"data\":data}))\n    + \"%;\\\">\"\n    + ((stack1 = ((helper = (helper = helpers[\"collapseBtnTitle-tmpl\"] || (depth0 != null ? depth0[\"collapseBtnTitle-tmpl\"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"collapseBtnTitle-tmpl\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n    + \"</span>\\n\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + alias4(((helper = (helper = helpers.viewName || (depth0 != null ? depth0.viewName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"viewName\",\"hash\":{},\"data\":data}) : helper)))\n    + \"-left \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"left\\\" style=\\\"border-right: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.leftBorderRight : stack1), depth0))\n    + \"; width: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.leftWidth : stack1), depth0))\n    + \"; background-color: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.leftBackgroundColor : stack1), depth0))\n    + \"; padding-right: \"\n    + alias4(alias5(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.leftPaddingRight : stack1), depth0))\n    + \";\\\">\\n    \"\n    + ((stack1 = (helpers[\"dayGridTitle-tmpl\"] || (depth0 && depth0[\"dayGridTitle-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.viewName : depth0),{\"name\":\"dayGridTitle-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n</div>\\n<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + alias4(((helper = (helper = helpers.viewName || (depth0 != null ? depth0.viewName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"viewName\",\"hash\":{},\"data\":data}) : helper)))\n    + \"-right \"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"right\\\">\\n    <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"container\\\">\\n        <div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-grid\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.days : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (data && data.root)) && stack1.showExpandableButton),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"        </div>\\n    </div>\\n</div>\";\n},\"useData\":true});","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"2\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"\\n    \"\n    + ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"each\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"3\":function(container,depth0,helpers,partials,data) {\n    var stack1;\n\n  return \"\\n    \"\n    + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"4\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=\"function\", alias5=container.lambda;\n\n  return \"\\n    <div data-id=\\\"\"\n    + alias3((helpers.stamp || (depth0 && depth0.stamp) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"stamp\",\"hash\":{},\"data\":data}))\n    + \"\\\"\\n        class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-block\\n            \"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.exceedLeft : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n            \"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.exceedRight : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"\\n        style=\\\"top:\"\n    + alias3((helpers.multiply || (depth0 && depth0.multiply) || alias2).call(alias1,(depth0 != null ? depth0.top : depth0),((stack1 = (data && data.root)) && stack1.scheduleBlockHeight),{\"name\":\"multiply\",\"hash\":{},\"data\":data}))\n    + \"px;\\n                left:\"\n    + alias3((helpers[\"grid-left\"] || (depth0 && depth0[\"grid-left\"]) || alias2).call(alias1,depth0,((stack1 = (data && data.root)) && stack1.dates),{\"name\":\"grid-left\",\"hash\":{},\"data\":data}))\n    + \"%;\\n                width:\"\n    + alias3((helpers[\"grid-width\"] || (depth0 && depth0[\"grid-width\"]) || alias2).call(alias1,depth0,((stack1 = (data && data.root)) && stack1.dates),{\"name\":\"grid-width\",\"hash\":{},\"data\":data}))\n    + \"%\\\">\\n        <div data-schedule-id=\\\"\"\n    + alias3(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.id : stack1), depth0))\n    + \"\\\" data-calendar-id=\\\"\"\n    + alias3(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.calendarId : stack1), depth0))\n    + \"\\\" class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule \"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\\"\\n            style=\\\"height:\"\n    + alias3(alias5(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; line-height:\"\n    + alias3(alias5(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px; border-radius: \"\n    + alias3(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderRadius), depth0))\n    + \";\\n\"\n    + ((stack1 = helpers[\"if\"].call(alias1,((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isFocused : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(11, data, 0),\"inverse\":container.program(13, data, 0),\"data\":data})) != null ? stack1 : \"\")\n    + \"            \"\n    + alias3(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.customStyle : stack1), depth0))\n    + \"\\\">\\n            <span class=\\\"\"\n    + alias3(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-title\\\" title=\\\"\"\n    + alias3(alias5(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.title : stack1), depth0))\n    + \"\\\">\"\n    + ((stack1 = (helpers[\"schedule-tmpl\"] || (depth0 && depth0[\"schedule-tmpl\"]) || alias2).call(alias1,(depth0 != null ? depth0.model : depth0),{\"name\":\"schedule-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"</span>\\n            \"\n    + ((stack1 = helpers.unless.call(alias1,(helpers.or || (depth0 && depth0.or) || alias2).call(alias1,((stack1 = (data && data.root)) && stack1.isReadOnly),((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.isReadOnly : stack1),{\"name\":\"or\",\"hash\":{},\"data\":data}),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(15, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n        </div>\\n    </div>\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-exceed-left\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return \" \"\n    + container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-exceed-right\";\n},\"9\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedule-focused \";\n},\"11\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                    color: #ffffff; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \";\\n\";\n},\"13\":function(container,depth0,helpers,partials,data) {\n    var stack1, alias1=container.lambda, alias2=container.escapeExpression;\n\n  return \"                    color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.color : stack1), depth0))\n    + \"; background-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.bgColor : stack1), depth0))\n    + \"; border-color:\"\n    + alias2(alias1(((stack1 = (depth0 != null ? depth0.model : depth0)) != null ? stack1.borderColor : stack1), depth0))\n    + \";\\n\";\n},\"15\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=container.escapeExpression;\n\n  return \"<span class=\\\"\"\n    + alias1(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-resize-handle handle-y\\\" style=\\\"line-height:\"\n    + alias1(container.lambda(((stack1 = (data && data.root)) && stack1.scheduleHeight), depth0))\n    + \"px;\\\">&nbsp;</span>\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"weekday-schedules \"\n    + alias4(((helper = (helper = helpers.collapsed || (depth0 != null ? depth0.collapsed : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"collapsed\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\"style=\\\"top:\"\n    + alias4(container.lambda(((stack1 = (data && data.root)) && stack1.scheduleContainerTop), depth0))\n    + \"px;\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.matrices : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview Weekday view for week\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar Weekday = require('../weekday'),\n    tmpl = require('../template/week/dayGridSchedule.hbs');\nvar mmax = Math.max;\n\n/**\n * @constructor\n * @extends {Weekday}\n * @param {object} options - options for DayGridSchedule view\n * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n *  make create easy.\n * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n * @param {HTMLDIVElement} container - DOM element to use container for this\n *  view.\n */\nfunction DayGridSchedule(options, container) {\n    Weekday.call(this, options, container);\n\n    this.collapsed = true;\n}\n\nutil.inherit(DayGridSchedule, Weekday);\n\n/**\n * Render Weekday view\n * @override\n */\nDayGridSchedule.prototype.render = function(viewModel) {\n    var container = this.container;\n    var baseViewModel;\n\n    baseViewModel = this.getBaseViewModel(viewModel);\n\n    container.innerHTML = tmpl(baseViewModel);\n\n    this.fire('afterRender', baseViewModel);\n};\n\n/**\n * returns maximum schedule count in day\n * @param {array} matrices - The matrices for schedule placing.\n * @returns {number} maximum schedule count in day\n */\nDayGridSchedule.prototype._getMaxScheduleInDay = function(matrices) {\n    return mmax.apply(\n        null,\n        util.map(matrices, function(matrix) {\n            return Math.max.apply(null, util.map(matrix, function(row) {\n                return row.length;\n            }));\n        })\n    );\n};\n\n/**\n * returns minimum height for container.\n * @param {number} maxScheduleInDay - max schedule blocks in one day\n * @returns {number}\n */\nDayGridSchedule.prototype._getMinHeight = function(maxScheduleInDay) {\n    var opt = this.options;\n    var contentHeight = (maxScheduleInDay * opt.scheduleHeight)\n        + ((maxScheduleInDay - 1) * opt.scheduleGutter);\n\n    // if (this.collapsed && this.aboutMe.maxHeight >= contentHeight + opt.containerBottomGutter) {\n    //     contentHeight += opt.containerBottomGutter;\n    // }\n\n    return contentHeight;\n};\n\n/**\n * @override\n * @param {object} viewModel - schedules view models\n */\nDayGridSchedule.prototype.getBaseViewModel = function(viewModel) {\n    var opt = this.options;\n    var matrices = opt.getViewModelFunc(viewModel);\n    var maxScheduleInDay = this._getMaxScheduleInDay(matrices);\n    var baseViewModel;\n    var styles = this._getStyles(viewModel.theme);\n\n    baseViewModel = Weekday.prototype.getBaseViewModel.call(this, viewModel);\n\n    baseViewModel = util.extend({\n        minHeight: this._getMinHeight(maxScheduleInDay),\n        matrices: matrices,\n        scheduleContainerTop: this.options.scheduleContainerTop,\n        maxScheduleInDay: maxScheduleInDay,\n        isReadOnly: opt.isReadOnly,\n        styles: styles\n    }, baseViewModel);\n\n    return baseViewModel;\n};\n\n/**\n * Get the styles from theme\n * @param {Theme} theme - theme instance\n * @returns {object} styles - styles object\n */\nDayGridSchedule.prototype._getStyles = function(theme) {\n    var styles = {};\n\n    if (theme) {\n        styles.borderRadius = theme.week.dayGridSchedule.borderRadius;\n    }\n\n    return styles;\n};\n\nmodule.exports = DayGridSchedule;\n","/**\n * @fileoverview DayGrid in weekly view\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config'),\n    common = require('../../common/common'),\n    datetime = require('../../common/datetime'),\n    domutil = require('../../common/domutil'),\n    TZDate = require('../../common/timezone').Date,\n    View = require('../../view/view'),\n    DayGridSchedule = require('./dayGridSchedule'),\n    baseTmpl = require('../template/week/dayGrid.hbs'),\n    reqAnimFrame = require('../../common/reqAnimFrame');\nvar mmax = Math.max,\n    mmin = Math.min;\n\n/**\n * @constructor\n * @extends {Weekday}\n * @param {string} name - view name\n * @param {object} options - options for DayGridSchedule view\n * @param {number} [options.heightPercent] - height percent of view\n * @param {number} [options.containerButtonGutter=8] - free space at bottom to\n *  make create easy.\n * @param {number} [options.scheduleHeight=18] - height of each schedule block.\n * @param {number} [options.scheduleGutter=2] - gutter height of each schedule block.\n * @param {HTMLDIVElement} container - DOM element to use container for this\n *  view.\n * @param {Theme} theme - theme instance\n */\nfunction DayGrid(name, options, container, theme) {\n    container = domutil.appendHTMLElement(\n        'div',\n        container,\n        config.classname('daygrid-layout')\n    );\n    View.call(this, container);\n\n    name = name || 'daygrid';\n\n    this.options = util.extend({\n        viewName: name,\n        daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n        renderStartDate: '',\n        renderEndDate: '',\n        containerBottomGutter: 18,\n        scheduleHeight: parseInt(theme.week.dayGridSchedule.height, 10),\n        scheduleGutter: parseInt(theme.week.dayGridSchedule.marginTop, 10),\n        scheduleContainerTop: 1,\n        timezones: options.timezones,\n        isReadOnly: options.isReadOnly,\n        getViewModelFunc: function(viewModel) {\n            return viewModel.schedulesInDateRange[name];\n        },\n        setViewModelFunc: function(viewModel, matrices) {\n            viewModel.schedulesInDateRange[name] = matrices;\n        }\n    }, options.week);\n\n    this.handler = {};\n    this.vPanel = null;\n\n    this.state.collapsed = true;\n}\n\nutil.inherit(DayGrid, View);\n\n/**\n * @override\n * @param {object} viewModel - schedules view models\n */\nDayGrid.prototype.getBaseViewModel = function(viewModel) {\n    var opt = this.options,\n        daynames = opt.daynames,\n        range = viewModel.range,\n        grids = viewModel.grids,\n        matrices = opt.getViewModelFunc(viewModel),\n        exceedDate = {},\n        panel = getPanel(opt.panels, opt.viewName),\n        panelHeight = this.getViewBound().height,\n        collapsed = this.state.collapsed,\n        heightForcedSet = this.vPanel ? this.vPanel.getHeightForcedSet() : false,\n        timezonesCollapsed = viewModel.state.timezonesCollapsed,\n        styles = this._getStyles(viewModel.theme, timezonesCollapsed);\n\n    var baseViewModel, visibleScheduleCount;\n\n    if (panel.showExpandableButton) {\n        if (!heightForcedSet) {\n            if (collapsed) {\n                panelHeight = mmax(panelHeight, panel.maxHeight);\n            } else {\n                panelHeight = mmin(panelHeight, panel.maxExpandableHeight);\n            }\n        }\n\n        visibleScheduleCount = Math.floor(panelHeight / (opt.scheduleHeight + opt.scheduleGutter));\n        if (collapsed) {\n            exceedDate = this.parent.controller.getExceedDate(visibleScheduleCount,\n                matrices,\n                viewModel.range\n            );\n            matrices = this.parent.controller.excludeExceedSchedules(matrices, visibleScheduleCount);\n            opt.setViewModelFunc(viewModel, matrices);\n        }\n    }\n\n    baseViewModel = {\n        viewName: opt.viewName,\n        range: range,\n        grids: grids,\n        days: util.map(viewModel.range, function(d, index) {\n            var day = d.getDay();\n            var ymd = datetime.format(d, 'YYYYMMDD');\n            var isToday = datetime.isSameDate(d, new TZDate());\n\n            return {\n                day: day,\n                dayName: daynames[day],\n                isToday: isToday,\n                date: d.getDate(),\n                renderDate: datetime.format(d, 'YYYY-MM-DD'),\n                hiddenSchedules: exceedDate[ymd] || 0,\n                width: grids[index] ? grids[index].width : 0,\n                left: grids[index] ? grids[index].left : 0,\n                backgroundColor: viewModel.range.length > 1 ?\n                    getWeekBackgroundColor(day, isToday, styles) : styles.backgroundColor\n            };\n        }),\n        exceedDate: exceedDate,\n        showExpandableButton: panel.showExpandableButton,\n        collapsed: collapsed,\n        collapseBtnIndex: this.state.clickedExpandBtnIndex,\n        styles: styles\n    };\n\n    return baseViewModel;\n};\n\n/**\n * @override\n * @param {object} viewModel - schedules view models\n */\nDayGrid.prototype.render = function(viewModel) {\n    var opt = this.options,\n        container = this.container,\n        baseViewModel = this.getBaseViewModel(viewModel),\n        scheduleContainerTop = this.options.scheduleContainerTop;\n    var dayGridSchedule;\n\n    container.innerHTML = baseTmpl(baseViewModel);\n\n    this.children.clear();\n\n    dayGridSchedule = new DayGridSchedule(\n        opt,\n        domutil.find(config.classname('.container'), container)\n    );\n    this.addChild(dayGridSchedule);\n\n    dayGridSchedule.on('afterRender', function(weekdayViewModel) {\n        baseViewModel.height = weekdayViewModel.minHeight + scheduleContainerTop;\n    });\n\n    this.children.each(function(childView) {\n        childView.render(viewModel);\n    }, this);\n\n    this.fire('afterRender', baseViewModel);\n};\n\nDayGrid.prototype._beforeDestroy = function() {\n};\n\nDayGrid.prototype.addHandler = function(type, handler, vPanel) {\n    var self = this;\n\n    this.handler[type] = handler;\n    this.vPanel = vPanel;\n\n    if (type === 'click') {\n        handler.on('expand', function() {\n            self.setState({\n                collapsed: false\n            });\n        }, this);\n        handler.on('collapse', function() {\n            self.setState({\n                collapsed: true\n            });\n        }, this);\n    }\n};\n\nDayGrid.prototype._expand = function() {\n    reqAnimFrame.requestAnimFrame(function() {\n        var vPanel = this.vPanel;\n        var opt = this.options;\n        var panel = getPanel(opt.panels, opt.viewName);\n\n        vPanel.setMaxHeight(panel.maxExpandableHeight);\n        vPanel.setHeightForcedSet(false);\n        vPanel.setHeight(null, panel.maxExpandableHeight);\n\n        if (this.parent) {\n            this.parent.render();\n        }\n    }, this);\n};\n\nDayGrid.prototype._collapse = function() {\n    reqAnimFrame.requestAnimFrame(function() {\n        var vPanel = this.vPanel;\n        var opt = this.options;\n        var panel = getPanel(opt.panels, opt.viewName);\n\n        vPanel.setMaxHeight(panel.maxHeight);\n        vPanel.setHeightForcedSet(false);\n        vPanel.setHeight(null, panel.minHeight);\n\n        if (this.parent) {\n            this.parent.render();\n        }\n    }, this);\n};\n\n/**\n * set state\n * @param {object} state - state\n */\nDayGrid.prototype.setState = function(state) {\n    var collapsed = this.state.collapsed;\n    View.prototype.setState.call(this, state);\n\n    if (this.state.collapsed === collapsed) {\n        return;\n    }\n\n    if (this.state.collapsed) {\n        this._collapse();\n    } else {\n        this._expand();\n    }\n};\n\n/**\n * Get the styles from theme\n * @param {Theme} theme - theme instance\n * @param {boolean} timezonesCollapsed - multiple timezones are collapsed.\n * @returns {object} styles - styles object\n */\nDayGrid.prototype._getStyles = function(theme, timezonesCollapsed) {\n    var styles = {};\n    var timezonesLength = this.options.timezones.length;\n    var collapsed = timezonesCollapsed;\n    var numberAndUnit;\n\n    if (theme) {\n        styles.borderRight = theme.week.daygrid.borderRight || theme.common.border;\n        styles.todayBackgroundColor = theme.week.today.backgroundColor;\n        styles.weekendBackgroundColor = theme.week.weekend.backgroundColor;\n        styles.backgroundColor = theme.week.daygrid.backgroundColor;\n        styles.leftWidth = theme.week.daygridLeft.width;\n        styles.leftBackgroundColor = theme.week.daygridLeft.backgroundColor;\n        styles.leftPaddingRight = theme.week.daygridLeft.paddingRight;\n        styles.leftBorderRight = theme.week.daygridLeft.borderRight;\n\n        if (!collapsed && timezonesLength > 1) {\n            numberAndUnit = common.parseUnit(styles.leftWidth);\n            styles.leftWidth = (numberAndUnit[0] * timezonesLength) + numberAndUnit[1];\n        }\n    }\n\n    return styles;\n};\n\n/**\n * Get a background color based on day.\n * @param {number} day - day number\n * @param {boolean} isToday - today flag\n * @param {object} styles - style object\n * @returns {string} backgroundColor\n */\nfunction getWeekBackgroundColor(day, isToday, styles) {\n    var backgroundColor = '';\n\n    if (day === 0 || day === 6) {\n        backgroundColor = styles.weekendBackgroundColor;\n    } else if (isToday) {\n        backgroundColor = styles.todayBackgroundColor;\n    } else {\n        backgroundColor = styles.backgroundColor;\n    }\n\n    return backgroundColor;\n}\n\n/**\n * get a panel infomation\n * @param {Array.<object[]>} panels - panel infomations\n * @param {string} name - panel name\n * @returns {object} panel information\n */\nfunction getPanel(panels, name) {\n    var found;\n\n    util.forEach(panels, function(panel) {\n        if (panel.name === name) {\n            found = panel;\n        }\n    });\n\n    return found;\n}\n\nmodule.exports = DayGrid;\n","var Handlebars = require('/Users/chocoros/Source/tui.calendar/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=\"function\", alias4=container.escapeExpression, alias5=container.lambda;\n\n  return \"<div class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dayname \"\n    + ((stack1 = helpers[\"if\"].call(alias1,(depth0 != null ? depth0.isToday : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \" \"\n    + alias4((helpers.holiday || (depth0 && depth0.holiday) || alias2).call(alias1,(depth0 != null ? depth0.day : depth0),{\"name\":\"holiday\",\"hash\":{},\"data\":data}))\n    + \"\\\"\\n     data-date=\\\"\"\n    + alias4(((helper = (helper = helpers.renderDate || (depth0 != null ? depth0.renderDate : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"renderDate\",\"hash\":{},\"data\":data}) : helper)))\n    + \"\\\"\\n     style=\\\"\"\n    + alias4((helpers[\"common-width\"] || (depth0 && depth0[\"common-width\"]) || alias2).call(alias1,(depth0 != null ? depth0.width : depth0),{\"name\":\"common-width\",\"hash\":{},\"data\":data}))\n    + \";left:\"\n    + alias4(((helper = (helper = helpers.left || (depth0 != null ? depth0.left : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"left\",\"hash\":{},\"data\":data}) : helper)))\n    + \"%; line-height: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.height), depth0))\n    + \"; border-left: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.borderLeft), depth0))\n    + \"; padding-left: \"\n    + alias4(alias5(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.paddingLeft), depth0))\n    + \";\\\">\\n    <span class=\\\"\"\n    + alias4(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dayname-date-area\\\" style=\\\"color: \"\n    + alias4(((helper = (helper = helpers.color || (depth0 != null ? depth0.color : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"color\",\"hash\":{},\"data\":data}) : helper)))\n    + \";\\\">\\n        \"\n    + ((stack1 = (helpers[\"weekDayname-tmpl\"] || (depth0 && depth0[\"weekDayname-tmpl\"]) || alias2).call(alias1,depth0,{\"name\":\"weekDayname-tmpl\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n    + \"\\n    </span>\\n</div>\\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n    var helper;\n\n  return container.escapeExpression(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"today\";\n},\"compiler\":[7,\">= 4.0.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.escapeExpression;\n\n  return \"<div class=\\\"\"\n    + alias2(((helper = (helper = helpers.CSS_PREFIX || (depth0 != null ? depth0.CSS_PREFIX : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === \"function\" ? helper.call(alias1,{\"name\":\"CSS_PREFIX\",\"hash\":{},\"data\":data}) : helper)))\n    + \"dayname-leftmargin\\\" style=\\\"margin-left: \"\n    + alias2(container.lambda(((stack1 = ((stack1 = (data && data.root)) && stack1.styles)) && stack1.marginLeft), depth0))\n    + \";\\\">\\n\"\n    + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.dayNames : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n    + \"</div>\\n\";\n},\"useData\":true});","/**\n * @fileoverview View for rendering daynames\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar common = require('../../common/common');\nvar datetime = require('../../common/datetime');\nvar TZDate = require('../../common/timezone').Date;\nvar domutil = require('../../common/domutil');\nvar View = require('../view');\nvar daynameTmpl = require('../template/week/daynames.hbs');\n\n/**\n * @constructor\n * @param {object} options - options for dayname view\n * @param {HTMLElement} container Container element to use.\n * @param {Theme} theme - theme instance\n * @extends {View}\n */\nfunction DayName(options, container, theme) {\n    container = domutil.appendHTMLElement(\n        'div',\n        container,\n        config.classname('dayname-container')\n    );\n\n    this.options = util.extend({\n        daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n        timezones: options.timezones\n    }, options.week);\n\n    /**\n     * @type {Theme}\n     */\n    this.theme = theme;\n\n    View.call(this, container);\n\n    this.applyTheme();\n}\n\nutil.inherit(DayName, View);\n\n/**\n * Get default viewmodels.\n * @param {Date} start The date of start render\n * @param {Date} end The end of end render\n * @param {object} grids grid data(width, left, day)\n * @returns {array} viewmodel.\n */\nDayName.prototype._getBaseViewModel = function(start, end, grids) {\n    var daynames = this.options.daynames,\n        theme = this.theme,\n        now = new TZDate(),\n        viewModel;\n\n    viewModel = util.map(datetime.range(\n        datetime.start(start),\n        datetime.end(end),\n        datetime.MILLISECONDS_PER_DAY\n    ), function(d, i) {\n        var day = d.getDay();\n        var isToday = datetime.isSameDate(d, now);\n        var isPastDay = d < now && !isToday;\n\n        return {\n            day: day,\n            dayName: daynames[day],\n            isToday: isToday,\n            date: d.getDate(),\n            left: grids[i] ? grids[i].left : 0,\n            width: grids[i] ? grids[i].width : 0,\n            renderDate: datetime.format(d, 'YYYY-MM-DD'),\n            color: this._getDayNameColor(theme, day, isToday, isPastDay)\n        };\n    }, this);\n\n    return viewModel;\n};\n\n/**\n * @override\n * @param {object} viewModel View model from parent (WeekView)\n */\nDayName.prototype.render = function(viewModel) {\n    var dayNames = this._getBaseViewModel(\n        viewModel.renderStartDate,\n        viewModel.renderEndDate,\n        viewModel.grids\n    );\n    var timezonesCollapsed = viewModel.state.timezonesCollapsed;\n    var styles = this._getStyles(this.theme, timezonesCollapsed);\n    var baseViewModel = util.extend({}, {\n        dayNames: dayNames,\n        styles: styles\n    });\n\n    this.container.innerHTML = daynameTmpl(baseViewModel);\n};\n\n/**\n * Get a day name color\n * @param {Theme} theme - theme instance\n * @param {number} day - day number\n * @param {boolean} isToday - today flag\n * @param {boolean} isPastDay - is past day flag\n * @returns {string} style - color style\n */\nDayName.prototype._getDayNameColor = function(theme, day, isToday, isPastDay) {\n    var color = '';\n\n    if (theme) {\n        if (day === 0) {\n            color = theme.common.holiday.color;\n        } else if (isPastDay) {\n            color = theme.week.pastDay.color || theme.common.dayname.color;\n        } else if (day === 6) {\n            color = theme.common.saturday.color;\n        } else if (isToday) {\n            color = theme.week.today.color || theme.common.today.color;\n        } else {\n            color = theme.common.dayname.color;\n        }\n    }\n\n    return color;\n};\n\n/**\n * Get the styles from theme\n * @param {Theme} theme - theme instance\n * @param {boolean} timezonesCollapsed - multiple timezones are collapsed.\n * @returns {object} styles - styles object\n */\nDayName.prototype._getStyles = function(theme, timezonesCollapsed) {\n    var styles = {};\n    var timezonesLength = this.options.timezones.length;\n    var collapsed = timezonesCollapsed;\n    var numberAndUnit;\n\n    if (theme) {\n        styles.borderTop = theme.week.dayname.borderTop || theme.common.border;\n        styles.borderBottom = theme.week.dayname.borderBottom || theme.common.border;\n        styles.borderLeft = theme.week.dayname.borderLeft || theme.common.border;\n        styles.paddingLeft = theme.week.dayname.paddingLeft;\n        styles.backgroundColor = theme.week.dayname.backgroundColor;\n        styles.height = theme.week.dayname.height;\n        styles.textAlign = theme.week.dayname.textAlign;\n        styles.marginLeft = theme.week.daygridLeft.width;\n\n        if (!collapsed && timezonesLength > 1) {\n            numberAndUnit = common.parseUnit(styles.marginLeft);\n            styles.marginLeft = (numberAndUnit[0] * timezonesLength) + numberAndUnit[1];\n        }\n    }\n\n    return styles;\n};\n\nDayName.prototype.applyTheme = function() {\n    var styles = this._getStyles(this.theme);\n    var style = this.container.style;\n\n    style.borderTop = styles.borderTop;\n    style.borderBottom = styles.borderBottom;\n    style.height = styles.height;\n    style.backgroundColor = styles.backgroundColor;\n    style.textAlign = styles.textAlign;\n\n    return style;\n};\n\nmodule.exports = DayName;\n","/**\n * @fileoverview View of days UI.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../../config');\nvar domutil = require('../../common/domutil');\nvar datetime = require('../../common/datetime');\nvar TZDate = require('../../common/timezone').Date;\nvar View = require('../view');\n\n/**\n * @constructor\n * @param {Base.Week} controller The controller mixin part.\n * @param {object} options View options\n * @param {string} [options.renderStartDate] Start date of render.\n *  if not supplied then use -3d from today. YYYY-MM-DD format.\n * @param {string} [options.renderEndDate] End date of render.\n *  if not supplied then use +3d from today. YYYY-MM-DD format.\n * @param {string} [options.cssPrefix] - CSS classname prefix\n * @param {HTMLElement} container The element to use container for this view.\n * @param {object} panels - schedule panels like 'milestone', 'task', 'allday', 'time'\n * @extends {View}\n */\nfunction Week(controller, options, container, panels) {\n    var range;\n\n    container = domutil.appendHTMLElement('div', container);\n\n    View.call(this, container);\n\n    domutil.addClass(container, config.classname('week-container'));\n\n    range = this._getRenderDateRange(new TZDate());\n\n    /**\n     * @type {object} Options for view.\n     */\n    this.options = util.extend({\n        scheduleFilter: [function(schedule) {\n            return Boolean(schedule.isVisible);\n        }],\n        renderStartDate: datetime.format(range.start, 'YYYY-MM-DD'),\n        renderEndDate: datetime.format(range.end, 'YYYY-MM-DD'),\n        narrowWeekend: false,\n        startDayOfWeek: 0,\n        workweek: false,\n        showTimezoneCollapseButton: false,\n        timezonesCollapsed: false,\n        hourStart: 0,\n        hourEnd: 24\n    }, options);\n\n    /**\n     * Week controller mixin.\n     * @type {Base.Week}\n     */\n    this.controller = controller;\n\n    /**\n     * Schedule Panels\n     * @type {Array.<object>}\n     */\n    this.panels = panels;\n\n    /**\n     * Week view states\n     * @type {object}\n     */\n    this.state = {\n        timezonesCollapsed: this.options.timezonesCollapsed\n    };\n}\n\nutil.inherit(Week, View);\n\n/**********\n * Override props\n **********/\n\n/**\n * Render each child view with schedules in ranges.\n * @fires Week#afterRender\n * @override\n */\nWeek.prototype.render = function() {\n    var self = this,\n        options = this.options,\n        scheduleFilter = options.scheduleFilter,\n        narrowWeekend = options.narrowWeekend,\n        startDayOfWeek = options.startDayOfWeek,\n        workweek = options.workweek,\n        theme = this.controller.theme || {},\n        state = this.state;\n    var renderStartDate, renderEndDate, schedulesInDateRange, viewModel, grids, range;\n\n    renderStartDate = new TZDate(options.renderStartDate);\n    renderEndDate = new TZDate(options.renderEndDate);\n\n    range = datetime.range(\n        datetime.start(renderStartDate),\n        datetime.end(renderEndDate),\n        datetime.MILLISECONDS_PER_DAY\n    );\n\n    if (options.workweek && datetime.compare(renderStartDate, renderEndDate)) {\n        range = util.filter(range, function(date) {\n            return !datetime.isWeekend(date.getDay());\n        });\n\n        renderStartDate = range[0];\n        renderEndDate = range[range.length - 1];\n    }\n\n    schedulesInDateRange = this.controller.findByDateRange(\n        datetime.start(renderStartDate),\n        datetime.end(renderEndDate),\n        this.panels,\n        scheduleFilter,\n        this.options\n    );\n\n    grids = datetime.getGridLeftAndWidth(\n        range.length,\n        narrowWeekend,\n        startDayOfWeek,\n        workweek\n    );\n\n    viewModel = {\n        schedulesInDateRange: schedulesInDateRange,\n        renderStartDate: renderStartDate,\n        renderEndDate: renderEndDate,\n        grids: grids,\n        range: range,\n        theme: theme,\n        state: state\n    };\n\n    this.children.each(function(childView) {\n        var matrices;\n        var viewName = util.pick(childView.options, 'viewName');\n        childView.render(viewModel);\n\n        if (viewName) {\n            matrices = viewModel.schedulesInDateRange[viewName]; // DayGrid limits schedule count by visibleScheduleCount after rendering it.\n\n            if (util.isArray(matrices)) {\n                self._invokeAfterRenderSchedule(matrices);\n            } else {\n                util.forEach(matrices, function(matricesOfDay) {\n                    self._invokeAfterRenderSchedule(matricesOfDay);\n                });\n            }\n        }\n    });\n\n    /**\n     * @event Week#afterRender\n     */\n    this.fire('afterRender');\n};\n\n/**\n * Fire 'afterRenderSchedule' event\n * @param {Array} matrices - schedule matrices from view model\n * @fires Week#afterRenderSchedule\n */\nWeek.prototype._invokeAfterRenderSchedule = function(matrices) {\n    var self = this;\n    util.forEachArray(matrices, function(matrix) {\n        util.forEachArray(matrix, function(column) {\n            util.forEachArray(column, function(scheduleViewModel) {\n                if (scheduleViewModel) {\n                    /**\n                     * @event Week#afterRenderSchedule\n                     */\n                    self.fire('afterRenderSchedule', {schedule: scheduleViewModel.model});\n                }\n            });\n        });\n    });\n};\n\n/**********\n * Prototype props\n **********/\n\nWeek.prototype.viewName = 'week';\n\n/**\n * Calculate default render date range from supplied date.\n * @param {Date} baseDate base date.\n * @returns {object} date range.\n */\nWeek.prototype._getRenderDateRange = function(baseDate) {\n    var base = datetime.start(baseDate),\n        start = new TZDate(Number(base)),\n        end = new TZDate(Number(base));\n\n    start.setDate(start.getDate() - 3);\n    end.setDate(end.getDate() + 3);\n\n    return {\n        start: start,\n        end: end\n    };\n};\n\nutil.CustomEvents.mixin(Week);\n\nmodule.exports = Week;\n","/**\n * @fileoverview Panel class for VLayout module\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config'),\n    common = require('./common'),\n    domutil = require('./domutil'),\n    View = require('../view/view');\n\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - options for VPanel\n *  @param {number} options.index - index of panel in vlayout\n *  @param {number} [options.minHeight=0] - minimum height of panel\n *  @param {number} [options.height] - initial height of panel\n *  @param {boolean} [options.isSplitter=false] - set true then this panel works splitter\n *  @param {boolean} [options.autoHeight=false] - set true then this panel use remain height after other panel resized.\n *  @param {string} [options.className] - additional class name to add element\n * @param {HTMLElement} container - container element\n * @param {Theme} theme - theme instance\n */\nfunction VPanel(options, container, theme) {\n    View.call(this, container);\n\n    /**\n     * @type {object}\n     */\n    this.options = util.extend({\n        index: 0,\n        name: '0',\n        minHeight: 0,\n        maxHeight: null,\n        height: null,\n        isSplitter: false,\n        autoHeight: false,\n        className: ''\n    }, options);\n\n    /**\n     * @type {number}\n     */\n    this.index = this.options.index;\n\n    /**\n     * @type {string}\n     */\n    this.name = this.options.name || String(this.index);\n\n    this.isHeightForcedSet = false;\n\n    /**\n     * @type {Theme}\n     */\n    this.theme = theme;\n\n    this._initPanel(this.options, container);\n}\n\nutil.inherit(VPanel, View);\n\n/**\n * whether this panel is splitter?\n * @returns {boolean} panel is splitter?\n */\nVPanel.prototype.isSplitter = function() {\n    return this.options.isSplitter;\n};\n\n/**\n * set max height of panel\n * @param {number} maxHeight - maxHeight\n */\nVPanel.prototype.setMaxHeight = function(maxHeight) {\n    if (!this.options.autoHeight) {\n        this.options.maxHeight = maxHeight;\n    }\n};\n\n/**\n * set forced height flag\n * @param {boolean} set - enable or not\n */\nVPanel.prototype.setHeightForcedSet = function(set) {\n    this.isHeightForcedSet = set;\n};\n\n/**\n * get forced height flag\n * @returns {boolean} set - enable or not\n */\nVPanel.prototype.getHeightForcedSet = function() {\n    return this.isHeightForcedSet;\n};\n\n/**\n * set height of html element\n * @param {HTMLElement} [container] - container element\n * @param {number} newHeight - height\n * @param {boolean} force - whether ignore max-length\n */\nVPanel.prototype.setHeight = function(container, newHeight, force) {\n    var maxHeight = this.options.maxHeight;\n    var minHeight = this.options.minHeight;\n    var autoHeight = this.options.autoHeight;\n    container = container || this.container;\n\n    // 한번 force 호출이 일어난 이후에는 force 호출만 허용한다\n    if (!force && this.isHeightForcedSet && !autoHeight) {\n        return;\n    }\n\n    if (force) {\n        this.isHeightForcedSet = true;\n    } else if (maxHeight) {\n        newHeight = Math.min(newHeight, maxHeight);\n    }\n    newHeight = Math.max(minHeight, newHeight);\n\n    container.style.height = newHeight + 'px';\n};\n\n/**\n * Calculate new height of panel and remains by supplied height growth\n * @param {number} growth - growth value\n * @returns {number[]} newHeight, remainHeight\n */\nVPanel.prototype.getResizeInfoByGrowth = function(growth) {\n    var height = this.getHeight(),\n        newHeight = height + growth,\n        resizeTo = Math.max(0, newHeight, this.options.minHeight);\n\n    return [resizeTo, height - resizeTo];\n};\n\n/**\n * get outer height of panel element\n * @returns {number} outer height of panel element\n */\nVPanel.prototype.getHeight = function() {\n    return domutil.getSize(this.container)[1];\n};\n\n/**\n * add design class to panel element\n * @param {string} className - classname string\n */\nVPanel.prototype.addClass = function(className) {\n    domutil.addClass(this.container, className);\n};\n\n/**\n * remove design class to panel element\n * @param {string} className - classname string\n */\nVPanel.prototype.removeClass = function(className) {\n    domutil.removeClass(this.container, className);\n};\n\n/**\n * initialize panel element\n * @param {PanelOptions} options - options for panel\n * @param {HTMLDivElement} container - panel element\n */\nVPanel.prototype._initPanel = function(options, container) {\n    var height;\n\n    domutil.setData(container, 'panelIndex', options.index);\n\n    if (options.isSplitter) {\n        domutil.addClass(container, config.classname('splitter'));\n        this.applyTheme();\n\n        return;\n    }\n\n    if (options.className) {\n        domutil.addClass(container, options.className);\n    }\n\n    if (options.autoHeight) {\n        domutil.setData(container, 'autoHeight', true);\n    } else {\n        height = common.limit(options.height || 0,\n            [options.minHeight],\n            [options.maxHeight || options.height]\n        );\n\n        options.height = height;\n        this.setHeight(container, height);\n    }\n};\n\nVPanel.prototype.applyTheme = function() {\n    var style = this.container.style;\n    var theme = this.theme;\n\n    if (!theme) {\n        return;\n    }\n\n    style.borderTop = theme.week.vpanelSplitter.border || theme.common.border;\n    style.borderBottom = theme.week.vpanelSplitter.border || theme.common.border;\n    style.height = theme.week.vpanelSplitter.height;\n};\n\nmodule.exports = VPanel;\n","/**\n * @fileoverview Factory module for WeekView\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config');\nvar domutil = require('../common/domutil');\nvar common = require('../common/common');\nvar VLayout = require('../common/vlayout');\nvar reqAnimFrame = require('../common/reqAnimFrame');\nvar Schedule = require('../model/schedule');\n// Parent views\nvar Week = require('../view/week/week');\n\n// Sub views\nvar DayName = require('../view/week/dayname');\nvar DayGrid = require('../view/week/dayGrid');\nvar TimeGrid = require('../view/week/timeGrid');\nvar ScheduleCreationPopup = require('../view/popup/scheduleCreationPopup');\nvar ScheduleDetailPopup = require('../view/popup/scheduleDetailPopup');\n\n// Handlers\nvar DayNameClick = require('../handler/time/clickDayname');\nvar DayGridClick = require('../handler/daygrid/click');\nvar DayGridCreation = require('../handler/daygrid/creation');\nvar DayGridMove = require('../handler/daygrid/move');\nvar DayGridResize = require('../handler/daygrid/resize');\nvar TimeClick = require('../handler/time/click');\nvar TimeCreation = require('../handler/time/creation');\nvar TimeMove = require('../handler/time/move');\nvar TimeResize = require('../handler/time/resize');\n\nvar DAYGRID_HANDLDERS = {\n    'click': DayGridClick,\n    'creation': DayGridCreation,\n    'move': DayGridMove,\n    'resize': DayGridResize\n};\nvar TIMEGRID_HANDLERS = {\n    'click': TimeClick,\n    'creation': TimeCreation,\n    'move': TimeMove,\n    'resize': TimeResize\n};\nvar DEFAULT_PANELS = [\n    {\n        name: 'milestone',\n        type: 'daygrid',\n        minHeight: 20,\n        maxHeight: 80,\n        showExpandableButton: true,\n        maxExpandableHeight: 210,\n        handlers: ['click'],\n        show: true\n    },\n    {\n        name: 'task',\n        type: 'daygrid',\n        minHeight: 40,\n        maxHeight: 120,\n        showExpandableButton: true,\n        maxExpandableHeight: 210,\n        handlers: ['click', 'move'],\n        show: true\n    },\n    {\n        name: 'allday',\n        type: 'daygrid',\n        minHeight: 30,\n        maxHeight: 80,\n        showExpandableButton: true,\n        maxExpandableHeight: 210,\n        handlers: ['click', 'creation', 'move', 'resize'],\n        show: true\n    },\n    {\n        name: 'time',\n        type: 'timegrid',\n        autoHeight: true,\n        handlers: ['click', 'creation', 'move', 'resize'],\n        show: true\n    }\n];\n\n/* eslint-disable complexity*/\nmodule.exports = function(baseController, layoutContainer, dragHandler, options) {\n    var panels = [],\n        vpanels = [];\n    var weekView, dayNameContainer, dayNameView, vLayoutContainer, vLayout;\n    var createView, onSaveNewSchedule, onSetCalendars, lastVPanel;\n    var detailView, onShowDetailPopup, onDeleteSchedule, onShowEditPopup, onEditSchedule;\n    var taskView = options.taskView;\n    var scheduleView = options.scheduleView;\n    var viewVisibilities = {\n        'milestone': util.isArray(taskView) ? util.inArray('milestone', taskView) >= 0 : taskView,\n        'task': util.isArray(taskView) ? util.inArray('task', taskView) >= 0 : taskView,\n        'allday': util.isArray(scheduleView) ? util.inArray('allday', scheduleView) >= 0 : scheduleView,\n        'time': util.isArray(scheduleView) ? util.inArray('time', scheduleView) >= 0 : scheduleView\n    };\n\n    // Make panels by view sequence and visibilities\n    util.forEach(DEFAULT_PANELS, function(panel) {\n        var name = panel.name;\n\n        panel = util.extend({}, panel);\n        panels.push(panel);\n\n        // Change visibilities\n        panel.show = viewVisibilities[name];\n\n        if (panel.show) {\n            if (vpanels.length) {\n                vpanels.push({\n                    isSplitter: true\n                });\n            }\n            vpanels.push(util.extend({}, panel));\n        }\n    });\n\n    if (vpanels.length) {\n        lastVPanel = vpanels[vpanels.length - 1];\n        lastVPanel.autoHeight = true;\n        lastVPanel.maxHeight = null;\n        lastVPanel.showExpandableButton = false;\n\n        util.forEach(panels, function(panel) {\n            if (panel.name === lastVPanel.name) {\n                panel.showExpandableButton = false;\n\n                return false;\n            }\n\n            return true;\n        });\n    }\n\n    util.extend(options.week, {panels: panels});\n\n    weekView = new Week(null, options.week, layoutContainer, panels);\n    weekView.handler = {\n        click: {},\n        dayname: {},\n        creation: {},\n        move: {},\n        resize: {}\n    };\n\n    dayNameContainer = domutil.appendHTMLElement('div', weekView.container, config.classname('dayname-layout'));\n\n    /**********\n     * Day name (top row(Mon, Tue, Wed...))\n     **********/\n    dayNameView = new DayName(options, dayNameContainer, baseController.theme);\n    weekView.handler.dayname.date = new DayNameClick(dragHandler, dayNameView, baseController);\n    weekView.addChild(dayNameView);\n\n    /**********\n     * Initialize vertical layout module\n     **********/\n    vLayoutContainer = domutil.appendHTMLElement('div', weekView.container, config.classname('vlayout-area'));\n    vLayoutContainer.style.height = (domutil.getSize(weekView.container)[1] - dayNameView.container.offsetHeight) + 'px';\n\n    vLayout = new VLayout({\n        panels: vpanels,\n        panelHeights: options.week.panelHeights || []\n    }, vLayoutContainer, baseController.theme);\n\n    weekView.vLayout = vLayout;\n\n    util.forEach(panels, function(panel) {\n        var name = panel.name;\n        var handlers = panel.handlers;\n        var view;\n\n        if (!panel.show) {\n            return;\n        }\n\n        if (panel.type === 'daygrid') {\n            /**********\n             * Schedule panel by Grid\n             **********/\n            view = new DayGrid(name, options, vLayout.getPanelByName(panel.name).container, baseController.theme);\n            view.on('afterRender', function(viewModel) {\n                vLayout.getPanelByName(name).setHeight(null, viewModel.height);\n            });\n\n            weekView.addChild(view);\n\n            util.forEach(handlers, function(type) {\n                if (!options.isReadOnly || type === 'click') {\n                    weekView.handler[type][name] =\n                        new DAYGRID_HANDLDERS[type](dragHandler, view, baseController, options);\n                    view.addHandler(type, weekView.handler[type][name], vLayout.getPanelByName(name));\n                }\n            });\n        } else if (panel.type === 'timegrid') {\n            /**********\n             * Schedule panel by TimeGrid\n             **********/\n            view = new TimeGrid(name, options, vLayout.getPanelByName(name).container);\n            weekView.addChild(view);\n            util.forEach(handlers, function(type) {\n                if (!options.isReadOnly || type === 'click') {\n                    weekView.handler[type][name] =\n                        new TIMEGRID_HANDLERS[type](dragHandler, view, baseController, options);\n                }\n            });\n\n            view.on('clickTimezonesCollapsedBtn', function() {\n                var timezonesCollapsed = !weekView.state.timezonesCollapsed;\n\n                weekView.setState({\n                    timezonesCollapsed: timezonesCollapsed\n                });\n                reqAnimFrame.requestAnimFrame(function() {\n                    if (!weekView.invoke('clickTimezonesCollapseBtn', timezonesCollapsed)) {\n                        weekView.render();\n                    }\n                });\n            });\n        }\n    });\n\n    vLayout.on('resize', function() {\n        reqAnimFrame.requestAnimFrame(function() {\n            weekView.render();\n        });\n    });\n\n    // binding create schedules event\n    if (options.useCreationPopup) {\n        createView = new ScheduleCreationPopup(layoutContainer, baseController.calendars);\n\n        onSaveNewSchedule = function(scheduleData) {\n            util.extend(scheduleData, {\n                useCreationPopup: true\n            });\n            if (scheduleData.isAllDay) {\n                weekView.handler.creation.allday.fire('beforeCreateSchedule', scheduleData);\n            } else {\n                weekView.handler.creation.time.fire('beforeCreateSchedule', scheduleData);\n            }\n        };\n        createView.on('beforeCreateSchedule', onSaveNewSchedule);\n    }\n\n    onSetCalendars = function(calendars) {\n        if (createView) {\n            createView.setCalendars(calendars);\n        }\n    };\n\n    baseController.on('setCalendars', onSetCalendars);\n\n    // binding popup for schedule detail\n    if (options.useDetailPopup) {\n        detailView = new ScheduleDetailPopup(layoutContainer, baseController.calendars);\n        onShowDetailPopup = function(eventData) {\n            var scheduleId = eventData.schedule.calendarId;\n            eventData.calendar = common.find(baseController.calendars, function(calendar) {\n                return calendar.id === scheduleId;\n            });\n\n            if (options.isReadOnly) {\n                eventData.schedule = util.extend({}, eventData.schedule, {isReadOnly: true});\n            }\n\n            detailView.render(eventData);\n        };\n        onDeleteSchedule = function(eventData) {\n            if (eventData.isAllDay) {\n                weekView.handler.creation.allday.fire('beforeDeleteSchedule', eventData);\n            } else {\n                weekView.handler.creation.time.fire('beforeDeleteSchedule', eventData);\n            }\n        };\n        onEditSchedule = function(eventData) {\n            if (eventData.isAllDay) {\n                weekView.handler.move.allday.fire('beforeUpdateSchedule', eventData);\n            } else {\n                weekView.handler.move.time.fire('beforeUpdateSchedule', eventData);\n            }\n        };\n\n        util.forEach(weekView.handler.click, function(panel) {\n            panel.on('clickSchedule', onShowDetailPopup);\n        });\n        if (options.useCreationPopup) {\n            onShowEditPopup = function(eventData) {\n                var calendars = baseController.calendars;\n                eventData.isEditMode = true;\n                createView.setCalendars(calendars);\n                createView.render(eventData);\n            };\n            createView.on('beforeUpdateSchedule', onEditSchedule);\n            detailView.on('beforeUpdateSchedule', onShowEditPopup);\n        } else {\n            detailView.on('beforeUpdateSchedule', onEditSchedule);\n        }\n        detailView.on('beforeDeleteSchedule', onDeleteSchedule);\n    }\n\n    weekView.on('afterRender', function() {\n        vLayout.refresh();\n    });\n\n    // add controller\n    weekView.controller = baseController.Week;\n\n    // add destroy\n    weekView._beforeDestroy = function() {\n        util.forEach(weekView.handler, function(type) {\n            util.forEach(type, function(handler) {\n                handler.off();\n                handler.destroy();\n            });\n        });\n\n        if (options.useCreationPopup) {\n            createView.off('beforeCreateSchedule', onSaveNewSchedule);\n            createView.destroy();\n        }\n\n        if (options.useDetailPopup) {\n            detailView.off('beforeDeleteSchedule', onDeleteSchedule);\n            detailView.destroy();\n        }\n\n        weekView.off();\n    };\n\n    return {\n        view: weekView,\n        refresh: function() {\n            var weekViewHeight = weekView.getViewBound().height,\n                daynameViewHeight = domutil.getBCRect(\n                    dayNameView.container\n                ).height;\n\n            vLayout.container.style.height =\n                weekViewHeight - daynameViewHeight + 'px';\n            vLayout.refresh();\n        },\n        scrollToNow: function() {\n            weekView.children.each(function(childView) {\n                if (childView.scrollToNow) {\n                    childView.scrollToNow();\n                }\n            });\n        },\n        openCreationPopup: function(schedule) {\n            if (createView) {\n                if (schedule.isAllDay) {\n                    weekView.handler.creation.allday.invokeCreationClick(Schedule.create(schedule));\n                } else {\n                    weekView.handler.creation.time.invokeCreationClick(Schedule.create(schedule));\n                }\n            }\n        },\n        showCreationPopup: function(eventData) {\n            if (createView) {\n                createView.setCalendars(baseController.calendars);\n                createView.render(eventData);\n            }\n        }\n    };\n};\n","/**\n * @fileoverview Controller mixin for Month View\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar array = require('../../common/array'),\n    datetime = require('../../common/datetime'),\n    Collection = require('../../common/collection');\nvar mmax = Math.max;\n\nvar Month = {\n    /**\n     * Filter function for find time schedule\n     * @param {ScheduleViewModel} viewModel - schedule view model\n     * @returns {boolean} whether model is time schedule?\n     */\n    _onlyTimeFilter: function(viewModel) {\n        return !viewModel.model.isAllDay && !viewModel.hasMultiDates;\n    },\n\n    /**\n     * Filter function for find allday schedule\n     * @param {ScheduleViewModel} viewModel - schedule view model\n     * @returns {boolean} whether model is allday schedule?\n     */\n    _onlyAlldayFilter: function(viewModel) {\n        return viewModel.model.isAllDay || viewModel.hasMultiDates;\n    },\n\n    /**\n     * Weight top value +1 for month view render\n     * @param {ScheduleViewModel} viewModel - schedule view model\n     */\n    _weightTopValue: function(viewModel) {\n        viewModel.top = viewModel.top || 0;\n        viewModel.top += 1;\n    },\n\n    /**\n     * Adjust render range to render properly.\n     *\n     * Limit start, end for each allday schedules and expand start, end for\n     * each time schedules\n     * @this Base\n     * @param {TZDate} start - render start date\n     * @param {TZDate} end - render end date\n     * @param {Collection} vColl - view model collection\n     * property.\n     */\n    _adjustRenderRange: function(start, end, vColl) {\n        var ctrlCore = this.Core;\n\n        vColl.each(function(viewModel) {\n            if (viewModel.model.isAllDay || viewModel.hasMultiDates) {\n                ctrlCore.limitRenderRange(start, end, viewModel);\n            }\n        });\n    },\n\n    /**\n     * Get max top index value for allday schedules in specific date (YMD)\n     * @this Base\n     * @param {string} ymd - yyyymmdd formatted value\n     * @param {Collection} vAlldayColl - collection of allday schedules\n     * @returns {number} max top index value in date\n     */\n    _getAlldayMaxTopIndexAtYMD: function(ymd, vAlldayColl) {\n        var dateMatrix = this.dateMatrix,\n            topIndexesInDate = [];\n        util.forEach(dateMatrix[ymd], function(cid) {\n            vAlldayColl.doWhenHas(cid, function(viewModel) {\n                topIndexesInDate.push(viewModel.top);\n            });\n        });\n\n        if (topIndexesInDate.length > 0) {\n            return mmax.apply(null, topIndexesInDate);\n        }\n\n        return 0;\n    },\n\n    /**\n     * Adjust time view model's top index value\n     * @this Base\n     * @param {Collection} vColl - collection of schedules\n     */\n    _adjustTimeTopIndex: function(vColl) {\n        var ctrlMonth = this.Month;\n        var getAlldayMaxTopIndexAtYMD = ctrlMonth._getAlldayMaxTopIndexAtYMD;\n        var vAlldayColl = vColl.find(ctrlMonth._onlyAlldayFilter);\n        var sortedTimeSchedules = vColl.find(ctrlMonth._onlyTimeFilter).sort(array.compare.schedule.asc);\n        var maxIndexInYMD = {};\n\n        sortedTimeSchedules.forEach(function(timeViewModel) {\n            var scheduleYMD = datetime.format(timeViewModel.getStarts(), 'YYYYMMDD');\n            var alldayMaxTopInYMD = maxIndexInYMD[scheduleYMD];\n\n            if (util.isUndefined(alldayMaxTopInYMD)) {\n                alldayMaxTopInYMD = maxIndexInYMD[scheduleYMD] =\n                    getAlldayMaxTopIndexAtYMD(scheduleYMD, vAlldayColl);\n            }\n            maxIndexInYMD[scheduleYMD] = timeViewModel.top =\n                (alldayMaxTopInYMD + 1);\n        });\n    },\n\n    /**\n     * Adjust time view model's top index value\n     * @this Base\n     * @param {Collection} vColl - collection of schedules\n     */\n    _stackTimeFromTop: function(vColl) {\n        var ctrlMonth = this.Month;\n        var vAlldayColl = vColl.find(ctrlMonth._onlyAlldayFilter);\n        var sortedTimeSchedules = vColl.find(ctrlMonth._onlyTimeFilter).sort(array.compare.schedule.asc);\n        var indiceInYMD = {};\n        var dateMatrix = this.dateMatrix;\n\n        sortedTimeSchedules.forEach(function(timeViewModel) {\n            var scheduleYMD = datetime.format(timeViewModel.getStarts(), 'YYYYMMDD');\n            var topArrayInYMD = indiceInYMD[scheduleYMD];\n            var maxTopInYMD;\n            var i;\n\n            if (util.isUndefined(topArrayInYMD)) {\n                topArrayInYMD = indiceInYMD[scheduleYMD] = [];\n                util.forEach(dateMatrix[scheduleYMD], function(cid) {\n                    vAlldayColl.doWhenHas(cid, function(viewModel) {\n                        topArrayInYMD.push(viewModel.top);\n                    });\n                });\n            }\n\n            if (util.inArray(timeViewModel.top, topArrayInYMD) >= 0) {\n                maxTopInYMD = mmax.apply(null, topArrayInYMD) + 1;\n                for (i = 1; i <= maxTopInYMD; i += 1) {\n                    timeViewModel.top = i;\n                    if (util.inArray(timeViewModel.top, topArrayInYMD) < 0) {\n                        break;\n                    }\n                }\n            }\n            topArrayInYMD.push(timeViewModel.top);\n        });\n    },\n\n    /**\n     * Convert multi-date time schedule to all-day schedule\n     * @this Base\n     * @param {Collection} vColl - view model collection\n     * property.\n     */\n    _addMultiDatesInfo: function(vColl) {\n        vColl.each(function(viewModel) {\n            var model = viewModel.model;\n            var start = model.getStarts();\n            var end = model.getEnds();\n\n            viewModel.hasMultiDates = !datetime.isSameDate(start, end);\n\n            if (!model.isAllDay && viewModel.hasMultiDates) {\n                viewModel.renderStarts = datetime.start(start);\n                viewModel.renderEnds = datetime.end(end);\n            }\n        });\n    },\n\n    /**\n     * Find schedule and get view model for specific month\n     * @this Base\n     * @param {TZDate} start - start date to find schedules\n     * @param {TZDate} end - end date to find schedules\n     * @param {function[]} [andFilters] - optional filters to applying search query\n     * @param {boolean} [alldayFirstMode=false] if true, time schedule is lower than all-day schedule. Or stack schedules from the top.\n     * @returns {object} view model data\n     */\n    findByDateRange: function(start, end, andFilters, alldayFirstMode) {\n        var ctrlCore = this.Core,\n            ctrlMonth = this.Month,\n            filter = ctrlCore.getScheduleInDateRangeFilter(start, end),\n            coll, vColl, vList,\n            collisionGroup,\n            matrices;\n\n        alldayFirstMode = alldayFirstMode || false;\n        andFilters = andFilters || [];\n        filter = Collection.and.apply(null, [filter].concat(andFilters));\n\n        coll = this.schedules.find(filter);\n        vColl = ctrlCore.convertToViewModel(coll);\n        ctrlMonth._addMultiDatesInfo(vColl);\n        ctrlMonth._adjustRenderRange(start, end, vColl);\n        vList = vColl.sort(array.compare.schedule.asc);\n\n        collisionGroup = ctrlCore.getCollisionGroup(vList);\n        matrices = ctrlCore.getMatrices(vColl, collisionGroup);\n        ctrlCore.positionViewModels(start, end, matrices, ctrlMonth._weightTopValue);\n        if (alldayFirstMode) {\n            ctrlMonth._adjustTimeTopIndex(vColl);\n        } else {\n            ctrlMonth._stackTimeFromTop(vColl);\n        }\n\n        return matrices;\n    }\n};\n\nmodule.exports = Month;\n","/* eslint no-shadow: 0 */\n/**\n * @fileoverview Controller mixin modules for day views.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\n\nvar Collection = require('../../common/collection');\nvar array = require('../../common/array');\nvar datetime = require('../../common/datetime');\nvar TZDate = require('../../common/timezone').Date;\n\nvar SCHEDULE_MIN_DURATION = datetime.MILLISECONDS_SCHEDULE_MIN_DURATION;\n\n/**\n * @mixin Base.Week\n */\nvar Week = {\n    /**********\n     * TIME GRID VIEW\n     **********/\n\n    /**\n     * Make array with start and end times on schedules.\n     * @this Base.Week\n     * @param {array[]} matrix - matrix from controller.\n     * @returns {array[]} starttime, endtime array (exclude first row's schedules)\n     */\n    generateTimeArrayInRow: function(matrix) {\n        var row,\n            col,\n            schedule,\n            start,\n            end,\n            map = [],\n            cursor = [],\n            maxColLen = Math.max.apply(null, util.map(matrix, function(col) {\n                return col.length;\n            }));\n\n        for (col = 1; col < maxColLen; col += 1) {\n            row = 0;\n            schedule = util.pick(matrix, row, col);\n\n            while (schedule) {\n                start = schedule.getStarts().getTime() - datetime.millisecondsFrom('minutes', schedule.valueOf().goingDuration);\n                end = schedule.getEnds().getTime() + datetime.millisecondsFrom('minutes', schedule.valueOf().comingDuration);\n\n                if (Math.abs(end - start) < SCHEDULE_MIN_DURATION) {\n                    end += SCHEDULE_MIN_DURATION;\n                }\n\n                cursor.push([start, end]);\n\n                row += 1;\n                schedule = util.pick(matrix, row, col);\n            }\n\n            map.push(cursor);\n            cursor = [];\n        }\n\n        return map;\n    },\n\n    /**\n     * Get collision information from list\n     * @this Base\n     * @param {array.<number[]>} arr - list to detecting collision. [[start, end], [start, end]]\n     * @param {number} start - schedule start time that want to detect collisions.\n     * @param {number} end - schedule end time that want to detect collisions.\n     * @returns {boolean} target has collide in supplied array?\n     */\n    hasCollide: function(arr, start, end) {\n        var startStart,\n            startEnd,\n            endStart,\n            endEnd,\n            getFunc = function(index) {\n                return function(block) {\n                    return block[index];\n                };\n            },\n            abs = Math.abs,\n            compare = array.compare.num.asc,\n            hasCollide;\n\n        if (!arr.length) {\n            return false;\n        }\n\n        startStart = abs(array.bsearch(arr, start, getFunc(0), compare));\n        startEnd = abs(array.bsearch(arr, start, getFunc(1), compare));\n        endStart = abs(array.bsearch(arr, end, getFunc(0), compare));\n        endEnd = abs(array.bsearch(arr, end, getFunc(1), compare));\n        hasCollide = !(startStart === startEnd && startEnd === endStart && endStart === endEnd);\n\n        return hasCollide;\n    },\n\n    /**\n     * Initialize values to viewmodels for detect real collision at rendering phase.\n     * @this Base\n     * @param {array[]} matrices - Matrix data.\n     */\n    getCollides: function(matrices) {\n        util.forEachArray(matrices, function(matrix) {\n            var binaryMap,\n                maxRowLength;\n\n            binaryMap = Week.generateTimeArrayInRow(matrix);\n            maxRowLength = Math.max.apply(null, util.map(matrix, function(row) {\n                return row.length;\n            }));\n\n            util.forEachArray(matrix, function(row) {\n                util.forEachArray(row, function(viewModel, col) {\n                    var startTime,\n                        endTime,\n                        hasCollide,\n                        i;\n\n                    if (!viewModel) {\n                        return;\n                    }\n\n                    startTime = viewModel.getStarts().getTime();\n                    endTime = viewModel.getEnds().getTime();\n\n                    if (Math.abs(endTime - startTime) < SCHEDULE_MIN_DURATION) {\n                        endTime += SCHEDULE_MIN_DURATION;\n                    }\n\n                    startTime -= datetime.millisecondsFrom('minutes', viewModel.valueOf().goingDuration);\n                    endTime += datetime.millisecondsFrom('minutes', viewModel.valueOf().comingDuration);\n\n                    endTime -= 1;\n\n                    for (i = (col + 1); i < maxRowLength; i += 1) {\n                        hasCollide = Week.hasCollide(binaryMap[i - 1], startTime, endTime);\n\n                        if (hasCollide) {\n                            viewModel.hasCollide = true;\n                            break;\n                        }\n\n                        viewModel.extraSpace += 1;\n                    }\n                });\n            });\n        });\n    },\n\n    /**\n     * create view model for time view part\n     * @this Base\n     * @param {Date} start - start date.\n     * @param {Date} end - end date.\n     * @param {Collection} time - view model collection.\n     * @param {number} hourStart - start hour to be shown\n     * @param {number} hourEnd - end hour to be shown\n     * @returns {object} view model for time part.\n     */\n    getViewModelForTimeView: function(start, end, time, hourStart, hourEnd) {\n        var self = this,\n            ymdSplitted = this.splitScheduleByDateRange(start, end, time),\n            result = {};\n\n        var _getViewModel = Week._makeGetViewModelFuncForTimeView(hourStart, hourEnd);\n\n        util.forEach(ymdSplitted, function(collection, ymd) {\n            var viewModels = _getViewModel(collection);\n            var collisionGroups, matrices;\n\n            collisionGroups = self.Core.getCollisionGroup(viewModels);\n            matrices = self.Core.getMatrices(collection, collisionGroups);\n            self.Week.getCollides(matrices);\n\n            result[ymd] = matrices;\n        });\n\n        return result;\n    },\n\n    /**\n     * make view model function depending on start and end hour\n     * if time view option has start or end hour condition\n     * it add filter\n     * @param {number} hourStart - start hour to be shown\n     * @param {number} hourEnd - end hour to be shown\n     * @returns {function} function\n     */\n    _makeGetViewModelFuncForTimeView: function(hourStart, hourEnd) {\n        if (hourStart === 0 && hourEnd === 24) {\n            return function(collection) {\n                return collection.sort(array.compare.schedule.asc);\n            };\n        }\n\n        return function(collection) {\n            return collection.find(Week._makeHourRangeFilter(hourStart, hourEnd))\n                .sort(array.compare.schedule.asc);\n        };\n    },\n\n    /**\n     * make a filter function that is not included range of start, end hour\n     * @param {number} hStart - hour start\n     * @param {number} hEnd - hour end\n     * @returns {function} - filtering function\n     */\n    _makeHourRangeFilter: function(hStart, hEnd) {\n        return function(schedule) {\n            var ownHourStart = schedule.model.start;\n            var ownHourEnd = schedule.model.end;\n            var yyyy = ownHourStart.getFullYear();\n            var mm = ownHourStart.getMonth();\n            var dd = ownHourStart.getDate();\n\n            var hourStart = new TZDate(yyyy, mm, dd).setHours(hStart);\n            var hourEnd = new TZDate(yyyy, mm, dd).setHours(hEnd);\n\n            return (ownHourStart >= hourStart && ownHourStart < hourEnd) ||\n                (ownHourEnd > hourStart && ownHourEnd <= hourEnd) ||\n                (ownHourStart < hourStart && ownHourEnd > hourStart) ||\n                (ownHourEnd > hourEnd && ownHourStart < hourEnd);\n        };\n    },\n\n    /**********\n     * ALLDAY VIEW\n     **********/\n\n    /**\n     * Set hasMultiDates flag to true and set date ranges for rendering\n     * @this Base\n     * @param {Collection} vColl - view model collection\n     */\n    _addMultiDatesInfo: function(vColl) {\n        vColl.each(function(viewModel) {\n            var model = viewModel.model;\n            viewModel.hasMultiDates = true;\n            viewModel.renderStarts = datetime.start(model.getStarts());\n            viewModel.renderEnds = datetime.end(model.getEnds());\n        });\n    },\n\n    /**\n     * create view model for allday view part\n     * @this Base\n     * @param {Date} start start date.\n     * @param {Date} end end date.\n     * @param {Collection} viewModelColl - allday schedule viewModel viewModels.\n     * @returns {object} allday viewModel.\n     */\n    getViewModelForAlldayView: function(start, end, viewModelColl) {\n        var ctrlCore = this.Core,\n            ctrlWeek = this.Week,\n            viewModels,\n            collisionGroups,\n            matrices;\n\n        if (!viewModelColl || !viewModelColl.length) {\n            return [];\n        }\n\n        ctrlWeek._addMultiDatesInfo(viewModelColl);\n        ctrlCore.limitRenderRange(start, end, viewModelColl);\n\n        viewModels = viewModelColl.sort(array.compare.schedule.asc);\n        collisionGroups = ctrlCore.getCollisionGroup(viewModels);\n\n        matrices = ctrlCore.getMatrices(viewModelColl, collisionGroups);\n        ctrlCore.positionViewModels(start, end, matrices);\n\n        return matrices;\n    },\n\n    /**********\n     * READ\n     **********/\n\n    /**\n     * Populate schedules in date range.\n     * @this Base\n     * @param {Date} start start date.\n     * @param {Date} end end date.\n     * @param {Array.<object>} panels - schedule panels like 'milestone', 'task', 'allday', 'time'\n     * @param {function[]} [andFilters] - optional filters to applying search query\n     * @param {Object} options - week view options\n     * @returns {object} schedules grouped by dates.\n     */\n    findByDateRange: function(start, end, panels, andFilters, options) {\n        var ctrlCore = this.Core,\n            ctrlWeek = this.Week,\n            filter = ctrlCore.getScheduleInDateRangeFilter(start, end),\n            scheduleTypes = util.pluck(panels, 'name'),\n            hourStart = util.pick(options, 'hourStart'),\n            hourEnd = util.pick(options, 'hourEnd'),\n            modelColl,\n            group;\n\n        andFilters = andFilters || [];\n        filter = Collection.and.apply(null, [filter].concat(andFilters));\n\n        modelColl = this.schedules.find(filter);\n        modelColl = ctrlCore.convertToViewModel(modelColl);\n\n        group = modelColl.groupBy(scheduleTypes, this.groupFunc);\n        util.forEach(panels, function(panel) {\n            var name = panel.name;\n            if (panel.type === 'daygrid') {\n                group[name] = ctrlWeek.getViewModelForAlldayView(start, end, group[name]);\n            } else if (panel.type === 'timegrid') {\n                group[name] = ctrlWeek.getViewModelForTimeView(start, end, group[name], hourStart, hourEnd);\n            }\n        });\n\n        return group;\n    },\n\n    /* eslint max-nested-callbacks: 0 */\n    /**\n     * Make exceed date information\n     * @param {number} maxCount - exceed schedule count\n     * @param {Array} eventsInDateRange  - matrix of ScheduleViewModel\n     * @param {Array.<TZDate>} range - date range of one week\n     * @returns {object} exceedDate\n     */\n    getExceedDate: function(maxCount, eventsInDateRange, range) {\n        var exceedDate = {};\n\n        util.forEach(range, function(date) {\n            var ymd = datetime.format(date, 'YYYYMMDD');\n            exceedDate[ymd] = 0;\n        });\n\n        util.forEach(eventsInDateRange, function(matrix) {\n            util.forEach(matrix, function(column) {\n                util.forEach(column, function(viewModel) {\n                    var period;\n                    if (!viewModel || viewModel.top < maxCount) {\n                        return;\n                    }\n\n                    period = datetime.range(\n                        viewModel.getStarts(),\n                        viewModel.getEnds(),\n                        datetime.MILLISECONDS_PER_DAY\n                    );\n\n                    util.forEach(period, function(date) {\n                        var ymd = datetime.format(date, 'YYYYMMDD');\n                        exceedDate[ymd] += 1;\n                    });\n                });\n            });\n        });\n\n        return exceedDate;\n    },\n\n    /**\n     * Exclude overflow schedules from matrices\n     * @param {array} matrices - The matrices for schedule placing.\n     * @param {number} visibleScheduleCount - maximum visible count on panel\n     * @returns {array} - The matrices for schedule placing except overflowed schedules.\n     */\n    excludeExceedSchedules: function(matrices, visibleScheduleCount) {\n        return matrices.map(function(matrix) {\n            return matrix.map(function(row) {\n                if (row.length > visibleScheduleCount) {\n                    return row.filter(function(item) {\n                        return item.top < visibleScheduleCount;\n                    }, this);\n                }\n\n                return row;\n            }, this);\n        }, this);\n    }\n};\n\nmodule.exports = Week;\n","/**\n * @fileoverview Core methods for schedule block placing\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar forEachArr = util.forEachArray,\n    aps = Array.prototype.slice;\n\nvar datetime = require('../../common/datetime');\nvar TZDate = require('../../common/timezone').Date;\nvar Collection = require('../../common/collection');\nvar ScheduleViewModel = require('../../model/viewModel/scheduleViewModel');\n\nvar Core = {\n    /**\n     * Calculate collision group.\n     * @param {array} viewModels List of viewmodels.\n     * @returns {array} Collision Group.\n     */\n    getCollisionGroup: function(viewModels) {\n        var collisionGroups = [],\n            foundPrevCollisionSchedule = false,\n            previousScheduleList;\n\n        if (!viewModels.length) {\n            return collisionGroups;\n        }\n\n        collisionGroups[0] = [util.stamp(viewModels[0].valueOf())];\n        forEachArr(viewModels.slice(1), function(schedule, index) {\n            foundPrevCollisionSchedule = false;\n            previousScheduleList = aps.apply(viewModels, [0, index + 1]).reverse();\n\n            forEachArr(previousScheduleList, function(previous) {\n                if (schedule.collidesWith(previous)) {\n                    // If overlapping previous schedules, find a Collision Group of overlapping schedules and add this schedules\n                    foundPrevCollisionSchedule = true;\n\n                    forEachArr(collisionGroups.slice(0).reverse(), function(group) {\n                        if (~util.inArray(util.stamp(previous.valueOf()), group)) {\n                            // If you find a previous schedule that overlaps, include it in the Collision Group to which it belongs.\n                            group.push(util.stamp(schedule.valueOf()));\n\n                            return false; // returning false can stop this loop\n                        }\n\n                        return true;\n                    });\n\n                    return false; // returning false can stop this loop\n                }\n\n                return true;\n            });\n\n            if (!foundPrevCollisionSchedule) {\n                // This schedule is a schedule that does not overlap with the previous schedule, so a new Collision Group is constructed.\n                collisionGroups.push([util.stamp(schedule.valueOf())]);\n            }\n        });\n\n        return collisionGroups;\n    },\n\n    /**\n     * Get row length by column index in 2d matrix.\n     * @param {array[]} arr2d Matrix\n     * @param {number} col Column index.\n     * @returns {number} Last row number in column.\n     */\n    getLastRowInColumn: function(arr2d, col) {\n        var row = arr2d.length;\n\n        while (row > 0) {\n            row -= 1;\n            if (!util.isUndefined(arr2d[row][col])) {\n                return row;\n            }\n        }\n\n        return false;\n    },\n\n    /**\n     * Calculate matrix for appointment block element placing.\n     * @param {Collection} collection model collection.\n     * @param {array[]} collisionGroups Collision groups for schedule set.\n     * @returns {array} matrices\n     */\n    getMatrices: function(collection, collisionGroups) {\n        var result = [],\n            getLastRowInColumn = Core.getLastRowInColumn;\n\n        forEachArr(collisionGroups, function(group) {\n            var matrix = [[]];\n\n            forEachArr(group, function(scheduleID) {\n                var schedule = collection.items[scheduleID],\n                    col = 0,\n                    found = false,\n                    nextRow,\n                    lastRowInColumn;\n\n                while (!found) {\n                    lastRowInColumn = getLastRowInColumn(matrix, col);\n\n                    if (lastRowInColumn === false) {\n                        matrix[0].push(schedule);\n                        found = true;\n                    } else if (!schedule.collidesWith(matrix[lastRowInColumn][col])) {\n                        nextRow = lastRowInColumn + 1;\n                        if (util.isUndefined(matrix[nextRow])) {\n                            matrix[nextRow] = [];\n                        }\n                        matrix[nextRow][col] = schedule;\n                        found = true;\n                    }\n\n                    col += 1;\n                }\n            });\n\n            result.push(matrix);\n        });\n\n        return result;\n    },\n\n    /**\n     * Filter that get schedule model in supplied date ranges.\n     * @param {Date} start - start date\n     * @param {Date} end - end date\n     * @returns {function} schedule filter function\n     */\n    getScheduleInDateRangeFilter: function(start, end) {\n        return function(model) {\n            var ownStarts = model.getStarts(),\n                ownEnds = model.getEnds();\n\n            // shorthand condition of\n            //\n            // (ownStarts >= start && ownEnds <= end) ||\n            // (ownStarts < start && ownEnds >= start) ||\n            // (ownEnds > end && ownStarts <= end)\n            return !(ownEnds < start || ownStarts > end);\n        };\n    },\n\n    /**\n     * Position each view model for placing into container\n     * @param {Date} start - start date to render\n     * @param {Date} end - end date to render\n     * @param {array} matrices - matrices from controller\n     * @param {function} [iteratee] - iteratee function invoke each view models\n     */\n    positionViewModels: function(start, end, matrices, iteratee) {\n        var ymdListToRender;\n\n        ymdListToRender = util.map(\n            datetime.range(start, end, datetime.MILLISECONDS_PER_DAY),\n            function(date) {\n                return datetime.format(date, 'YYYYMMDD');\n            }\n        );\n\n        forEachArr(matrices, function(matrix) {\n            forEachArr(matrix, function(column) {\n                forEachArr(column, function(viewModel, index) {\n                    var ymd, dateLength;\n\n                    if (!viewModel) {\n                        return;\n                    }\n\n                    ymd = datetime.format(viewModel.getStarts(), 'YYYYMMDD');\n                    dateLength = datetime.range(\n                        datetime.start(viewModel.getStarts()),\n                        datetime.end(viewModel.getEnds()),\n                        datetime.MILLISECONDS_PER_DAY\n                    ).length;\n\n                    viewModel.top = index;\n                    viewModel.left = util.inArray(ymd, ymdListToRender);\n                    viewModel.width = dateLength;\n\n                    if (iteratee) {\n                        iteratee(viewModel);\n                    }\n                });\n            });\n        });\n    },\n\n    /**\n     * Limit start, end date each view model for render properly\n     * @param {TZDate} start - start date to render\n     * @param {TZDate} end - end date to render\n     * @param {Collection|ScheduleViewModel} viewModelColl - schedule view\n     *  model collection or ScheduleViewModel\n     * @returns {ScheduleViewModel} return view model when third parameter is\n     *  view model\n     */\n    limitRenderRange: function(start, end, viewModelColl) {\n        /**\n         * Limit render range for view models\n         * @param {ScheduleViewModel} viewModel - view model instance\n         * @returns {ScheduleViewModel} view model that limited render range\n         */\n        function limit(viewModel) {\n            if (viewModel.getStarts() < start) {\n                viewModel.exceedLeft = true;\n                viewModel.renderStarts = new TZDate(start);\n            }\n\n            if (viewModel.getEnds() > end) {\n                viewModel.exceedRight = true;\n                viewModel.renderEnds = new TZDate(end);\n            }\n\n            return viewModel;\n        }\n\n        if (viewModelColl.constructor === Collection) {\n            viewModelColl.each(limit);\n\n            return null;\n        }\n\n        return limit(viewModelColl);\n    },\n\n    /**\n     * Convert schedule model collection to view model collection.\n     * @param {Collection} modelColl - collection of schedule model\n     * @returns {Collection} collection of schedule view model\n     */\n    convertToViewModel: function(modelColl) {\n        var viewModelColl;\n\n        viewModelColl = new Collection(function(viewModel) {\n            return viewModel.cid();\n        });\n\n        modelColl.each(function(model) {\n            viewModelColl.add(ScheduleViewModel.create(model));\n        });\n\n        return viewModelColl;\n    }\n};\n\nmodule.exports = Core;\n","/**\n * @fileoverview The all configuration of a theme\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\n/**\n * Full configuration for theme.\n * \"common\" prefix is for entire calendar. \"common\" properties can be overriden by \"week\", \"month\".\n * \"week\" prefix is for weekly and daily view.\n * \"month\" prefix is for monthly view.\n * @typedef {object} themeConfig\n * @example\n // default keys and styles\n var themeConfig = {\n    'common.border': '1px solid #e5e5e5',\n    'common.backgroundColor': 'white',\n    'common.holiday.color': '#ff4040',\n    'common.saturday.color': '#333',\n    'common.dayname.color': '#333',\n    'common.today.color': '#333',\n\n    // creation guide style\n    'common.creationGuide.backgroundColor': 'rgba(81, 92, 230, 0.05)',\n    'common.creationGuide.border': '1px solid #515ce6',\n\n    // month header 'dayname'\n    'month.dayname.height': '31px',\n    'month.dayname.borderLeft': '1px solid #e5e5e5',\n    'month.dayname.paddingLeft': '10px',\n    'month.dayname.paddingRight': '10px',\n    'month.dayname.backgroundColor': 'inherit',\n    'month.dayname.fontSize': '12px',\n    'month.dayname.fontWeight': 'normal',\n    'month.dayname.textAlign': 'left',\n\n    // month day grid cell 'day'\n    'month.holidayExceptThisMonth.color': 'rgba(255, 64, 64, 0.4)',\n    'month.dayExceptThisMonth.color': 'rgba(51, 51, 51, 0.4)',\n    'month.weekend.backgroundColor': 'inherit',\n    'month.day.fontSize': '14px',\n\n    // month schedule style\n    'month.schedule.borderRadius': '2px',\n    'month.schedule.height': '24px',\n    'month.schedule.marginTop': '2px',\n    'month.schedule.marginLeft': '8px',\n    'month.schedule.marginRight': '8px',\n\n    // month more view\n    'month.moreView.border': '1px solid #d5d5d5',\n    'month.moreView.boxShadow': '0 2px 6px 0 rgba(0, 0, 0, 0.1)',\n    'month.moreView.backgroundColor': 'white',\n    'month.moreView.paddingBottom': '17px',\n    'month.moreViewTitle.height': '44px',\n    'month.moreViewTitle.marginBottom': '12px',\n    'month.moreViewTitle.backgroundColor': 'inherit',\n    'month.moreViewTitle.borderBottom': 'none',\n    'month.moreViewTitle.padding': '12px 17px 0 17px',\n    'month.moreViewList.padding': '0 17px',\n\n    // week header 'dayname'\n    'week.dayname.height': '42px',\n    'week.dayname.borderTop': '1px solid #e5e5e5',\n    'week.dayname.borderBottom': '1px solid #e5e5e5',\n    'week.dayname.borderLeft': 'inherit',\n    'week.dayname.paddingLeft': '0',\n    'week.dayname.backgroundColor': 'inherit',\n    'week.dayname.textAlign': 'left',\n    'week.today.color': '#333',\n    'week.pastDay.color': '#bbb',\n\n    // week vertical panel 'vpanel'\n    'week.vpanelSplitter.border': '1px solid #e5e5e5',\n    'week.vpanelSplitter.height': '3px',\n\n    // week daygrid 'daygrid'\n    'week.daygrid.borderRight': '1px solid #e5e5e5',\n    'week.daygrid.backgroundColor': 'inherit',\n\n    'week.daygridLeft.width': '72px',\n    'week.daygridLeft.backgroundColor': 'inherit',\n    'week.daygridLeft.paddingRight': '8px',\n    'week.daygridLeft.borderRight': '1px solid #e5e5e5',\n\n    'week.today.backgroundColor': 'rgba(81, 92, 230, 0.05)',\n    'week.weekend.backgroundColor': 'inherit',\n\n    // week timegrid 'timegrid'\n    'week.timegridLeft.width': '72px',\n    'week.timegridLeft.backgroundColor': 'inherit',\n    'week.timegridLeft.borderRight': '1px solid #e5e5e5',\n    'week.timegridLeft.fontSize': '11px',\n    'week.timegridLeftTimezoneLabel.height': '40px',\n    'week.timegridLeftAdditionalTimezone.backgroundColor': 'white',\n\n    'week.timegridOneHour.height': '52px',\n    'week.timegridHalfHour.height': '26px',\n    'week.timegridHalfHour.borderBottom': 'none',\n    'week.timegridHorizontalLine.borderBottom': '1px solid #e5e5e5',\n\n    'week.timegrid.paddingRight': '8px',\n    'week.timegrid.borderRight': '1px solid #e5e5e5',\n    'week.timegridSchedule.borderRadius': '2px',\n    'week.timegridSchedule.paddingLeft': '2px',\n\n    'week.currentTime.color': '#515ce6',\n    'week.currentTime.fontSize': '11px',\n    'week.currentTime.fontWeight': 'normal',\n\n    'week.pastTime.color': '#bbb',\n    'week.pastTime.fontWeight': 'normal',\n\n    'week.futureTime.color': '#333',\n    'week.futureTime.fontWeight': 'normal',\n\n    'week.currentTimeLinePast.border': '1px dashed #515ce6',\n    'week.currentTimeLineBullet.backgroundColor': '#515ce6',\n    'week.currentTimeLineToday.border': '1px solid #515ce6',\n    'week.currentTimeLineFuture.border': 'none',\n\n    // week creation guide style\n    'week.creationGuide.color': '#515ce6',\n    'week.creationGuide.fontSize': '11px',\n    'week.creationGuide.fontWeight': 'bold',\n\n    // week daygrid schedule style\n    'week.dayGridSchedule.borderRadius': '2px',\n    'week.dayGridSchedule.height': '24px',\n    'week.dayGridSchedule.marginTop': '2px',\n    'week.dayGridSchedule.marginLeft': '8px',\n    'week.dayGridSchedule.marginRight': '8px'\n};\n */\nvar themeConfig = {\n    'common.border': '1px solid #e5e5e5',\n    'common.backgroundColor': 'white',\n    'common.holiday.color': '#ff4040',\n    'common.saturday.color': '#333',\n    'common.dayname.color': '#333',\n    'common.today.color': '#333',\n\n    // creation guide style\n    'common.creationGuide.backgroundColor': 'rgba(81, 92, 230, 0.05)',\n    'common.creationGuide.border': '1px solid #515ce6',\n\n    // month header 'dayname'\n    'month.dayname.height': '31px',\n    'month.dayname.borderLeft': '1px solid #e5e5e5',\n    'month.dayname.paddingLeft': '10px',\n    'month.dayname.paddingRight': '10px',\n    'month.dayname.backgroundColor': 'inherit',\n    'month.dayname.fontSize': '12px',\n    'month.dayname.fontWeight': 'normal',\n    'month.dayname.textAlign': 'left',\n\n    // month day grid cell 'day'\n    'month.holidayExceptThisMonth.color': 'rgba(255, 64, 64, 0.4)',\n    'month.dayExceptThisMonth.color': 'rgba(51, 51, 51, 0.4)',\n    'month.weekend.backgroundColor': 'inherit',\n    'month.day.fontSize': '14px',\n\n    // month schedule style\n    'month.schedule.borderRadius': '2px',\n    'month.schedule.height': '24px',\n    'month.schedule.marginTop': '2px',\n    'month.schedule.marginLeft': '8px',\n    'month.schedule.marginRight': '8px',\n\n    // month more view\n    'month.moreView.border': '1px solid #d5d5d5',\n    'month.moreView.boxShadow': '0 2px 6px 0 rgba(0, 0, 0, 0.1)',\n    'month.moreView.backgroundColor': 'white',\n    'month.moreView.paddingBottom': '17px',\n    'month.moreViewTitle.height': '44px',\n    'month.moreViewTitle.marginBottom': '12px',\n    'month.moreViewTitle.backgroundColor': 'inherit',\n    'month.moreViewTitle.borderBottom': 'none',\n    'month.moreViewTitle.padding': '12px 17px 0 17px',\n    'month.moreViewList.padding': '0 17px',\n\n    // week header 'dayname'\n    'week.dayname.height': '42px',\n    'week.dayname.borderTop': '1px solid #e5e5e5',\n    'week.dayname.borderBottom': '1px solid #e5e5e5',\n    'week.dayname.borderLeft': 'inherit',\n    'week.dayname.paddingLeft': '0',\n    'week.dayname.backgroundColor': 'inherit',\n    'week.dayname.textAlign': 'left',\n    'week.today.color': '#333',\n    'week.pastDay.color': '#bbb',\n\n    // week vertical panel 'vpanel'\n    'week.vpanelSplitter.border': '1px solid #e5e5e5',\n    'week.vpanelSplitter.height': '3px',\n\n    // week daygrid 'daygrid'\n    'week.daygrid.borderRight': '1px solid #e5e5e5',\n    'week.daygrid.backgroundColor': 'inherit',\n\n    'week.daygridLeft.width': '72px',\n    'week.daygridLeft.backgroundColor': 'inherit',\n    'week.daygridLeft.paddingRight': '8px',\n    'week.daygridLeft.borderRight': '1px solid #e5e5e5',\n\n    'week.today.backgroundColor': 'rgba(81, 92, 230, 0.05)',\n    'week.weekend.backgroundColor': 'inherit',\n\n    // week timegrid 'timegrid'\n    'week.timegridLeft.width': '72px',\n    'week.timegridLeft.backgroundColor': 'inherit',\n    'week.timegridLeft.borderRight': '1px solid #e5e5e5',\n    'week.timegridLeft.fontSize': '11px',\n    'week.timegridLeftTimezoneLabel.height': '40px',\n    'week.timegridLeftAdditionalTimezone.backgroundColor': 'white',\n\n    'week.timegridOneHour.height': '52px',\n    'week.timegridHalfHour.height': '26px',\n    'week.timegridHalfHour.borderBottom': 'none',\n    'week.timegridHorizontalLine.borderBottom': '1px solid #e5e5e5',\n\n    'week.timegrid.paddingRight': '8px',\n    'week.timegrid.borderRight': '1px solid #e5e5e5',\n    'week.timegridSchedule.borderRadius': '2px',\n    'week.timegridSchedule.paddingLeft': '2px',\n\n    'week.currentTime.color': '#515ce6',\n    'week.currentTime.fontSize': '11px',\n    'week.currentTime.fontWeight': 'normal',\n\n    'week.pastTime.color': '#bbb',\n    'week.pastTime.fontWeight': 'normal',\n\n    'week.futureTime.color': '#333',\n    'week.futureTime.fontWeight': 'normal',\n\n    'week.currentTimeLinePast.border': '1px dashed #515ce6',\n    'week.currentTimeLineBullet.backgroundColor': '#515ce6',\n    'week.currentTimeLineToday.border': '1px solid #515ce6',\n    'week.currentTimeLineFuture.border': 'none',\n\n    // week creation guide style\n    'week.creationGuide.color': '#515ce6',\n    'week.creationGuide.fontSize': '11px',\n    'week.creationGuide.fontWeight': 'bold',\n\n    // week daygrid schedule style\n    'week.dayGridSchedule.borderRadius': '2px',\n    'week.dayGridSchedule.height': '24px',\n    'week.dayGridSchedule.marginTop': '2px',\n    'week.dayGridSchedule.marginLeft': '8px',\n    'week.dayGridSchedule.marginRight': '8px'\n};\n\nmodule.exports = themeConfig;\n","/**\n * @fileoverview The standard theme\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\n/**\n * \"common\" prefix is for entire calendar. \"common\" properties can be overriden by \"week\", \"month\".\n * \"week\" prefix is for weekly and daily view.\n * \"month\" prefix is for monthly view.\n */\nvar theme = {\n    'common.border': '1px solid #e5e5e5',\n    'common.backgroundColor': 'white',\n    'common.holiday.color': '#ff4040',\n    'common.saturday.color': '#333',\n    'common.dayname.color': '#333',\n    'common.today.color': '#333',\n\n    // creation guide style\n    'common.creationGuide.backgroundColor': 'rgba(81, 92, 230, 0.05)',\n    'common.creationGuide.border': '1px solid #515ce6',\n\n    // month header 'dayname'\n    'month.dayname.height': '31px',\n    'month.dayname.borderLeft': 'none',\n    'month.dayname.paddingLeft': '10px',\n    'month.dayname.paddingRight': '0',\n    'month.dayname.backgroundColor': 'inherit',\n    'month.dayname.fontSize': '12px',\n    'month.dayname.fontWeight': 'normal',\n    'month.dayname.textAlign': 'left',\n\n    // month day grid cell 'day'\n    'month.holidayExceptThisMonth.color': 'rgba(255, 64, 64, 0.4)',\n    'month.dayExceptThisMonth.color': 'rgba(51, 51, 51, 0.4)',\n    'month.weekend.backgroundColor': 'inherit',\n    'month.day.fontSize': '14px',\n\n    // month schedule style\n    'month.schedule.borderRadius': '2px',\n    'month.schedule.height': '24px',\n    'month.schedule.marginTop': '2px',\n    'month.schedule.marginLeft': '8px',\n    'month.schedule.marginRight': '8px',\n\n    // month more view\n    'month.moreView.border': '1px solid #d5d5d5',\n    'month.moreView.boxShadow': '0 2px 6px 0 rgba(0, 0, 0, 0.1)',\n    'month.moreView.backgroundColor': 'white',\n    'month.moreView.paddingBottom': '17px',\n    'month.moreViewTitle.height': '44px',\n    'month.moreViewTitle.marginBottom': '12px',\n    'month.moreViewTitle.borderBottom': 'none',\n    'month.moreViewTitle.padding': '12px 17px 0 17px',\n    'month.moreViewList.padding': '0 17px',\n\n    // week header 'dayname'\n    'week.dayname.height': '42px',\n    'week.dayname.borderTop': '1px solid #e5e5e5',\n    'week.dayname.borderBottom': '1px solid #e5e5e5',\n    'week.dayname.borderLeft': 'none',\n    'week.dayname.paddingLeft': '0',\n    'week.dayname.backgroundColor': 'inherit',\n    'week.dayname.textAlign': 'left',\n    'week.today.color': 'inherit',\n    'week.pastDay.color': '#bbb',\n\n    // week vertical panel 'vpanel'\n    'week.vpanelSplitter.border': '1px solid #e5e5e5',\n    'week.vpanelSplitter.height': '3px',\n\n    // week daygrid 'daygrid'\n    'week.daygrid.borderRight': '1px solid #e5e5e5',\n    'week.daygrid.backgroundColor': 'inherit',\n\n    'week.daygridLeft.width': '72px',\n    'week.daygridLeft.backgroundColor': 'inherit',\n    'week.daygridLeft.paddingRight': '8px',\n    'week.daygridLeft.borderRight': '1px solid #e5e5e5',\n\n    'week.today.backgroundColor': 'rgba(81, 92, 230, 0.05)',\n    'week.weekend.backgroundColor': 'inherit',\n\n    // week timegrid 'timegrid'\n    'week.timegridLeft.width': '72px',\n    'week.timegridLeft.backgroundColor': 'inherit',\n    'week.timegridLeft.borderRight': '1px solid #e5e5e5',\n    'week.timegridLeft.fontSize': '11px',\n\n    'week.timegridOneHour.height': '52px',\n    'week.timegridHalfHour.height': '26px',\n    'week.timegridHalfHour.borderBottom': 'none',\n    'week.timegridHorizontalLine.borderBottom': '1px solid #e5e5e5',\n\n    'week.timegrid.paddingRight': '8px',\n    'week.timegrid.borderRight': '1px solid #e5e5e5',\n    'week.timegridSchedule.borderRadius': '2px',\n    'week.timegridSchedule.paddingLeft': '2px',\n\n    'week.currentTime.color': '#515ce6',\n    'week.currentTime.fontSize': '11px',\n    'week.currentTime.fontWeight': 'normal',\n\n    'week.currentTimeLinePast.border': '1px dashed #515ce6',\n    'week.currentTimeLineBullet.backgroundColor': '#515ce6',\n    'week.currentTimeLineToday.border': '1px solid #515ce6',\n    'week.currentTimeLineFuture.border': 'none',\n\n    // week creation guide style\n    'week.creationGuide.color': '#515ce6',\n    'week.creationGuide.fontSize': '11px',\n    'week.creationGuide.fontWeight': 'bold',\n\n    // week daygrid schedule style\n    'week.dayGridSchedule.borderRadius': '2px',\n    'week.dayGridSchedule.height': '24px',\n    'week.dayGridSchedule.marginTop': '2px',\n    'week.dayGridSchedule.marginLeft': '8px',\n    'week.dayGridSchedule.marginRight': '8px'\n};\n\nmodule.exports = theme;\n","/**\n * @fileoverview The all configuration of a theme\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar themeStandard = require('./standard');\nvar themeConfig = require('./themeConfig');\nvar common = require('../common/common');\n\n/**\n * Theme manager\n * @param {object} customTheme - custom theme\n */\nfunction Theme(customTheme) {\n    var theme = customTheme || themeStandard;\n\n    /**\n     * @type {util.HashMap}\n     */\n    this._map = new util.HashMap();\n\n    this.setStyles(theme);\n}\n\n/**\n * Get a style with key\n * @param {string} key - key for getting a style\n * @returns {string|undefined} style\n */\nTheme.prototype.getStyle = function(key) {\n    return this._map.get(key);\n};\n\n/**\n * Set a style\n * @param {string} key - key for setting a style\n * @param {string} style - style value\n * @returns {boolean} true if the give key is valid or false\n */\nTheme.prototype.setStyle = function(key, style) {\n    var styles = {};\n    styles[key] = style;\n\n    return this.setStyles(styles).length === 0;\n};\n\n/**\n * Set styles\n * @param {object} styles - multiple styles map\n * @returns {Array.<string>} error keys\n */\nTheme.prototype.setStyles = function(styles) {\n    var errors = [];\n\n    util.forEach(styles, function(style, key) {\n        if (util.isUndefined(themeConfig[key])) {\n            errors.push(key);\n        } else {\n            this._map.set(key, style);\n            common.set(this, key, style);\n        }\n    }, this);\n\n    // apply missing styles which have to be default\n    util.forEach(themeConfig, function(style, key) {\n        if (!this.getStyle(key)) {\n            this._map.set(key, style);\n            common.set(this, key, style);\n        }\n    }, this);\n\n    return errors;\n};\n\n/**\n * Delete all styles\n */\nTheme.prototype.clear = function() {\n    var keys = this._map.keys();\n    var categories = {};\n    util.forEach(keys, function(key) {\n        var category = key.split('.')[0];\n        if (!categories[category]) {\n            categories[category] = category;\n        }\n    });\n\n    util.forEach(categories, function(child) {\n        delete this[child];\n    }, this);\n\n    this._map.removeAll();\n};\n\nmodule.exports = Theme;\n","/**\n * @fileoverview Mixin module for models.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar TZDate = require('../common/timezone').Date;\nvar util = require('tui-code-snippet');\nvar spaceRx = /^\\s*|\\s*$/g,\n    model;\n\nvar datetime = require('../common/datetime');\n\n/**\n * Mixin module for models.\n * @mixin\n */\nmodel = {\n    /**\n     * string trim\n     * @param {string} str string to trim\n     * @returns {string} trimed string\n     */\n    trim: function(str) {\n        return str.replace(spaceRx, '');\n    },\n    /**\n     * The collections of validator functions.\n     */\n    validators: {\n        /**\n         * check all of supplied fields(property) is not undefined or empty string.\n         * @param {object} instance model instance.\n         * @param {string[]} fields property names to check.\n         * @returns {boolean} return true when supplied fields are not undefined or empty string.\n         */\n        required: function(instance, fields) {\n            var valid = true,\n                isValid = function(obj) {\n                    return !util.isUndefined(obj) && model.trim(obj) !== '';\n                };\n\n            util.forEach(fields, function(fieldName) {\n                valid = isValid(instance[fieldName]);\n\n                return valid;\n            });\n\n            return valid;\n        },\n\n        /**\n         * check supplied fields are valid dates and valid date ranges.\n         * @param {object} instance model instance.\n         * @param {Date[]} fields array of date range (start, end)\n         * @returns {boolean} is valid date range?\n         */\n        dateRange: function(instance, fields) {\n            var start, end;\n\n            if (!util.isExisty(instance) || fields.length !== 2) {\n                return true;\n            }\n\n            start = new TZDate(instance[fields[0]]);\n            end = new TZDate(instance[fields[1]]);\n\n            if (!datetime.isValid(start) || !datetime.isValid(end)) {\n                return false;\n            }\n\n            if (datetime.compare(start, end) === 1) {\n                return false;\n            }\n\n            return true;\n        }\n    },\n\n    /**\n     * Check validate for model instance.\n     *\n     * The validate are works on a basis of constructor's \"schema\" property.\n     *\n     * You can customize validators add some method to model#validators.\n     * @returns {Boolean} model is valid?\n     */\n    isValid: function() {\n        var self = this,\n            schema = this.constructor.schema,\n            validators = model.validators,\n            validator,\n            valid = true;\n\n        if (!schema) {\n            return true;\n        }\n\n        util.forEach(schema, function(values, validatorName) {\n            validator = validators[validatorName];\n\n            if (validator) {\n                valid = validator(self, values);\n\n                return valid; // returning false can stop this loop\n            }\n\n            return true;\n        });\n\n        return valid;\n    },\n\n    /**\n     * Make data object form instance.\n     *\n     * It return object fill with all owned properties but exclude functions.\n     * @returns {object} Data object\n     */\n    parameterize: function() {\n        var param = {},\n            isFunc = util.isFunction;\n\n        util.forEach(this, function(value, propName) {\n            if (!isFunc(value)) {\n                param[propName] = value;\n            }\n        });\n\n        return param;\n    },\n\n    /**\n     * Mixin model module to supplied target.\n     * @param {Object} target The object of want to mixed.\n     * @example\n     * function Man() {\n     *     this.name = 'john';\n     * }\n     * model.mixin(Man.prototype);\n     */\n    mixin: function(target) {\n        util.forEach(model, function(method, name) {\n            if (name !== 'mixin') {\n                target[name] = method;\n            }\n        });\n    }\n};\n\nmodule.exports = model;\n","/**\n * @fileoverview Dirty flagging module for objects.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar common = require('tui-code-snippet');\nvar existy = common.isExisty,\n    pick = common.pick,\n    isFunc = common.isFunction;\n\n/**\n * Mixin module for dirty flagging on specific objects.\n * @mixin\n * @example\n * var obj = { hello: 'good', test: '123' };\n * dirty.mixin(obj);\n *\n * obj.set('hello', 'world');\n * obj.isDirty();    // true\n * obj.isPropChanged('hello');    // true\n * obj.isPropChanged('test');    // false\n * obj.dirty(false);\n *\n * obj.isDirty();    // false\n * obj.isPropChanged('hello');    // false\n */\nvar dirty = {\n    /**\n     * Set property value with dirty flagging.\n     * @param {string} propName Property name.\n     * @param {*} value Proprty value.\n     */\n    set: function(propName, value) {\n        var originValue = this[propName];\n\n        if (originValue === value) {\n            return;\n        }\n\n        this[propName] = value;\n\n        if (!this._changed) {\n            /**\n             * Save changed properties.\n             * @memberof dirty\n             * @name _changed\n             * @type {Object}\n             */\n            this._changed = {};\n        }\n\n        this._changed[propName] = true;\n\n        /**\n         * Dirty flag\n         * @type {Boolean}\n         * @name _dirty\n         * @memberof dirty\n         */\n        this._dirty = true;\n    },\n\n    /**\n     * Check dirty flag.\n     * @returns {boolean} Property is changed.\n     */\n    isDirty: function() {\n        return !!this._dirty;\n    },\n\n    /**\n     * Set dirty flag manually.\n     * @param {Boolean} [toDirty=true] This will set dirty flag directly.\n     */\n    dirty: function(toDirty) {\n        toDirty = existy(toDirty) ? toDirty : true;\n\n        /* istanbul ignore else */\n        if (!toDirty) {\n            this._changed = {};\n        }\n\n        this._dirty = toDirty;\n    },\n\n    /**\n     * Delete property safety.\n     * @param {String} propName The name of property.\n     */\n    deleteProp: function(propName) {\n        delete this[propName];\n\n        if (this._changed) {\n            delete this._changed[propName];\n        }\n    },\n\n    /**\n     * Check the changes with specific property.\n     * @param {String} propName The name of property you want.\n     * @returns {boolean} Is property changed?\n     */\n    isPropChanged: function(propName) {\n        if (!this._changed) {\n            return false;\n        }\n\n        return this._changed[propName] === true;\n    },\n\n    /**\n     * Mixin to specific objects.\n     * @param {Object} target The object to mix this module.\n     * @memberof module:util/dirty\n     * @example\n     * function Animal() {}\n     * dirty.mixin(Animal.prototype);\n     */\n    mixin: function(target) {\n        var methodFilterR = /(^_|mixin|wrap)/;\n\n        common.forEachOwnProperties(dirty, function(o, k) {\n            if (!methodFilterR.test(k)) {\n                target[k] = dirty[k];\n            }\n        });\n    },\n\n    /**\n     * Wrapper method for dirty flagging.\n     *\n     * This method invoke after invoked specific method that added by you.\n     *\n     * The method want to add are must exist before add.\n     * @param {object} target Target object to method wrap.\n     * @param {(string|object)} methodName\n     *  Method name to wrap or methodName: flag objects.\n     * @param {boolean} [flag=true]\n     *  this will used to flagging by dirty flagger after invoke the methods added by you.\n     * @memberof module:util/dirty\n     * @example\n     * function Animal(name) {\n     *     this.name = name;\n     * }\n     * Animal.prototype.growl = jasmine.createSpy('growl');\n     * Animal.prototype.test = function() {\n     *     return this.name;\n     * };\n     *\n     * dirty.mixin(Animal.prototype);\n     * // single\n     * dirty.wrap(Animal.prototype, 'growl', true);\n     * // multiple\n     * dirty.wrap(Animap.prototype, {\n     *     growl: true,\n     *     test: false\n     * });\n     *\n     */\n    wrap: function(target, methodName, flag) {\n        var wrap = dirty.wrap,\n            fn;\n\n        if (common.isObject(methodName)) {\n            common.forEachOwnProperties(methodName, function(_flag, _name) {\n                wrap(target, _name, _flag);\n            });\n\n            return;\n        }\n\n        flag = existy(flag) ? flag : true;\n\n        if (!target._wrapper) {\n            /**\n             * @param {function} _fn Original method to wrap.\n             * @param {boolean} flagToSet The boolean value to using dirty flagging.\n             * @returns {*} The result value of original method.\n             * @name _wrapper\n             * @memberof dirty\n             */\n            target._wrapper = function(_fn, flagToSet) {\n                return function() {\n                    var args = Array.prototype.slice.call(arguments);\n                    var result = _fn.apply(this, args); // eslint-disable-line\n                    this._dirty = flagToSet; // eslint-disable-line\n\n                    return result;\n                };\n            };\n        }\n\n        if (existy(pick(target, methodName)) &&\n            isFunc(target[methodName]) &&\n            !existy(pick(target, methodName, '_wrapped'))) {\n            fn = target[methodName];\n            target[methodName] = target._wrapper(fn, flag);\n            target[methodName]._wrapped = true;\n        }\n    }\n};\n\nmodule.exports = dirty;\n","/**\n * @fileoverview Base calendar controller\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar Schedule = require('../model/schedule');\nvar ScheduleViewModel = require('../model/viewModel/scheduleViewModel');\nvar datetime = require('../common/datetime');\nvar common = require('../common/common');\nvar Theme = require('../theme/theme');\n\n/**\n * @constructor\n * @param {object} options - options for base controller\n * @param {function} [options.groupFunc] - function for group each models {@see Collection#groupBy}\n * @param {themeConfig} [options.theme] - theme object\n * @mixes util.CustomEvents\n */\nfunction Base(options) {\n    options = options || {};\n\n    /**\n     * function for group each schedule models.\n     * @type {function}\n     * @param {ScheduleViewModel} viewModel - view model instance\n     * @returns {string} group key\n     */\n    this.groupFunc = options.groupFunc || function(viewModel) {\n        var model = viewModel.model;\n\n        if (viewModel.model.isAllDay) {\n            return 'allday';\n        }\n\n        if (model.category === 'time' && (model.end - model.start > datetime.MILLISECONDS_PER_DAY)) {\n            return 'allday';\n        }\n\n        return model.category;\n    };\n\n    /**\n     * schedules collection.\n     * @type {Collection}\n     */\n    this.schedules = common.createScheduleCollection();\n\n    /**\n     * Matrix for multidate schedules.\n     * @type {object.<string, array>}\n     */\n    this.dateMatrix = {};\n\n    /**\n     * Theme\n     * @type {Theme}\n     */\n    this.theme = new Theme(options.theme);\n\n    /**\n     * Calendar list\n     * @type {Array.<Calendar>}\n     */\n    this.calendars = [];\n}\n\n/**\n * Calculate contain dates in schedule.\n * @private\n * @param {Schedule} schedule The instance of schedule.\n * @returns {array} contain dates.\n */\nBase.prototype._getContainDatesInSchedule = function(schedule) {\n    var range = datetime.range(\n        datetime.start(schedule.getStarts()),\n        datetime.end(schedule.getEnds()),\n        datetime.MILLISECONDS_PER_DAY\n    );\n\n    return range;\n};\n\n/****************\n * CRUD Schedule\n ****************/\n\n/**\n * Create an schedule instance from raw data.\n * @emits Base#beforeCreateSchedule\n * @emits Base#createdSchedule\n * @param {object} options Data object to create schedule.\n * @param {boolean} silent - set true then don't fire events.\n * @returns {Schedule} The instance of Schedule that created.\n */\nBase.prototype.createSchedule = function(options, silent) {\n    var schedule,\n        scheduleData = {\n            data: options\n        };\n\n    /**\n     * @event Base#beforeCreateSchedule\n     * @type {Calendar~Schedule[]}\n     */\n    if (!this.invoke('beforeCreateSchedule', scheduleData)) {\n        return null;\n    }\n\n    schedule = this.addSchedule(Schedule.create(options));\n\n    if (!silent) {\n        /**\n         * @event Base#createdSchedule\n         * @type {Schedule}\n         */\n        this.fire('createdSchedule', schedule);\n    }\n\n    return schedule;\n};\n\n/**\n * @emits Base#beforeCreateSchedule\n * @emits Base#createdSchedule\n * @param {Calendar~Schedule[]} dataList - dataObject list to create schedule.\n * @param {boolean} [silent=false] - set true then don't fire events.\n * @returns {Schedule[]} The instance list of Schedule that created.\n */\nBase.prototype.createSchedules = function(dataList, silent) {\n    var self = this;\n\n    return util.map(dataList, function(data) {\n        return self.createSchedule(data, silent);\n    });\n};\n\n/**\n * Update an schedule.\n * @emits Base#updateSchedule\n * @param {Schedule} schedule - schedule instance to update\n * @param {object} options updated object data.\n * @returns {Schedule} updated schedule instance\n */\nBase.prototype.updateSchedule = function(schedule, options) {\n    var start = options.start || schedule.start;\n    var end = options.end || schedule.end;\n\n    options = options || {};\n\n    if (options.title) {\n        schedule.set('title', options.title);\n    }\n\n    if (options.body) {\n        schedule.set('body', options.body);\n    }\n\n    if (options.start || options.end) {\n        if (schedule.isAllDay) {\n            schedule.setAllDayPeriod(start, end);\n        } else {\n            schedule.setTimePeriod(start, end);\n        }\n    }\n\n    if (options.color) {\n        schedule.set('color', options.color);\n    }\n\n    if (options.bgColor) {\n        schedule.set('bgColor', options.bgColor);\n    }\n\n    if (options.borderColor) {\n        schedule.set('borderColor', options.borderColor);\n    }\n\n    if (options.origin) {\n        schedule.set('origin', options.origin);\n    }\n\n    if (!util.isUndefined(options.isAllDay)) {\n        schedule.set('isAllDay', options.isAllDay);\n    }\n\n    if (!util.isUndefined(options.isPending)) {\n        schedule.set('isPending', options.isPending);\n    }\n\n    if (!util.isUndefined(options.isFocused)) {\n        schedule.set('isFocused', options.isFocused);\n    }\n\n    if (options.location) {\n        schedule.set('location', options.location);\n    }\n\n    if (options.state) {\n        schedule.set('state', options.state);\n    }\n\n    this._removeFromMatrix(schedule);\n    this._addToMatrix(schedule);\n\n    /**\n     * @event Base#updateSchedule\n     */\n    this.fire('updateSchedule');\n\n    return schedule;\n};\n\n/**\n * Delete schedule instance from controller.\n * @param {Schedule} schedule - schedule instance to delete\n * @returns {Schedule} deleted model instance.\n */\nBase.prototype.deleteSchedule = function(schedule) {\n    this._removeFromMatrix(schedule);\n    this.schedules.remove(schedule);\n\n    return schedule;\n};\n\n/**\n * Set date matrix to supplied schedule instance.\n * @param {Schedule} schedule - instance of schedule.\n */\nBase.prototype._addToMatrix = function(schedule) {\n    var ownMatrix = this.dateMatrix;\n    var containDates = this._getContainDatesInSchedule(schedule);\n\n    util.forEach(containDates, function(date) {\n        var ymd = datetime.format(date, 'YYYYMMDD'),\n            matrix = ownMatrix[ymd] = ownMatrix[ymd] || [];\n\n        matrix.push(util.stamp(schedule));\n    });\n};\n\n/**\n * Remove schedule's id from matrix.\n * @param {Schedule} schedule - instance of schedule\n */\nBase.prototype._removeFromMatrix = function(schedule) {\n    var modelID = util.stamp(schedule);\n\n    util.forEach(this.dateMatrix, function(matrix) {\n        var index = util.inArray(modelID, matrix);\n\n        if (~index) {\n            matrix.splice(index, 1);\n        }\n    }, this);\n};\n\n/**\n * Add an schedule instance.\n * @emits Base#addedSchedule\n * @param {Schedule} schedule The instance of Schedule.\n * @param {boolean} silent - set true then don't fire events.\n * @returns {Schedule} The instance of Schedule that added.\n */\nBase.prototype.addSchedule = function(schedule, silent) {\n    this.schedules.add(schedule);\n    this._addToMatrix(schedule);\n\n    if (!silent) {\n        /**\n         * @event Base#addedSchedule\n         * @type {object}\n         */\n        this.fire('addedSchedule', schedule);\n    }\n\n    return schedule;\n};\n\n/**\n * split schedule model by ymd.\n * @param {Date} start - start date\n * @param {Date} end - end date\n * @param {Collection} scheduleCollection - collection of schedule model.\n * @returns {object.<string, Collection>} splitted schedule model collections.\n */\nBase.prototype.splitScheduleByDateRange = function(start, end, scheduleCollection) {\n    var range = datetime.range(\n            datetime.start(start),\n            datetime.end(end),\n            datetime.MILLISECONDS_PER_DAY\n        ),\n        ownMatrix = this.dateMatrix,\n        result = {};\n\n    util.forEachArray(range, function(date) {\n        var ymd = datetime.format(date, 'YYYYMMDD'),\n            matrix = ownMatrix[ymd],\n            collection;\n\n        collection = result[ymd] = common.createScheduleCollection();\n\n        if (matrix && matrix.length) {\n            util.forEachArray(matrix, function(id) {\n                scheduleCollection.doWhenHas(id, function(schedule) {\n                    collection.add(schedule);\n                });\n            });\n        }\n    });\n\n    return result;\n};\n\n/**\n * Return schedules in supplied date range.\n *\n * available only YMD.\n * @param {TZDate} start start date.\n * @param {TZDate} end end date.\n * @returns {object.<string, Collection>} schedule collection grouped by dates.\n */\nBase.prototype.findByDateRange = function(start, end) {\n    var range = datetime.range(\n            datetime.start(start),\n            datetime.end(end),\n            datetime.MILLISECONDS_PER_DAY\n        ),\n        ownSchedules = this.schedules.items,\n        ownMatrix = this.dateMatrix,\n        dformat = datetime.format,\n        result = {},\n        matrix,\n        ymd,\n        viewModels;\n\n    util.forEachArray(range, function(date) {\n        ymd = dformat(date, 'YYYYMMDD');\n        matrix = ownMatrix[ymd];\n        viewModels = result[ymd] = common.createScheduleCollection();\n\n        if (matrix && matrix.length) {\n            viewModels.add.apply(viewModels, util.map(matrix, function(id) {\n                return ScheduleViewModel.create(ownSchedules[id]);\n            }));\n        }\n    });\n\n    return result;\n};\n\nBase.prototype.clearSchedules = function() {\n    this.dateMatrix = {};\n    this.schedules.clear();\n    /**\n     * for inner view when clear schedules\n     * @event Base#clearSchedules\n     * @type {Schedule}\n     */\n    this.fire('clearSchedules');\n};\n\n/**\n * Set a theme.\n * @param {themeConfig} theme - theme keys, styles\n * @returns {Array.<string>} keys - error keys not predefined.\n */\nBase.prototype.setTheme = function(theme) {\n    return this.theme.setStyles(theme);\n};\n\n/**\n * Set calendar list\n * @param {Array.<Calendar>} calendars - calendar list\n */\nBase.prototype.setCalendars = function(calendars) {\n    this.calendars = calendars;\n};\n\n// mixin\nutil.CustomEvents.mixin(Base);\n\nmodule.exports = Base;\n","/**\n * @fileoverview Controller factory module.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar Base = require('../controller/base'),\n    Core = require('../controller/viewMixin/core'),\n    Week = require('../controller/viewMixin/week'),\n    Month = require('../controller/viewMixin/month');\n\n/**\n * Mixin object. create object property to target and mix to that\n * @param {object} from - source object\n * @param {object} to - target object\n * @param {string} propertyName - property name\n */\nfunction mixin(from, to, propertyName) {\n    var obj = to[propertyName] = {};\n\n    util.forEach(from, function(method, methodName) {\n        obj[methodName] = util.bind(method, to);\n    });\n}\n\n/**\n * @param {object} options - options for base controller\n * @param {function} [options.groupFunc] - function for group each models {@see Collection#groupBy}\n * @returns {Base} The controller instance.\n */\nmodule.exports = function(options) {\n    var controller = new Base(options);\n\n    mixin(Core, controller, 'Core');\n    mixin(Week, controller, 'Week');\n    mixin(Month, controller, 'Month');\n\n    // for Theme\n    controller.Core.theme = controller.theme;\n    controller.Week.theme = controller.theme;\n    controller.Month.theme = controller.theme;\n\n    return controller;\n};\n","/**\n * @fileoverview Layout view. wrap all view containers at outside.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar config = require('../config');\nvar domutil = require('../common/domutil');\nvar Collection = require('../common/collection');\nvar View = require('./view');\n\n/**\n * Layout view for toggle each child view. It will controlled via navigation UI.\n * @constructor\n * @extends {View}\n * @param {HTMLElement} container Container element to use layout view.\n * @param {Theme} theme - theme instance\n */\nfunction Layout(container, theme) {\n    container = domutil.appendHTMLElement('div', container, config.classname('layout'));\n\n    /**\n     * @type {HTMLElement}\n     */\n    this.container = container;\n\n    /*eslint-disable*/\n    /**\n     * @type {Collection} Child view collection.\n     */\n    this.children = new Collection(function(childView) {\n        return childView.viewName;\n    });\n    /* eslint-enable*/\n\n    /**\n     * @type {Theme}\n     */\n    this.theme = theme;\n\n    this.applyTheme();\n}\n\nutil.inherit(Layout, View);\n\n/**\n * Clear child views.\n */\nLayout.prototype.clear = function() {\n    this.children.each(function(childView) {\n        childView.destroy();\n    });\n\n    this.children.clear();\n    this.container.innerHTML = '';\n};\n\n/**\n * Remove child view.\n * @override\n * @param {(string|View)} viewName - name of view or instance.\n */\nLayout.prototype.removeChild = function(viewName) {\n    this.children.remove(viewName);\n};\n\n/**\n * Toggle child views.\n * @param {string} viewName - Name of view.\n */\nLayout.prototype.toggleChildView = function(viewName) {\n    var container,\n        prefix = ['add', 'remove'],\n        flag;\n\n    this.children.each(function(childView) {\n        container = childView.container;\n        flag = Number(childView.viewName === viewName);\n        domutil[prefix[flag] + 'Class'](container, config.classname('hidden'));\n    });\n};\n\nLayout.prototype.applyTheme = function() {\n    var style = this.container.style;\n    var theme = this.theme.common;\n\n    // background color\n    style.backgroundColor = theme.backgroundColor;\n};\n\nmodule.exports = Layout;\n","/* global window */\n'use strict';\n\nexports.__esModule = true;\n\nexports['default'] = function (Handlebars) {\n  /* istanbul ignore next */\n  var root = typeof global !== 'undefined' ? global : window,\n      $Handlebars = root.Handlebars;\n  /* istanbul ignore next */\n  Handlebars.noConflict = function () {\n    if (root.Handlebars === Handlebars) {\n      root.Handlebars = $Handlebars;\n    }\n    return Handlebars;\n  };\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL25vLWNvbmZsaWN0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O3FCQUNlLFVBQVMsVUFBVSxFQUFFOztBQUVsQyxNQUFJLElBQUksR0FBRyxPQUFPLE1BQU0sS0FBSyxXQUFXLEdBQUcsTUFBTSxHQUFHLE1BQU07TUFDdEQsV0FBVyxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUM7O0FBRWxDLFlBQVUsQ0FBQyxVQUFVLEdBQUcsWUFBVztBQUNqQyxRQUFJLElBQUksQ0FBQyxVQUFVLEtBQUssVUFBVSxFQUFFO0FBQ2xDLFVBQUksQ0FBQyxVQUFVLEdBQUcsV0FBVyxDQUFDO0tBQy9CO0FBQ0QsV0FBTyxVQUFVLENBQUM7R0FDbkIsQ0FBQztDQUNIIiwiZmlsZSI6Im5vLWNvbmZsaWN0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyogZ2xvYmFsIHdpbmRvdyAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oSGFuZGxlYmFycykge1xuICAvKiBpc3RhbmJ1bCBpZ25vcmUgbmV4dCAqL1xuICBsZXQgcm9vdCA9IHR5cGVvZiBnbG9iYWwgIT09ICd1bmRlZmluZWQnID8gZ2xvYmFsIDogd2luZG93LFxuICAgICAgJEhhbmRsZWJhcnMgPSByb290LkhhbmRsZWJhcnM7XG4gIC8qIGlzdGFuYnVsIGlnbm9yZSBuZXh0ICovXG4gIEhhbmRsZWJhcnMubm9Db25mbGljdCA9IGZ1bmN0aW9uKCkge1xuICAgIGlmIChyb290LkhhbmRsZWJhcnMgPT09IEhhbmRsZWJhcnMpIHtcbiAgICAgIHJvb3QuSGFuZGxlYmFycyA9ICRIYW5kbGViYXJzO1xuICAgIH1cbiAgICByZXR1cm4gSGFuZGxlYmFycztcbiAgfTtcbn1cbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\nexports.checkRevision = checkRevision;\nexports.template = template;\nexports.wrapProgram = wrapProgram;\nexports.resolvePartial = resolvePartial;\nexports.invokePartial = invokePartial;\nexports.noop = noop;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// istanbul ignore next\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }\n\nvar _utils = require('./utils');\n\nvar Utils = _interopRequireWildcard(_utils);\n\nvar _exception = require('./exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nvar _base = require('./base');\n\nfunction checkRevision(compilerInfo) {\n  var compilerRevision = compilerInfo && compilerInfo[0] || 1,\n      currentRevision = _base.COMPILER_REVISION;\n\n  if (compilerRevision !== currentRevision) {\n    if (compilerRevision < currentRevision) {\n      var runtimeVersions = _base.REVISION_CHANGES[currentRevision],\n          compilerVersions = _base.REVISION_CHANGES[compilerRevision];\n      throw new _exception2['default']('Template was precompiled with an older version of Handlebars than the current runtime. ' + 'Please update your precompiler to a newer version (' + runtimeVersions + ') or downgrade your runtime to an older version (' + compilerVersions + ').');\n    } else {\n      // Use the embedded version info since the runtime doesn't know about this revision yet\n      throw new _exception2['default']('Template was precompiled with a newer version of Handlebars than the current runtime. ' + 'Please update your runtime to a newer version (' + compilerInfo[1] + ').');\n    }\n  }\n}\n\nfunction template(templateSpec, env) {\n  /* istanbul ignore next */\n  if (!env) {\n    throw new _exception2['default']('No environment passed to template');\n  }\n  if (!templateSpec || !templateSpec.main) {\n    throw new _exception2['default']('Unknown template object: ' + typeof templateSpec);\n  }\n\n  templateSpec.main.decorator = templateSpec.main_d;\n\n  // Note: Using env.VM references rather than local var references throughout this section to allow\n  // for external users to override these as psuedo-supported APIs.\n  env.VM.checkRevision(templateSpec.compiler);\n\n  function invokePartialWrapper(partial, context, options) {\n    if (options.hash) {\n      context = Utils.extend({}, context, options.hash);\n      if (options.ids) {\n        options.ids[0] = true;\n      }\n    }\n\n    partial = env.VM.resolvePartial.call(this, partial, context, options);\n    var result = env.VM.invokePartial.call(this, partial, context, options);\n\n    if (result == null && env.compile) {\n      options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env);\n      result = options.partials[options.name](context, options);\n    }\n    if (result != null) {\n      if (options.indent) {\n        var lines = result.split('\\n');\n        for (var i = 0, l = lines.length; i < l; i++) {\n          if (!lines[i] && i + 1 === l) {\n            break;\n          }\n\n          lines[i] = options.indent + lines[i];\n        }\n        result = lines.join('\\n');\n      }\n      return result;\n    } else {\n      throw new _exception2['default']('The partial ' + options.name + ' could not be compiled when running in runtime-only mode');\n    }\n  }\n\n  // Just add water\n  var container = {\n    strict: function strict(obj, name) {\n      if (!(name in obj)) {\n        throw new _exception2['default']('\"' + name + '\" not defined in ' + obj);\n      }\n      return obj[name];\n    },\n    lookup: function lookup(depths, name) {\n      var len = depths.length;\n      for (var i = 0; i < len; i++) {\n        if (depths[i] && depths[i][name] != null) {\n          return depths[i][name];\n        }\n      }\n    },\n    lambda: function lambda(current, context) {\n      return typeof current === 'function' ? current.call(context) : current;\n    },\n\n    escapeExpression: Utils.escapeExpression,\n    invokePartial: invokePartialWrapper,\n\n    fn: function fn(i) {\n      var ret = templateSpec[i];\n      ret.decorator = templateSpec[i + '_d'];\n      return ret;\n    },\n\n    programs: [],\n    program: function program(i, data, declaredBlockParams, blockParams, depths) {\n      var programWrapper = this.programs[i],\n          fn = this.fn(i);\n      if (data || depths || blockParams || declaredBlockParams) {\n        programWrapper = wrapProgram(this, i, fn, data, declaredBlockParams, blockParams, depths);\n      } else if (!programWrapper) {\n        programWrapper = this.programs[i] = wrapProgram(this, i, fn);\n      }\n      return programWrapper;\n    },\n\n    data: function data(value, depth) {\n      while (value && depth--) {\n        value = value._parent;\n      }\n      return value;\n    },\n    merge: function merge(param, common) {\n      var obj = param || common;\n\n      if (param && common && param !== common) {\n        obj = Utils.extend({}, common, param);\n      }\n\n      return obj;\n    },\n    // An empty object to use as replacement for null-contexts\n    nullContext: Object.seal({}),\n\n    noop: env.VM.noop,\n    compilerInfo: templateSpec.compiler\n  };\n\n  function ret(context) {\n    var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n    var data = options.data;\n\n    ret._setup(options);\n    if (!options.partial && templateSpec.useData) {\n      data = initData(context, data);\n    }\n    var depths = undefined,\n        blockParams = templateSpec.useBlockParams ? [] : undefined;\n    if (templateSpec.useDepths) {\n      if (options.depths) {\n        depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;\n      } else {\n        depths = [context];\n      }\n    }\n\n    function main(context /*, options*/) {\n      return '' + templateSpec.main(container, context, container.helpers, container.partials, data, blockParams, depths);\n    }\n    main = executeDecorators(templateSpec.main, main, container, options.depths || [], data, blockParams);\n    return main(context, options);\n  }\n  ret.isTop = true;\n\n  ret._setup = function (options) {\n    if (!options.partial) {\n      container.helpers = container.merge(options.helpers, env.helpers);\n\n      if (templateSpec.usePartial) {\n        container.partials = container.merge(options.partials, env.partials);\n      }\n      if (templateSpec.usePartial || templateSpec.useDecorators) {\n        container.decorators = container.merge(options.decorators, env.decorators);\n      }\n    } else {\n      container.helpers = options.helpers;\n      container.partials = options.partials;\n      container.decorators = options.decorators;\n    }\n  };\n\n  ret._child = function (i, data, blockParams, depths) {\n    if (templateSpec.useBlockParams && !blockParams) {\n      throw new _exception2['default']('must pass block params');\n    }\n    if (templateSpec.useDepths && !depths) {\n      throw new _exception2['default']('must pass parent depths');\n    }\n\n    return wrapProgram(container, i, templateSpec[i], data, 0, blockParams, depths);\n  };\n  return ret;\n}\n\nfunction wrapProgram(container, i, fn, data, declaredBlockParams, blockParams, depths) {\n  function prog(context) {\n    var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n    var currentDepths = depths;\n    if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {\n      currentDepths = [context].concat(depths);\n    }\n\n    return fn(container, context, container.helpers, container.partials, options.data || data, blockParams && [options.blockParams].concat(blockParams), currentDepths);\n  }\n\n  prog = executeDecorators(fn, prog, container, depths, data, blockParams);\n\n  prog.program = i;\n  prog.depth = depths ? depths.length : 0;\n  prog.blockParams = declaredBlockParams || 0;\n  return prog;\n}\n\nfunction resolvePartial(partial, context, options) {\n  if (!partial) {\n    if (options.name === '@partial-block') {\n      partial = options.data['partial-block'];\n    } else {\n      partial = options.partials[options.name];\n    }\n  } else if (!partial.call && !options.name) {\n    // This is a dynamic partial that returned a string\n    options.name = partial;\n    partial = options.partials[partial];\n  }\n  return partial;\n}\n\nfunction invokePartial(partial, context, options) {\n  // Use the current closure context to save the partial-block if this partial\n  var currentPartialBlock = options.data && options.data['partial-block'];\n  options.partial = true;\n  if (options.ids) {\n    options.data.contextPath = options.ids[0] || options.data.contextPath;\n  }\n\n  var partialBlock = undefined;\n  if (options.fn && options.fn !== noop) {\n    (function () {\n      options.data = _base.createFrame(options.data);\n      // Wrapper function to get access to currentPartialBlock from the closure\n      var fn = options.fn;\n      partialBlock = options.data['partial-block'] = function partialBlockWrapper(context) {\n        var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n        // Restore the partial-block from the closure for the execution of the block\n        // i.e. the part inside the block of the partial call.\n        options.data = _base.createFrame(options.data);\n        options.data['partial-block'] = currentPartialBlock;\n        return fn(context, options);\n      };\n      if (fn.partials) {\n        options.partials = Utils.extend({}, options.partials, fn.partials);\n      }\n    })();\n  }\n\n  if (partial === undefined && partialBlock) {\n    partial = partialBlock;\n  }\n\n  if (partial === undefined) {\n    throw new _exception2['default']('The partial ' + options.name + ' could not be found');\n  } else if (partial instanceof Function) {\n    return partial(context, options);\n  }\n}\n\nfunction noop() {\n  return '';\n}\n\nfunction initData(context, data) {\n  if (!data || !('root' in data)) {\n    data = data ? _base.createFrame(data) : {};\n    data.root = context;\n  }\n  return data;\n}\n\nfunction executeDecorators(fn, prog, container, depths, data, blockParams) {\n  if (fn.decorator) {\n    var props = {};\n    prog = fn.decorator(prog, props, container, depths && depths[0], data, blockParams, depths);\n    Utils.extend(prog, props);\n  }\n  return prog;\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3J1bnRpbWUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7cUJBQXVCLFNBQVM7O0lBQXBCLEtBQUs7O3lCQUNLLGFBQWE7Ozs7b0JBQzhCLFFBQVE7O0FBRWxFLFNBQVMsYUFBYSxDQUFDLFlBQVksRUFBRTtBQUMxQyxNQUFNLGdCQUFnQixHQUFHLFlBQVksSUFBSSxZQUFZLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQzt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3JhdG9yKHByb2csIHByb3BzLCBjb250YWluZXIsIGRlcHRocyAmJiBkZXB0aHNbMF0sIGRhdGEsIGJsb2NrUGFyYW1zLCBkZXB0aHMpO1xuICAgIFV0aWxzLmV4dGVuZChwcm9nLCBwcm9wcyk7XG4gIH1cbiAgcmV0dXJuIHByb2c7XG59XG4iXX0=\n","// Build out our basic SafeString type\n'use strict';\n\nexports.__esModule = true;\nfunction SafeString(string) {\n  this.string = string;\n}\n\nSafeString.prototype.toString = SafeString.prototype.toHTML = function () {\n  return '' + this.string;\n};\n\nexports['default'] = SafeString;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3NhZmUtc3RyaW5nLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFDQSxTQUFTLFVBQVUsQ0FBQyxNQUFNLEVBQUU7QUFDMUIsTUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7Q0FDdEI7O0FBRUQsVUFBVSxDQUFDLFNBQVMsQ0FBQyxRQUFRLEdBQUcsVUFBVSxDQUFDLFNBQVMsQ0FBQyxNQUFNLEdBQUcsWUFBVztBQUN2RSxTQUFPLEVBQUUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDO0NBQ3pCLENBQUM7O3FCQUVhLFVBQVUiLCJmaWxlIjoic2FmZS1zdHJpbmcuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBCdWlsZCBvdXQgb3VyIGJhc2ljIFNhZmVTdHJpbmcgdHlwZVxuZnVuY3Rpb24gU2FmZVN0cmluZyhzdHJpbmcpIHtcbiAgdGhpcy5zdHJpbmcgPSBzdHJpbmc7XG59XG5cblNhZmVTdHJpbmcucHJvdG90eXBlLnRvU3RyaW5nID0gU2FmZVN0cmluZy5wcm90b3R5cGUudG9IVE1MID0gZnVuY3Rpb24oKSB7XG4gIHJldHVybiAnJyArIHRoaXMuc3RyaW5nO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgU2FmZVN0cmluZztcbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('./utils');\n\nvar logger = {\n  methodMap: ['debug', 'info', 'warn', 'error'],\n  level: 'info',\n\n  // Maps a given level value to the `methodMap` indexes above.\n  lookupLevel: function lookupLevel(level) {\n    if (typeof level === 'string') {\n      var levelMap = _utils.indexOf(logger.methodMap, level.toLowerCase());\n      if (levelMap >= 0) {\n        level = levelMap;\n      } else {\n        level = parseInt(level, 10);\n      }\n    }\n\n    return level;\n  },\n\n  // Can be overridden in the host environment\n  log: function log(level) {\n    level = logger.lookupLevel(level);\n\n    if (typeof console !== 'undefined' && logger.lookupLevel(logger.level) <= level) {\n      var method = logger.methodMap[level];\n      if (!console[method]) {\n        // eslint-disable-line no-console\n        method = 'log';\n      }\n\n      for (var _len = arguments.length, message = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        message[_key - 1] = arguments[_key];\n      }\n\n      console[method].apply(console, message); // eslint-disable-line no-console\n    }\n  }\n};\n\nexports['default'] = logger;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2xvZ2dlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O3FCQUFzQixTQUFTOztBQUUvQixJQUFJLE1BQU0sR0FBRztBQUNYLFdBQVMsRUFBRSxDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE9BQU8sQ0FBQztBQUM3QyxPQUFLLEVBQUUsTUFBTTs7O0FBR2IsYUFBVyxFQUFFLHFCQUFTLEtBQUssRUFBRTtBQUMzQixRQUFJLE9BQU8sS0FBSyxLQUFLLFFBQVEsRUFBRTtBQUM3QixVQUFJLFFBQ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IH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IGxvZ2dlcjtcbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n  instance.registerDecorator('inline', function (fn, props, container, options) {\n    var ret = fn;\n    if (!props.partials) {\n      props.partials = {};\n      ret = function (context, options) {\n        // Create a new partials stack frame prior to exec.\n        var original = container.partials;\n        container.partials = _utils.extend({}, original, props.partials);\n        var ret = fn(context, options);\n        container.partials = original;\n        return ret;\n      };\n    }\n\n    props.partials[options.args[0]] = options.fn;\n\n    return ret;\n  });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2RlY29yYXRvcnMvaW5saW5lLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQXFCLFVBQVU7O3FCQUVoQixVQUFTLFFBQVEsRUFBRTtBQUNoQyxVQUFRLENBQUMsaUJBQWlCLENBQUMsUUFBUSxFQUFFLFVBQVMsRUFBRSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsT0FBTyxFQUFFO0FBQzNFLFFBQUksR0FBRyxHQUFHLEVBQUUsQ0FBQztBQUNiLFFBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxFQUFFO0FBQ25CLFdBQUssQ0FBQyxRQUFRLEdBQUcsRUFBRSxDQUFDO0FBQ3BCLFNBQUcsR0FBRyxVQUFTLE9BQU8sRUFBRSxPQUFPLEVBQUU7O0FBRS9CLFlBQUksUUFBUSxHQUFHLFNBQVMsQ0FBQyxRQUFRLENBQUM7QUFDbEMsaUJBQVMsQ0FBQyxRQUFRLEdBQUcsY0FBTyxFQUFFLEVBQUUsUUFBUSxFQUFFLEtBQUssQ0FBQyxRQUFRLENBQUMsQ0FBQztBQUMxRCxZQUFJLEdBQUcsR0FBRyxF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7XG4gICAgICB9O1xuICAgIH1cblxuICAgIHByb3BzLnBhcnRpYWxzW29wdGlvbnMuYXJnc1swXV0gPSBvcHRpb25zLmZuO1xuXG4gICAgcmV0dXJuIHJldDtcbiAgfSk7XG59XG4iXX0=\n","'use strict';\n\nexports.__esModule = true;\nexports.registerDefaultDecorators = registerDefaultDecorators;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _decoratorsInline = require('./decorators/inline');\n\nvar _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);\n\nfunction registerDefaultDecorators(instance) {\n  _decoratorsInline2['default'](instance);\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2RlY29yYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Z0NBQTJCLHFCQUFxQjs7OztBQUV6QyxTQUFTLHlCQUF5QixDQUFDLFFBQVEsRUFBRTtBQUNsRCxnQ0FBZSxRQUFRLENBQUMsQ0FBQztDQUMxQiIsImZpbGUiOiJkZWNvcmF0b3JzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHJlZ2lzdGVySW5saW5lIGZyb20gJy4vZGVjb3JhdG9ycy9pbmxpbmUnO1xuXG5leHBvcnQgZnVuY3Rpb24gcmVnaXN0ZXJEZWZhdWx0RGVjb3JhdG9ycyhpbnN0YW5jZSkge1xuICByZWdpc3RlcklubGluZShpbnN0YW5jZSk7XG59XG5cbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n  instance.registerHelper('with', function (context, options) {\n    if (_utils.isFunction(context)) {\n      context = context.call(this);\n    }\n\n    var fn = options.fn;\n\n    if (!_utils.isEmpty(context)) {\n      var data = options.data;\n      if (options.data && options.ids) {\n        data = _utils.createFrame(options.data);\n        data.contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]);\n      }\n\n      return fn(context, {\n        data: data,\n        blockParams: _utils.blockParams([context], [data && data.contextPath])\n      });\n    } else {\n      return options.inverse(this);\n    }\n  });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvd2l0aC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O3FCQUErRSxVQUFVOztxQkFFMUUsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxNQUFNLEVBQUUsVUFBUyxPQUFPLEVBQUUsT0FBTyxFQUFFO0FBQ3pELFFBQUksa0JBQVcsT0FBTyxDQUFDLEVBQUU7QUFBRSxhQUFPLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztLQUFFOztBQUUxRCxRQUFJLEVBQUUsR0FBRyxPQUFPLENBQUMsRUFBRSxDQUFDOztBQUVwQixRQUFJLENBQUMsZUFBUSxPQUFPLENBQUMsRUFBRTtBQUNyQixVQUFJLElBQUksR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDO0FBQ3hCLFVBQUksT0FBTyxDQUFDLElBQUksSUFBSSxPQUFPLENBQUMsR0FBRyxFQUFFO0FBQy9CLFlBQUksR0FBRyxtQkFBWSxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDakMsWUFBSSxDQUFDLFdBQVcsR0FBRyx5QkFBa0IsT0FBTyxDQUFDLElBQUksQ0FBQyxXQUFXLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO09BQ2hGOztBQUVELGFBQU8sRUFBRSxDQUFDLE9BQU8sRUFBRTtBQUNqQixZQUFJLEVB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2NrUGFyYW1zOiBibG9ja1BhcmFtcyhbY29udGV4dF0sIFtkYXRhICYmIGRhdGEuY29udGV4dFBhdGhdKVxuICAgICAgfSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiBvcHRpb25zLmludmVyc2UodGhpcyk7XG4gICAgfVxuICB9KTtcbn1cbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\n\nexports['default'] = function (instance) {\n  instance.registerHelper('lookup', function (obj, field) {\n    return obj && obj[field];\n  });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvbG9va3VwLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQWUsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxRQUFRLEVBQUUsVUFBUyxHQUFHLEVBQUUsS0FBSyxFQUFFO0FBQ3JELFdBQU8sR0FBRyxJQUFJLEdBQUcsQ0FBQyxLQUFLLENBQUMsQ0FBQztHQUMxQixDQUFDLENBQUM7Q0FDSiIsImZpbGUiOiJsb29rdXAuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCBmdW5jdGlvbihpbnN0YW5jZSkge1xuICBpbnN0YW5jZS5yZWdpc3RlckhlbHBlcignbG9va3VwJywgZnVuY3Rpb24ob2JqLCBmaWVsZCkge1xuICAgIHJldHVybiBvYmogJiYgb2JqW2ZpZWxkXTtcbiAgfSk7XG59XG4iXX0=\n","'use strict';\n\nexports.__esModule = true;\n\nexports['default'] = function (instance) {\n  instance.registerHelper('log', function () /* message, options */{\n    var args = [undefined],\n        options = arguments[arguments.length - 1];\n    for (var i = 0; i < arguments.length - 1; i++) {\n      args.push(arguments[i]);\n    }\n\n    var level = 1;\n    if (options.hash.level != null) {\n      level = options.hash.level;\n    } else if (options.data && options.data.level != null) {\n      level = options.data.level;\n    }\n    args[0] = level;\n\n    instance.log.apply(instance, args);\n  });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvbG9nLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQWUsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxLQUFLLEVBQUUsa0NBQWlDO0FBQzlELFFBQUksSUFBSSxHQUFHLENBQUMsU0FBUyxDQUFDO1FBQ2xCLE9BQU8sR0FBRyxTQUFTLENBQUMsU0FBUyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQztBQUM5QyxTQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUUsQ0FBQyxFQUFFLEVBQUU7QUFDN0MsVUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztLQUN6Qjs7QUFFRCxRQUFJLEtBQUssR0FBRyxDQUFDLENBQUM7QUFDZCxRQUFJLE9BQU8sQ0FBQyxJQUFJLENBQUMsS0FBSyxJQUFJLElBQUksRUFBRTtBQUM5QixXQUFLLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUM7S0FDNUIsTUFBTSxJQUFJLE9BQU8sQ0FBQyxJQUFJLElBQUksT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLElBQUksSUFBSSxFQUFFO0FBQ3JELFdBQUssR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQztLQUM1QjtBQUNELFFBQUksQ0FBQyxDQUFDLENBQUMsR0FBRyxLQUFLLENBQUM7O0FBRWhCLFlBQVEsQ0FBQyxHQUFHLE1BQUEsQ0FBWixRQUFRLEVBQVMsSUFBSSxDQUFDLENBQUM7R0FDeEIsQ0FBQyxDQUFDO0NBQ0oiLCJmaWxlIjoibG9nLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oaW5zdGFuY2UpIHtcbiAgaW5zdGFuY2UucmVnaXN0ZXJIZWxwZXIoJ2xvZycsIGZ1bmN0aW9uKC8qIG1lc3NhZ2UsIG9wdGlvbnMgKi8pIHtcbiAgICBsZXQgYXJncyA9IFt1bmRlZmluZWRdLFxuICAgICAgICBvcHRpb25zID0gYXJndW1lbnRzW2FyZ3VtZW50cy5sZW5ndGggLSAxXTtcbiAgICBmb3IgKGxldCBpID0gMDsgaSA8IGFyZ3VtZW50cy5sZW5ndGggLSAxOyBpKyspIHtcbiAgICAgIGFyZ3MucHVzaChhcmd1bWVudHNbaV0pO1xuICAgIH1cblxuICAgIGxldCBsZXZlbCA9IDE7XG4gICAgaWYgKG9wdGlvbnMuaGFzaC5sZXZlbCAhPSBudWxsKSB7XG4gICAgICBsZXZlbCA9IG9wdGlvbnMuaGFzaC5sZXZlbDtcbiAgICB9IGVsc2UgaWYgKG9wdGlvbnMuZGF0YSAmJiBvcHRpb25zLmRhdGEubGV2ZWwgIT0gbnVsbCkge1xuICAgICAgbGV2ZWwgPSBvcHRpb25zLmRhdGEubGV2ZWw7XG4gICAgfVxuICAgIGFyZ3NbMF0gPSBsZXZlbDtcblxuICAgIGluc3RhbmNlLmxvZyguLi4gYXJncyk7XG4gIH0pO1xufVxuIl19\n","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n  instance.registerHelper('if', function (conditional, options) {\n    if (_utils.isFunction(conditional)) {\n      conditional = conditional.call(this);\n    }\n\n    // Default behavior is to render the positive path if the value is truthy and not empty.\n    // The `includeZero` option may be set to treat the condtional as purely not empty based on the\n    // behavior of isEmpty. Effectively this determines if 0 is handled by the positive path or negative.\n    if (!options.hash.includeZero && !conditional || _utils.isEmpty(conditional)) {\n      return options.inverse(this);\n    } else {\n      return options.fn(this);\n    }\n  });\n\n  instance.registerHelper('unless', function (conditional, options) {\n    return instance.helpers['if'].call(this, conditional, { fn: options.inverse, inverse: options.fn, hash: options.hash });\n  });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvaWYuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztxQkFBa0MsVUFBVTs7cUJBRTdCLFVBQVMsUUFBUSxFQUFFO0FBQ2hDLFVBQVEsQ0FBQyxjQUFjLENBQUMsSUFBSSxFQUFFLFVBQVMsV0FBVyxFQUFFLE9BQU8sRUFBRTtBQUMzRCxRQUFJLGtCQUFXLFdBQVcsQ0FBQyxFQUFFO0FBQUUsaUJBQVcsR0FBRyxXQUFXLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0tBQUU7Ozs7O0FBS3RFLFFBQUksQUFBQyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLENBQUMsV0FBVyxJQUFLLGVBQVEsV0FBVyxDQUFDLEVBQUU7QUFDdkUsYUFBTyxPQUFPLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDO0tBQzlCLE1BQU07QUFDTCxhQUFPLE9BQU8sQ0FBQyxFQUFFLENBQUMsSUFBSSxDQUFDLENBQUM7S0FDekI7R0FDRixDQUFDLENBQUM7O0FBRUgsVUFBUSxDQUFDLGNBQWMsQ0FBQyxRQUFRLEVBQUUsVUFBUyxXQUFXLEVBQUUsT0FBTyxFQUFFO0FBQy9ELFdBQU8sUUFBUSxDQUFDLE9BQU8sQ0FBQyxJ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b25kaXRpb25hbCkpIHtcbiAgICAgIHJldHVybiBvcHRpb25zLmludmVyc2UodGhpcyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiBvcHRpb25zLmZuKHRoaXMpO1xuICAgIH1cbiAgfSk7XG5cbiAgaW5zdGFuY2UucmVnaXN0ZXJIZWxwZXIoJ3VubGVzcycsIGZ1bmN0aW9uKGNvbmRpdGlvbmFsLCBvcHRpb25zKSB7XG4gICAgcmV0dXJuIGluc3RhbmNlLmhlbHBlcnNbJ2lmJ10uY2FsbCh0aGlzLCBjb25kaXRpb25hbCwge2ZuOiBvcHRpb25zLmludmVyc2UsIGludmVyc2U6IG9wdGlvbnMuZm4sIGhhc2g6IG9wdGlvbnMuaGFzaH0pO1xuICB9KTtcbn1cbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _exception = require('../exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nexports['default'] = function (instance) {\n  instance.registerHelper('helperMissing', function () /* [args, ]options */{\n    if (arguments.length === 1) {\n      // A missing field in a {{foo}} construct.\n      return undefined;\n    } else {\n      // Someone is actually trying to call something, blow up.\n      throw new _exception2['default']('Missing helper: \"' + arguments[arguments.length - 1].name + '\"');\n    }\n  });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvaGVscGVyLW1pc3NpbmcuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozt5QkFBc0IsY0FBYzs7OztxQkFFckIsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxlQUFlLEVBQUUsaUNBQWdDO0FBQ3ZFLFFBQUksU0FBUyxDQUFDLE1BQU0sS0FBSyxDQUFDLEVBQUU7O0FBRTFCLGFBQU8sU0FBUyxDQUFDO0tBQ2xCLE1BQU07O0FBRUwsWUFBTSwyQkFBYyxtQkFBbUIsR0FBRyxTQUFTLENBQUMsU0FBUyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQyxJQUFJLEdBQUcsR0FBRyxDQUFDLENBQUM7S0FDdkY7R0FDRixDQUFDLENBQUM7Q0FDSiIsImZpbGUiOiJoZWxwZXItbWlzc2luZy5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBFeGNlcHRpb24gZnJvbSAnLi4vZXhjZXB0aW9uJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oaW5zdGFuY2UpIHtcbiAgaW5zdGFuY2UucmVnaXN0ZXJIZWxwZXIoJ2hlbHBlck1pc3NpbmcnLCBmdW5jdGlvbigvKiBbYXJncywgXW9wdGlvbnMgKi8pIHtcbiAgICBpZiAoYXJndW1lbnRzLmxlbmd0aCA9PT0gMSkge1xuICAgICAgLy8gQSBtaXNzaW5nIGZpZWxkIGluIGEge3tmb299fSBjb25zdHJ1Y3QuXG4gICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgIH0gZWxzZSB7XG4gICAgICAvLyBTb21lb25lIGlzIGFjdHVhbGx5IHRyeWluZyB0byBjYWxsIHNvbWV0aGluZywgYmxvdyB1cC5cbiAgICAgIHRocm93IG5ldyBFeGNlcHRpb24oJ01pc3NpbmcgaGVscGVyOiBcIicgKyBhcmd1bWVudHNbYXJndW1lbnRzLmxlbmd0aCAtIDFdLm5hbWUgKyAnXCInKTtcbiAgICB9XG4gIH0pO1xufVxuIl19\n","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _utils = require('../utils');\n\nvar _exception = require('../exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nexports['default'] = function (instance) {\n  instance.registerHelper('each', function (context, options) {\n    if (!options) {\n      throw new _exception2['default']('Must pass iterator to #each');\n    }\n\n    var fn = options.fn,\n        inverse = options.inverse,\n        i = 0,\n        ret = '',\n        data = undefined,\n        contextPath = undefined;\n\n    if (options.data && options.ids) {\n      contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]) + '.';\n    }\n\n    if (_utils.isFunction(context)) {\n      context = context.call(this);\n    }\n\n    if (options.data) {\n      data = _utils.createFrame(options.data);\n    }\n\n    function execIteration(field, index, last) {\n      if (data) {\n        data.key = field;\n        data.index = index;\n        data.first = index === 0;\n        data.last = !!last;\n\n        if (contextPath) {\n          data.contextPath = contextPath + field;\n        }\n      }\n\n      ret = ret + fn(context[field], {\n        data: data,\n        blockParams: _utils.blockParams([context[field], field], [contextPath + field, null])\n      });\n    }\n\n    if (context && typeof context === 'object') {\n      if (_utils.isArray(context)) {\n        for (var j = context.length; i < j; i++) {\n          if (i in context) {\n            execIteration(i, i, i === context.length - 1);\n          }\n        }\n      } else {\n        var priorKey = undefined;\n\n        for (var key in context) {\n          if (context.hasOwnProperty(key)) {\n            // We're running the iterations one step out of sync so we can detect\n            // the last iteration without have to scan the object twice and create\n            // an itermediate keys array.\n            if (priorKey !== undefined) {\n              execIteration(priorKey, i - 1);\n            }\n            priorKey = key;\n            i++;\n          }\n        }\n        if (priorKey !== undefined) {\n          execIteration(priorKey, i - 1, true);\n        }\n      }\n    }\n\n    if (i === 0) {\n      ret = inverse(this);\n    }\n\n    return ret;\n  });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvZWFjaC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O3FCQUErRSxVQUFVOzt5QkFDbkUsY0FBYzs7OztxQkFFckIsVUFBUyxRQUFRLEVBQUU7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cnJheShjb250ZXh0KSkge1xuICAgICAgICBmb3IgKGxldCBqID0gY29udGV4dC5sZW5ndGg7IGkgPCBqOyBpKyspIHtcbiAgICAgICAgICBpZiAoaSBpbiBjb250ZXh0KSB7XG4gICAgICAgICAgICBleGVjSXRlcmF0aW9uKGksIGksIGkgPT09IGNvbnRleHQubGVuZ3RoIC0gMSk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsZXQgcHJpb3JLZXk7XG5cbiAgICAgICAgZm9yIChsZXQga2V5IGluIGNvbnRleHQpIHtcbiAgICAgICAgICBpZiAoY29udGV4dC5oYXNPd25Qcm9wZXJ0eShrZXkpKSB7XG4gICAgICAgICAgICAvLyBXZSdyZSBydW5uaW5nIHRoZSBpdGVyYXRpb25zIG9uZSBzdGVwIG91dCBvZiBzeW5jIHNvIHdlIGNhbiBkZXRlY3RcbiAgICAgICAgICAgIC8vIHRoZSBsYXN0IGl0ZXJhdGlvbiB3aXRob3V0IGhhdmUgdG8gc2NhbiB0aGUgb2JqZWN0IHR3aWNlIGFuZCBjcmVhdGVcbiAgICAgICAgICAgIC8vIGFuIGl0ZXJtZWRpYXRlIGtleXMgYXJyYXkuXG4gICAgICAgICAgICBpZiAocHJpb3JLZXkgIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICBleGVjSXRlcmF0aW9uKHByaW9yS2V5LCBpIC0gMSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBwcmlvcktleSA9IGtleTtcbiAgICAgICAgICAgIGkrKztcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHByaW9yS2V5ICE9PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICBleGVjSXRlcmF0aW9uKHByaW9yS2V5LCBpIC0gMSwgdHJ1ZSk7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICBpZiAoaSA9PT0gMCkge1xuICAgICAgcmV0ID0gaW52ZXJzZSh0aGlzKTtcbiAgICB9XG5cbiAgICByZXR1cm4gcmV0O1xuICB9KTtcbn1cbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n  instance.registerHelper('blockHelperMissing', function (context, options) {\n    var inverse = options.inverse,\n        fn = options.fn;\n\n    if (context === true) {\n      return fn(this);\n    } else if (context === false || context == null) {\n      return inverse(this);\n    } else if (_utils.isArray(context)) {\n      if (context.length > 0) {\n        if (options.ids) {\n          options.ids = [options.name];\n        }\n\n        return instance.helpers.each(context, options);\n      } else {\n        return inverse(this);\n      }\n    } else {\n      if (options.data && options.ids) {\n        var data = _utils.createFrame(options.data);\n        data.contextPath = _utils.appendContextPath(options.data.contextPath, options.name);\n        options = { data: data };\n      }\n\n      return fn(context, options);\n    }\n  });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvYmxvY2staGVscGVyLW1pc3NpbmcuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztxQkFBc0QsVUFBVTs7cUJBRWpELFVBQVMsUUFBUSxFQUFFO0FBQ2hDLFVBQVEsQ0FBQyxjQUFjLENBQUMsb0JBQW9CLEVBQUUsVUFBUyxPQUFPLEVBQUUsT0FBTyxFQUFFO0FBQ3ZFLFFBQUksT0FBTyxHQUFHLE9BQU8sQ0FBQyxPQUFPO1FBQ3pCLEVBQUUsR0FBRyxPQUFPLENBQUMsRUFBRSxDQUFDOztBQUVwQixRQUFJLE9BQU8sS0FBSyxJQUFJLEVBQUU7QUFDcEIsYUFBTyxFQUFFLENBQUMsSUFBSSxDQUFDLENBQUM7S0FDakIsTUFBTSxJQUFJLE9BQU8sS0FBSyxLQUFLLElBQUksT0FBTyxJQUFJLElBQUksRUFBRTtBQUMvQyxhQUFPLE9BQ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IGluc3RhbmNlLnJlZ2lzdGVySGVscGVyKCdibG9ja0hlbHBlck1pc3NpbmcnLCBmdW5jdGlvbihjb250ZXh0LCBvcHRpb25zKSB7XG4gICAgbGV0IGludmVyc2UgPSBvcHRpb25zLmludmVyc2UsXG4gICAgICAgIGZuID0gb3B0aW9ucy5mbjtcblxuICAgIGlmIChjb250ZXh0ID09PSB0cnVlKSB7XG4gICAgICByZXR1cm4gZm4odGhpcyk7XG4gICAgfSBlbHNlIGlmIChjb250ZXh0ID09PSBmYWxzZSB8fCBjb250ZXh0ID09IG51bGwpIHtcbiAgICAgIHJldHVybiBpbnZlcnNlKHRoaXMpO1xuICAgIH0gZWxzZSBpZiAoaXNBcnJheShjb250ZXh0KSkge1xuICAgICAgaWYgKGNvbnRleHQubGVuZ3RoID4gMCkge1xuICAgICAgICBpZiAob3B0aW9ucy5pZHMpIHtcbiAgICAgICAgICBvcHRpb25zLmlkcyA9IFtvcHRpb25zLm5hbWVdO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIGluc3RhbmNlLmhlbHBlcnMuZWFjaChjb250ZXh0LCBvcHRpb25zKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHJldHVybiBpbnZlcnNlKHRoaXMpO1xuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICBpZiAob3B0aW9ucy5kYXRhICYmIG9wdGlvbnMuaWRzKSB7XG4gICAgICAgIGxldCBkYXRhID0gY3JlYXRlRnJhbWUob3B0aW9ucy5kYXRhKTtcbiAgICAgICAgZGF0YS5jb250ZXh0UGF0aCA9IGFwcGVuZENvbnRleHRQYXRoKG9wdGlvbnMuZGF0YS5jb250ZXh0UGF0aCwgb3B0aW9ucy5uYW1lKTtcbiAgICAgICAgb3B0aW9ucyA9IHtkYXRhOiBkYXRhfTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIGZuKGNvbnRleHQsIG9wdGlvbnMpO1xuICAgIH1cbiAgfSk7XG59XG4iXX0=\n","'use strict';\n\nexports.__esModule = true;\nexports.registerDefaultHelpers = registerDefaultHelpers;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _helpersBlockHelperMissing = require('./helpers/block-helper-missing');\n\nvar _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);\n\nvar _helpersEach = require('./helpers/each');\n\nvar _helpersEach2 = _interopRequireDefault(_helpersEach);\n\nvar _helpersHelperMissing = require('./helpers/helper-missing');\n\nvar _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);\n\nvar _helpersIf = require('./helpers/if');\n\nvar _helpersIf2 = _interopRequireDefault(_helpersIf);\n\nvar _helpersLog = require('./helpers/log');\n\nvar _helpersLog2 = _interopRequireDefault(_helpersLog);\n\nvar _helpersLookup = require('./helpers/lookup');\n\nvar _helpersLookup2 = _interopRequireDefault(_helpersLookup);\n\nvar _helpersWith = require('./helpers/with');\n\nvar _helpersWith2 = _interopRequireDefault(_helpersWith);\n\nfunction registerDefaultHelpers(instance) {\n  _helpersBlockHelperMissing2['default'](instance);\n  _helpersEach2['default'](instance);\n  _helpersHelperMissing2['default'](instance);\n  _helpersIf2['default'](instance);\n  _helpersLog2['default'](instance);\n  _helpersLookup2['default'](instance);\n  _helpersWith2['default'](instance);\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7eUNBQXVDLGdDQUFnQzs7OzsyQkFDOUMsZ0JBQWdCOzs7O29DQUNQLDBCQUEwQjs7Ozt5QkFDckMsY0FBYzs7OzswQkFDYixlQUFlOzs7OzZCQUNaLGtCQUFrQjs7OzsyQkFDcEIsZ0JBQWdCOzs7O0FBRWxDLFNBQVMsc0JBQXNCLENBQUMsUUFBUSxFQU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NlKTtcbiAgcmVnaXN0ZXJMb29rdXAoaW5zdGFuY2UpO1xuICByZWdpc3RlcldpdGgoaW5zdGFuY2UpO1xufVxuIl19\n","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// istanbul ignore next\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }\n\nvar _handlebarsBase = require('./handlebars/base');\n\nvar base = _interopRequireWildcard(_handlebarsBase);\n\n// Each of these augment the Handlebars object. No need to setup here.\n// (This is done to easily share code between commonjs and browse envs)\n\nvar _handlebarsSafeString = require('./handlebars/safe-string');\n\nvar _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);\n\nvar _handlebarsException = require('./handlebars/exception');\n\nvar _handlebarsException2 = _interopRequireDefault(_handlebarsException);\n\nvar _handlebarsUtils = require('./handlebars/utils');\n\nvar Utils = _interopRequireWildcard(_handlebarsUtils);\n\nvar _handlebarsRuntime = require('./handlebars/runtime');\n\nvar runtime = _interopRequireWildcard(_handlebarsRuntime);\n\nvar _handlebarsNoConflict = require('./handlebars/no-conflict');\n\nvar _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);\n\n// For compatibility and usage outside of module systems, make the Handlebars object a namespace\nfunction create() {\n  var hb = new base.HandlebarsEnvironment();\n\n  Utils.extend(hb, base);\n  hb.SafeString = _handlebarsSafeString2['default'];\n  hb.Exception = _handlebarsException2['default'];\n  hb.Utils = Utils;\n  hb.escapeExpression = Utils.escapeExpression;\n\n  hb.VM = runtime;\n  hb.template = function (spec) {\n    return runtime.template(spec, hb);\n  };\n\n  return hb;\n}\n\nvar inst = create();\ninst.create = create;\n\n_handlebarsNoConflict2['default'](inst);\n\ninst['default'] = inst;\n\nexports['default'] = in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Jpbmc7XG4gIGhiLkV4Y2VwdGlvbiA9IEV4Y2VwdGlvbjtcbiAgaGIuVXRpbHMgPSBVdGlscztcbiAgaGIuZXNjYXBlRXhwcmVzc2lvbiA9IFV0aWxzLmVzY2FwZUV4cHJlc3Npb247XG5cbiAgaGIuVk0gPSBydW50aW1lO1xuICBoYi50ZW1wbGF0ZSA9IGZ1bmN0aW9uKHNwZWMpIHtcbiAgICByZXR1cm4gcnVudGltZS50ZW1wbGF0ZShzcGVjLCBoYik7XG4gIH07XG5cbiAgcmV0dXJuIGhiO1xufVxuXG5sZXQgaW5zdCA9IGNyZWF0ZSgpO1xuaW5zdC5jcmVhdGUgPSBjcmVhdGU7XG5cbm5vQ29uZmxpY3QoaW5zdCk7XG5cbmluc3RbJ2RlZmF1bHQnXSA9IGluc3Q7XG5cbmV4cG9ydCBkZWZhdWx0IGluc3Q7XG4iXX0=\n","/**\n * @fileoverview Factory module for control all other factory.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n'use strict';\n\nvar GA_TRACKING_ID = 'UA-129951699-1';\n\nvar util = require('tui-code-snippet'),\n    Handlebars = require('handlebars-template-loader/runtime');\nvar dw = require('../common/dw'),\n    datetime = require('../common/datetime'),\n    Layout = require('../view/layout'),\n    Drag = require('../handler/drag'),\n    controllerFactory = require('./controller'),\n    weekViewFactory = require('./weekView'),\n    monthViewFactory = require('./monthView'),\n    TZDate = require('../common/timezone').Date,\n    config = require('../config'),\n    timezone = require('../common/timezone'),\n    reqAnimFrame = require('../common/reqAnimFrame');\n\nvar mmin = Math.min;\n\n/**\n * Schedule information\n * @typedef {object} Schedule\n * @property {string} [id] - The unique schedule id depends on calendar id\n * @property {string} calendarId - The unique calendar id\n * @property {string} [title] - The schedule title\n * @property {string} [body] - The schedule body text which is text/plain\n * @property {string|TZDate} [start] - The start time. It's 'string' for input. It's 'TZDate' for output like event handler.\n * @property {string|TZDate} [end] - The end time. It's 'string' for input. It's 'TZDate' for output like event handler.\n * @property {number} [goingDuration] - The travel time: Going duration minutes\n * @property {number} [comingDuration] - The travel time: Coming duration minutes\n * @property {boolean} [isAllDay] - The all day schedule\n * @property {string} [category] - The schedule type('milestone', 'task', allday', 'time')\n * @property {string} [dueDateClass] - The task schedule type string\n *                                   (any string value is ok and mandatory if category is 'task')\n * @property {string} [location] - The location\n * @property {Array.<string>} [attendees] - The attendees\n * @property {string} [recurrenceRule] - The recurrence rule\n * @property {boolean} [isPending] - The in progress flag to do something like network job(The schedule will be transparent.)\n * @property {boolean} [isFocused] - The focused schedule flag\n * @property {boolean} [isVisible] - The schedule visibility flag\n * @property {boolean} [isReadOnly] - The schedule read-only flag\n * @property {boolean} [isPrivate] - The private schedule\n * @property {string} [color] - The schedule text color\n * @property {string} [bgColor] - The schedule background color\n * @property {string} [dragBgColor] - The schedule background color when dragging it\n * @property {string} [borderColor] - The schedule left border color\n * @property {string} [customStyle] - The schedule's custom css class\n * @property {any} [raw] - The user data\n * @property {string} [state] - The schedule's state ('busy', 'free')\n */\n\n/**\n * Template functions to support customer renderer\n * @typedef {object} Template\n * @property {function} [milestoneTitle] - The milestone title(at left column) template function\n * @property {function} [milestone] - The milestone template function\n * @property {function} [taskTitle] - The task title(at left column) template function\n * @property {function} [task] - The task template function\n * @property {function} [alldayTitle] - The allday title(at left column) template function\n * @property {function} [allday] - The allday template function\n * @property {function} [time] - The time template function\n * @property {function} [goingDuration] - The travel time(going duration) template function\n * @property {function} [comingDuration] - The travel time(coming duration) template function\n * @property {function} [monthMoreTitleDate] - The month more layer title template function\n * @property {function} [monthMoreClose] - The month more layer close button template function\n * @property {function} [monthGridHeader] - The month grid header(date, decorator, title) template function\n * @property {function} [monthGridHeaderExceed] - The month grid header(exceed schedule count) template function\n * @property {function} [monthGridFooter] - The month grid footer(date, decorator, title) template function\n * @property {function} [monthGridFooterExceed] - The month grid footer(exceed schedule count) template function\n * @property {function} [monthDayname] - The monthly dayname template function\n * @property {function} [weekDayname] - The weekly dayname template function\n * @property {function} [weekGridFooterExceed] - The week/day grid footer(exceed schedule count) template function\n * @property {function} [dayGridTitle] - The week/day grid title template function(e.g. milestone, task, allday)\n * @property {function} [schedule] - The week/day schedule template function(When the schedule category attribute is milestone, task, or all day)\n * @property {function} [collapseBtnTitle] - The week/day (exceed schedule more view) collapse button title template function\n * @property {function} [timezoneDisplayLabel] - The timezone display label template function in time grid\n * @property {function} [timegridDisplayPrimayTime] - Deprecated: use 'timegridDisplayPrimaryTime'\n * @property {function} [timegridDisplayPrimaryTime] - The display label template function of primary timezone in time grid\n * @property {function} [timegridDisplayTime] - The display time template function in time grid\n * @property {function} [timegridCurrentTime] - The current time template function in time grid\n * @property {function} [popupIsAllDay] - The all day checkbox label text template function in the default creation popup\n * @property {function} [popupStateFree] - The free option template function in the state select box of the default creation popup\n * @property {function} [popupStateBusy] - The busy option template function in the state select box of the default creation popup\n * @property {function} [titlePlaceholder] - The title input placeholder text template function in the default creation popup\n * @property {function} [locationPlaceholder] - The location input placeholder text template function in the default creation popup\n * @property {function} [startDatePlaceholder] - The start date input placeholder text template function in the default creation popup\n * @property {function} [endDatePlaceholder] - The end date input placeholder text template function in the default creation popup\n * @property {function} [popupSave] - The 'Save' button text template function in the default creation popup\n * @property {function} [popupUpdate] - The 'Update' button text template function in the default creation popup when in edit mode\n * @property {function} [popupDetailDate] - The schedule date information's template function on the default detail popup\n * @property {function} [popupDetailLocation] - The schedule location text information's template function on the default detail popup\n * @property {function} [popupDetailUser] - The schedule user text information's template function on the default detail popup\n * @property {function} [popupDetailState] - The schedule state(busy or free) text information's template function on the default detail popup\n * @property {function} [popupDetailRepeat] - The schedule repeat information's template function on the default detail popup\n * @property {function} [popupDetailBody] - The schedule body text information's template function on the default detail popup\n * @property {function} [popupEdit] - The 'Edit' button text template function on the default detail popup\n * @property {function} [popupDelete] - The 'Delete' button text template function on the default detail popup\n * @example\n * var calendar = new tui.Calendar(document.getElementById('calendar'), {\n *     ...\n *     template: {\n *         milestone: function(schedule) {\n *             return '<span class=\"calendar-font-icon ic-milestone-b\"></span> <span style=\"background-color: ' + schedule.bgColor + '\">' + schedule.title + '</span>';\n *         },\n *         milestoneTitle: function() {\n *             return '<span class=\"tui-full-calendar-left-content\">MILESTONE</span>';\n *         },\n *         task: function(schedule) {\n *             return '#' + schedule.title;\n *         },\n *         taskTitle: function() {\n *             return '<span class=\"tui-full-calendar-left-content\">TASK</span>';\n *         },\n *         allday: function(schedule) {\n *             return getTimeTemplate(schedule, true);\n *         },\n *         alldayTitle: function() {\n *             return '<span class=\"tui-full-calendar-left-content\">ALL DAY</span>';\n *         },\n *         time: function(schedule) {\n *             return '<strong>' + moment(schedule.start.getTime()).format('HH:mm') + '</strong> ' + schedule.title;\n *         },\n *         goingDuration: function(schedule) {\n *             return '<span class=\"calendar-icon ic-travel-time\"></span>' + schedule.goingDuration + 'min.';\n *         },\n *         comingDuration: function(schedule) {\n *             return '<span class=\"calendar-icon ic-travel-time\"></span>' + schedule.comingDuration + 'min.';\n *         },\n *         monthMoreTitleDate: function(date, dayname) {\n *             var day = date.split('.')[2];\n *\n *             return '<span class=\"tui-full-calendar-month-more-title-day\">' + day + '</span> <span class=\"tui-full-calendar-month-more-title-day-label\">' + dayname + '</span>';\n *         },\n *         monthMoreClose: function() {\n *             return '<span class=\"tui-full-calendar-icon tui-full-calendar-ic-close\"></span>';\n *         },\n *         monthGridHeader: function(dayModel) {\n *             var date = parseInt(dayModel.date.split('-')[2], 10);\n *             var classNames = ['tui-full-calendar-weekday-grid-date '];\n *\n *             if (dayModel.isToday) {\n *                 classNames.push('tui-full-calendar-weekday-grid-date-decorator');\n *             }\n *\n *             return '<span class=\"' + classNames.join(' ') + '\">' + date + '</span>';\n *         },\n *         monthGridHeaderExceed: function(hiddenSchedules) {\n *             return '<span class=\"weekday-grid-more-schedules\">+' + hiddenSchedules + '</span>';\n *         },\n *         monthGridFooter: function() {\n *             return '';\n *         },\n *         monthGridFooterExceed: function(hiddenSchedules) {\n *             return '';\n *         },\n *         monthDayname: function(model) {\n *             return (model.label).toString().toLocaleUpperCase();\n *         },\n *         weekDayname: function(model) {\n *             return '<span class=\"tui-full-calendar-dayname-date\">' + model.date + '</span>&nbsp;&nbsp;<span class=\"tui-full-calendar-dayname-name\">' + model.dayName + '</span>';\n *         },\n *         weekGridFooterExceed: function(hiddenSchedules) {\n *             return '+' + hiddenSchedules;\n *         },\n *         dayGridTitle: function(viewName) {\n *\n *             // use another functions instead of 'dayGridTitle'\n *             // milestoneTitle: function() {...}\n *             // taskTitle: function() {...}\n *             // alldayTitle: function() {...}\n *\n *             var title = '';\n *             switch(viewName) {\n *                 case 'milestone':\n *                     title = '<span class=\"tui-full-calendar-left-content\">MILESTONE</span>';\n *                     break;\n *                 case 'task':\n *                     title = '<span class=\"tui-full-calendar-left-content\">TASK</span>';\n *                     break;\n *                 case 'allday':\n *                     title = '<span class=\"tui-full-calendar-left-content\">ALL DAY</span>';\n *                     break;\n *             }\n *\n *             return title;\n *         },\n *         schedule: function(schedule) {\n *\n *             // use another functions instead of 'schedule'\n *             // milestone: function() {...}\n *             // task: function() {...}\n *             // allday: function() {...}\n *\n *             var tpl;\n *\n *             switch(category) {\n *                 case 'milestone':\n *                     tpl = '<span class=\"calendar-font-icon ic-milestone-b\"></span> <span style=\"background-color: ' + schedule.bgColor + '\">' + schedule.title + '</span>';\n *                     break;\n *                 case 'task':\n *                     tpl = '#' + schedule.title;\n *                     break;\n *                 case 'allday':\n *                     tpl = getTimeTemplate(schedule, true);\n *                     break;\n *             }\n *\n *             return tpl;\n *         },\n *         collapseBtnTitle: function() {\n *             return '<span class=\"tui-full-calendar-icon tui-full-calendar-ic-arrow-solid-top\"></span>';\n *         },\n *         timezoneDisplayLabel: function(timezoneOffset, displayLabel) {\n *             var gmt, hour, minutes;\n *\n *             if (!displayLabel) {\n *                 gmt = timezoneOffset < 0 ? '-' : '+';\n *                 hour = Math.abs(parseInt(timezoneOffset / 60, 10));\n *                 minutes = Math.abs(timezoneOffset % 60);\n *                 displayLabel = gmt + getPadStart(hour) + ':' + getPadStart(minutes);\n *             }\n *\n *             return displayLabel;\n *         },\n *         timegridDisplayPrimayTime: function(time) {\n *             // will be deprecated. use 'timegridDisplayPrimaryTime'\n *             var meridiem = 'am';\n *             var hour = time.hour;\n *\n *             if (time.hour > 12) {\n *                 meridiem = 'pm';\n *                 hour = time.hour - 12;\n *             }\n *\n *             return hour + ' ' + meridiem;\n *         },\n *         timegridDisplayPrimaryTime: function(time) {\n *             var meridiem = 'am';\n *             var hour = time.hour;\n *\n *             if (time.hour > 12) {\n *                 meridiem = 'pm';\n *                 hour = time.hour - 12;\n *             }\n *\n *             return hour + ' ' + meridiem;\n *         },\n *         timegridDisplayTime: function(time) {\n *             return getPadStart(time.hour) + ':' + getPadStart(time.hour);\n *         },\n *         timegridCurrentTime: function(timezone) {\n *             var templates = [];\n *\n *             if (timezone.dateDifference) {\n *                 templates.push('[' + timezone.dateDifferenceSign + timezone.dateDifference + ']<br>');\n *             }\n *\n *             templates.push(moment(timezone.hourmarker).format('HH:mm a'));\n *\n *             return templates.join('');\n *         },\n *         popupIsAllDay: function() {\n *             return 'All Day';\n *         },\n *         popupStateFree: function() {\n *             return 'Free';\n *         },\n *         popupStateBusy: function() {\n *             return 'Busy';\n *         },\n *         titlePlaceholder: function() {\n *             return 'Subject';\n *         },\n *         locationPlaceholder: function() {\n *             return 'Location';\n *         },\n *         startDatePlaceholder: function() {\n *             return 'Start date';\n *         },\n *         endDatePlaceholder: function() {\n *             return 'End date';\n *         },\n *         popupSave: function() {\n *             return 'Save';\n *         },\n *         popupUpdate: function() {\n *             return 'Update';\n *         },\n *         popupDetailDate: function(isAllDay, start, end) {\n *             var isSameDate = moment(start).isSame(end);\n *             var endFormat = (isSameDate ? '' : 'YYYY.MM.DD ') + 'hh:mm a';\n *\n *             if (isAllDay) {\n *                 return moment(start).format('YYYY.MM.DD') + (isSameDate ? '' : ' - ' + moment(end).format('YYYY.MM.DD'));\n *             }\n *\n *             return (moment(start).format('YYYY.MM.DD hh:mm a') + ' - ' + moment(end).format(endFormat));\n *         },\n *         popupDetailLocation: function(schedule) {\n *             return 'Location : ' + schedule.location;\n *         },\n *         popupDetailUser: function(schedule) {\n *             return 'User : ' + (schedule.attendees || []).join(', ');\n *         },\n *         popupDetailState: function(schedule) {\n *             return 'State : ' + schedule.state || 'Busy';\n *         },\n *         popupDetailRepeat: function(schedule) {\n *             return 'Repeat : ' + schedule.recurrenceRule;\n *         },\n *         popupDetailBody: function(schedule) {\n *             return 'Body : ' + schedule.body;\n *         },\n *         popupEdit: function() {\n *             return 'Edit';\n *         },\n *         popupDelete: function() {\n *             return 'Delete';\n *         }\n *     }\n * }\n */\n\n/**\n * Options for daily, weekly view.\n * @typedef {object} WeekOptions\n * @property {number} [startDayOfWeek=0] - The start day of week,\n * @property {Array.<string>} [daynames] - The day names in weekly and daily. Default values are ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n * @property {boolean} [narrowWeekend=false] - Make weekend column narrow(1/2 width)\n * @property {boolean} [workweek=false] - Show only 5 days except for weekend\n * @property {boolean} [showTimezoneCollapseButton=false] - Show a collapse button to close multiple timezones\n * @property {boolean} [timezonesCollapsed=false] - An initial multiple timezones collapsed state\n * @property {number} [hourStart=0] - Can limit of render hour start.\n * @property {number} [hourEnd=24] - Can limit of render hour end.\n */\n\n/**\n * Options for monthly view.\n * @typedef {object} MonthOptions\n * @property {Array.<string>} [daynames] - The day names in monthly. Default values are ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n * @property {number} [startDayOfWeek=0] - The start day of week\n * @property {boolean} [narrowWeekend=false] - Make weekend column narrow(1/2 width)\n * @property {number} [visibleWeeksCount=6] - The visible week count in monthly(0 or null are same with 6)\n * @property {boolean} [isAlways6Week=true] - Always show 6 weeks. If false, show 5 weeks or 6 weeks based on the month.\n * @property {boolean} [workweek=false] - Show only 5 days except for weekend\n * @property {number} [visibleScheduleCount] - The visible schedule count in monthly grid\n * @property {object} [moreLayerSize] - The more layer size\n * @property {object} [moreLayerSize.width=null] - The css width value(px, 'auto').\n*                                                  The default value 'null' is to fit a grid cell.\n * @property {object} [moreLayerSize.height=null] - The css height value(px, 'auto').\n*                                                   The default value 'null' is to fit a grid cell.\n * @property {object} [grid] - The grid's header and footer information\n *  @property {object} [grid.header] - The grid's header informatioin\n *   @property {number} [grid.header.height=34] - The grid's header height\n *  @property {object} [grid.footer] - The grid's footer informatioin\n *   @property {number} [grid.footer.height=34] - The grid's footer height\n * @property {function} [scheduleFilter=null] - The filter schedules on month view. A parameter is {Schedule} object.\n */\n\n/**\n * @typedef {object} CalendarColor\n * @property {string} [color] - The calendar color\n * @property {string} [bgColor] - The calendar background color\n * @property {string} [borderColor] - The calendar left border color\n */\n\n/**\n * @typedef {object} Timezone\n * @property {number} [timezoneOffset] - The minutes for your timezone offset. If null, use the browser's timezone. Refer to Date.prototype.getTimezoneOffset()\n * @property {string} [displayLabel] -  The display label of your timezone at weekly/daily view(e.g. 'GMT+09:00')\n * @property {string} [tooltip] -  The tooltip(e.g. 'Seoul')\n * @example\n * var cal = new Calendar('#calendar', {\n *  timezones: [{\n *      timezoneOffset: 540,\n *      displayLabel: 'GMT+09:00',\n *      tooltip: 'Seoul'\n *  }, {\n *      timezoneOffset: -420,\n *      displayLabel: 'GMT-08:00',\n *      tooltip: 'Los Angeles'\n *  }]\n * });\n */\n\n/**\n * @typedef {object} CalendarProps\n * @property {string|number} id - The calendar id\n * @property {string} name - The calendar name\n * @property {string} color - The text color when schedule is displayed\n * @property {string} bgColor - The background color schedule is displayed\n * @property {string} borderColor - The color of left border or bullet point when schedule is displayed\n * @example\n * var cal = new Calendar('#calendar', {\n *   ...\n *   calendars: [\n *     {\n *       id: '1',\n *       name: 'My Calendar',\n *       color: '#ffffff',\n *       bgColor: '#9e5fff',\n *       dragBgColor: '#9e5fff',\n *       borderColor: '#9e5fff'\n *     },\n *     {\n *       id: '2',\n *       name: 'Company',\n *       color: '#00a9ff',\n *       bgColor: '#00a9ff',\n *       dragBgColor: '#00a9ff',\n *       borderColor: '#00a9ff'\n *     },\n *   ]\n * });\n */\n\n/**\n * @typedef {object} Options - Calendar option object\n * @property {string} [defaultView='week'] - Default view of calendar. The default value is 'week'.\n * @property {boolean|Array.<string>} [taskView=true] - Show the milestone and task in weekly, daily view. The default value is true. If the value is array, it can be &#91;'milestone', 'task'&#93;.\n * @property {boolean|Array.<string>} [scheduleView=true] - Show the all day and time grid in weekly, daily view. The default value is false. If the value is array, it can be &#91;'allday', 'time'&#93;.\n * @property {themeConfig} [theme=themeConfig] - {@link themeConfig} for custom style.\n * @property {Template} [template={}] - {@link Template} for further informatio\n * @property {WeekOptions} [week={}] - {@link WeekOptions} for week view\n * @property {MonthOptions} [month={}] - {@link MonthOptions} for month view\n * @property {Array.<CalendarProps>} [calendars=[]] - {@link CalendarProps} List that can be used to add new schedule. The default value is [].\n * @property {boolean} [useCreationPopup=false] - Whether use default creation popup or not. The default value is false.\n * @property {boolean} [useDetailPopup=false] - Whether use default detail popup or not. The default value is false.\n * @property {Array.<Timezone>} [timezones] - {@link Timezone} array.\n *  The first Timezone element is primary and can override Calendar#setTimezoneOffset function\n *  The rest timezone elements are shown in left timegrid of weekly/daily view\n * @property {boolean} [disableDblClick=false] - Disable double click to create a schedule. The default value is false.\n * @property {boolean} [disableClick=false] - Disable click to create a schedule. The default value is false.\n * @property {boolean} [isReadOnly=false] - {@link Calendar} is read-only mode and a user can't create and modify any schedule. The default value is false.\n * @property {boolean} [usageStatistics=true] - Let us know the hostname. If you don't want to send the hostname, please set to false.\n */\n\n/**\n * {@link https://nhn.github.io/tui.code-snippet/latest/tui.util.CustomEvents.html CustomEvents} document at {@link https://github.com/nhn/tui.code-snippet tui-code-snippet}\n * @typedef {class} CustomEvents\n */\n\n/**\n * @typedef {object} TimeCreationGuide - Time creation guide instance to present selected time period\n * @property {HTMLElement} guideElement - Guide element\n * @property {Object.<string, HTMLElement>} guideElements - Map by key. It can be used in monthly view\n * @property {function} clearGuideElement - Hide the creation guide\n * @example\n * calendar.on('beforeCreateSchedule', function(event) {\n *     var guide = event.guide;\n *     // Use guideEl$'s left, top to locate your schedule creation popup\n *     var guideEl$ = guide.guideElement ?\n *          guide.guideElement : guide.guideElements[Object.keys(guide.guideElements)[0]];\n *\n *     // After that call this to hide the creation guide\n *     guide.clearGuideElement();\n * });\n */\n\n/**\n * Calendar class\n * @constructor\n * @mixes CustomEvents\n * @param {HTMLElement|string} container - The container element or selector id\n * @param {Options} options - The calendar {@link Options} object\n * @example\n * var calendar = new tui.Calendar(document.getElementById('calendar'), {\n *     defaultView: 'week',\n *     taskView: true,    // Can be also ['milestone', 'task']\n *     scheduleView: true,  // Can be also ['allday', 'time']\n *     template: {\n *         milestone: function(schedule) {\n *             return '<span style=\"color:red;\"><i class=\"fa fa-flag\"></i> ' + schedule.title + '</span>';\n *         },\n *         milestoneTitle: function() {\n *             return 'Milestone';\n *         },\n *         task: function(schedule) {\n *             return '&nbsp;&nbsp;#' + schedule.title;\n *         },\n *         taskTitle: function() {\n *             return '<label><input type=\"checkbox\" />Task</label>';\n *         },\n *         allday: function(schedule) {\n *             return schedule.title + ' <i class=\"fa fa-refresh\"></i>';\n *         },\n *         alldayTitle: function() {\n *             return 'All Day';\n *         },\n *         time: function(schedule) {\n *             return schedule.title + ' <i class=\"fa fa-refresh\"></i>' + schedule.start;\n *         }\n *     },\n *     month: {\n *         daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n *         startDayOfWeek: 0,\n *         narrowWeekend: true\n *     },\n *     week: {\n *         daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n *         startDayOfWeek: 0,\n *         narrowWeekend: true\n *     }\n * });\n */\nfunction Calendar(container, options) {\n    var opt = util.extend({\n        usageStatistics: true\n    }, options);\n\n    if (opt.usageStatistics === true && util.sendHostname) {\n        util.sendHostname('calendar', GA_TRACKING_ID);\n    }\n\n    if (util.isString(container)) {\n        container = document.querySelector(container);\n    }\n\n    /**\n     * Calendar color map\n     * @type {object}\n     * @private\n     */\n    this._calendarColor = {};\n\n    /**\n     * Current rendered date\n     * @type {TZDate}\n     * @private\n     */\n    this._renderDate = datetime.start();\n\n    /**\n     * start and end date of weekly, monthly\n     * @type {object}\n     * @private\n     */\n    this._renderRange = {\n        start: null,\n        end: null\n    };\n\n    /**\n     * base controller\n     * @type {Base}\n     * @private\n     */\n    this._controller = _createController(options);\n    this._controller.setCalendars(options.calendars);\n\n    /**\n     * layout view (layout manager)\n     * @type {Layout}\n     * @private\n     */\n    this._layout = new Layout(container, this._controller.theme);\n\n    /**\n     * global drag handler\n     * @type {Drag}\n     * @private\n     */\n    this._dragHandler = new Drag({distance: 10}, this._layout.container);\n\n    /**\n     * current rendered view name. ('day', 'week', 'month')\n     * @type {string}\n     * @default 'week'\n     * @private\n     */\n    this._viewName = opt.defaultView || 'week';\n\n    /**\n     * Refresh method. it can be ref different functions for each view modes.\n     * @type {function}\n     * @private\n     */\n    this._refreshMethod = null;\n\n    /**\n     * Scroll to now. It can be called for 'week', 'day' view modes.\n     * @type {function}\n     * @private\n     */\n    this._scrollToNowMethod = null;\n\n    /**\n     * It's true if Calendar.prototype.scrollToNow() is called.\n     * @type {boolean}\n     * @private\n     */\n    this._requestScrollToNow = false;\n\n    /**\n     * Open schedule creation popup\n     * @type {function}\n     * @private\n     */\n    this._openCreationPopup = null;\n\n    /**\n     * Hide the more view\n     * @type {function}\n     * @private\n     */\n    this._hideMoreView = null;\n\n    /**\n     * Unique id for requestAnimFrame()\n     * @type {number}\n     * @private\n     */\n    this._requestRender = 0;\n\n    /**\n     * calendar options\n     * @type {Options}\n     * @private\n     */\n    this._options = {};\n\n    this._initialize(options);\n}\n\n/**\n * destroy calendar instance.\n */\nCalendar.prototype.destroy = function() {\n    this._dragHandler.destroy();\n    this._controller.off();\n    this._layout.clear();\n    this._layout.destroy();\n\n    util.forEach(this._options.template, function(func, name) {\n        if (func) {\n            Handlebars.unregisterHelper(name + '-tmpl');\n        }\n    });\n\n    this._options = this._renderDate = this._controller =\n        this._layout = this._dragHandler = this._viewName =\n        this._refreshMethod = this._scrollToNowMethod = null;\n};\n\n/**\n * Initialize calendar\n * @param {Options} options - calendar options\n * @private\n */\nCalendar.prototype._initialize = function(options) {\n    var controller = this._controller,\n        viewName = this._viewName,\n        timezones = options.timezones || [];\n\n    this._options = util.extend({\n        defaultView: viewName,\n        taskView: true,\n        scheduleView: true,\n        template: util.extend({\n            allday: null,\n            time: null\n        }, util.pick(options, 'template') || {}),\n        week: util.extend({}, util.pick(options, 'week') || {}),\n        month: util.extend({}, util.pick(options, 'month') || {}),\n        calendars: [],\n        useCreationPopup: false,\n        useDetailPopup: false,\n        timezones: options.timezones || [{\n            timezoneOffset: 0,\n            displayLabel: '',\n            tooltip: ''\n        }],\n        disableDblClick: false,\n        disableClick: false,\n        isReadOnly: false\n    }, options);\n\n    this._options.week = util.extend({\n        startDayOfWeek: 0,\n        workweek: false\n    }, util.pick(this._options, 'week') || {});\n\n    this._options.month = util.extend({\n        startDayOfWeek: 0,\n        workweek: false,\n        scheduleFilter: function(schedule) {\n            return Boolean(schedule.isVisible) &&\n                (schedule.category === 'allday' || schedule.category === 'time');\n        }\n    }, util.pick(options, 'month') || {});\n\n    if (this._options.isReadOnly) {\n        this._options.useCreationPopup = false;\n    }\n\n    this._layout.controller = controller;\n\n    util.forEach(this._options.template, function(func, name) {\n        if (func) {\n            Handlebars.registerHelper(name + '-tmpl', func);\n        }\n    });\n\n    util.forEach(this._options.calendars || [], function(calendar) {\n        this.setCalendarColor(calendar.id, calendar, true);\n    }, this);\n\n    // set by primary timezone\n    if (timezones.length) {\n        timezone.setOffsetByTimezoneOption(timezones[0].timezoneOffset);\n    }\n\n    this.changeView(viewName, true);\n};\n\n/**********\n * CRUD Methods\n **********/\n\n/**\n * Create schedules and render calendar.\n * @param {Array.<Schedule>} schedules - {@link Schedule} data list\n * @param {boolean} [silent=false] - no auto render after creation when set true\n * @example\n * calendar.createSchedules([\n *     {\n *         id: '1',\n *         calendarId: '1',\n *         title: 'my schedule',\n *         category: 'time',\n *         dueDateClass: '',\n *         start: '2018-01-18T22:30:00+09:00',\n *         end: '2018-01-19T02:30:00+09:00'\n *     },\n *     {\n *         id: '2',\n *         calendarId: '1',\n *         title: 'second schedule',\n *         category: 'time',\n *         dueDateClass: '',\n *         start: '2018-01-18T17:30:00+09:00',\n *         end: '2018-01-19T17:31:00+09:00'\n *     }\n * ]);\n */\nCalendar.prototype.createSchedules = function(schedules, silent) {\n    var calColor = this._calendarColor;\n\n    util.forEach(schedules, function(obj) {\n        var color = calColor[obj.calendarId];\n\n        if (color) {\n            obj.color = color.color;\n            obj.bgColor = color.bgColor;\n            obj.borderColor = color.borderColor;\n        }\n    });\n\n    this._controller.createSchedules(schedules, silent);\n\n    if (!silent) {\n        this.render();\n    }\n};\n\n/**\n * Get a {@link Schedule} object by schedule id and calendar id.\n * @param {string} scheduleId - ID of schedule\n * @param {string} calendarId - calendarId of the schedule\n * @returns {Schedule} schedule object\n * @example\n * var schedule = calendar.getSchedule(scheduleId, calendarId);\n * console.log(schedule.title);\n */\nCalendar.prototype.getSchedule = function(scheduleId, calendarId) {\n    return this._controller.schedules.single(function(model) {\n        return model.id === scheduleId && model.calendarId === calendarId;\n    });\n};\n\n/**\n * Update the schedule\n * @param {string} scheduleId - ID of a schedule to update\n * @param {string} calendarId - The calendarId of the schedule to update\n * @param {Schedule} scheduleData - The {@link Schedule} data to update\n * @param {boolean} [silent=false] - No auto render after creation when set true\n * @example\n * calendar.on('beforeUpdateSchedule', function(event) {\n *     var schedule = event.schedule;\n *     var startTime = event.start;\n *     var endTime = event.end;\n *     calendar.updateSchedule(schedule.id, schedule.calendarId, {\n *         start: startTime,\n *         end: endTime\n *     });\n * });\n */\nCalendar.prototype.updateSchedule = function(scheduleId, calendarId, scheduleData, silent) {\n    var ctrl = this._controller,\n        ownSchedules = ctrl.schedules,\n        schedule = ownSchedules.single(function(model) {\n            return model.id === scheduleId && model.calendarId === calendarId;\n        });\n\n    if (schedule) {\n        ctrl.updateSchedule(schedule, scheduleData);\n\n        if (!silent) {\n            this.render();\n        }\n    }\n};\n\n/**\n * Delete a schedule.\n * @param {string} scheduleId - ID of schedule to delete\n * @param {string} calendarId - The CalendarId of the schedule to delete\n * @param {boolean} [silent=false] - No auto render after creation when set true\n */\nCalendar.prototype.deleteSchedule = function(scheduleId, calendarId, silent) {\n    var ctrl = this._controller,\n        ownSchedules = ctrl.schedules,\n        schedule = ownSchedules.single(function(model) {\n            return model.id === scheduleId && model.calendarId === calendarId;\n        });\n\n    if (!schedule) {\n        return;\n    }\n\n    ctrl.deleteSchedule(schedule);\n    if (!silent) {\n        this.render();\n    }\n};\n\n/**********\n * Private Methods\n **********/\n\n/**\n * @param {string|Date} date - The Date to show in calendar\n * @param {number} [startDayOfWeek=0] - The Start day of week\n * @param {boolean} [workweek=false] - The only show work week\n * @returns {array} render range\n * @private\n */\nCalendar.prototype._getWeekDayRange = function(date, startDayOfWeek, workweek) {\n    var day;\n    var start;\n    var end;\n    var range;\n\n    startDayOfWeek = (startDayOfWeek || 0); // eslint-disable-line\n    date = util.isDate(date) ? date : new TZDate(date);\n    day = date.getDay();\n\n    // calculate default render range first.\n    start = new TZDate(date).addDate(-day + startDayOfWeek);\n\n    end = new TZDate(start).addDate(6);\n\n    if (day < startDayOfWeek) {\n        start = new TZDate(start).addDate(-7);\n        end = new TZDate(end).addDate(-7);\n    }\n\n    if (workweek) {\n        range = datetime.range(\n            datetime.start(start),\n            datetime.end(end),\n            datetime.MILLISECONDS_PER_DAY\n        );\n\n        range = util.filter(range, function(weekday) {\n            return !datetime.isWeekend(weekday.getDay());\n        });\n\n        start = range[0];\n        end = range[range.length - 1];\n    }\n\n    start = datetime.start(start);\n    end = datetime.start(end);\n\n    return [start, end];\n};\n\n/**\n * Toggle schedules' visibility by calendar ID\n * @param {string} calendarId - The calendar id value\n * @param {boolean} toHide - Set true to hide schedules\n * @param {boolean} [render=true] - set true then render after change visible property each models\n */\nCalendar.prototype.toggleSchedules = function(calendarId, toHide, render) {\n    var ownSchedules = this._controller.schedules;\n\n    render = util.isExisty(render) ? render : true;\n    calendarId = util.isArray(calendarId) ? calendarId : [calendarId];\n\n    ownSchedules.each(function(schedule) {\n        if (~util.inArray(schedule.calendarId, calendarId)) {\n            schedule.set('isVisible', !toHide);\n        }\n    });\n\n    if (render) {\n        this.render();\n    }\n};\n\n/**********\n * General Methods\n **********/\n\n/**\n * Render the calendar. The real rendering occurs after requestAnimationFrame.\n * If you have to render immediately, use the 'immediately' parameter as true.\n * @param {boolean} [immediately=false] - Render it immediately\n * @example\n * var silent = true;\n * calendar.clear();\n * calendar.createSchedules(schedules, silent);\n * calendar.render();\n * @example\n * // Render a calendar when resizing a window.\n * window.addEventListener('resize', function() {\n *     calendar.render();\n * });\n */\nCalendar.prototype.render = function(immediately) {\n    if (this._requestRender) {\n        reqAnimFrame.cancelAnimFrame(this._requestRender);\n    }\n\n    if (immediately) {\n        this._renderFunc();\n    } else {\n        this._requestRender = reqAnimFrame.requestAnimFrame(this._renderFunc, this);\n    }\n};\n\n/**\n * Render and refresh all layout and process requests.\n * @private\n */\nCalendar.prototype._renderFunc = function() {\n    if (this._refreshMethod) {\n        this._refreshMethod();\n    }\n    if (this._layout) {\n        this._layout.render();\n    }\n    if (this._scrollToNowMethod && this._requestScrollToNow) {\n        this._scrollToNowMethod();\n    }\n\n    this._requestScrollToNow = false;\n    this._requestRender = null;\n};\n\n/**\n * Delete all schedules and clear view. The real rendering occurs after requestAnimationFrame.\n * If you have to render immediately, use the 'immediately' parameter as true.\n * @param {boolean} [immediately=false] - Render it immediately\n * @example\n * calendar.clear();\n * calendar.createSchedules(schedules, true);\n * calendar.render();\n */\nCalendar.prototype.clear = function(immediately) {\n    this._controller.clearSchedules();\n    this.render(immediately);\n};\n\n/**\n * Scroll to current time on today in case of daily, weekly view\n * @example\n * function onNewSchedules(schedules) {\n *     calendar.createSchedules(schedules);\n *     if (calendar.getViewName() !== 'month') {\n *         calendar.scrollToNow();\n *     }\n * }\n */\nCalendar.prototype.scrollToNow = function() {\n    if (this._scrollToNowMethod) {\n        this._requestScrollToNow = true;\n        // this._scrollToNowMethod() will be called at next frame rendering.\n    }\n};\n\n/**\n * Move to today.\n * @example\n * function onClickTodayBtn() {\n *     calendar.today();\n * }\n */\nCalendar.prototype.today = function() {\n    this._renderDate = datetime.start();\n\n    this._setViewName(this._viewName);\n    this.move();\n    this.render();\n};\n\n/**\n * Move the calendar amount of offset value\n * @param {number} offset - The offset value.\n * @private\n * @example\n * // move previous week when \"week\" view.\n * // move previous month when \"month\" view.\n * calendar.move(-1);\n */\nCalendar.prototype.move = function(offset) {\n    var renderDate = dw(datetime.start(this._renderDate)),\n        viewName = this._viewName,\n        view = this._getCurrentView(),\n        recursiveSet = _setOptionRecurseively,\n        startDate, endDate, tempDate,\n        startDayOfWeek, visibleWeeksCount, workweek, isAlways6Week, datetimeOptions;\n\n    offset = util.isExisty(offset) ? offset : 0;\n\n    if (viewName === 'month') {\n        startDayOfWeek = util.pick(this._options, 'month', 'startDayOfWeek') || 0;\n        visibleWeeksCount = mmin(util.pick(this._options, 'month', 'visibleWeeksCount') || 0, 6);\n        workweek = util.pick(this._options, 'month', 'workweek') || false;\n        isAlways6Week = util.pick(this._options, 'month', 'isAlways6Week');\n\n        if (visibleWeeksCount) {\n            datetimeOptions = {\n                startDayOfWeek: startDayOfWeek,\n                isAlways6Week: false,\n                visibleWeeksCount: visibleWeeksCount,\n                workweek: workweek\n            };\n\n            renderDate.addDate(offset * 7 * datetimeOptions.visibleWeeksCount);\n            tempDate = datetime.arr2dCalendar(renderDate.d, datetimeOptions);\n\n            recursiveSet(view, function(childView, opt) {\n                opt.renderMonth = new TZDate(renderDate.d);\n            });\n        } else {\n            datetimeOptions = {\n                startDayOfWeek: startDayOfWeek,\n                isAlways6Week: isAlways6Week,\n                workweek: workweek\n            };\n\n            renderDate.addMonth(offset);\n            tempDate = datetime.arr2dCalendar(renderDate.d, datetimeOptions);\n\n            recursiveSet(view, function(childView, opt) {\n                opt.renderMonth = new TZDate(renderDate.d);\n            });\n        }\n\n        startDate = tempDate[0][0];\n        endDate = tempDate[tempDate.length - 1][tempDate[tempDate.length - 1].length - 1];\n    } else if (viewName === 'week') {\n        renderDate.addDate(offset * 7);\n        startDayOfWeek = util.pick(this._options, 'week', 'startDayOfWeek') || 0;\n        workweek = util.pick(this._options, 'week', 'workweek') || false;\n        tempDate = this._getWeekDayRange(renderDate.d, startDayOfWeek, workweek);\n\n        startDate = tempDate[0];\n        endDate = tempDate[1];\n\n        recursiveSet(view, function(childView, opt) {\n            opt.renderStartDate = new TZDate(startDate);\n            opt.renderEndDate = new TZDate(endDate);\n\n            childView.setState({\n                collapsed: true\n            });\n        });\n    } else if (viewName === 'day') {\n        renderDate.addDate(offset);\n        startDate = datetime.start(renderDate.d);\n        endDate = datetime.end(renderDate.d);\n\n        recursiveSet(view, function(childView, opt) {\n            opt.renderStartDate = new TZDate(startDate);\n            opt.renderEndDate = new TZDate(endDate);\n\n            childView.setState({\n                collapsed: true\n            });\n        });\n    }\n\n    this._renderDate = renderDate.d;\n    this._renderRange = {\n        start: startDate,\n        end: endDate\n    };\n};\n\n/**\n * Move to specific date\n * @param {(Date|string)} date - The date to move\n * @example\n * calendar.on('clickDayname', function(event) {\n *     if (calendar.getViewName() === 'week') {\n *         calendar.setDate(new Date(event.date));\n *         calendar.changeView('day', true);\n *     }\n * });\n */\nCalendar.prototype.setDate = function(date) {\n    if (util.isString(date)) {\n        date = datetime.parse(date);\n    }\n\n    this._renderDate = new TZDate(date);\n    this._setViewName(this._viewName);\n    this.move(0);\n    this.render();\n};\n\n/**\n * Move the calendar forward a day, a week, a month, 2 weeks, 3 weeks.\n * @example\n * function moveToNextOrPrevRange(val) {\n    if (val === -1) {\n        calendar.prev();\n    } else if (val === 1) {\n        calendar.next();\n    }\n}\n */\nCalendar.prototype.next = function() {\n    this.move(1);\n    this.render();\n};\n\n/**\n * Move the calendar backward a day, a week, a month, 2 weeks, 3 weeks.\n * @example\n * function moveToNextOrPrevRange(val) {\n    if (val === -1) {\n        calendar.prev();\n    } else if (val === 1) {\n        calendar.next();\n    }\n}\n */\nCalendar.prototype.prev = function() {\n    this.move(-1);\n    this.render();\n};\n\n/**\n * Return current rendered view.\n * @returns {View} current view instance\n * @private\n */\nCalendar.prototype._getCurrentView = function() {\n    var viewName = this._viewName;\n\n    if (viewName === 'day') {\n        viewName = 'week';\n    }\n\n    return util.pick(this._layout.children.items, viewName);\n};\n\n/**\n * Change calendar's schedule color with option\n * @param {string} calendarId - The calendar ID\n * @param {CalendarColor} option - The {@link CalendarColor} object\n * @param {boolean} [silent=false] - No auto render after creation when set true\n * @example\n * calendar.setCalendarColor('1', {\n *     color: '#e8e8e8',\n *     bgColor: '#585858',\n *     borderColor: '#a1b56c'\n * });\n * calendar.setCalendarColor('2', {\n *     color: '#282828',\n *     bgColor: '#dc9656',\n *     borderColor: '#a1b56c'\n * });\n * calendar.setCalendarColor('3', {\n *     color: '#a16946',\n *     bgColor: '#ab4642',\n *     borderColor: '#a1b56c'\n * });\n */\nCalendar.prototype.setCalendarColor = function(calendarId, option, silent) {\n    var calColor = this._calendarColor,\n        ownSchedules = this._controller.schedules,\n        ownColor = calColor[calendarId];\n\n    if (!util.isObject(option)) {\n        config.throwError('Calendar#changeCalendarColor(): color 는 {color: \\'\\', bgColor: \\'\\'} 형태여야 합니다.');\n    }\n\n    ownColor = calColor[calendarId] = util.extend({\n        color: '#000',\n        bgColor: '#a1b56c',\n        borderColor: '#a1b56c'\n    }, option);\n\n    ownSchedules.each(function(model) {\n        if (model.calendarId !== calendarId) {\n            return;\n        }\n\n        model.color = ownColor.color;\n        model.bgColor = ownColor.bgColor;\n        model.borderColor = ownColor.borderColor;\n    });\n\n    if (!silent) {\n        this.render();\n    }\n};\n\n/**********\n * Custom Events\n **********/\n\n/**\n * A bridge-based event handler for connecting a click handler to a user click event handler for each view\n * @fires Calendar#clickSchedule\n * @param {object} clickScheduleData - The event data of 'clickSchedule' handler\n * @private\n */\nCalendar.prototype._onClick = function(clickScheduleData) {\n    /**\n     * Fire this event when click a schedule.\n     * @event Calendar#clickSchedule\n     * @type {object}\n     * @property {Schedule} schedule - The {@link Schedule} instance\n     * @property {MouseEvent} event - MouseEvent\n     * @example\n     * calendar.on('clickSchedule', function(event) {\n     *     var schedule = event.schedule;\n     *\n     *     if (lastClickSchedule) {\n     *         calendar.updateSchedule(lastClickSchedule.id, lastClickSchedule.calendarId, {\n     *             isFocused: false\n     *         });\n     *     }\n     *     calendar.updateSchedule(schedule.id, schedule.calendarId, {\n     *         isFocused: true\n     *     });\n     *\n     *     lastClickSchedule = schedule;\n     *     // open detail view\n     * });\n     */\n    this.fire('clickSchedule', clickScheduleData);\n};\n\n/**\n * A bridge-based event handler for connecting a click handler to a user click event handler for each view\n * @fires Calendar#clickMore\n * @param {object} clickMoreSchedule - The event data of 'clickMore' handler\n * @private\n */\nCalendar.prototype._onClickMore = function(clickMoreSchedule) {\n    /**\n     * Fire this event when click a schedule.\n     * @event Calendar#clickMore\n     * @type {object}\n     * @property {Date} date - The Clicked date\n     * @property {HTMLElement} target - The more element\n     * @example\n     * calendar.on('clickMore', function(event) {\n     *     console.log('clickMore', event.date, event.target);\n     * });\n     */\n    this.fire('clickMore', clickMoreSchedule);\n};\n\n/**\n * dayname click event handler\n * @fires Calendar#clickDayname\n * @param {object} clickScheduleData - The event data of 'clickDayname' handler\n * @private\n */\nCalendar.prototype._onClickDayname = function(clickScheduleData) {\n    /**\n     * Fire this event when click a day name in weekly.\n     * @event Calendar#clickDayname\n     * @type {object}\n     * @property {string} date - The date string by format 'YYYY-MM-DD'\n     * @example\n     * calendar.on('clickDayname', function(event) {\n     *     if (calendar.getViewName() === 'week') {\n     *         calendar.setDate(new Date(event.date));\n     *         calendar.changeView('day', true);\n     *     }\n     * });\n     */\n    this.fire('clickDayname', clickScheduleData);\n};\n\n/**\n * @fires {Calendar#n('beforeCreateSchedule', function}\n * @param {object} createScheduleData - select schedule data from allday, time\n * @private\n */\nCalendar.prototype._onBeforeCreate = function(createScheduleData) {\n    if (this._options.useCreationPopup && !createScheduleData.useCreationPopup) {\n        if (this._showCreationPopup) {\n            this._showCreationPopup(createScheduleData);\n\n            return;\n        }\n    }\n    /**\n     * Fire this event when select time period in daily, weekly, monthly.\n     * @event Calendar#beforeCreateSchedule\n     * @type {object}\n     * @property {boolean} isAllDay - The allday schedule\n     * @property {Date} start - The selected start time\n     * @property {Date} end - The selected end time\n     * @property {TimeCreationGuide} guide - {@link TimeCreationGuide} instance\n     * @property {string} triggerEventName - The event name like 'click', 'dblclick'\n     * @example\n     * calendar.on('beforeCreateSchedule', function(event) {\n     *     var startTime = event.start;\n     *     var endTime = event.end;\n     *     var isAllDay = event.isAllDay;\n     *     var guide = event.guide;\n     *     var triggerEventName = event.triggerEventName;\n     *     var schedule;\n     *\n     *     if (triggerEventName === 'click') {\n     *         // open writing simple schedule popup\n     *         schedule = {...};\n     *     } else if (triggerEventName === 'dblclick') {\n     *         // open writing detail schedule popup\n     *         schedule = {...};\n     *     }\n     *\n     *     calendar.createSchedules([schedule]);\n     * });\n     */\n    this.fire('beforeCreateSchedule', createScheduleData);\n};\n\n/**\n * @fires Calendar#beforeUpdateSchedule\n * @param {object} updateScheduleData - update {@link Schedule} data\n * @private\n */\nCalendar.prototype._onBeforeUpdate = function(updateScheduleData) {\n    /**\n     * Fire this event when drag a schedule to change time in daily, weekly, monthly.\n     * @event Calendar#beforeUpdateSchedule\n     * @type {object}\n     * @property {Schedule} schedule - The {@link Schedule} instance to update\n     * @property {Date} start - The start time to update\n     * @property {Date} end - The end time to update\n     * @example\n     * calendar.on('beforeUpdateSchedule', function(event) {\n     *     var schedule = event.schedule;\n     *     var startTime = event.start;\n     *     var endTime = event.end;\n     *\n     *     calendar.updateSchedule(schedule.id, schedule.calendarId, {\n     *         start: startTime,\n     *         end: endTime\n     *     });\n     * });\n     */\n    this.fire('beforeUpdateSchedule', updateScheduleData);\n};\n\n/**\n * @fires Calendar#beforeDeleteSchedule\n * @param {object} deleteScheduleData - delete schedule data\n * @private\n */\nCalendar.prototype._onBeforeDelete = function(deleteScheduleData) {\n    /**\n     * Fire this event when delete a schedule.\n     * @event Calendar#beforeDeleteSchedule\n     * @type {object}\n     * @property {Schedule} schedule - The {@link Schedule} instance to delete\n     * @example\n     * calendar.on('beforeDeleteSchedule', function(event) {\n     *     var schedule = event.schedule;\n     *     alert('The schedule is removed.', schedule);\n     * });\n     */\n    this.fire('beforeDeleteSchedule', deleteScheduleData);\n};\n\n/**\n * @fires Calendar#afterRenderSchedule\n * @param {Schedule} scheduleData - The schedule data\n * @private\n */\nCalendar.prototype._onAfterRenderSchedule = function(scheduleData) {\n    /**\n     * Fire this event by every single schedule after rendering whole calendar.\n     * @event Calendar#afterRenderSchedule\n     * @type {object}\n     * @property {Schedule} schedule - A rendered {@link Schedule} instance\n     * @example\n     * calendar.on('afterRenderSchedule', function(event) {\n     *     var schedule = event.schedule;\n     *     var element = calendar.getElement(schedule.id, schedule.calendarId);\n     *     // use the element\n     *     console.log(element);\n     * });\n     */\n    this.fire('afterRenderSchedule', scheduleData);\n};\n\n/**\n * @fires Calendar#clickTimezonesCollapseBtn\n * @param {boolean} timezonesCollapsed - timezones collapsed flag\n * @private\n */\nCalendar.prototype._onClickTimezonesCollapseBtn = function(timezonesCollapsed) {\n    /**\n     * Fire this event by clicking timezones collapse button\n     * @event Calendar#clickTimezonesCollapseBtn\n     * @type {object}\n     * @property {boolean} timezonesCollapsed - The timezones collapes flag\n     * @example\n     * calendar.on('clickTimezonesCollapseBtn', function(timezonesCollapsed) {\n     *     console.log(timezonesCollapsed);\n     * });\n     */\n    this.fire('clickTimezonesCollapseBtn', timezonesCollapsed);\n};\n\n/**\n * Toggle calendar factory class, main view, wallview event connection\n * @param {boolean} isAttach - attach events if true.\n * @param {Week|Month} view - Weekly view or Monthly view\n * @private\n */\nCalendar.prototype._toggleViewSchedule = function(isAttach, view) {\n    var self = this,\n        handler = view.handler,\n        method = isAttach ? 'on' : 'off';\n\n    util.forEach(handler.click, function(clickHandler) {\n        clickHandler[method]('clickSchedule', self._onClick, self);\n    });\n\n    util.forEach(handler.dayname, function(clickHandler) {\n        clickHandler[method]('clickDayname', self._onClickDayname, self);\n    });\n\n    util.forEach(handler.creation, function(creationHandler) {\n        creationHandler[method]('beforeCreateSchedule', self._onBeforeCreate, self);\n        creationHandler[method]('beforeDeleteSchedule', self._onBeforeDelete, self);\n    });\n\n    util.forEach(handler.move, function(moveHandler) {\n        moveHandler[method]('beforeUpdateSchedule', self._onBeforeUpdate, self);\n    });\n\n    util.forEach(handler.resize, function(resizeHandler) {\n        resizeHandler[method]('beforeUpdateSchedule', self._onBeforeUpdate, self);\n    });\n\n    // bypass events from view\n    view[method]('afterRenderSchedule', self._onAfterRenderSchedule, self);\n    view[method]('clickTimezonesCollapseBtn', self._onClickTimezonesCollapseBtn, self);\n    view[method]('clickMore', self._onClickMore, self);\n};\n\n/**\n * Change current view with view name('day', 'week', 'month')\n * @param {string} newViewName - The New view name to render\n * @param {boolean} force - Force render despite of current view and new view are equal\n * @example\n * // daily view\n * calendar.changeView('day', true);\n *\n * // weekly view\n * calendar.changeView('week', true);\n *\n * // monthly view(default 6 weeks view)\n * calendar.setOptions({month: {visibleWeeksCount: 6}}, true); // or null\n * calendar.changeView('month', true);\n *\n * // 2 weeks monthly view\n * calendar.setOptions({month: {visibleWeeksCount: 2}}, true);\n * calendar.changeView('month', true);\n *\n * // 3 weeks monthly view\n * calendar.setOptions({month: {visibleWeeksCount: 3}}, true);\n * calendar.changeView('month', true);\n *\n * // narrow weekend\n * calendar.setOptions({month: {narrowWeekend: true}}, true);\n * calendar.setOptions({week: {narrowWeekend: true}}, true);\n * calendar.changeView(calendar.getViewName(), true);\n *\n * // change start day of week(from monday)\n * calendar.setOptions({week: {startDayOfWeek: 1}}, true);\n * calendar.setOptions({month: {startDayOfWeek: 1}}, true);\n * calendar.changeView(calendar.getViewName(), true);\n *\n * // work week\n * calendar.setOptions({week: {workweek: true}}, true);\n * calendar.setOptions({month: {workweek: true}}, true);\n * calendar.changeView(calendar.getViewName(), true);\n */\nCalendar.prototype.changeView = function(newViewName, force) {\n    var self = this,\n        layout = this._layout,\n        controller = this._controller,\n        dragHandler = this._dragHandler,\n        options = this._options,\n        viewName = this._viewName,\n        created;\n\n    if (!force && viewName === newViewName) {\n        return;\n    }\n\n    this._setViewName(newViewName);\n\n    // convert day to week\n    if (viewName === 'day') {\n        viewName = 'week';\n    }\n\n    if (newViewName === 'day') {\n        newViewName = 'week';\n    }\n    layout.children.doWhenHas(viewName, function(view) {\n        self._toggleViewSchedule(false, view);\n    });\n\n    layout.clear();\n\n    if (newViewName === 'month') {\n        created = _createMonthView(\n            controller,\n            layout.container,\n            dragHandler,\n            options\n        );\n    } else if (newViewName === 'week' || newViewName === 'day') {\n        created = _createWeekView(\n            controller,\n            layout.container,\n            dragHandler,\n            options\n        );\n    }\n\n    layout.addChild(created.view);\n\n    layout.children.doWhenHas(newViewName, function(view) {\n        self._toggleViewSchedule(true, view);\n    });\n\n    this._refreshMethod = created.refresh;\n    this._scrollToNowMethod = created.scrollToNow;\n    this._openCreationPopup = created.openCreationPopup;\n    this._showCreationPopup = created.showCreationPopup;\n    this._hideMoreView = created.hideMoreView;\n\n    this.move();\n    this.render();\n};\n\n/**\n * @deprecated\n * Toggle task view('Milestone', 'Task') panel\n * @param {boolean} enabled - use task view\n * @example\n * // There is no milestone, task, so hide those view panel\n * calendar.toggleTaskView(false);\n *\n * // There are some milestone, task, so show those view panel.\n * calendar.toggleTaskView(true);\n */\nCalendar.prototype.toggleTaskView = function(enabled) {\n    var viewName = this._viewName,\n        options = this._options;\n\n    options.taskView = enabled;\n\n    this.changeView(viewName, true);\n};\n\n/**\n * @deprecated\n * Toggle schedule view('AllDay', TimeGrid') panel\n * @param {boolean} enabled - use task view\n * @example\n * // hide those view panel to show only 'Milestone', 'Task'\n * calendar.toggleScheduleView(false);\n *\n * // show those view panel.\n * calendar.toggleScheduleView(true);\n */\nCalendar.prototype.toggleScheduleView = function(enabled) {\n    var viewName = this._viewName,\n        options = this._options;\n\n    options.scheduleView = enabled;\n\n    this.changeView(viewName, true);\n};\n\n/**\n * Set current view name\n * @param {string} viewName - new view name to render\n * @private\n */\nCalendar.prototype._setViewName = function(viewName) {\n    this._viewName = viewName;\n};\n\n/**\n * Get a schedule element by schedule id and calendar id.\n * @param {string} scheduleId - ID of schedule\n * @param {string} calendarId - calendarId of schedule\n * @returns {HTMLElement} schedule element if found or null\n * @example\n * var element = calendar.getElement(scheduleId, calendarId);\n * console.log(element);\n */\nCalendar.prototype.getElement = function(scheduleId, calendarId) {\n    var schedule = this.getSchedule(scheduleId, calendarId);\n    if (schedule) {\n        return document.querySelector('[data-schedule-id=\"' + scheduleId + '\"][data-calendar-id=\"' + calendarId + '\"]');\n    }\n\n    return null;\n};\n\n/**\n * Set a theme. If some keys are not defined in the preset, will be return.\n * @param {object} theme - multiple styles map\n * @returns {Array.<string>} keys - error keys not predefined.\n * @example\n * cal.setTheme({\n    'month.dayname.height': '31px',\n    'common.dayname.color': '#333',\n    'month.dayname.borderBottom': '1px solid #e5e5e5' // Not valid key  will be return.\n * });\n */\nCalendar.prototype.setTheme = function(theme) {\n    var result = this._controller.setTheme(theme);\n    this.render(true);\n\n    return result;\n};\n\n/**\n * Set options of calendar\n * @param {Options} options - set {@link Options}\n * @param {boolean} [silent=false] - no auto render after creation when set true\n */\nCalendar.prototype.setOptions = function(options, silent) {\n    util.forEach(options, function(value, name) {\n        if (util.isObject(value) && !util.isArray(value)) {\n            util.forEach(value, function(innerValue, innerName) {\n                this._options[name][innerName] = innerValue;\n            }, this);\n        } else {\n            this._options[name] = value;\n        }\n    }, this);\n\n    if (!silent) {\n        this.changeView(this._viewName, true);\n    }\n};\n\n/**\n * Get current {@link Options}.\n * @returns {Options} options\n */\nCalendar.prototype.getOptions = function() {\n    return this._options;\n};\n\n/**\n * Current rendered date ({@link TZDate} for further information)\n * @returns {TZDate}\n */\nCalendar.prototype.getDate = function() {\n    return this._renderDate;\n};\n\n/**\n * Start time of rendered date range ({@link TZDate} for further information)\n * @returns {TZDate}\n */\nCalendar.prototype.getDateRangeStart = function() {\n    return this._renderRange.start;\n};\n\n/**\n * End time of rendered date range ({@link TZDate} for further information)\n * @returns {TZDate}\n */\nCalendar.prototype.getDateRangeEnd = function() {\n    return this._renderRange.end;\n};\n\n/**\n * Get current view name('day', 'week', 'month')\n * @returns {string} view name\n */\nCalendar.prototype.getViewName = function() {\n    return this._viewName;\n};\n\n/**\n * Set calendar list\n * @param {Array.<Object>} calendars - calendar list\n */\nCalendar.prototype.setCalendars = function(calendars) {\n    this._controller.setCalendars(calendars);\n    this.render();\n};\n\n/**\n * Open schedule creation popup\n * @param {Schedule} schedule - The preset {@link Schedule} data\n */\nCalendar.prototype.openCreationPopup = function(schedule) {\n    if (this._openCreationPopup) {\n        this._openCreationPopup(schedule);\n    }\n};\n\n/**\n * Hide the more view\n */\nCalendar.prototype.hideMoreView = function() {\n    if (this._hideMoreView) {\n        this._hideMoreView();\n    }\n};\n\n/**\n * Set timezone offset\n * @param {number} offset - The offset (min)\n * @static\n * @deprecated\n * @example\n * var timezoneName = moment.tz.guess();\n * tui.Calendar.setTimezoneOffset(moment.tz.zone(timezoneName).utcOffset(moment()));\n */\nCalendar.setTimezoneOffset = function(offset) {\n    timezone.setOffset(offset);\n};\n\n/**\n * Set a callback function to get timezone offset by timestamp\n * @param {function} callback - The callback function\n * @static\n * @deprecated\n * @example\n * var timezoneName = moment.tz.guess();\n * tui.Calendar.setTimezoneOffsetCallback(function(timestamp) {\n *      return moment.tz.zone(timezoneName).utcOffset(timestamp));\n * });\n */\nCalendar.setTimezoneOffsetCallback = function(callback) {\n    timezone.setOffsetCallback(callback);\n};\n\n/**\n * Create controller instance\n * @returns {Base} controller instance\n * @param {Options} options - calendar options\n * @private\n */\nfunction _createController(options) {\n    return controllerFactory(options);\n}\n\n/**\n * Create week view instance by dependent module instances\n * @param {Base} controller - controller\n * @param {HTMLElement} container - container element\n * @param {Drag} dragHandler - global drag handler\n * @param {object} options - options for week view\n * @returns {Week} week view instance\n * @private\n */\nfunction _createWeekView(controller, container, dragHandler, options) {\n    return weekViewFactory(\n        controller,\n        container,\n        dragHandler,\n        options\n    );\n}\n\n/**\n * Create week view instance by dependent module instances\n * @param {Base} controller - controller\n * @param {HTMLElement} container - container element\n * @param {Drag} dragHandler - global drag handler\n * @param {object} options - options for week view\n * @returns {Month} month view instance\n * @private\n */\nfunction _createMonthView(controller, container, dragHandler, options) {\n    return monthViewFactory(\n        controller,\n        container,\n        dragHandler,\n        options\n    );\n}\n\n/**\n * Set child view's options recursively\n * @param {View} view - parent view\n * @param {function} func - option manipulate function\n * @private\n */\nfunction _setOptionRecurseively(view, func) {\n    view.recursive(function(childView) {\n        var opt = childView.options;\n\n        if (!opt) {\n            return;\n        }\n\n        func(childView, opt);\n    });\n}\n\nutil.CustomEvents.mixin(Calendar);\n\nmodule.exports = Calendar;\n","/**\n * @fileoverview The entry file of fullcalendar\n * @author NHN FE Development Lab\n */\n\n'use strict';\n\nvar util = require('tui-code-snippet');\nvar Calendar = require('./js/factory/calendar');\n\nrequire('./css/main.styl');\nrequire('./js/view/template/helper');\n\n// for jquery\nif (global.jQuery) {\n    global.jQuery.fn.tuiCalendar = function() {\n        var options, instance;\n\n        var el = this.get(0);\n        var args = Array.prototype.slice.apply(arguments);\n\n        if (el) {\n            options = util.pick(args, 0) || {};\n\n            instance = global.jQuery.data(el, 'tuiCalendar');\n\n            if (instance) {\n                if (typeof options === 'string' && instance[options]) {\n                    return instance[options].apply(instance, args.slice(1));\n                }\n            } else {\n                instance = new Calendar(el, options);\n                global.jQuery.data(el, 'tuiCalendar', instance);\n            }\n        }\n\n        return this;\n    };\n}\n\nmodule.exports = Calendar;\n"],"sourceRoot":""}

Youez - 2016 - github.com/yon3zu
LinuXploit