safecheck-client 3.0.34-gongyi → 3.0.35-2
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.js +16 -16
- package/.project +23 -0
- package/README.md +5 -1
- package/build/webpack.base.conf.js +91 -50
- package/build/webpack.dev.conf.js +20 -16
- package/build/webpack.prod.conf.js +37 -39
- package/examples/ChangeConfig/App.vue +3 -3
- package/examples/ChangeConfig/comp.js +67 -67
- package/examples/CheckAdvise/App.vue +1 -1
- package/examples/PhoneSafePlan/App.vue +2 -2
- package/examples/PhoneSafePlan/TestData.js +3 -3
- package/examples/SafePlan/App.vue +11 -5
- package/examples/SafePlan/TestData.js +3 -3
- package/examples/SafePlan/comp.js +67 -61
- package/examples/SafePlan-aode/App.vue +2 -2
- package/examples/SafePlan-aode/TestData.js +3 -3
- package/examples/SafePlan-aode/comp.js +40 -40
- package/examples/SafePlan-liaoyuan/App.vue +33 -4
- package/examples/SafePlan-liaoyuan/TestData.js +3 -3
- package/examples/SafePlan-liaoyuan/comp.js +67 -54
- package/examples/SafePlan-shaoguan/App.vue +2 -2
- package/examples/SafePlan-shaoguan/TestData.js +3 -3
- package/examples/SafePlan-shaoguan/comp.js +46 -46
- package/examples/SafePlan-tongchuan/App.vue +4 -4
- package/examples/SafePlan-tongchuan/TestData.js +3 -3
- package/examples/SafePlan-tongchuan/comp.js +50 -50
- package/examples/SafePlan-wenxi/App.vue +4 -4
- package/examples/SafePlan-wenxi/TestData.js +3 -3
- package/examples/SafePlan-wenxi/comp.js +54 -54
- package/examples/SafePlan-zhoukou/App.vue +4 -4
- package/examples/SafePlan-zhoukou/TestData.js +3 -3
- package/examples/SafePlan-zhoukou/comp.js +57 -57
- package/examples/SafePlanItem/App.vue +3 -3
- package/examples/SafePlanItem/TestData.js +3 -3
- package/examples/SafePlanItem/comp.js +1 -1
- package/examples/SafePlanrongcheng/App.vue +4 -3
- package/examples/SafePlanrongcheng/TestData.js +3 -3
- package/examples/SafePlanrongcheng/comp.js +47 -39
- package/examples/SafePlanrongcheng-gs/App.vue +2 -2
- package/examples/SafePlanrongcheng-gs/TestData.js +3 -3
- package/examples/SafePlanrongcheng-gs/comp.js +47 -39
- package/examples/SafePlanrongcheng-gssq/App.vue +2 -2
- package/examples/SafePlanrongcheng-gssq/TestData.js +3 -3
- package/examples/SafePlanrongcheng-gssq/comp.js +47 -39
- package/examples/SafePlanrongcheng-mysq/App.vue +2 -2
- package/examples/SafePlanrongcheng-mysq/TestData.js +3 -3
- package/examples/SafePlanrongcheng-mysq/comp.js +48 -40
- package/examples/Test/App.vue +1 -1
- package/examples/Test/TestData.js +5 -5
- package/examples/UserFiles/App.vue +4 -4
- package/examples/UserFiles/TestData.js +3 -3
- package/examples/UserFiles/comp.js +17 -17
- package/index.html +6 -2
- package/package.json +23 -9
- package/settings.gradle +2 -0
- package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- package/src/App.vue +31 -27
- package/src/android.js +1 -2
- package/src/assets/123.png +0 -0
- package/src/assets/alarm.png +0 -0
- package/src/assets/anjince.png +0 -0
- package/src/assets/city_proper.png +0 -0
- package/src/assets/echarts6.png +0 -0
- package/src/assets/endPng.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/assets/firstPng.png +0 -0
- package/src/assets/township.png +0 -0
- package/src/assets/wensu/1.jpg +0 -0
- package/src/assets/wensu/2.jpg +0 -0
- package/src/assets/wensu/3.jpg +0 -0
- package/src/assets/wensu/4.jpg +0 -0
- package/src/assets/wensu/5.jpg +0 -0
- package/src/assets//344/270/213/350/275/275_.png +0 -0
- package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
- package/src/assets//345/226/207/345/217/255.png +0 -0
- package/src/assets//345/234/260/345/235/200.png +0 -0
- package/src/assets//345/234/260/345/235/200/344/277/256/346/224/271.png +0 -0
- package/src/assets//345/247/223/345/220/215.png +0 -0
- package/src/assets//345/260/217/345/214/272.png +0 -0
- package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
- package/src/assets//345/267/241/346/243/200/344/272/272/345/221/230.png +0 -0
- package/src/assets//345/272/225/346/225/260.png +0 -0
- package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/261/202.png +0 -0
- package/src/assets//347/273/210/347/202/271.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
- package/src/assets//350/265/267/347/202/271.png +0 -0
- package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
- package/src/bus.js +2 -0
- package/src/components/CheckerCount/CheckCountAreaList.vue +19 -18
- package/src/components/CheckerCount/CheckCountAreaManage.vue +2 -2
- package/src/components/CheckerCount/CheckCountUserList.vue +5 -5
- package/src/components/DefectDealMain/DefectListNew.vue +597 -0
- package/src/components/DefectDealMain/DefectMainNew.vue +63 -0
- package/src/components/DefectDealMain/DefectPaperNew.vue +1052 -0
- package/src/components/ExportExcel.vue +17 -11
- package/src/components/ExportExcelOld.vue +203 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/Login.vue +4 -4
- package/src/components/NewDefectList/DefectListNew.vue +617 -0
- package/src/components/NewDefectList/DefectMainNew.vue +60 -0
- package/src/components/NewDefectList/DefectPaperNew.vue +1079 -0
- package/src/components/Test.vue +1 -1
- package/src/components/Util/FileUpload.vue +4 -4
- package/src/components/Util/ImgSelfSafe.vue +6 -6
- package/src/components/Util/ImgSelfSafePlus.vue +218 -0
- package/src/components/Util/RightTreeSafe.vue +348 -348
- package/src/components/Util/RightTreeSafeDep.vue +350 -0
- package/src/components/Util/SafecheckUpload.vue +6 -6
- package/src/components/Util.js +50 -8
- package/src/components/android/AddPlanItem.vue +242 -207
- package/src/components/android/AddPlanItemYy.vue +451 -0
- package/src/components/android/AddSpecialPlanItem.vue +426 -0
- package/src/components/android/AndroidDefectDeal.vue +461 -224
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
- package/src/components/android/Announcement.vue +2 -2
- package/src/components/android/AreaPlan.vue +83 -20
- package/src/components/android/AreaSelect.vue +198 -0
- package/src/components/android/BlackUserOnLine.vue +318 -0
- package/src/components/android/BuildingSelect.vue +192 -0
- package/src/components/android/CheckNotice.vue +3 -3
- package/src/components/android/CheckPlan.vue +6 -6
- package/src/components/android/CheckPlanDown.vue +4 -6
- package/src/components/android/CheckPlanItems.vue +1 -1
- package/src/components/android/CheckPlanList.vue +188 -0
- package/src/components/android/CheckPlanSelect.vue +229 -0
- package/src/components/android/Checkpage.vue +1 -1
- package/src/components/android/CivilCurrentCreate.vue +1026 -0
- package/src/components/android/ClockIn.vue +94 -0
- package/src/components/android/CurrentCreate.vue +229 -149
- package/src/components/android/CurrentCreateYy.vue +1051 -0
- package/src/components/android/CurrentCreate_new.vue +1021 -0
- package/src/components/android/DailyworkloadQuery.vue +287 -211
- package/src/components/android/Defect.vue +5 -5
- package/src/components/android/DeviceDefect.vue +5 -5
- package/src/components/android/Devices.vue +16 -16
- package/src/components/android/DevicesItem.vue +30 -30
- package/src/components/android/DevicesItemm.vue +29 -29
- package/src/components/android/Devicesm.vue +26 -26
- package/src/components/android/DoorService.vue +1 -1
- package/src/components/android/ExtractCheckPlan.vue +5 -5
- package/src/components/android/ExtractPlanItem.vue +207 -198
- package/src/components/android/ImgSelfAndroid.vue +181 -0
- package/src/components/android/Insurance/PhoneInsuranceManage.vue +44 -0
- package/src/components/android/Insurance/PhoneInsurancePurchase.vue +282 -0
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +288 -0
- package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +285 -0
- package/src/components/android/Insurance/TabButton.vue +149 -0
- package/src/components/android/Insurance/Tabs.vue +67 -0
- package/src/components/android/Iotinstructionsview/IoTinstruction.vue +183 -0
- package/src/components/android/LocalPagedList.js +3 -3
- package/src/components/android/LocalPathList.js +2 -2
- package/src/components/android/Login.vue +16 -16
- package/src/components/android/NewCheckpaperAndroid.vue +1362 -0
- package/src/components/android/NoCivilCurrentCreate.vue +1023 -0
- package/src/components/android/OnlineCheckByArea.vue +172 -0
- package/src/components/android/OnlineRepairSafe.vue +394 -0
- package/src/components/android/OnlineVindicate.vue +322 -0
- package/src/components/android/PaperAlarmNoncivil.vue +3 -3
- package/src/components/android/PaperCooker.vue +4 -4
- package/src/components/android/PaperDefect.vue +1 -1
- package/src/components/android/PaperDevice.vue +1 -1
- package/src/components/android/PaperFeedback.vue +176 -106
- package/src/components/android/PaperFeedbackTemp.vue +1470 -0
- package/src/components/android/PaperFeedbackm.vue +42 -42
- package/src/components/android/PaperFurnace.vue +3 -3
- package/src/components/android/PaperFurnaceNoncivil.vue +3 -3
- package/src/components/android/PaperHeater.vue +3 -3
- package/src/components/android/PaperInnerPlumb.vue +3 -3
- package/src/components/android/PaperMessage.vue +77 -77
- package/src/components/android/PaperMessageNocivil.vue +57 -57
- package/src/components/android/PaperMeter.vue +3 -3
- package/src/components/android/PaperMeterNoncivil.vue +3 -3
- package/src/components/android/PaperPieceNoncivil.vue +3 -3
- package/src/components/android/PaperPlumb.vue +3 -3
- package/src/components/android/PaperPlumbNoncivil.vue +3 -3
- package/src/components/android/PaperSet.vue +196 -196
- package/src/components/android/PaperSetNoncivil.vue +160 -160
- package/src/components/android/PaperState.vue +7 -7
- package/src/components/android/PaperStateNoncivil.vue +4 -4
- package/src/components/android/PaperStateNoncivilm.vue +4 -4
- package/src/components/android/PaperStatem.vue +10 -10
- package/src/components/android/PaperUser.vue +133 -157
- package/src/components/android/PaperUserNoncivil.vue +5 -5
- package/src/components/android/PaperUserm.vue +169 -159
- package/src/components/android/PaperValve.vue +3 -3
- package/src/components/android/PaperValveNoncivil.vue +3 -3
- package/src/components/android/PhoneChangemeterInfo.vue +5 -5
- package/src/components/android/PhoneRecordInfo.vue +113 -0
- package/src/components/android/PhoneSellInfo.vue +2 -2
- package/src/components/android/PhoneState.vue +1 -1
- package/src/components/android/PhoneUpDetail.vue +1040 -0
- package/src/components/android/PhoneUpUserinfo.vue +736 -435
- package/src/components/android/PhoneUserFind.vue +3 -3
- package/src/components/android/PhoneotherInfo.vue +132 -0
- package/src/components/android/PrearrangedPlan.vue +3 -3
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/RelieveRestrict.vue +293 -0
- package/src/components/android/RepairAreaList.vue +1 -1
- package/src/components/android/RepairList.vue +2 -2
- package/src/components/android/RepairQuery.vue +2 -2
- package/src/components/android/ResAreaList.vue +1 -1
- package/src/components/android/Restriction.vue +351 -0
- package/src/components/android/RightTree.vue +2 -2
- package/src/components/android/SafePlanItem.vue +509 -0
- package/src/components/android/SafecheckDevices.vue +295 -140
- package/src/components/android/SafecheckDevicesTemp.vue +1333 -0
- package/src/components/android/SafecheckOrderV.vue +2805 -2408
- package/src/components/android/SafecheckOrderVTemp.vue +1233 -0
- package/src/components/android/SafecheckState.vue +9 -9
- package/src/components/android/SafecheckUser.vue +9 -9
- package/src/components/android/ShebeiDevices.vue +77 -77
- package/src/components/android/SwitchValve.vue +178 -85
- package/src/components/android/SystemSetting.vue +2 -2
- package/src/components/android/ToolsPage.vue +1 -1
- package/src/components/android/TrackState.vue +3 -3
- package/src/components/android/UploadPage.vue +13 -123
- package/src/components/android/UserinfoSelect.vue +714 -0
- package/src/components/android/YuYueAddPlanItem.vue +257 -0
- package/src/components/android/checkPlanResult.vue +1 -1
- package/src/components/android/examples/410.png +0 -0
- package/src/components/android/examples/SafeListExamples.vue +296 -0
- package/src/components/android/examples/UserExamples.vue +136 -0
- package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
- package/src/components/android/examples/touxiang.png +0 -0
- package/src/components/android/old/PaperFeedback.vue +41 -41
- package/src/components/android/recheck/Recheck.vue +402 -0
- package/src/components/android/safeHistoryLook.vue +474 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -611
- package/src/components/android/wasm/PhoneSafePlan.vue +4 -4
- package/src/components/android/wasm/TestData.js +3 -3
- package/src/components/attendance/DailyAttendance.vue +2 -2
- package/src/components/attendance/MonthlyAttendance.vue +12 -12
- package/src/components/callincheck/CallInCheckMain.vue +1 -1
- package/src/components/callincheck/CallInPlan.vue +3 -3
- package/src/components/callincheck/UserFileList.vue +1 -1
- package/src/components/checkAreaClassification.vue +13 -13
- package/src/components/checkplan/CheckDetail.vue +110 -110
- package/src/components/checkplan/CheckPlan.vue +2 -2
- package/src/components/checkplan/SelectCheckPlan.vue +221 -134
- package/src/components/checkplan/SelectMessage.vue +7 -7
- package/src/components/checkplan/checkmsg.vue +30 -30
- package/src/components/checkplan/checkmsgZG.vue +26 -26
- package/src/components/createcheckplan/CreatePlan.vue +31 -109
- package/src/components/createcheckplan/CreatePlanWuan.vue +23 -100
- package/src/components/createcheckplan/DelPlanRepeat.vue +13 -13
- package/src/components/createcheckplan/DistributePlan.vue +1 -1
- package/src/components/createcheckplan/PlanList.vue +14 -14
- package/src/components/defect/DefectDetail.vue +6 -6
- package/src/components/defect/DefectDetailWeixiu.vue +6 -6
- package/src/components/defect/DefectList.vue +24 -6
- package/src/components/defect/DefectListWeixiu.vue +484 -479
- package/src/components/defect/DefectMain.vue +2 -2
- package/src/components/defect/DefectMainWeixiu.vue +2 -2
- package/src/components/defect/DefectPaper.vue +16 -14
- package/src/components/defect/DefectPaperWeiXiu.vue +508 -580
- package/src/components/defect/ImageViewer.vue +7 -7
- package/src/components/defect/ImgButton.vue +162 -104
- package/src/components/defect/ImgButtons.vue +159 -0
- package/src/components/defect/ImgsButton.vue +2 -2
- package/src/components/defects/CheckPaperItems.vue +2 -2
- package/src/components/defects/CheckPaperSearch.vue +12 -12
- package/src/components/defects/CheckPaperSearchMain.vue +1 -1
- package/src/components/defects/DefectCondition.vue +1 -1
- package/src/components/equipment/CheckRate.vue +3 -3
- package/src/components/equipment/MonthCheckRate.vue +1 -1
- package/src/components/filialCircle/AddCircleFiliale.vue +1 -1
- package/src/components/inspections/AddInspectPlanItem.vue +12 -12
- package/src/components/inspections/AddInspectPlanItems.vue +12 -12
- package/src/components/inspections/AddInspectPlanItemss.vue +14 -14
- package/src/components/inspections/Checked.vue +3 -3
- package/src/components/inspections/DisplayInspectionList.vue +50 -50
- package/src/components/inspections/InsUploadPage.vue +12 -12
- package/src/components/inspections/InspectionList.vue +12 -78
- package/src/components/inspections/InspectionLists.vue +12 -78
- package/src/components/inspections/InspectionListss.vue +12 -79
- package/src/components/inspections/inspectionDevices.vue +65 -65
- package/src/components/inspections/inspectionFeedback.vue +43 -43
- package/src/components/inspections/inspectionOrderV.vue +193 -193
- package/src/components/inspections/inspectionOrderVs.vue +193 -193
- package/src/components/inspections/inspectionOrderVss.vue +194 -194
- package/src/components/inspections/inspectionUserInfo.vue +23 -23
- package/src/components/issueplan/IssuePlanAction.vue +1 -1
- package/src/components/issueplan/IssuePlanQuery.vue +2 -2
- package/src/components/json-editor/SafeJsonEditor.vue +26 -26
- package/src/components/json-editor/assets/jsoneditor-minimalist.js +35 -35
- package/src/components/json-editor/assets/jsoneditor.js +492 -492
- package/src/components/json-editor/example/App.vue +9 -9
- package/src/components/levelplan/AdjustPlan.vue +2 -2
- package/src/components/levelplan/CheckerLeft.vue +1 -1
- package/src/components/levelplan/CheckerPlanAdjust.vue +8 -8
- package/src/components/levelplan/CheckerRight.vue +2 -2
- package/src/components/map/AMap.vue +3 -3
- package/src/components/map/AMapTrailShowZk.vue +11 -4
- package/src/components/map/AMapTrajectory.vue +436 -0
- package/src/components/map/AMapTrajectoryNew.vue +390 -0
- package/src/components/map/FootPrintList.vue +1 -1
- package/src/components/map/MapCriteriaData.vue +3 -3
- package/src/components/map/PersonTrack.vue +224 -0
- package/src/components/map/checkScreen.vue +706 -547
- package/src/components/map/douglasPeuckerForAMap.js +88 -0
- package/src/components/metterfiles/MetterfilesAdd.vue +1 -1
- package/src/components/metterfiles/MetterfilesChange.vue +1 -1
- package/src/components/metterfiles/UserFiles.vue +1 -1
- package/src/components/metterfiles/Userfileschange.vue +1 -1
- package/src/components/noplan/NoPlanPaperList.vue +123 -0
- package/src/components/noplan/NoPlanSearchUser.vue +300 -0
- package/src/components/noplan/NoPlanUserInfo.vue +67 -0
- package/src/components/olddata/OldPaperList.vue +340 -0
- package/src/components/paper/PaperList.vue +790 -757
- package/src/components/paper/PaperVerify.vue +2 -2
- package/src/components/paper/PlanChooser.vue +20 -12
- package/src/components/pc/AddToCheckBook.vue +160 -0
- package/src/components/pc/AnnouncementPC.vue +9 -9
- package/src/components/pc/CheckBook.vue +247 -13
- package/src/components/pc/CheckBookArea.vue +146 -0
- package/src/components/pc/CheckBookCompany.vue +144 -0
- package/src/components/pc/CheckBookDetails.vue +194 -0
- package/src/components/pc/CheckBookEntry.vue +61 -0
- package/src/components/pc/CheckBookList.vue +375 -553
- package/src/components/pc/CheckBookSearchArea.vue +564 -0
- package/src/components/pc/CheckBookSearchUnit.vue +229 -0
- package/src/components/pc/CheckBookSearchUser.vue +604 -0
- package/src/components/pc/CheckBookSearchUserList.vue +675 -0
- package/src/components/pc/CheckBookUser.vue +28 -4
- package/src/components/pc/CheckNoDetail.vue +209 -0
- package/src/components/pc/CheckNoPlan.vue +55 -0
- package/src/components/pc/CheckPlanCountChart.vue +201 -0
- package/src/components/pc/DefectDeal.vue +997 -0
- package/src/components/pc/DefectList.vue +742 -0
- package/src/components/pc/DepSelector.vue +55 -0
- package/src/components/pc/DeviceChange.vue +82 -82
- package/src/components/pc/Edit.vue +126 -0
- package/src/components/pc/HiddenChart.vue +9 -9
- package/src/components/pc/LodopFuncs.js +159 -0
- package/src/components/pc/NewCheckpaper.vue +1943 -1306
- package/src/components/pc/NewCheckpaperTemp.vue +1295 -0
- package/src/components/pc/PaperChazhiMain.vue +12 -78
- package/src/components/pc/PaperDefectMain.vue +422 -140
- package/src/components/pc/PaperEdit.vue +151 -0
- package/src/components/pc/PaperVisitMain.vue +179 -0
- package/src/components/pc/PrintData.vue +243 -0
- package/src/components/pc/PrintMaterialBill.vue +155 -0
- package/src/components/pc/PrintTable.vue +241 -0
- package/src/components/pc/RoleSelector.vue +87 -49
- package/src/components/pc/RoleSelectorDep.vue +158 -0
- package/src/components/pc/SafeCheckOrder/SafeCheckOrder.vue +62 -0
- package/src/components/pc/SafeCheckOrder/SafeCheckOrderApplyDisposeBasics.vue +200 -0
- package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +214 -0
- package/src/components/pc/SafeCheckTree.vue +118 -0
- package/src/components/pc/SafeVisitHistory.vue +208 -0
- package/src/components/pc/SafeVisitInfo.vue +261 -0
- package/src/components/pc/SafecheckDeviceList.vue +260 -0
- package/src/components/pc/SelectCheckNoPlan.vue +278 -0
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -0
- package/src/components/phonestate/FootprintMap.vue +5 -5
- package/src/components/plancheck/CheckPlanAreaManage.vue +3 -3
- package/src/components/plancheck/CheckPlanList.vue +5 -5
- package/src/components/planmanage/PlanManage.vue +843 -782
- package/src/components/planmanage/checkPlanList.vue +182 -154
- package/src/components/planmanage/checkUserList.vue +773 -691
- package/src/components/querycheckpaper/CheckPaperList.vue +11 -3
- package/src/components/querycheckpaper/CheckPaperSearchUser.vue +12 -5
- package/src/components/querycheckpaper/CheckPaperSearchUserNew.vue +67 -0
- package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1035
- package/src/components/querycheckpaper/CheckSearchUserNew.vue +1109 -0
- package/src/components/querycheckpaper/PaperItems.vue +2 -2
- package/src/components/querycheckpaper/PaperSearchMain.vue +3 -3
- package/src/components/querycheckpaper/ShebeiPaperList.vue +3 -3
- package/src/components/querycheckpaper/ShebeiPaperSearchUser.vue +3 -3
- package/src/components/querycheckpaper/ShebeiSearchUser.vue +13 -13
- package/src/components/report/CheckByPlan.vue +118 -0
- package/src/components/report/CheckPlanAreaList.vue +485 -479
- package/src/components/report/CheckPlanAreaManage.vue +2 -2
- package/src/components/report/CheckPlanAreaReport.vue +122 -0
- package/src/components/report/CheckPlanCountChartArea.vue +120 -0
- package/src/components/report/CheckPlanUserList.vue +5 -5
- package/src/components/report/HazardStatistics.vue +114 -0
- package/src/components/report/HiddenSituation.vue +75 -22
- package/src/components/report/NoCheckplanSafecheck.vue +212 -0
- package/src/components/report/SafePlanSale.vue +4 -4
- package/src/components/report/SafePlanStatistics.vue +5 -5
- package/src/components/report/YinHuanBiHuan.vue +150 -0
- package/src/components/rongcheng/AddPlanItem.vue +13 -5
- package/src/components/rongcheng/AreaPlan.vue +4 -4
- package/src/components/rongcheng/AspPaperFeedback.vue +56 -56
- package/src/components/rongcheng/AspPaperStatem.vue +8 -8
- package/src/components/rongcheng/AspiratedAreaPlan.vue +310 -200
- package/src/components/rongcheng/AspiratedCurrentCreate.vue +682 -639
- package/src/components/rongcheng/AspiratedDevices.vue +110 -77
- package/src/components/rongcheng/AspiratedDistribute.vue +240 -0
- package/src/components/rongcheng/AspiratedOrderV.vue +209 -208
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +70 -44
- package/src/components/rongcheng/AspiratedPaperMessage.vue +78 -78
- package/src/components/rongcheng/AspiratedPaperMessageNocivil.vue +57 -57
- package/src/components/rongcheng/AspiratedUploadPage.vue +12 -12
- package/src/components/rongcheng/AspiratedUserInfo.vue +12 -12
- package/src/components/rongcheng/CheckCurrentCreate.vue +54 -30
- package/src/components/rongcheng/CheckPaperAreaUser.vue +51 -0
- package/src/components/rongcheng/CheckPaperList.vue +3 -3
- package/src/components/rongcheng/CheckPaperSearchUser.vue +1 -1
- package/src/components/rongcheng/CheckPaperSearchUserNo.vue +1 -1
- package/src/components/rongcheng/CheckPlanList.vue +256 -0
- package/src/components/rongcheng/CheckSearchArea.vue +703 -0
- package/src/components/rongcheng/CheckSearchUser.vue +635 -525
- package/src/components/rongcheng/CheckSearchUserNo.vue +455 -434
- package/src/components/rongcheng/CheckUserList.vue +205 -0
- package/src/components/rongcheng/CurrentCreateOnline.vue +906 -0
- package/src/components/rongcheng/Datepicker.vue +825 -0
- package/src/components/rongcheng/DefectList.vue +7 -7
- package/src/components/rongcheng/DefectPaper.vue +57 -19
- package/src/components/rongcheng/EventListener.js +29 -0
- package/src/components/rongcheng/ImgSelf.vue +122 -0
- package/src/components/rongcheng/PaperFeedback.vue +61 -61
- package/src/components/rongcheng/PaperListAJ.vue +5 -72
- package/src/components/rongcheng/PaperListNPAJ.vue +5 -72
- package/src/components/rongcheng/PaperListNPSQ.vue +43 -73
- package/src/components/rongcheng/PaperListSQ.vue +45 -84
- package/src/components/rongcheng/PaperMessage.vue +78 -78
- package/src/components/rongcheng/PaperMessageNocivil.vue +57 -57
- package/src/components/rongcheng/PaperStateNoncivilm.vue +35 -25
- package/src/components/rongcheng/PaperStatem.vue +103 -27
- package/src/components/rongcheng/PhoneDevicesInfo.vue +22 -7
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -0
- package/src/components/rongcheng/SafecheckDevices.vue +128 -95
- package/src/components/rongcheng/SafecheckOrderV.vue +2193 -2136
- package/src/components/rongcheng/SafecheckOrderVCli.vue +259 -212
- package/src/components/rongcheng/SafecheckUserInfo.vue +587 -21
- package/src/components/rongcheng/UploadPage.vue +16 -16
- package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +16 -30
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +33 -17
- package/src/components/rongcheng/report/CheckPlanUserList.vue +8 -8
- package/src/components/safecheck/common/TabButton.vue +3 -3
- package/src/components/safecheck/queryManage/CheckBookAll.vue +15 -19
- package/src/components/safecheck/queryManage/SafeCheckManage.vue +3 -3
- package/src/components/safecheckNew/PaperList.vue +785 -0
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
- package/src/components/safecheckNew/android/Recheck.vue +379 -0
- package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -0
- package/src/components/sendsingle/EquipmentManagement.vue +27 -27
- package/src/components/sendsingle/onlineChangeMeter.vue +60 -60
- package/src/components/sendsingle/onlineoperation.vue +26 -26
- package/src/components/sendsingle/onlinequeryuser.vue +29 -29
- package/src/components/shaoguan/CheckPlanUserList.vue +6 -6
- package/src/components/shaoguan/DefectDetail.vue +6 -6
- package/src/components/shaoguan/DefectList.vue +6 -6
- package/src/components/shaoguan/DefectPaper.vue +2 -2
- package/src/components/shaoguan/PaperList.vue +12 -79
- package/src/components/shaoguan/SafecheckOrderV.vue +202 -202
- package/src/components/tongcheng/AreaPlan.vue +4 -4
- package/src/components/tongcheng/CurrentCreate.vue +13 -13
- package/src/components/tongcheng/PaperFeedback.vue +48 -48
- package/src/components/tongcheng/PaperMessage.vue +79 -79
- package/src/components/tongcheng/PaperMessageNocivil.vue +57 -57
- package/src/components/tongcheng/PaperSet.vue +196 -196
- package/src/components/tongcheng/PaperUser.vue +9 -9
- package/src/components/userfile/InfoModifyModal.vue +5 -3
- package/src/components/userfile/SecurityAudit.vue +243 -0
- package/src/components/userfile/UserInfoAudit.vue +106 -42
- package/src/components/userfile/UserinfoModify.vue +4 -0
- package/src/components/userfileNew/InfoModifyModal.vue +122 -0
- package/src/components/userfileNew/UserInfoAuditNew.vue +274 -0
- package/src/components/userfileNew/UserinfoModify.vue +283 -0
- package/src/components/userfileNew/UserinfoModifyOld.vue +117 -0
- package/src/filiale/ALshan/pc/CheckSearchUser.vue +15 -15
- package/src/filiale/ALshan/pc/DefectListWeixiu.vue +10 -7
- package/src/filiale/ALshan/pc/RoleSelector.vue +140 -0
- package/src/filiale/ALshan/pc/checkUserList.vue +714 -0
- package/src/filiale/ALshan/pc.js +2 -0
- package/src/filiale/Util.js +20 -8
- package/src/filiale/ancheng/android/NewCheckpaperAndroid.vue +1358 -0
- package/src/filiale/ancheng/android/PaperFeedback.vue +1489 -0
- package/src/filiale/ancheng/android/SafecheckDevices.vue +1267 -0
- package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -0
- package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -0
- package/src/filiale/ancheng/android.js +14 -0
- package/src/filiale/ancheng/pc/NewCheckpaper.vue +1744 -0
- package/src/filiale/ancheng/pc/PaperList.vue +659 -0
- package/src/filiale/ancheng/pc/checkScreen.vue +923 -0
- package/src/filiale/ancheng/pc.js +15 -0
- package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -0
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +648 -0
- package/src/filiale/ankangyihua/android/CurrentCreate.vue +1039 -0
- package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -0
- package/src/filiale/ankangyihua/android/UploadPage.vue +306 -0
- package/src/filiale/ankangyihua/android.js +14 -0
- package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +1039 -0
- package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -0
- package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +545 -0
- package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1420 -0
- package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/ankangyihua/pc/PaperList.vue +656 -0
- package/src/filiale/ankangyihua/pc/PdfUtil.js +872 -0
- package/src/filiale/ankangyihua/pc/PlanManage.vue +830 -0
- package/src/filiale/ankangyihua/pc/RoleSelector.vue +160 -0
- package/src/filiale/ankangyihua/pc/checkUserList.vue +697 -0
- package/src/filiale/ankangyihua/pc.js +22 -0
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/baiyin/android.js +11 -0
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -0
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -0
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -0
- package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -0
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -0
- package/src/filiale/baiyin/pc/PaperList.vue +790 -0
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -0
- package/src/filiale/baiyin/pc.js +21 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +430 -0
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/CurrentCreate.vue +1057 -0
- package/src/filiale/bayan/android/Edit.vue +132 -0
- package/src/filiale/bayan/android/PaperFeedback.vue +1669 -0
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1377 -0
- package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -0
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +868 -0
- package/src/filiale/bayan/android.js +18 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +601 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +295 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +1992 -0
- package/src/filiale/bayan/pc/PaperList.vue +900 -0
- package/src/filiale/bayan/pc/PlanManage.vue +960 -0
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +391 -0
- package/src/filiale/bayan/pc.js +22 -0
- package/src/filiale/dexin/android/CasualSave.vue +1050 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -0
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -0
- package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +213 -0
- package/src/filiale/dexin/android.js +14 -0
- package/src/filiale/dexin/pc/PaperList.vue +805 -0
- package/src/filiale/dexin/pc.js +12 -0
- package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +11 -0
- package/src/filiale/fugou/pc/AddToCheckBook.vue +97 -0
- package/src/filiale/fugou/pc/CheckBook.vue +303 -0
- package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -0
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -0
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
- package/src/filiale/fugou/pc/CheckBookUser.vue +158 -0
- package/src/filiale/fugou/pc/DefectMainNew.vue +63 -0
- package/src/filiale/fugou/pc/DefectPaperNew.vue +1085 -0
- package/src/filiale/fugou/pc/PaperDefectMain.vue +928 -0
- package/src/filiale/fugou/pc/PaperList.vue +911 -0
- package/src/filiale/fugou/pc/PlanManage.vue +1061 -0
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
- package/src/filiale/fugou/pc/checkUserList.vue +904 -0
- package/src/filiale/fugou/pc.js +72 -0
- package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -0
- package/src/filiale/fugu/android.js +10 -0
- package/src/filiale/fugu/pc/CheckSearchUser.vue +977 -0
- package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -0
- package/src/filiale/fugu/pc/SelectCheckPlan.vue +273 -0
- package/src/filiale/fugu/pc/planmanage/checkUserList.vue +688 -0
- package/src/filiale/fugu/pc.js +18 -0
- package/src/filiale/ganquan/android/AddPlanItem.vue +444 -0
- package/src/filiale/ganquan/android/AndroidDefectDeal.vue +570 -0
- package/src/filiale/ganquan/android/NoPlanDaofang.vue +241 -0
- package/src/filiale/ganquan/android/PhoneUpUserinfo.vue +986 -0
- package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -0
- package/src/filiale/ganquan/android.js +25 -0
- package/src/filiale/ganquan/pc/CheckPlan.vue +47 -0
- package/src/filiale/ganquan/pc/DefectPaperNew.vue +1009 -0
- package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -0
- package/src/filiale/ganquan/pc/PaperList.vue +654 -0
- package/src/filiale/ganquan/pc/PaperVisitMain.vue +166 -0
- package/src/filiale/ganquan/pc/SelectCheckPlan.vue +234 -0
- package/src/filiale/ganquan/pc/checkUserList.vue +681 -0
- package/src/filiale/ganquan/pc.js +20 -0
- package/src/filiale/gehua/android/CurrentCreate.vue +1009 -0
- package/src/filiale/gehua/android.js +12 -0
- package/src/filiale/gehua/pc/PaperList.vue +558 -0
- package/src/filiale/gehua/pc/checkUserList.vue +720 -0
- package/src/filiale/gehua/pc/checkmsg.vue +241 -0
- package/src/filiale/gehua/pc.js +15 -0
- package/src/filiale/guangxi/android/AreaPlan.vue +547 -0
- package/src/filiale/guangxi/android/CurrentCreate.vue +1037 -0
- package/src/filiale/guangxi/android.js +13 -0
- package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +471 -0
- package/src/filiale/guangxi/pc/DefectListNew.vue +518 -0
- package/src/filiale/guangxi/pc/DefectMainNew.vue +63 -0
- package/src/filiale/guangxi/pc/DefectPaperNew.vue +988 -0
- package/src/filiale/guangxi/pc.js +14 -0
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -0
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -0
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -0
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -0
- package/src/filiale/hanzhong/android.js +16 -0
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +713 -0
- package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +499 -0
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +573 -0
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +508 -0
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +1127 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +755 -0
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +595 -0
- package/src/filiale/hanzhong/pc/HomeEcharts.vue +153 -0
- package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
- package/src/filiale/hanzhong/pc/PaperList.vue +702 -0
- package/src/filiale/hanzhong/pc.js +46 -0
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/huatong/android/AndroidDefectDeal.vue +396 -0
- package/src/filiale/huatong/android/CurrentCreate.vue +1023 -0
- package/src/filiale/huatong/android/PaperFeedback.vue +1433 -0
- package/src/filiale/huatong/android/SafecheckDevices.vue +68 -68
- package/src/filiale/huatong/android/SafecheckOrderV.vue +250 -222
- package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -0
- package/src/filiale/huatong/android.js +5 -2
- package/src/filiale/huatong/pc/ExportExcelOld.vue +203 -0
- package/src/filiale/huatong/pc/PaperDefectMain.vue +800 -0
- package/src/filiale/huatong/pc/PaperList.vue +789 -0
- package/src/filiale/huatong/pc.js +3 -1
- package/src/filiale/huayin/android/AreaPlan.vue +535 -0
- package/src/filiale/huayin/android/PaperFeedback.vue +1422 -0
- package/src/filiale/huayin/android/SafecheckOrderV.vue +2712 -0
- package/src/filiale/huayin/android.js +14 -0
- package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -0
- package/src/filiale/huayin/pc/PaperList.vue +621 -0
- package/src/filiale/huayin/pc.js +14 -0
- package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -0
- package/src/filiale/jiaocheng/android/PaperFeedback.vue +1308 -0
- package/src/filiale/jiaocheng/android/SafecheckDevices.vue +1267 -0
- package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -0
- package/src/filiale/jiaocheng/android.js +13 -0
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +1011 -0
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -0
- package/src/filiale/jiaocheng/pc/NewCheckpaper.vue +1417 -0
- package/src/filiale/jiaocheng/pc.js +14 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -0
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +14 -0
- package/src/filiale/jiaxian/pc.js +12 -0
- package/src/filiale/jinbin/android/AndroidDefectDeal.vue +403 -0
- package/src/filiale/jinbin/android/DailyworkloadQuery.vue +395 -0
- package/src/filiale/jinbin/android/PhoneUpUserinfo.vue +878 -0
- package/src/filiale/jinbin/android.js +12 -0
- package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +479 -0
- package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -0
- package/src/filiale/jinbin/pc.js +15 -0
- package/src/filiale/jingyang/android/AddPlanItem.vue +458 -0
- package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -0
- package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -0
- package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +1234 -0
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -0
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -0
- package/src/filiale/jingyang/android.js +15 -0
- package/src/filiale/jingyang/pc/CheckSearchUser.vue +1062 -0
- package/src/filiale/jingyang/pc/InfoModifyModal.vue +151 -0
- package/src/filiale/jingyang/pc/PaperList.vue +793 -0
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc/UserInfoAuditNew.vue +272 -0
- package/src/filiale/jingyang/pc/UserinfoModify.vue +133 -0
- package/src/filiale/jingyang/pc.js +15 -0
- package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
- package/src/filiale/kelai/android/AndroidDefectDeal.vue +747 -0
- package/src/filiale/kelai/android/CheckPlanList.vue +203 -0
- package/src/filiale/kelai/android/CurrentCreate.vue +1008 -0
- package/src/filiale/kelai/android/PaperFeedback.vue +1539 -0
- package/src/filiale/kelai/android/PhoneUpUserinfo.vue +1053 -0
- package/src/filiale/kelai/android/RelieveRestrict.vue +304 -0
- package/src/filiale/kelai/android/SafecheckDevices.vue +1232 -0
- package/src/filiale/kelai/android/SafecheckOrderV.vue +2448 -0
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -0
- package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -0
- package/src/filiale/kelai/android.js +21 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -0
- package/src/filiale/kelai/pc/CheckSearchUser.vue +1011 -0
- package/src/filiale/kelai/pc/DefectListNew.vue +688 -0
- package/src/filiale/kelai/pc/DefectPaperNew.vue +1090 -0
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGas.vue +60 -0
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -0
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +897 -0
- package/src/filiale/kelai/pc/InfoModifyModal.vue +123 -0
- package/src/filiale/kelai/pc/MeterModify.vue +46 -0
- package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -0
- package/src/filiale/kelai/pc/PaperList.vue +596 -0
- package/src/filiale/kelai/pc/UserInfoAudit.vue +254 -0
- package/src/filiale/kelai/pc/UserinfoModify.vue +124 -0
- package/src/filiale/kelai/pc/checkUserList.vue +698 -0
- package/src/filiale/kelai/pc/checkmsg.vue +275 -0
- package/src/filiale/kelai/pc.js +25 -0
- package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -0
- package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
- package/src/filiale/liaoyuan/android/SafecheckDevices.vue +68 -68
- package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +232 -227
- package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +30 -23
- package/src/filiale/liaoyuan/android.js +2 -0
- package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +963 -0
- package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +13 -7
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +550 -514
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +54 -54
- package/src/filiale/liaoyuan/pc/PaperList.vue +66 -86
- package/src/filiale/liaoyuan/pc/RoleSelector.vue +160 -0
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +4 -1
- package/src/filiale/lixian/android/CurrentCreate.vue +997 -0
- package/src/filiale/lixian/android/SafecheckDevices.vue +82 -82
- package/src/filiale/lixian/android/SafecheckOrderV.vue +215 -214
- package/src/filiale/lixian/android/SafecheckUserInfo.vue +30 -38
- package/src/filiale/lixian/android.js +2 -1
- package/src/filiale/lixian/pc/CheckPlanAreaList.vue +25 -19
- package/src/filiale/lixian/pc/CheckSearchUser.vue +927 -0
- package/src/filiale/lixian/pc/NewCheckpaper.vue +58 -58
- package/src/filiale/lixian/pc/PaperChazhiMain.vue +13 -80
- package/src/filiale/lixian/pc/PaperDefectMain.vue +14 -80
- package/src/filiale/lixian/pc/PaperList.vue +21 -87
- package/src/filiale/lixian/pc/checkPlanList.vue +366 -0
- package/src/filiale/lixian/pc/checkUserList.vue +761 -0
- package/src/filiale/lixian/pc.js +4 -2
- package/src/filiale/minsheng/android/AreaPlan.vue +537 -0
- package/src/filiale/minsheng/android/CurrentCreate.vue +1028 -0
- package/src/filiale/minsheng/android/PhoneUpUserinfo.vue +1269 -0
- package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -0
- package/src/filiale/minsheng/android/SwitchValve.vue +497 -0
- package/src/filiale/minsheng/android.js +16 -0
- package/src/filiale/minsheng/pc/CheckSearchUser.vue +976 -0
- package/src/filiale/minsheng/pc/DefectListNew.vue +535 -0
- package/src/filiale/minsheng/pc/DefectMainNew.vue +63 -0
- package/src/filiale/minsheng/pc/checkUserList.vue +806 -0
- package/src/filiale/minsheng/pc.js +15 -0
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -0
- package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -0
- package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -0
- package/src/filiale/pingxiang/android.js +11 -0
- package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -0
- package/src/filiale/pingxiang/pc/DefectMainNew.vue +62 -0
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1012 -0
- package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -0
- package/src/filiale/pingxiang/pc/PaperList.vue +595 -0
- package/src/filiale/pingxiang/pc.js +15 -0
- package/src/filiale/qianneng/android/AddPlanItem.vue +482 -0
- package/src/filiale/qianneng/android/AreaPlan.vue +536 -0
- package/src/filiale/qianneng/android/CurrentCreate.vue +1003 -0
- package/src/filiale/qianneng/android/PaperFeedback.vue +1434 -0
- package/src/filiale/qianneng/android/PhoneUpUserinfo.vue +1127 -0
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -0
- package/src/filiale/qianneng/android/SwitchValve.vue +369 -0
- package/src/filiale/qianneng/android.js +18 -0
- package/src/filiale/qianneng/pc/DefectListNew.vue +576 -0
- package/src/filiale/qianneng/pc/DefectPaperNew.vue +1072 -0
- package/src/filiale/qianneng/pc/InfoModifyModal.vue +135 -0
- package/src/filiale/qianneng/pc/MeterModify.vue +46 -0
- package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -0
- package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +220 -0
- package/src/filiale/qianneng/pc/PaperList.vue +777 -0
- package/src/filiale/qianneng/pc/PlanManage.vue +857 -0
- package/src/filiale/qianneng/pc/UserInfoAudit.vue +286 -0
- package/src/filiale/qianneng/pc/UserinfoModify.vue +125 -0
- package/src/filiale/qianneng/pc/checkPlanList.vue +429 -0
- package/src/filiale/qianneng/pc/checkUserList.vue +871 -0
- package/src/filiale/qianneng/pc.js +22 -0
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -0
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1269 -0
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -0
- package/src/filiale/qingjian/android.js +13 -0
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +1876 -0
- package/src/filiale/qingjian/pc/PaperDefectMain.vue +895 -0
- package/src/filiale/qingjian/pc.js +15 -0
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -0
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
- package/src/filiale/qingtongxia/android.js +14 -0
- package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -0
- package/src/filiale/qingtongxia/pc/NewCheckpaper.vue +1908 -0
- package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +858 -0
- package/src/filiale/qingtongxia/pc.js +15 -0
- package/src/filiale/rizhao/android/AddPlanItem.vue +446 -0
- package/src/filiale/rizhao/android/PaperFeedback.vue +1510 -0
- package/src/filiale/rizhao/android/SafecheckDevices.vue +1169 -0
- package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -0
- package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -0
- package/src/filiale/rizhao/android.js +14 -0
- package/src/filiale/rizhao/pc/DefectList.vue +489 -0
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +1346 -0
- package/src/filiale/rizhao/pc/PaperList.vue +714 -0
- package/src/filiale/rizhao/pc.js +15 -0
- package/src/filiale/rongchuang/android/PaperFeedback.vue +1455 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1400 -0
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -0
- package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -0
- package/src/filiale/rongchuang/android.js +13 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +1342 -0
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc/checkUserList.vue +42 -15
- package/src/filiale/rongchuang/pc.js +3 -1
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shanggao/android/PaperFeedback.vue +1422 -0
- package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -0
- package/src/filiale/shanggao/android.js +12 -0
- package/src/filiale/shanxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/shanxian/android/AndroidDefectDeal.vue +755 -0
- package/src/filiale/shanxian/android/CurrentCreate_new.vue +1027 -0
- package/src/filiale/shanxian/android/PaperFeedback.vue +1445 -0
- package/src/filiale/shanxian/android/PhoneUpUserinfo.vue +939 -0
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -0
- package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -0
- package/src/filiale/shanxian/android.js +18 -0
- package/src/filiale/shanxian/pc/CheckDetail.vue +205 -0
- package/src/filiale/shanxian/pc/CheckPlan.vue +55 -0
- package/src/filiale/shanxian/pc/CheckSearchUser.vue +1114 -0
- package/src/filiale/shanxian/pc/DefectPaperNew.vue +1096 -0
- package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -0
- package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -0
- package/src/filiale/shanxian/pc/PaperList.vue +785 -0
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +303 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +700 -0
- package/src/filiale/shanxian/pc.js +20 -0
- package/src/filiale/shaoguan/android.js +10 -0
- package/src/filiale/shaoguan/pc/PaperList.vue +589 -0
- package/src/filiale/shaoguan/pc.js +11 -0
- package/src/filiale/shexian/android/AddPlanItem.vue +444 -0
- package/src/filiale/shexian/android/AndroidDefectDeal.vue +634 -0
- package/src/filiale/shexian/android/AreaPlan.vue +540 -0
- package/src/filiale/shexian/android/DailyworkloadQuery.vue +418 -0
- package/src/filiale/shexian/android/PaperFeedback.vue +1448 -0
- package/src/filiale/shexian/android/PhoneUpUserinfo.vue +1153 -0
- package/src/filiale/shexian/android/SafecheckDevices.vue +1279 -0
- package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -0
- package/src/filiale/shexian/android.js +17 -0
- package/src/filiale/shexian/pc/DefectListNew.vue +593 -0
- package/src/filiale/shexian/pc/DefectPaperNew.vue +1161 -0
- package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -0
- package/src/filiale/shexian/pc/PaperDefectMain.vue +893 -0
- package/src/filiale/shexian/pc/PaperList.vue +822 -0
- package/src/filiale/shexian/pc.js +16 -0
- package/src/filiale/shimen/android/CurrentCreate.vue +29 -29
- package/src/filiale/shimen/android/PaperFeedback.vue +66 -66
- package/src/filiale/shimen/android/PhoneSellInfo.vue +2 -2
- package/src/filiale/shimen/android/SafecheckUserInfo.vue +24 -24
- package/src/filiale/shimen/pc/CheckPlanAreaList.vue +18 -18
- package/src/filiale/shimen/pc/CheckSearchUser.vue +14 -14
- package/src/filiale/shimen/pc/DefectList.vue +6 -6
- package/src/filiale/shimen/pc/NewCheckpaper.vue +54 -54
- package/src/filiale/shimen/pc/PaperDefectMain.vue +17 -84
- package/src/filiale/shimen/pc/PaperList.vue +12 -78
- package/src/filiale/shimen/pc/checkmsg.vue +7 -7
- package/src/filiale/shiquan/android/AreaPlan.vue +526 -0
- package/src/filiale/shiquan/android/CurrentCreate.vue +1014 -0
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1269 -0
- package/src/filiale/shiquan/android.js +12 -0
- package/src/filiale/shiquan/pc/checkUserList.vue +755 -0
- package/src/filiale/shiquan/pc.js +13 -0
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
- package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
- package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
- package/src/filiale/siyang/android.js +15 -0
- package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -0
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/siyang/pc/PaperList.vue +834 -0
- package/src/filiale/siyang/pc/PlanManage.vue +839 -0
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +790 -0
- package/src/filiale/siyang/pc.js +22 -0
- package/src/filiale/tianke/android/AddPlanItem.vue +455 -0
- package/src/filiale/tianke/android/CurrentCreate.vue +988 -0
- package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -0
- package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -0
- package/src/filiale/tianke/android.js +16 -0
- package/src/filiale/tianke/pc/DefectListNew.vue +538 -0
- package/src/filiale/tianke/pc/PaperDefectMain.vue +891 -0
- package/src/filiale/tianke/pc/checkScreen.vue +786 -0
- package/src/filiale/tianke/pc/cq.jpg +0 -0
- package/src/filiale/tianke/pc/qy.jpg +0 -0
- package/src/filiale/tianke/pc.js +15 -0
- package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -0
- package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +647 -0
- package/src/filiale/tongchuan/android/CurrentCreate.vue +1001 -0
- package/src/filiale/tongchuan/android/PaperFeedback.vue +129 -163
- package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -0
- package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -0
- package/src/filiale/tongchuan/android/PhoneUpDetail.vue +707 -0
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +1323 -0
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +1207 -1112
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3035 -2575
- package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +119 -39
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android/SwitchValve.vue +284 -0
- package/src/filiale/tongchuan/android/UploadPage.vue +26 -14
- package/src/filiale/tongchuan/android.js +10 -2
- package/src/filiale/tongchuan/pc/CheckBookArea.vue +145 -0
- package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -0
- package/src/filiale/tongchuan/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/tongchuan/pc/CheckBookList.vue +377 -0
- package/src/filiale/tongchuan/pc/CheckDetail.vue +205 -0
- package/src/filiale/tongchuan/pc/CheckPlan.vue +55 -0
- package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +502 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +137 -0
- package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +6 -5
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1053 -956
- package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -0
- package/src/filiale/tongchuan/pc/DefectPaper.vue +17 -17
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +96 -12
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -0
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +69 -73
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +213 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +676 -250
- package/src/filiale/tongchuan/pc/PaperList.vue +77 -84
- package/src/filiale/tongchuan/pc/PlanManage.vue +901 -0
- package/src/filiale/tongchuan/pc/RoleSelector.vue +172 -0
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +296 -0
- package/src/filiale/tongchuan/pc/checkUserList.vue +639 -593
- package/src/filiale/tongchuan/pc/repairScreen.vue +767 -0
- package/src/filiale/tongchuan/pc.js +16 -1
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/AddPlanItem.vue +438 -0
- package/src/filiale/weinan/android/AndroidDefectDeal.vue +450 -0
- package/src/filiale/weinan/android/AreaPlan.vue +693 -0
- package/src/filiale/weinan/android/CurrentCreate.vue +1171 -0
- package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -0
- package/src/filiale/weinan/android/PaperFeedback.vue +1410 -0
- package/src/filiale/weinan/android/PhoneUpDetail.vue +968 -0
- package/src/filiale/weinan/android/PhoneUpUserinfo.vue +1038 -0
- package/src/filiale/weinan/android/SafePlanItem.vue +440 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1295 -0
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3339 -0
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -0
- package/src/filiale/weinan/android.js +21 -0
- package/src/filiale/weinan/pc/CheckBook.vue +332 -0
- package/src/filiale/weinan/pc/CheckBookAll.vue +67 -0
- package/src/filiale/weinan/pc/CheckBookArea.vue +180 -0
- package/src/filiale/weinan/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/weinan/pc/CheckBookCompanyUser.vue +86 -0
- package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -0
- package/src/filiale/weinan/pc/CheckBookList.vue +446 -0
- package/src/filiale/weinan/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -0
- package/src/filiale/weinan/pc/CheckBookUser.vue +101 -0
- package/src/filiale/weinan/pc/CheckDetail.vue +278 -0
- package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +297 -0
- package/src/filiale/weinan/pc/CheckNoDetail.vue +259 -0
- package/src/filiale/weinan/pc/CheckNoPlan.vue +59 -0
- package/src/filiale/weinan/pc/CheckPlan.vue +57 -0
- package/src/filiale/weinan/pc/CheckPlanAreaList.vue +472 -0
- package/src/filiale/weinan/pc/CheckPlanAreaManage.vue +111 -0
- package/src/filiale/weinan/pc/CheckPlanOutHelp.vue +57 -0
- package/src/filiale/weinan/pc/CheckPlanUserList.vue +338 -0
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
- package/src/filiale/weinan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/HiddenSituation.vue +167 -0
- package/src/filiale/weinan/pc/NewCheckpaper.vue +1459 -0
- package/src/filiale/weinan/pc/PaperDefectMain.vue +576 -0
- package/src/filiale/weinan/pc/PaperList.vue +674 -0
- package/src/filiale/weinan/pc/PersonTrack.vue +246 -0
- package/src/filiale/weinan/pc/PlanManage.vue +986 -0
- package/src/filiale/weinan/pc/PrintMaterialBillNoplan.vue +161 -0
- package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +299 -0
- package/src/filiale/weinan/pc/SelectCheckPlan.vue +389 -0
- package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +446 -0
- package/src/filiale/weinan/pc/checkPlanList.vue +456 -0
- package/src/filiale/weinan/pc/checkScreen.vue +1094 -0
- package/src/filiale/weinan/pc/checkUserList.vue +712 -0
- package/src/filiale/weinan/pc.js +47 -0
- package/src/filiale/weinanct/android/SafecheckDevices.vue +1225 -0
- package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -0
- package/src/filiale/weinanct/android.js +14 -0
- package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -0
- package/src/filiale/weinanct/pc/PaperList.vue +593 -0
- package/src/filiale/weinanct/pc/checkmsg.vue +248 -0
- package/src/filiale/weinanct/pc.js +14 -0
- package/src/filiale/wensu/android/AddPlanItem.vue +495 -0
- package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -0
- package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
- package/src/filiale/wensu/android/CurrentCreate.vue +998 -0
- package/src/filiale/wensu/android/PaperFeedback.vue +1358 -0
- package/src/filiale/wensu/android/PhoneUpUserinfo.vue +314 -0
- package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -0
- package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -0
- package/src/filiale/wensu/android.js +16 -0
- package/src/filiale/wensu/pc/CheckDetail.vue +205 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +1238 -0
- package/src/filiale/wensu/pc/DefectListNew.vue +735 -0
- package/src/filiale/wensu/pc/DefectMainNew.vue +63 -0
- package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -0
- package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
- package/src/filiale/wensu/pc/PlanManage.vue +831 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -0
- package/src/filiale/wensu/pc/RoleSelector.vue +150 -0
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -0
- package/src/filiale/wensu/pc/checkUserList.vue +650 -0
- package/src/filiale/wensu/pc.js +20 -0
- package/src/filiale/wenxi/android/AddPlanItem.vue +431 -0
- package/src/filiale/wenxi/android/AndroidDefectDealHY.vue +606 -0
- package/src/filiale/wenxi/android/AndroidDefectDealWX.vue +502 -0
- package/src/filiale/wenxi/android/AreaPlan.vue +519 -0
- package/src/filiale/wenxi/android/CurrentCreate.vue +37 -29
- package/src/filiale/wenxi/android/DailyworkloadQuery.vue +398 -0
- package/src/filiale/wenxi/android/PaperFeedback.vue +1173 -944
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1076 -0
- package/src/filiale/wenxi/android/SafecheckDevices.vue +1066 -780
- package/src/filiale/wenxi/android/SafecheckOrderV.vue +2334 -2135
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +177 -88
- package/src/filiale/wenxi/android/UploadPage.vue +13 -13
- package/src/filiale/wenxi/android.js +10 -2
- package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +456 -0
- package/src/filiale/wenxi/pc/CheckPlanUserList.vue +217 -0
- package/src/filiale/wenxi/pc/CheckSearchUser.vue +991 -0
- package/src/filiale/wenxi/pc/DefectList.vue +653 -0
- package/src/filiale/wenxi/pc/DefectPaper.vue +136 -135
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1194 -1005
- package/src/filiale/wenxi/pc/PaperDefectMain.vue +365 -209
- package/src/filiale/wenxi/pc/PaperList.vue +243 -154
- package/src/filiale/wenxi/pc/checkPlanList.vue +517 -0
- package/src/filiale/wenxi/pc/checkUserList.vue +695 -0
- package/src/filiale/wenxi/pc/checkmsg.vue +9 -9
- package/src/filiale/wenxi/pc/checkmsgdeal.vue +132 -0
- package/src/filiale/wenxi/pc.js +9 -2
- package/src/filiale/wuan/android/AreaPlan.vue +6 -6
- package/src/filiale/wuan/android/CurrentCreate.vue +25 -25
- package/src/filiale/wuan/android/CurrentCreateSheBei.vue +25 -25
- package/src/filiale/wuan/android/PaperFeedback.vue +1433 -0
- package/src/filiale/wuan/android/SafecheckDevices.vue +101 -101
- package/src/filiale/wuan/android/SafecheckOrderV.vue +221 -217
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +94 -69
- package/src/filiale/wuan/android.js +3 -2
- package/src/filiale/wuan/pc/DefectListWeixiu.vue +8 -8
- package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +11 -10
- package/src/filiale/wuan/pc/NewCheckpaper.vue +54 -54
- package/src/filiale/wuan/pc/PaperList.vue +12 -78
- package/src/filiale/wuhai/android/AreaPlan.vue +7 -7
- package/src/filiale/wuhai/android/CurrentCreate.vue +1005 -0
- package/src/filiale/wuhai/android/PaperFeedback.vue +67 -67
- package/src/filiale/wuhai/android/PhoneUpUserinfo.vue +926 -0
- package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -0
- package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -0
- package/src/filiale/wuhai/android.js +4 -1
- package/src/filiale/wuhai/pc/CheckSearchUser.vue +959 -0
- package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -0
- package/src/filiale/wuhai/pc/PaperList.vue +785 -0
- package/src/filiale/wuhai/pc/checkUserList.vue +48 -31
- package/src/filiale/wuhai/pc.js +5 -1
- package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
- package/src/filiale/xilan/android/CurrentCreate.vue +1063 -0
- package/src/filiale/xilan/android.js +11 -0
- package/src/filiale/xilan/pc/checkUserList.vue +772 -0
- package/src/filiale/xilan/pc.js +12 -0
- package/src/filiale/xinkang/android/AndroidDefectDeal.vue +449 -0
- package/src/filiale/xinkang/android/CurrentCreate.vue +997 -0
- package/src/filiale/xinkang/android/OrderBacklog.vue +997 -0
- package/src/filiale/xinkang/android/SafecheckDevices.vue +1183 -0
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -0
- package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -0
- package/src/filiale/xinkang/android.js +14 -0
- package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +425 -0
- package/src/filiale/xinkang/pc/CheckPlanAreaManage.vue +111 -0
- package/src/filiale/xinkang/pc/CheckPlanUserList.vue +216 -0
- package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -0
- package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -0
- package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +538 -0
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -0
- package/src/filiale/xinkang/pc/PaperDefectMain.vue +525 -0
- package/src/filiale/xinkang/pc/PaperList.vue +603 -0
- package/src/filiale/xinkang/pc/checkUserList.vue +639 -0
- package/src/filiale/xinkang/pc.js +22 -0
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -0
- package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +238 -0
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -0
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -0
- package/src/filiale/yangchunboneng/android/DailyworkloadQueryNew.vue +480 -0
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -0
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -0
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1336 -0
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -0
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -0
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -0
- package/src/filiale/yangchunboneng/android.js +21 -0
- package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +237 -0
- package/src/filiale/yangchunboneng/pc/CheckBook.vue +301 -0
- package/src/filiale/yangchunboneng/pc/CheckBookAll.vue +66 -0
- package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -0
- package/src/filiale/yangchunboneng/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +347 -0
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +659 -0
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -0
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -0
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -0
- package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -0
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -0
- package/src/filiale/yangchunboneng/pc/NewCheckpaper.vue +1816 -0
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -0
- package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -0
- package/src/filiale/yangchunboneng/pc.js +26 -0
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -0
- package/src/filiale/yongzhou/android/PhoneUpUserinfo.vue +1257 -0
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1294 -0
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -0
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -0
- package/src/filiale/yongzhou/android.js +16 -0
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +557 -0
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
- package/src/filiale/yongzhou/pc/PlanManage.vue +842 -0
- package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
- package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
- package/src/filiale/yongzhou/pc/RoleSelector.vue +161 -0
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/checkUserList.vue +752 -0
- package/src/filiale/yongzhou/pc/communityDetail.vue +194 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +138 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +114 -0
- package/src/filiale/yongzhou/pc/safeDetail.vue +539 -0
- package/src/filiale/yongzhou/pc/safeStatistics.vue +175 -0
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -0
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -0
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +135 -0
- package/src/filiale/yongzhou/pc/safeTable.vue +136 -0
- package/src/filiale/yongzhou/pc.js +32 -0
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/yuansheng/android/PaperFeedback.vue +1488 -0
- package/src/filiale/yuansheng/android/PaperState.vue +403 -0
- package/src/filiale/yuansheng/android/PhoneUpUserinfo.vue +942 -0
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +1258 -0
- package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -0
- package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -0
- package/src/filiale/yuansheng/android/SwitchValve.vue +322 -0
- package/src/filiale/yuansheng/android.js +17 -0
- package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -0
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -0
- package/src/filiale/yuansheng/pc/PaperList.vue +621 -0
- package/src/filiale/yuansheng/pc/checkmsg.vue +464 -0
- package/src/filiale/yuansheng/pc.js +15 -0
- package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -0
- package/src/filiale/yunchengminsheng/android/LdapHelper.js +75 -0
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1508 -0
- package/src/filiale/yunchengminsheng/android/PhoneUpUserinfo.vue +1198 -0
- package/src/filiale/yunchengminsheng/android/RightTree.vue +217 -0
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -0
- package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2849 -0
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/yunchengminsheng/android.js +14 -0
- package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +1538 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -0
- package/src/filiale/yunchengminsheng/pc.js +14 -0
- package/src/filiale/zhongsheng/android/AreaPlan.vue +526 -0
- package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -0
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +999 -0
- package/src/filiale/zhongsheng/android/IgnitionInformation.vue +170 -0
- package/src/filiale/zhongsheng/android/PaperFeedback.vue +96 -96
- package/src/filiale/zhongsheng/android/PhoneSellInfoXin.vue +68 -0
- package/src/filiale/zhongsheng/android/PhoneUpUserinfo.vue +53 -53
- package/src/filiale/zhongsheng/android/SafecheckDevices.vue +1214 -0
- package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +253 -239
- package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +177 -78
- package/src/filiale/zhongsheng/android.js +8 -2
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +463 -0
- package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +9 -9
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +13 -9
- package/src/filiale/zhongsheng/pc/InfoModifyModal.vue +2 -2
- package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +68 -54
- package/src/filiale/zhongsheng/pc/PaperList.vue +644 -0
- package/src/filiale/zhongsheng/pc/UserInfoAudit.vue +10 -10
- package/src/filiale/zhongsheng/pc.js +4 -1
- package/src/filiale/zhongyi/android/CurrentCreate.vue +988 -0
- package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -0
- package/src/filiale/zhongyi/android.js +14 -0
- package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -0
- package/src/filiale/zhongyi/pc/checkScreen.vue +781 -0
- package/src/filiale/zhongyi/pc.js +14 -0
- package/src/filiale/zhoukou/android/AndroidDefectDeal.vue +11 -11
- package/src/filiale/zhoukou/android/AreaPlan.vue +6 -6
- package/src/filiale/zhoukou/android/CurrentCreate.vue +26 -26
- package/src/filiale/zhoukou/android/PaperFeedback.vue +66 -66
- package/src/filiale/zhoukou/android/PhoneUpUserinfo.vue +51 -51
- package/src/filiale/zhoukou/android/SafecheckDevices.vue +95 -95
- package/src/filiale/zhoukou/android/SafecheckOrderV.vue +210 -210
- package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +27 -27
- package/src/filiale/zhoukou/android/UploadPage.vue +15 -15
- package/src/filiale/zhoukou/android.js +1 -1
- package/src/filiale/zhoukou/pc/CheckSearchUser.vue +14 -14
- package/src/filiale/zhoukou/pc/PaperDefectMain.vue +11 -77
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/main.js +33 -33
- package/src/plugins/EmojiData.js +4 -4
- package/src/plugins/GerJsonObjectConfig.js +1 -1
- package/src/plugins/GetCheckParams.js +45 -0
- package/src/plugins/LoadCheckParams.js +59 -0
- package/src/plugins/LocalPagedList.js +3 -3
- package/src/plugins/LocalPathList.js +2 -2
- package/src/rongcheng-android.js +14 -2
- package/src/rongcheng.js +15 -3
- package/src/safecheck-android.js +84 -2
- package/src/safecheck-page.js +12 -0
- package/src/safecheck.js +195 -20
- package/src/shaoguan.js +2 -2
- package/src/tongchengsafe-android.js +2 -2
- package/src/tongchengsafecheck.js +2 -2
- package/src/utils/GerJsonObjectConfig.js +1 -1
- package/src/utils/LdapHelper.js +1 -1
- package/src/utils/htmlToPdf.js +40 -0
- package/static/images/DownLoadQRCode.png +0 -0
- package/static/images/meterBook/down.png +0 -0
- package/static/images/meterBook/drag.png +0 -0
- package/static/images/meterBook/up.png +0 -0
- package/static/images//346/204/237/345/217/271/345/217/267.png +0 -0
- package/static/images//347/272/242/345/217/211/345/217/211.png +0 -0
- package/static/layui/css/layui.css +1 -0
- package/static/layui/css/modules/code.css +1 -0
- package/static/layui/css/modules/laydate/default/laydate.css +1 -0
- package/static/layui/css/modules/layer/default/icon-ext.png +0 -0
- package/static/layui/css/modules/layer/default/icon.png +0 -0
- package/static/layui/css/modules/layer/default/layer.css +1 -0
- package/static/layui/css/modules/layer/default/loading-0.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-1.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-2.gif +0 -0
- package/static/layui/font/iconfont.eot +0 -0
- package/static/layui/font/iconfont.svg +554 -0
- package/static/layui/font/iconfont.ttf +0 -0
- package/static/layui/font/iconfont.woff +0 -0
- package/static/layui/font/iconfont.woff2 +0 -0
- package/static/layui/layui.js +1 -0
- package/static/stretch_bottom.png +0 -0
- package/static/stretch_top.png +0 -0
- package/src/components/cockpit/Splash.vue +0 -85
- package/src/components/cockpit/SplashDetail.vue +0 -66
- package/src/components/pc/CheckBookManage.vue +0 -910
@@ -946,7 +946,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
946
946
|
if (beautify) sourceCode = beautify(sourceCode, opts.beautify);
|
947
947
|
else console.error('"npm install js-beautify" to use beautify option');
|
948
948
|
}
|
949
|
-
//
|
949
|
+
// //tag;
|
950
950
|
var validate, validateCode
|
951
951
|
, transpile = opts._transpileFunc;
|
952
952
|
try {
|
@@ -3244,26 +3244,26 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3244
3244
|
text: text
|
3245
3245
|
};
|
3246
3246
|
},
|
3247
|
-
|
3247
|
+
|
3248
3248
|
next = function (c) {
|
3249
3249
|
// If a c parameter is provided, verify that it matches the current character.
|
3250
3250
|
if (c && c !== ch) {
|
3251
3251
|
error("Expected '" + c + "' instead of '" + ch + "'");
|
3252
3252
|
}
|
3253
|
-
|
3253
|
+
|
3254
3254
|
// Get the next character. When there are no more characters,
|
3255
3255
|
// return the empty string.
|
3256
|
-
|
3256
|
+
|
3257
3257
|
ch = text.charAt(at);
|
3258
3258
|
at += 1;
|
3259
3259
|
return ch;
|
3260
3260
|
},
|
3261
|
-
|
3261
|
+
|
3262
3262
|
number = function () {
|
3263
3263
|
// Parse a number value.
|
3264
3264
|
var number,
|
3265
3265
|
string = '';
|
3266
|
-
|
3266
|
+
|
3267
3267
|
if (ch === '-') {
|
3268
3268
|
string = '-';
|
3269
3269
|
next('-');
|
@@ -3297,14 +3297,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3297
3297
|
return number;
|
3298
3298
|
}
|
3299
3299
|
},
|
3300
|
-
|
3300
|
+
|
3301
3301
|
string = function () {
|
3302
3302
|
// Parse a string value.
|
3303
3303
|
var hex,
|
3304
3304
|
i,
|
3305
3305
|
string = '',
|
3306
3306
|
uffff;
|
3307
|
-
|
3307
|
+
|
3308
3308
|
// When parsing for string values, we must look for " and \ characters.
|
3309
3309
|
if (ch === '"') {
|
3310
3310
|
while (next()) {
|
@@ -3461,7 +3461,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3461
3461
|
|
3462
3462
|
module.exports = function (source, reviver) {
|
3463
3463
|
var result;
|
3464
|
-
|
3464
|
+
|
3465
3465
|
text = source;
|
3466
3466
|
at = 0;
|
3467
3467
|
ch = ' ';
|
@@ -3520,7 +3520,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3520
3520
|
// backslash characters, then we can safely slap some quotes around it.
|
3521
3521
|
// Otherwise we must also replace the offending characters with safe escape
|
3522
3522
|
// sequences.
|
3523
|
-
|
3523
|
+
|
3524
3524
|
escapable.lastIndex = 0;
|
3525
3525
|
return escapable.test(string) ? '"' + string.replace(escapable, function (a) {
|
3526
3526
|
var c = meta[a];
|
@@ -3538,47 +3538,47 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3538
3538
|
mind = gap,
|
3539
3539
|
partial,
|
3540
3540
|
value = holder[key];
|
3541
|
-
|
3541
|
+
|
3542
3542
|
// If the value has a toJSON method, call it to obtain a replacement value.
|
3543
3543
|
if (value && typeof value === 'object' &&
|
3544
3544
|
typeof value.toJSON === 'function') {
|
3545
3545
|
value = value.toJSON(key);
|
3546
3546
|
}
|
3547
|
-
|
3547
|
+
|
3548
3548
|
// If we were called with a replacer function, then call the replacer to
|
3549
3549
|
// obtain a replacement value.
|
3550
3550
|
if (typeof rep === 'function') {
|
3551
3551
|
value = rep.call(holder, key, value);
|
3552
3552
|
}
|
3553
|
-
|
3553
|
+
|
3554
3554
|
// What happens next depends on the value's type.
|
3555
3555
|
switch (typeof value) {
|
3556
3556
|
case 'string':
|
3557
3557
|
return quote(value);
|
3558
|
-
|
3558
|
+
|
3559
3559
|
case 'number':
|
3560
3560
|
// JSON numbers must be finite. Encode non-finite numbers as null.
|
3561
3561
|
return isFinite(value) ? String(value) : 'null';
|
3562
|
-
|
3562
|
+
|
3563
3563
|
case 'boolean':
|
3564
3564
|
case 'null':
|
3565
3565
|
// If the value is a boolean or null, convert it to a string. Note:
|
3566
3566
|
// typeof null does not produce 'null'. The case is included here in
|
3567
3567
|
// the remote chance that this gets fixed someday.
|
3568
3568
|
return String(value);
|
3569
|
-
|
3569
|
+
|
3570
3570
|
case 'object':
|
3571
3571
|
if (!value) return 'null';
|
3572
3572
|
gap += indent;
|
3573
3573
|
partial = [];
|
3574
|
-
|
3574
|
+
|
3575
3575
|
// Array.isArray
|
3576
3576
|
if (Object.prototype.toString.apply(value) === '[object Array]') {
|
3577
3577
|
length = value.length;
|
3578
3578
|
for (i = 0; i < length; i += 1) {
|
3579
3579
|
partial[i] = str(i, value) || 'null';
|
3580
3580
|
}
|
3581
|
-
|
3581
|
+
|
3582
3582
|
// Join all of the elements together, separated with commas, and
|
3583
3583
|
// wrap them in brackets.
|
3584
3584
|
v = partial.length === 0 ? '[]' : gap ?
|
@@ -3587,7 +3587,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3587
3587
|
gap = mind;
|
3588
3588
|
return v;
|
3589
3589
|
}
|
3590
|
-
|
3590
|
+
|
3591
3591
|
// If the replacer is an array, use it to select the members to be
|
3592
3592
|
// stringified.
|
3593
3593
|
if (rep && typeof rep === 'object') {
|
@@ -3613,7 +3613,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3613
3613
|
}
|
3614
3614
|
}
|
3615
3615
|
}
|
3616
|
-
|
3616
|
+
|
3617
3617
|
// Join all of the member texts together, separated with commas,
|
3618
3618
|
// and wrap them in braces.
|
3619
3619
|
|
@@ -3629,7 +3629,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3629
3629
|
var i;
|
3630
3630
|
gap = '';
|
3631
3631
|
indent = '';
|
3632
|
-
|
3632
|
+
|
3633
3633
|
// If the space parameter is a number, make an indent string containing that
|
3634
3634
|
// many spaces.
|
3635
3635
|
if (typeof space === 'number') {
|
@@ -3649,7 +3649,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
3649
3649
|
&& (typeof replacer !== 'object' || typeof replacer.length !== 'number')) {
|
3650
3650
|
throw new Error('JSON.stringify');
|
3651
3651
|
}
|
3652
|
-
|
3652
|
+
|
3653
3653
|
// Make a fake root object containing our value under the key of ''.
|
3654
3654
|
// Return the result of stringifying the value.
|
3655
3655
|
return str('', {'': value});
|
@@ -4423,7 +4423,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4423
4423
|
/* 19 */
|
4424
4424
|
/***/ function(module, exports) {
|
4425
4425
|
|
4426
|
-
|
4426
|
+
|
4427
4427
|
/**
|
4428
4428
|
* slice() reference.
|
4429
4429
|
*/
|
@@ -4990,7 +4990,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
4990
4990
|
if ($refVal === undefined) {
|
4991
4991
|
var $message = 'can\'t resolve reference ' + $schema + ' from id ' + it.baseId;
|
4992
4992
|
if (it.opts.missingRefs == 'fail') {
|
4993
|
-
|
4993
|
+
//tag;
|
4994
4994
|
var $$outStack = $$outStack || [];
|
4995
4995
|
$$outStack.push(out);
|
4996
4996
|
out = ''; /* istanbul ignore else */
|
@@ -5021,7 +5021,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
5021
5021
|
out += ' if (false) { ';
|
5022
5022
|
}
|
5023
5023
|
} else if (it.opts.missingRefs == 'ignore') {
|
5024
|
-
|
5024
|
+
//tag;
|
5025
5025
|
if ($breakOnError) {
|
5026
5026
|
out += ' if (true) { ';
|
5027
5027
|
}
|
@@ -10745,7 +10745,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
10745
10745
|
.replace(/\\v/g,'\v')
|
10746
10746
|
.replace(/\\f/g,'\f')
|
10747
10747
|
.replace(/\\b/g,'\b');
|
10748
|
-
|
10748
|
+
|
10749
10749
|
break;
|
10750
10750
|
case 2:this.$ = Number(yytext);
|
10751
10751
|
break;
|
@@ -11069,7 +11069,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
11069
11069
|
if (this._input === "") {
|
11070
11070
|
return this.EOF;
|
11071
11071
|
} else {
|
11072
|
-
this.parseError('Lexical error on line '+(this.yylineno+1)+'. Unrecognized text.\n'+this.showPosition(),
|
11072
|
+
this.parseError('Lexical error on line '+(this.yylineno+1)+'. Unrecognized text.\n'+this.showPosition(),
|
11073
11073
|
{text: "", token: null, line: this.yylineno});
|
11074
11074
|
}
|
11075
11075
|
},
|
@@ -14339,7 +14339,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
14339
14339
|
var firstNode = selectedNodes[0];
|
14340
14340
|
var lastNode = selectedNodes[selectedNodes.length - 1];
|
14341
14341
|
|
14342
|
-
//
|
14342
|
+
// //tag; // TODO: cleanup
|
14343
14343
|
if (keynum == 13) { // Enter
|
14344
14344
|
if (target == this.dom.value) {
|
14345
14345
|
if (!this.editable.value || event.ctrlKey) {
|
@@ -16165,7 +16165,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
16165
16165
|
}
|
16166
16166
|
|
16167
16167
|
this.textarea = null;
|
16168
|
-
|
16168
|
+
|
16169
16169
|
this._debouncedValidate = null;
|
16170
16170
|
};
|
16171
16171
|
|
@@ -16710,7 +16710,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
16710
16710
|
return a;
|
16711
16711
|
}
|
16712
16712
|
var array = [], lengthBefore;
|
16713
|
-
|
16713
|
+
|
16714
16714
|
array.splice.apply(array, makeArray(20));
|
16715
16715
|
array.splice.apply(array, makeArray(26));
|
16716
16716
|
|
@@ -16751,7 +16751,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
16751
16751
|
|
16752
16752
|
var removed = this.slice(pos, pos+removeCount);
|
16753
16753
|
var insert = slice.call(arguments, 2);
|
16754
|
-
var add = insert.length;
|
16754
|
+
var add = insert.length;
|
16755
16755
|
if (pos === length) {
|
16756
16756
|
if (add) {
|
16757
16757
|
this.push.apply(this, insert);
|
@@ -17430,12 +17430,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
17430
17430
|
doc = doc || document;
|
17431
17431
|
if (id && exports.hasCssString(id, doc))
|
17432
17432
|
return null;
|
17433
|
-
|
17433
|
+
|
17434
17434
|
var style;
|
17435
|
-
|
17435
|
+
|
17436
17436
|
if (id)
|
17437
17437
|
cssText += "\n/*# sourceURL=ace/css/" + id + " */";
|
17438
|
-
|
17438
|
+
|
17439
17439
|
if (doc.createStyleSheet) {
|
17440
17440
|
style = doc.createStyleSheet();
|
17441
17441
|
style.cssText = cssText;
|
@@ -17466,7 +17466,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
17466
17466
|
exports.getInnerWidth = function(element) {
|
17467
17467
|
return (
|
17468
17468
|
parseInt(exports.computedStyle(element, "paddingLeft"), 10) +
|
17469
|
-
parseInt(exports.computedStyle(element, "paddingRight"), 10) +
|
17469
|
+
parseInt(exports.computedStyle(element, "paddingRight"), 10) +
|
17470
17470
|
element.clientWidth
|
17471
17471
|
);
|
17472
17472
|
};
|
@@ -17701,10 +17701,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
17701
17701
|
ret.escape = ret.esc;
|
17702
17702
|
ret.del = ret["delete"];
|
17703
17703
|
ret[173] = '-';
|
17704
|
-
|
17704
|
+
|
17705
17705
|
(function() {
|
17706
17706
|
var mods = ["cmd", "ctrl", "alt", "shift"];
|
17707
|
-
for (var i = Math.pow(2, mods.length); i--;) {
|
17707
|
+
for (var i = Math.pow(2, mods.length); i--;) {
|
17708
17708
|
ret.KEY_MODS[i] = mods.filter(function(x) {
|
17709
17709
|
return i & ret.KEY_MODS[x];
|
17710
17710
|
}).join("-") + "-";
|
@@ -17751,11 +17751,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
17751
17751
|
exports.isWin = (os == "win");
|
17752
17752
|
exports.isMac = (os == "mac");
|
17753
17753
|
exports.isLinux = (os == "linux");
|
17754
|
-
exports.isIE =
|
17754
|
+
exports.isIE =
|
17755
17755
|
(navigator.appName == "Microsoft Internet Explorer" || navigator.appName.indexOf("MSAppHost") >= 0)
|
17756
17756
|
? parseFloat((ua.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1])
|
17757
17757
|
: parseFloat((ua.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]); // for ie
|
17758
|
-
|
17758
|
+
|
17759
17759
|
exports.isOldIE = exports.isIE && exports.isIE < 9;
|
17760
17760
|
exports.isGecko = exports.isMozilla = (window.Controllers || window.controllers) && window.navigator.product === "Gecko";
|
17761
17761
|
exports.isOldGecko = exports.isGecko && parseInt((ua.match(/rv\:(\d+)/)||[])[1], 10) < 4;
|
@@ -17849,7 +17849,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
17849
17849
|
exports.addListener(document, "mousemove", eventHandler, true);
|
17850
17850
|
exports.addListener(document, "mouseup", onMouseUp, true);
|
17851
17851
|
exports.addListener(document, "dragstart", onMouseUp, true);
|
17852
|
-
|
17852
|
+
|
17853
17853
|
return onMouseUp;
|
17854
17854
|
};
|
17855
17855
|
|
@@ -17873,7 +17873,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
17873
17873
|
|
17874
17874
|
callback(e);
|
17875
17875
|
});
|
17876
|
-
}
|
17876
|
+
}
|
17877
17877
|
};
|
17878
17878
|
|
17879
17879
|
exports.addMouseWheelListener = function(el, callback) {
|
@@ -17903,7 +17903,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
17903
17903
|
e.wheelY = (e.deltaY || 0) * 5;
|
17904
17904
|
break;
|
17905
17905
|
}
|
17906
|
-
|
17906
|
+
|
17907
17907
|
callback(e);
|
17908
17908
|
});
|
17909
17909
|
} else {
|
@@ -17922,7 +17922,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
17922
17922
|
|
17923
17923
|
exports.addMultiMouseDownListener = function(elements, timeouts, eventHandler, callbackName) {
|
17924
17924
|
var clicks = 0;
|
17925
|
-
var startX, startY, timer;
|
17925
|
+
var startX, startY, timer;
|
17926
17926
|
var eventNames = {
|
17927
17927
|
2: "dblclick",
|
17928
17928
|
3: "tripleclick",
|
@@ -17952,7 +17952,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
17952
17952
|
startY = e.clientY;
|
17953
17953
|
}
|
17954
17954
|
}
|
17955
|
-
|
17955
|
+
|
17956
17956
|
e._clicks = clicks;
|
17957
17957
|
|
17958
17958
|
eventHandler[callbackName]("mousedown", e);
|
@@ -18015,14 +18015,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18015
18015
|
}
|
18016
18016
|
}
|
18017
18017
|
}
|
18018
|
-
|
18018
|
+
|
18019
18019
|
if (keyCode in keys.MODIFIER_KEYS) {
|
18020
18020
|
keyCode = -1;
|
18021
18021
|
}
|
18022
18022
|
if (hashId & 8 && (keyCode >= 91 && keyCode <= 93)) {
|
18023
18023
|
keyCode = -1;
|
18024
18024
|
}
|
18025
|
-
|
18025
|
+
|
18026
18026
|
if (!hashId && keyCode === 13) {
|
18027
18027
|
var location = "location" in e ? e.location : e.keyLocation;
|
18028
18028
|
if (location === 3) {
|
@@ -18031,7 +18031,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18031
18031
|
return;
|
18032
18032
|
}
|
18033
18033
|
}
|
18034
|
-
|
18034
|
+
|
18035
18035
|
if (useragent.isChromeOS && hashId & 8) {
|
18036
18036
|
callback(e, hashId, keyCode);
|
18037
18037
|
if (e.defaultPrevented)
|
@@ -18042,7 +18042,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18042
18042
|
if (!hashId && !(keyCode in keys.FUNCTION_KEYS) && !(keyCode in keys.PRINTABLE_KEYS)) {
|
18043
18043
|
return false;
|
18044
18044
|
}
|
18045
|
-
|
18045
|
+
|
18046
18046
|
return callback(e, hashId, keyCode);
|
18047
18047
|
}
|
18048
18048
|
|
@@ -18187,7 +18187,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18187
18187
|
for (var i=0, l=array.length; i<l; i++) {
|
18188
18188
|
if (array[i] && typeof array[i] == "object")
|
18189
18189
|
copy[i] = this.copyObject( array[i] );
|
18190
|
-
else
|
18190
|
+
else
|
18191
18191
|
copy[i] = array[i];
|
18192
18192
|
}
|
18193
18193
|
return copy;
|
@@ -18207,7 +18207,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18207
18207
|
var cons = obj.constructor;
|
18208
18208
|
if (cons === RegExp)
|
18209
18209
|
return obj;
|
18210
|
-
|
18210
|
+
|
18211
18211
|
copy = cons();
|
18212
18212
|
for (var key in obj) {
|
18213
18213
|
copy[key] = deepCopy(obj[key]);
|
@@ -18285,7 +18285,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18285
18285
|
timer = null;
|
18286
18286
|
return deferred;
|
18287
18287
|
};
|
18288
|
-
|
18288
|
+
|
18289
18289
|
deferred.isPending = function() {
|
18290
18290
|
return timer;
|
18291
18291
|
};
|
@@ -18364,7 +18364,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18364
18364
|
var tempStyle = '';
|
18365
18365
|
var isSelectionEmpty = true;
|
18366
18366
|
try { var isFocused = document.activeElement === text; } catch(e) {}
|
18367
|
-
|
18367
|
+
|
18368
18368
|
event.addListener(text, "blur", function(e) {
|
18369
18369
|
host.onBlur(e);
|
18370
18370
|
isFocused = false;
|
@@ -18406,7 +18406,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18406
18406
|
if (inComposition)
|
18407
18407
|
return;
|
18408
18408
|
inComposition = true;
|
18409
|
-
|
18409
|
+
|
18410
18410
|
if (inputHandler) {
|
18411
18411
|
selectionStart = 0;
|
18412
18412
|
selectionEnd = isEmpty ? 0 : text.value.length - 1;
|
@@ -18417,7 +18417,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18417
18417
|
try {
|
18418
18418
|
text.setSelectionRange(selectionStart, selectionEnd);
|
18419
18419
|
} catch(e){}
|
18420
|
-
|
18420
|
+
|
18421
18421
|
inComposition = false;
|
18422
18422
|
}
|
18423
18423
|
|
@@ -18508,7 +18508,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18508
18508
|
this.setInputHandler = function(cb) {inputHandler = cb};
|
18509
18509
|
this.getInputHandler = function() {return inputHandler};
|
18510
18510
|
var afterContextMenu = false;
|
18511
|
-
|
18511
|
+
|
18512
18512
|
var sendText = function(data) {
|
18513
18513
|
if (inputHandler) {
|
18514
18514
|
data = inputHandler(data);
|
@@ -18533,7 +18533,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18533
18533
|
data = data.slice(0, -1);
|
18534
18534
|
if (data.charAt(data.length - 1) == PLACEHOLDER.charAt(0))
|
18535
18535
|
data = data.slice(0, -1);
|
18536
|
-
|
18536
|
+
|
18537
18537
|
if (data)
|
18538
18538
|
host.onTextInput(data);
|
18539
18539
|
}
|
@@ -18547,7 +18547,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18547
18547
|
sendText(data);
|
18548
18548
|
resetValue();
|
18549
18549
|
};
|
18550
|
-
|
18550
|
+
|
18551
18551
|
var handleClipboardData = function(e, data) {
|
18552
18552
|
var clipboardData = e.clipboardData || window.clipboardData;
|
18553
18553
|
if (!clipboardData || BROKEN_SETDATA)
|
@@ -18580,15 +18580,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18580
18580
|
});
|
18581
18581
|
}
|
18582
18582
|
};
|
18583
|
-
|
18583
|
+
|
18584
18584
|
var onCut = function(e) {
|
18585
18585
|
doCopy(e, true);
|
18586
18586
|
};
|
18587
|
-
|
18587
|
+
|
18588
18588
|
var onCopy = function(e) {
|
18589
18589
|
doCopy(e, false);
|
18590
18590
|
};
|
18591
|
-
|
18591
|
+
|
18592
18592
|
var onPaste = function(e) {
|
18593
18593
|
var data = handleClipboardData(e);
|
18594
18594
|
if (typeof data == "string") {
|
@@ -18632,7 +18632,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18632
18632
|
});
|
18633
18633
|
}
|
18634
18634
|
var onCompositionStart = function(e) {
|
18635
|
-
if (inComposition || !host.onCompositionStart || host.$readOnly)
|
18635
|
+
if (inComposition || !host.onCompositionStart || host.$readOnly)
|
18636
18636
|
return;
|
18637
18637
|
inComposition = {};
|
18638
18638
|
host.onCompositionStart();
|
@@ -18651,7 +18651,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18651
18651
|
return;
|
18652
18652
|
var val = text.value.replace(/\x01/g, "");
|
18653
18653
|
if (inComposition.lastValue === val) return;
|
18654
|
-
|
18654
|
+
|
18655
18655
|
host.onCompositionUpdate(val);
|
18656
18656
|
if (inComposition.lastValue)
|
18657
18657
|
host.undo();
|
@@ -18698,8 +18698,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18698
18698
|
host.selection.setRange(c.range);
|
18699
18699
|
}
|
18700
18700
|
};
|
18701
|
-
|
18702
|
-
|
18701
|
+
|
18702
|
+
|
18703
18703
|
|
18704
18704
|
var syncComposition = lang.delayedCall(onCompositionUpdate, 50);
|
18705
18705
|
|
@@ -18726,7 +18726,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18726
18726
|
host._emit("nativecontextmenu", {target: host, domEvent: e});
|
18727
18727
|
this.moveToMouse(e, true);
|
18728
18728
|
};
|
18729
|
-
|
18729
|
+
|
18730
18730
|
this.moveToMouse = function(e, bringToFront) {
|
18731
18731
|
if (!bringToFront && useragent.isOldIE)
|
18732
18732
|
return;
|
@@ -18744,7 +18744,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
18744
18744
|
var move = function(e) {
|
18745
18745
|
text.style.left = e.clientX - left - 2 + "px";
|
18746
18746
|
text.style.top = Math.min(e.clientY - top - 2, maxTop) + "px";
|
18747
|
-
};
|
18747
|
+
};
|
18748
18748
|
move(e);
|
18749
18749
|
|
18750
18750
|
if (e.type != "mousedown")
|
@@ -19002,7 +19002,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19002
19002
|
|
19003
19003
|
var t = ev.domEvent.timeStamp;
|
19004
19004
|
var dt = t - (this.$lastScrollTime||0);
|
19005
|
-
|
19005
|
+
|
19006
19006
|
var editor = this.editor;
|
19007
19007
|
var isScrolable = editor.renderer.isScrollableBy(ev.wheelX * ev.speed, ev.wheelY * ev.speed);
|
19008
19008
|
if (isScrolable || dt < 200) {
|
@@ -19011,7 +19011,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19011
19011
|
return ev.stop();
|
19012
19012
|
}
|
19013
19013
|
};
|
19014
|
-
|
19014
|
+
|
19015
19015
|
this.onTouchMove = function (ev) {
|
19016
19016
|
var t = ev.domEvent.timeStamp;
|
19017
19017
|
var dt = t - (this.$lastScrollTime || 0);
|
@@ -19230,7 +19230,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19230
19230
|
hideTooltip();
|
19231
19231
|
}, 50);
|
19232
19232
|
});
|
19233
|
-
|
19233
|
+
|
19234
19234
|
editor.on("changeSession", hideTooltip);
|
19235
19235
|
}
|
19236
19236
|
|
@@ -19273,29 +19273,29 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19273
19273
|
var MouseEvent = exports.MouseEvent = function(domEvent, editor) {
|
19274
19274
|
this.domEvent = domEvent;
|
19275
19275
|
this.editor = editor;
|
19276
|
-
|
19276
|
+
|
19277
19277
|
this.x = this.clientX = domEvent.clientX;
|
19278
19278
|
this.y = this.clientY = domEvent.clientY;
|
19279
19279
|
|
19280
19280
|
this.$pos = null;
|
19281
19281
|
this.$inSelection = null;
|
19282
|
-
|
19282
|
+
|
19283
19283
|
this.propagationStopped = false;
|
19284
19284
|
this.defaultPrevented = false;
|
19285
19285
|
};
|
19286
19286
|
|
19287
|
-
(function() {
|
19288
|
-
|
19287
|
+
(function() {
|
19288
|
+
|
19289
19289
|
this.stopPropagation = function() {
|
19290
19290
|
event.stopPropagation(this.domEvent);
|
19291
19291
|
this.propagationStopped = true;
|
19292
19292
|
};
|
19293
|
-
|
19293
|
+
|
19294
19294
|
this.preventDefault = function() {
|
19295
19295
|
event.preventDefault(this.domEvent);
|
19296
19296
|
this.defaultPrevented = true;
|
19297
19297
|
};
|
19298
|
-
|
19298
|
+
|
19299
19299
|
this.stop = function() {
|
19300
19300
|
this.stopPropagation();
|
19301
19301
|
this.preventDefault();
|
@@ -19303,16 +19303,16 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19303
19303
|
this.getDocumentPosition = function() {
|
19304
19304
|
if (this.$pos)
|
19305
19305
|
return this.$pos;
|
19306
|
-
|
19306
|
+
|
19307
19307
|
this.$pos = this.editor.renderer.screenToTextCoordinates(this.clientX, this.clientY);
|
19308
19308
|
return this.$pos;
|
19309
19309
|
};
|
19310
19310
|
this.inSelection = function() {
|
19311
19311
|
if (this.$inSelection !== null)
|
19312
19312
|
return this.$inSelection;
|
19313
|
-
|
19313
|
+
|
19314
19314
|
var editor = this.editor;
|
19315
|
-
|
19315
|
+
|
19316
19316
|
|
19317
19317
|
var selectionRange = editor.getSelectionRange();
|
19318
19318
|
if (selectionRange.isEmpty())
|
@@ -19330,11 +19330,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19330
19330
|
this.getShiftKey = function() {
|
19331
19331
|
return this.domEvent.shiftKey;
|
19332
19332
|
};
|
19333
|
-
|
19333
|
+
|
19334
19334
|
this.getAccelKey = useragent.isMac
|
19335
19335
|
? function() { return this.domEvent.metaKey; }
|
19336
19336
|
: function() { return this.domEvent.ctrlKey; };
|
19337
|
-
|
19337
|
+
|
19338
19338
|
}).call(MouseEvent.prototype);
|
19339
19339
|
|
19340
19340
|
});
|
@@ -19792,7 +19792,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19792
19792
|
if (e.propagationStopped)
|
19793
19793
|
break;
|
19794
19794
|
}
|
19795
|
-
|
19795
|
+
|
19796
19796
|
if (defaultHandler && !e.defaultPrevented)
|
19797
19797
|
return defaultHandler(e, this);
|
19798
19798
|
};
|
@@ -19820,7 +19820,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19820
19820
|
var handlers = this._defaultHandlers
|
19821
19821
|
if (!handlers)
|
19822
19822
|
handlers = this._defaultHandlers = {_disabled_: {}};
|
19823
|
-
|
19823
|
+
|
19824
19824
|
if (handlers[eventName]) {
|
19825
19825
|
var old = handlers[eventName];
|
19826
19826
|
var disabled = handlers._disabled_[eventName];
|
@@ -19828,7 +19828,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19828
19828
|
handlers._disabled_[eventName] = disabled = [];
|
19829
19829
|
disabled.push(old);
|
19830
19830
|
var i = disabled.indexOf(callback);
|
19831
|
-
if (i != -1)
|
19831
|
+
if (i != -1)
|
19832
19832
|
disabled.splice(i, 1);
|
19833
19833
|
}
|
19834
19834
|
handlers[eventName] = callback;
|
@@ -19838,7 +19838,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19838
19838
|
if (!handlers)
|
19839
19839
|
return;
|
19840
19840
|
var disabled = handlers._disabled_[eventName];
|
19841
|
-
|
19841
|
+
|
19842
19842
|
if (handlers[eventName] == callback) {
|
19843
19843
|
var old = handlers[eventName];
|
19844
19844
|
if (disabled)
|
@@ -19997,10 +19997,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
19997
19997
|
this.setDefaultValue(path, key, optionHash[key]);
|
19998
19998
|
}, this);
|
19999
19999
|
};
|
20000
|
-
|
20000
|
+
|
20001
20001
|
this.warn = warn;
|
20002
20002
|
this.reportError = reportError;
|
20003
|
-
|
20003
|
+
|
20004
20004
|
}).call(AppConfig.prototype);
|
20005
20005
|
|
20006
20006
|
exports.AppConfig = AppConfig;
|
@@ -20119,14 +20119,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
20119
20119
|
|
20120
20120
|
if (!global || !global.document)
|
20121
20121
|
return;
|
20122
|
-
|
20122
|
+
|
20123
20123
|
options.packaged = packaged || acequire.packaged || module.packaged || (global.define && __webpack_require__(65).packaged);
|
20124
20124
|
|
20125
20125
|
var scriptOptions = {};
|
20126
20126
|
var scriptUrl = "";
|
20127
20127
|
var currentScript = (document.currentScript || document._currentScript ); // native or polyfill
|
20128
20128
|
var currentDocument = currentScript && currentScript.ownerDocument || document;
|
20129
|
-
|
20129
|
+
|
20130
20130
|
var scripts = currentDocument.getElementsByTagName("script");
|
20131
20131
|
for (var i=0; i<scripts.length; i++) {
|
20132
20132
|
var script = scripts[i];
|
@@ -20261,7 +20261,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
20261
20261
|
|
20262
20262
|
this.editor._emit(name, mouseEvent);
|
20263
20263
|
};
|
20264
|
-
|
20264
|
+
|
20265
20265
|
this.onTouchMove = function (name, e) {
|
20266
20266
|
var mouseEvent = new MouseEvent(e, this.editor);
|
20267
20267
|
mouseEvent.speed = 1;//this.$scrollSpeed * 2;
|
@@ -20472,7 +20472,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
20472
20472
|
this.getKeyboardHandler = function() {
|
20473
20473
|
return this.$handlers[this.$handlers.length - 1];
|
20474
20474
|
};
|
20475
|
-
|
20475
|
+
|
20476
20476
|
this.getStatusText = function() {
|
20477
20477
|
var data = this.$data;
|
20478
20478
|
var editor = data.editor;
|
@@ -20497,7 +20497,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
20497
20497
|
} else {
|
20498
20498
|
success = commands.exec(toExecute.command, this.$editor, toExecute.args, e);
|
20499
20499
|
}
|
20500
|
-
if (success && e && hashId != -1 &&
|
20500
|
+
if (success && e && hashId != -1 &&
|
20501
20501
|
toExecute.passEvent != true && toExecute.command.passEvent != true
|
20502
20502
|
) {
|
20503
20503
|
event.stopEvent(e);
|
@@ -20505,15 +20505,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
20505
20505
|
if (success)
|
20506
20506
|
break;
|
20507
20507
|
}
|
20508
|
-
|
20508
|
+
|
20509
20509
|
if (!success && hashId == -1) {
|
20510
20510
|
toExecute = {command: "insertstring"};
|
20511
20511
|
success = commands.exec("insertstring", this.$editor, keyString);
|
20512
20512
|
}
|
20513
|
-
|
20513
|
+
|
20514
20514
|
if (success)
|
20515
20515
|
this.$editor._signal("keyboardActivity", toExecute);
|
20516
|
-
|
20516
|
+
|
20517
20517
|
return success;
|
20518
20518
|
};
|
20519
20519
|
|
@@ -21260,7 +21260,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21260
21260
|
}
|
21261
21261
|
|
21262
21262
|
var docPos = this.session.screenToDocumentPosition(screenPos.row + rows, screenPos.column);
|
21263
|
-
|
21263
|
+
|
21264
21264
|
if (rows !== 0 && chars === 0 && docPos.row === this.lead.row && docPos.column === this.lead.column) {
|
21265
21265
|
if (this.session.lineWidgets && this.session.lineWidgets[docPos.row]) {
|
21266
21266
|
if (docPos.row > 0 || rows > 0)
|
@@ -21415,7 +21415,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21415
21415
|
if (rule.token.length == 1 || matchcount == 1) {
|
21416
21416
|
rule.token = rule.token[0];
|
21417
21417
|
} else if (matchcount - 1 != rule.token.length) {
|
21418
|
-
this.reportError("number of classes and regexp groups doesn't match", {
|
21418
|
+
this.reportError("number of classes and regexp groups doesn't match", {
|
21419
21419
|
rule: rule,
|
21420
21420
|
groupCount: matchcount - 1
|
21421
21421
|
});
|
@@ -21452,12 +21452,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21452
21452
|
if (!rule.onMatch)
|
21453
21453
|
rule.onMatch = null;
|
21454
21454
|
}
|
21455
|
-
|
21455
|
+
|
21456
21456
|
if (!ruleRegExps.length) {
|
21457
21457
|
mapping[0] = 0;
|
21458
21458
|
ruleRegExps.push("$");
|
21459
21459
|
}
|
21460
|
-
|
21460
|
+
|
21461
21461
|
splitterRurles.forEach(function(rule) {
|
21462
21462
|
rule.splitRegex = this.createSplitterRegexp(rule.regex, flag);
|
21463
21463
|
}, this);
|
@@ -21470,7 +21470,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21470
21470
|
this.$setMaxTokenCount = function(m) {
|
21471
21471
|
MAX_TOKEN_COUNT = m | 0;
|
21472
21472
|
};
|
21473
|
-
|
21473
|
+
|
21474
21474
|
this.$applyToken = function(str) {
|
21475
21475
|
var values = this.splitRegex.exec(str).slice(1);
|
21476
21476
|
var types = this.token.apply(this, values);
|
@@ -21547,7 +21547,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21547
21547
|
}
|
21548
21548
|
if (src.charAt(0) != "^") src = "^" + src;
|
21549
21549
|
if (src.charAt(src.length - 1) != "$") src += "$";
|
21550
|
-
|
21550
|
+
|
21551
21551
|
return new RegExp(src, (flag||"").replace("g", ""));
|
21552
21552
|
};
|
21553
21553
|
this.getLineTokens = function(line, startState) {
|
@@ -21611,7 +21611,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21611
21611
|
} else {
|
21612
21612
|
currentState = rule.next(currentState, stack);
|
21613
21613
|
}
|
21614
|
-
|
21614
|
+
|
21615
21615
|
state = this.states[currentState];
|
21616
21616
|
if (!state) {
|
21617
21617
|
this.reportError("state doesn't exist", currentState);
|
@@ -21672,7 +21672,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21672
21672
|
|
21673
21673
|
if (token.type)
|
21674
21674
|
tokens.push(token);
|
21675
|
-
|
21675
|
+
|
21676
21676
|
if (stack.length > 1) {
|
21677
21677
|
if (stack[0] !== currentState)
|
21678
21678
|
stack.unshift("#tmp", currentState);
|
@@ -21682,9 +21682,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21682
21682
|
state : stack.length ? stack : currentState
|
21683
21683
|
};
|
21684
21684
|
};
|
21685
|
-
|
21685
|
+
|
21686
21686
|
this.reportError = config.reportError;
|
21687
|
-
|
21687
|
+
|
21688
21688
|
}).call(Tokenizer.prototype);
|
21689
21689
|
|
21690
21690
|
exports.Tokenizer = Tokenizer;
|
@@ -21845,7 +21845,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21845
21845
|
i--;
|
21846
21846
|
toInsert = null;
|
21847
21847
|
}
|
21848
|
-
|
21848
|
+
|
21849
21849
|
if (rule.keywordMap) {
|
21850
21850
|
rule.token = this.createKeywordMapper(
|
21851
21851
|
rule.keywordMap, rule.defaultToken || "text", rule.caseInsensitive
|
@@ -21904,7 +21904,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21904
21904
|
}
|
21905
21905
|
this.$behaviours[name][action] = callback;
|
21906
21906
|
}
|
21907
|
-
|
21907
|
+
|
21908
21908
|
this.addBehaviours = function (behaviours) {
|
21909
21909
|
for (var key in behaviours) {
|
21910
21910
|
for (var action in behaviours[key]) {
|
@@ -21912,13 +21912,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21912
21912
|
}
|
21913
21913
|
}
|
21914
21914
|
}
|
21915
|
-
|
21915
|
+
|
21916
21916
|
this.remove = function (name) {
|
21917
21917
|
if (this.$behaviours && this.$behaviours[name]) {
|
21918
21918
|
delete this.$behaviours[name];
|
21919
21919
|
}
|
21920
21920
|
}
|
21921
|
-
|
21921
|
+
|
21922
21922
|
this.inherit = function (mode, filter) {
|
21923
21923
|
if (typeof mode === "function") {
|
21924
21924
|
var behaviours = new mode().getBehaviours(filter);
|
@@ -21927,7 +21927,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
21927
21927
|
}
|
21928
21928
|
this.addBehaviours(behaviours);
|
21929
21929
|
}
|
21930
|
-
|
21930
|
+
|
21931
21931
|
this.getBehaviours = function (filter) {
|
21932
21932
|
if (!filter) {
|
21933
21933
|
return this.$behaviours;
|
@@ -22010,23 +22010,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22010
22010
|
this.$tokenIndex = token ? token.index : -1;
|
22011
22011
|
};
|
22012
22012
|
|
22013
|
-
(function() {
|
22013
|
+
(function() {
|
22014
22014
|
this.stepBackward = function() {
|
22015
22015
|
this.$tokenIndex -= 1;
|
22016
|
-
|
22016
|
+
|
22017
22017
|
while (this.$tokenIndex < 0) {
|
22018
22018
|
this.$row -= 1;
|
22019
22019
|
if (this.$row < 0) {
|
22020
22020
|
this.$row = 0;
|
22021
22021
|
return null;
|
22022
22022
|
}
|
22023
|
-
|
22023
|
+
|
22024
22024
|
this.$rowTokens = this.$session.getTokens(this.$row);
|
22025
22025
|
this.$tokenIndex = this.$rowTokens.length - 1;
|
22026
22026
|
}
|
22027
|
-
|
22027
|
+
|
22028
22028
|
return this.$rowTokens[this.$tokenIndex];
|
22029
|
-
};
|
22029
|
+
};
|
22030
22030
|
this.stepForward = function() {
|
22031
22031
|
this.$tokenIndex += 1;
|
22032
22032
|
var rowCount;
|
@@ -22042,34 +22042,34 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22042
22042
|
this.$rowTokens = this.$session.getTokens(this.$row);
|
22043
22043
|
this.$tokenIndex = 0;
|
22044
22044
|
}
|
22045
|
-
|
22045
|
+
|
22046
22046
|
return this.$rowTokens[this.$tokenIndex];
|
22047
|
-
};
|
22047
|
+
};
|
22048
22048
|
this.getCurrentToken = function () {
|
22049
22049
|
return this.$rowTokens[this.$tokenIndex];
|
22050
|
-
};
|
22050
|
+
};
|
22051
22051
|
this.getCurrentTokenRow = function () {
|
22052
22052
|
return this.$row;
|
22053
|
-
};
|
22053
|
+
};
|
22054
22054
|
this.getCurrentTokenColumn = function() {
|
22055
22055
|
var rowTokens = this.$rowTokens;
|
22056
22056
|
var tokenIndex = this.$tokenIndex;
|
22057
22057
|
var column = rowTokens[tokenIndex].start;
|
22058
22058
|
if (column !== undefined)
|
22059
22059
|
return column;
|
22060
|
-
|
22060
|
+
|
22061
22061
|
column = 0;
|
22062
22062
|
while (tokenIndex > 0) {
|
22063
22063
|
tokenIndex -= 1;
|
22064
22064
|
column += rowTokens[tokenIndex].value.length;
|
22065
22065
|
}
|
22066
|
-
|
22067
|
-
return column;
|
22066
|
+
|
22067
|
+
return column;
|
22068
22068
|
};
|
22069
22069
|
this.getCurrentTokenPosition = function() {
|
22070
22070
|
return {row: this.$row, column: this.getCurrentTokenColumn()};
|
22071
22071
|
};
|
22072
|
-
|
22072
|
+
|
22073
22073
|
}).call(TokenIterator.prototype);
|
22074
22074
|
|
22075
22075
|
exports.TokenIterator = TokenIterator;
|
@@ -22170,7 +22170,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22170
22170
|
var lineCommentStart = this.lineCommentStart;
|
22171
22171
|
}
|
22172
22172
|
regexpStart = new RegExp("^(\\s*)(?:" + regexpStart + ") ?");
|
22173
|
-
|
22173
|
+
|
22174
22174
|
insertAtTabStop = session.getUseSoftTabs();
|
22175
22175
|
|
22176
22176
|
var uncomment = function(line, i) {
|
@@ -22193,7 +22193,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22193
22193
|
var testRemove = function(line, i) {
|
22194
22194
|
return regexpStart.test(line);
|
22195
22195
|
};
|
22196
|
-
|
22196
|
+
|
22197
22197
|
var shouldInsertSpace = function(line, before, after) {
|
22198
22198
|
var spaces = 0;
|
22199
22199
|
while (before-- && line.charAt(before) == " ")
|
@@ -22330,7 +22330,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22330
22330
|
}
|
22331
22331
|
}
|
22332
22332
|
|
22333
|
-
var delegations = ["toggleBlockComment", "toggleCommentLines", "getNextLineIndent",
|
22333
|
+
var delegations = ["toggleBlockComment", "toggleCommentLines", "getNextLineIndent",
|
22334
22334
|
"checkOutdent", "autoOutdent", "transformAction", "getCompletions"];
|
22335
22335
|
|
22336
22336
|
for (var i = 0; i < delegations.length; i++) {
|
@@ -22375,7 +22375,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22375
22375
|
}
|
22376
22376
|
}
|
22377
22377
|
};
|
22378
|
-
|
22378
|
+
|
22379
22379
|
this.getKeywords = function(append) {
|
22380
22380
|
if (!this.completionKeywords) {
|
22381
22381
|
var rules = this.$tokenizer.rules;
|
@@ -22388,7 +22388,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22388
22388
|
completionKeywords.push(ruleItr[r].regex);
|
22389
22389
|
}
|
22390
22390
|
else if (typeof ruleItr[r].token === "object") {
|
22391
|
-
for (var a = 0, aLength = ruleItr[r].token.length; a < aLength; a++) {
|
22391
|
+
for (var a = 0, aLength = ruleItr[r].token.length; a < aLength; a++) {
|
22392
22392
|
if (/keyword|support|storage/.test(ruleItr[r].token[a])) {
|
22393
22393
|
var rule = ruleItr[r].regex.match(/\(.+?\)/g)[a];
|
22394
22394
|
completionKeywords.push(rule.substr(1, rule.length - 2));
|
@@ -22403,7 +22403,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22403
22403
|
return this.$keywordList;
|
22404
22404
|
return completionKeywords.concat(this.$keywordList || []);
|
22405
22405
|
};
|
22406
|
-
|
22406
|
+
|
22407
22407
|
this.$createKeywordList = function() {
|
22408
22408
|
if (!this.$highlightRules)
|
22409
22409
|
this.getTokenizer();
|
@@ -22432,7 +22432,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22432
22432
|
"use strict";
|
22433
22433
|
|
22434
22434
|
function throwDeltaError(delta, errorText){
|
22435
|
-
|
22435
|
+
//tag;
|
22436
22436
|
throw "Invalid Delta: " + errorText;
|
22437
22437
|
}
|
22438
22438
|
|
@@ -22461,7 +22461,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22461
22461
|
}
|
22462
22462
|
|
22463
22463
|
exports.applyDelta = function(docLines, delta, doNotValidate) {
|
22464
|
-
|
22464
|
+
|
22465
22465
|
var row = delta.start.row;
|
22466
22466
|
var startColumn = delta.start.column;
|
22467
22467
|
var line = docLines[row] || "";
|
@@ -22502,7 +22502,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22502
22502
|
var Anchor = exports.Anchor = function(doc, row, column) {
|
22503
22503
|
this.$onChange = this.onChange.bind(this);
|
22504
22504
|
this.attach(doc);
|
22505
|
-
|
22505
|
+
|
22506
22506
|
if (typeof column == "undefined")
|
22507
22507
|
this.setPosition(row.row, row.column);
|
22508
22508
|
else
|
@@ -22525,16 +22525,16 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22525
22525
|
|
22526
22526
|
if (delta.start.row > this.row)
|
22527
22527
|
return;
|
22528
|
-
|
22528
|
+
|
22529
22529
|
var point = $getTransformedPoint(delta, {row: this.row, column: this.column}, this.$insertRight);
|
22530
22530
|
this.setPosition(point.row, point.column, true);
|
22531
22531
|
};
|
22532
|
-
|
22532
|
+
|
22533
22533
|
function $pointsInOrder(point1, point2, equalPointsInOrder) {
|
22534
22534
|
var bColIsAfter = equalPointsInOrder ? point1.column <= point2.column : point1.column < point2.column;
|
22535
22535
|
return (point1.row < point2.row) || (point1.row == point2.row && bColIsAfter);
|
22536
22536
|
}
|
22537
|
-
|
22537
|
+
|
22538
22538
|
function $getTransformedPoint(delta, point, moveIfEqual) {
|
22539
22539
|
var deltaIsInsert = delta.action == "insert";
|
22540
22540
|
var deltaRowShift = (deltaIsInsert ? 1 : -1) * (delta.end.row - delta.start.row);
|
@@ -22553,7 +22553,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22553
22553
|
column: point.column + (point.row == deltaEnd.row ? deltaColShift : 0)
|
22554
22554
|
};
|
22555
22555
|
}
|
22556
|
-
|
22556
|
+
|
22557
22557
|
return {
|
22558
22558
|
row: deltaStart.row,
|
22559
22559
|
column: deltaStart.column
|
@@ -22737,23 +22737,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22737
22737
|
this.insert = function(position, text) {
|
22738
22738
|
if (this.getLength() <= 1)
|
22739
22739
|
this.$detectNewLine(text);
|
22740
|
-
|
22740
|
+
|
22741
22741
|
return this.insertMergedLines(position, this.$split(text));
|
22742
22742
|
};
|
22743
22743
|
this.insertInLine = function(position, text) {
|
22744
22744
|
var start = this.clippedPos(position.row, position.column);
|
22745
22745
|
var end = this.pos(position.row, position.column + text.length);
|
22746
|
-
|
22746
|
+
|
22747
22747
|
this.applyDelta({
|
22748
22748
|
start: start,
|
22749
22749
|
end: end,
|
22750
22750
|
action: "insert",
|
22751
22751
|
lines: [text]
|
22752
22752
|
}, true);
|
22753
|
-
|
22753
|
+
|
22754
22754
|
return this.clonePos(end);
|
22755
22755
|
};
|
22756
|
-
|
22756
|
+
|
22757
22757
|
this.clippedPos = function(row, column) {
|
22758
22758
|
var length = this.getLength();
|
22759
22759
|
if (row === undefined) {
|
@@ -22770,15 +22770,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22770
22770
|
column = Math.min(Math.max(column, 0), line.length);
|
22771
22771
|
return {row: row, column: column};
|
22772
22772
|
};
|
22773
|
-
|
22773
|
+
|
22774
22774
|
this.clonePos = function(pos) {
|
22775
22775
|
return {row: pos.row, column: pos.column};
|
22776
22776
|
};
|
22777
|
-
|
22777
|
+
|
22778
22778
|
this.pos = function(row, column) {
|
22779
22779
|
return {row: row, column: column};
|
22780
22780
|
};
|
22781
|
-
|
22781
|
+
|
22782
22782
|
this.$clipPosition = function(position) {
|
22783
22783
|
var length = this.getLength();
|
22784
22784
|
if (position.row >= length) {
|
@@ -22802,21 +22802,21 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22802
22802
|
column = this.$lines[row].length;
|
22803
22803
|
}
|
22804
22804
|
this.insertMergedLines({row: row, column: column}, lines);
|
22805
|
-
};
|
22805
|
+
};
|
22806
22806
|
this.insertMergedLines = function(position, lines) {
|
22807
22807
|
var start = this.clippedPos(position.row, position.column);
|
22808
22808
|
var end = {
|
22809
22809
|
row: start.row + lines.length - 1,
|
22810
22810
|
column: (lines.length == 1 ? start.column : 0) + lines[lines.length - 1].length
|
22811
22811
|
};
|
22812
|
-
|
22812
|
+
|
22813
22813
|
this.applyDelta({
|
22814
22814
|
start: start,
|
22815
22815
|
end: end,
|
22816
22816
|
action: "insert",
|
22817
22817
|
lines: lines
|
22818
22818
|
});
|
22819
|
-
|
22819
|
+
|
22820
22820
|
return this.clonePos(end);
|
22821
22821
|
};
|
22822
22822
|
this.remove = function(range) {
|
@@ -22833,14 +22833,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22833
22833
|
this.removeInLine = function(row, startColumn, endColumn) {
|
22834
22834
|
var start = this.clippedPos(row, startColumn);
|
22835
22835
|
var end = this.clippedPos(row, endColumn);
|
22836
|
-
|
22836
|
+
|
22837
22837
|
this.applyDelta({
|
22838
22838
|
start: start,
|
22839
22839
|
end: end,
|
22840
22840
|
action: "remove",
|
22841
22841
|
lines: this.getLinesForRange({start: start, end: end})
|
22842
22842
|
}, true);
|
22843
|
-
|
22843
|
+
|
22844
22844
|
return this.clonePos(start);
|
22845
22845
|
};
|
22846
22846
|
this.removeFullLines = function(firstRow, lastRow) {
|
@@ -22851,10 +22851,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22851
22851
|
var startRow = ( deleteFirstNewLine ? firstRow - 1 : firstRow );
|
22852
22852
|
var startCol = ( deleteFirstNewLine ? this.getLine(startRow).length : 0 );
|
22853
22853
|
var endRow = ( deleteLastNewLine ? lastRow + 1 : lastRow );
|
22854
|
-
var endCol = ( deleteLastNewLine ? 0 : this.getLine(endRow).length );
|
22854
|
+
var endCol = ( deleteLastNewLine ? 0 : this.getLine(endRow).length );
|
22855
22855
|
var range = new Range(startRow, startCol, endRow, endCol);
|
22856
22856
|
var deletedLines = this.$lines.slice(firstRow, lastRow + 1);
|
22857
|
-
|
22857
|
+
|
22858
22858
|
this.applyDelta({
|
22859
22859
|
start: range.start,
|
22860
22860
|
end: range.end,
|
@@ -22889,7 +22889,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22889
22889
|
else {
|
22890
22890
|
end = range.start;
|
22891
22891
|
}
|
22892
|
-
|
22892
|
+
|
22893
22893
|
return end;
|
22894
22894
|
};
|
22895
22895
|
this.applyDeltas = function(deltas) {
|
@@ -22908,17 +22908,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
22908
22908
|
: !Range.comparePoints(delta.start, delta.end)) {
|
22909
22909
|
return;
|
22910
22910
|
}
|
22911
|
-
|
22911
|
+
|
22912
22912
|
if (isInsert && delta.lines.length > 20000)
|
22913
22913
|
this.$splitAndapplyLargeDelta(delta, 20000);
|
22914
22914
|
applyDelta(this.$lines, delta, doNotValidate);
|
22915
22915
|
this._signal("change", delta);
|
22916
22916
|
};
|
22917
|
-
|
22917
|
+
|
22918
22918
|
this.$splitAndapplyLargeDelta = function(delta, MAX) {
|
22919
22919
|
var lines = delta.lines;
|
22920
22920
|
var l = lines.length;
|
22921
|
-
var row = delta.start.row;
|
22921
|
+
var row = delta.start.row;
|
22922
22922
|
var column = delta.start.column;
|
22923
22923
|
var from = 0, to = 0;
|
22924
22924
|
do {
|
@@ -23000,7 +23000,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23000
23000
|
var startLine = currentLine;
|
23001
23001
|
while (self.lines[currentLine])
|
23002
23002
|
currentLine++;
|
23003
|
-
|
23003
|
+
|
23004
23004
|
var len = doc.getLength();
|
23005
23005
|
var processedLines = 0;
|
23006
23006
|
self.running = false;
|
@@ -23011,13 +23011,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23011
23011
|
currentLine++;
|
23012
23012
|
} while (self.lines[currentLine]);
|
23013
23013
|
processedLines ++;
|
23014
|
-
if ((processedLines % 5 === 0) && (new Date() - workerStart) > 20) {
|
23014
|
+
if ((processedLines % 5 === 0) && (new Date() - workerStart) > 20) {
|
23015
23015
|
self.running = setTimeout(self.$worker, 20);
|
23016
23016
|
break;
|
23017
23017
|
}
|
23018
23018
|
}
|
23019
23019
|
self.currentLine = currentLine;
|
23020
|
-
|
23020
|
+
|
23021
23021
|
if (startLine <= endLine)
|
23022
23022
|
self.fireUpdateEvent(startLine, endLine);
|
23023
23023
|
};
|
@@ -23055,7 +23055,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23055
23055
|
this.stop();
|
23056
23056
|
this.running = setTimeout(this.$worker, 700);
|
23057
23057
|
};
|
23058
|
-
|
23058
|
+
|
23059
23059
|
this.scheduleStart = function() {
|
23060
23060
|
if (!this.running)
|
23061
23061
|
this.running = setTimeout(this.$worker, 700);
|
@@ -23133,7 +23133,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23133
23133
|
|
23134
23134
|
(function() {
|
23135
23135
|
this.MAX_RANGES = 500;
|
23136
|
-
|
23136
|
+
|
23137
23137
|
this.setRegexp = function(regExp) {
|
23138
23138
|
if (this.regExp+"" == regExp+"")
|
23139
23139
|
return;
|
@@ -23297,7 +23297,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23297
23297
|
&& fold.start.column != column
|
23298
23298
|
&& fold.start.row != row)
|
23299
23299
|
{
|
23300
|
-
window.console && window
|
23300
|
+
window.console && window.//tag;
|
23301
23301
|
} else if (fold.start.row == row) {
|
23302
23302
|
folds = this.folds;
|
23303
23303
|
var i = folds.indexOf(fold);
|
@@ -23319,14 +23319,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23319
23319
|
|
23320
23320
|
this.split = function(row, column) {
|
23321
23321
|
var pos = this.getNextFoldTo(row, column);
|
23322
|
-
|
23322
|
+
|
23323
23323
|
if (!pos || pos.kind == "inside")
|
23324
23324
|
return null;
|
23325
|
-
|
23325
|
+
|
23326
23326
|
var fold = pos.fold;
|
23327
23327
|
var folds = this.folds;
|
23328
23328
|
var foldData = this.foldData;
|
23329
|
-
|
23329
|
+
|
23330
23330
|
var i = folds.indexOf(fold);
|
23331
23331
|
var foldBefore = folds[i - 1];
|
23332
23332
|
this.end.row = foldBefore.end.row;
|
@@ -23452,11 +23452,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23452
23452
|
this.merge = function() {
|
23453
23453
|
var removed = [];
|
23454
23454
|
var list = this.ranges;
|
23455
|
-
|
23455
|
+
|
23456
23456
|
list = list.sort(function(a, b) {
|
23457
23457
|
return comparePoints(a.start, b.start);
|
23458
23458
|
});
|
23459
|
-
|
23459
|
+
|
23460
23460
|
var next = list[0], range;
|
23461
23461
|
for (var i = 1; i < list.length; i++) {
|
23462
23462
|
range = next;
|
@@ -23478,7 +23478,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23478
23478
|
next = range;
|
23479
23479
|
i--;
|
23480
23480
|
}
|
23481
|
-
|
23481
|
+
|
23482
23482
|
this.ranges = list;
|
23483
23483
|
|
23484
23484
|
return removed;
|
@@ -23572,7 +23572,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23572
23572
|
if (r.end.column == start.column && this.$insertRight) {
|
23573
23573
|
continue;
|
23574
23574
|
}
|
23575
|
-
if (r.end.column == start.column && colDiff > 0 && i < n - 1) {
|
23575
|
+
if (r.end.column == start.column && colDiff > 0 && i < n - 1) {
|
23576
23576
|
if (r.end.column > r.start.column && r.end.column == ranges[i+1].start.column)
|
23577
23577
|
r.end.column -= colDiff;
|
23578
23578
|
}
|
@@ -23671,7 +23671,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23671
23671
|
|
23672
23672
|
return fold;
|
23673
23673
|
};
|
23674
|
-
|
23674
|
+
|
23675
23675
|
this.restoreRange = function(range) {
|
23676
23676
|
return restoreRange(range, this.start);
|
23677
23677
|
};
|
@@ -23779,7 +23779,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23779
23779
|
this.getAllFolds = function() {
|
23780
23780
|
var folds = [];
|
23781
23781
|
var foldLines = this.$foldData;
|
23782
|
-
|
23782
|
+
|
23783
23783
|
for (var i = 0; i < foldLines.length; i++)
|
23784
23784
|
for (var j = 0; j < foldLines[i].folds.length; j++)
|
23785
23785
|
folds.push(foldLines[i].folds[j]);
|
@@ -23888,7 +23888,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23888
23888
|
var foldData = this.$foldData;
|
23889
23889
|
var added = false;
|
23890
23890
|
var fold;
|
23891
|
-
|
23891
|
+
|
23892
23892
|
if (placeholder instanceof Fold)
|
23893
23893
|
fold = placeholder;
|
23894
23894
|
else {
|
@@ -23901,7 +23901,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23901
23901
|
var startColumn = fold.start.column;
|
23902
23902
|
var endRow = fold.end.row;
|
23903
23903
|
var endColumn = fold.end.column;
|
23904
|
-
if (!(startRow < endRow ||
|
23904
|
+
if (!(startRow < endRow ||
|
23905
23905
|
startRow == endRow && startColumn <= endColumn - 2))
|
23906
23906
|
throw new Error("The range has to be at least 2 characters width");
|
23907
23907
|
|
@@ -23912,7 +23912,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
23912
23912
|
|
23913
23913
|
if (startFold && !startFold.range.isStart(startRow, startColumn))
|
23914
23914
|
this.removeFold(startFold);
|
23915
|
-
|
23915
|
+
|
23916
23916
|
if (endFold && !endFold.range.isEnd(endRow, endColumn))
|
23917
23917
|
this.removeFold(endFold);
|
23918
23918
|
var folds = this.getFoldsInRange(fold.range);
|
@@ -24046,7 +24046,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24046
24046
|
range = Range.fromPoints(location, location);
|
24047
24047
|
else
|
24048
24048
|
range = location;
|
24049
|
-
|
24049
|
+
|
24050
24050
|
folds = this.getFoldsInRangeList(range);
|
24051
24051
|
if (expandInner) {
|
24052
24052
|
this.removeFolds(folds);
|
@@ -24201,12 +24201,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24201
24201
|
} while (token && re.test(token.type));
|
24202
24202
|
iterator.stepForward();
|
24203
24203
|
}
|
24204
|
-
|
24204
|
+
|
24205
24205
|
range.start.row = iterator.getCurrentTokenRow();
|
24206
24206
|
range.start.column = iterator.getCurrentTokenColumn() + 2;
|
24207
24207
|
|
24208
24208
|
iterator = new TokenIterator(this, row, column);
|
24209
|
-
|
24209
|
+
|
24210
24210
|
if (dir != -1) {
|
24211
24211
|
do {
|
24212
24212
|
token = iterator.stepForward();
|
@@ -24258,12 +24258,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24258
24258
|
this.setFoldStyle = function(style) {
|
24259
24259
|
if (!this.$foldStyles[style])
|
24260
24260
|
throw new Error("invalid fold style: " + style + "[" + Object.keys(this.$foldStyles).join(", ") + "]");
|
24261
|
-
|
24261
|
+
|
24262
24262
|
if (this.$foldStyle == style)
|
24263
24263
|
return;
|
24264
24264
|
|
24265
24265
|
this.$foldStyle = style;
|
24266
|
-
|
24266
|
+
|
24267
24267
|
if (style == "manual")
|
24268
24268
|
this.unfold();
|
24269
24269
|
var mode = this.$foldMode;
|
@@ -24274,22 +24274,22 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24274
24274
|
this.$setFolding = function(foldMode) {
|
24275
24275
|
if (this.$foldMode == foldMode)
|
24276
24276
|
return;
|
24277
|
-
|
24277
|
+
|
24278
24278
|
this.$foldMode = foldMode;
|
24279
|
-
|
24279
|
+
|
24280
24280
|
this.off('change', this.$updateFoldWidgets);
|
24281
24281
|
this.off('tokenizerUpdate', this.$tokenizerUpdateFoldWidgets);
|
24282
24282
|
this._signal("changeAnnotation");
|
24283
|
-
|
24283
|
+
|
24284
24284
|
if (!foldMode || this.$foldStyle == "manual") {
|
24285
24285
|
this.foldWidgets = null;
|
24286
24286
|
return;
|
24287
24287
|
}
|
24288
|
-
|
24288
|
+
|
24289
24289
|
this.foldWidgets = [];
|
24290
24290
|
this.getFoldWidget = foldMode.getFoldWidget.bind(foldMode, this, this.$foldStyle);
|
24291
24291
|
this.getFoldWidgetRange = foldMode.getFoldWidgetRange.bind(foldMode, this, this.$foldStyle);
|
24292
|
-
|
24292
|
+
|
24293
24293
|
this.$updateFoldWidgets = this.updateFoldWidgets.bind(this);
|
24294
24294
|
this.$tokenizerUpdateFoldWidgets = this.tokenizerUpdateFoldWidgets.bind(this);
|
24295
24295
|
this.on('change', this.$updateFoldWidgets);
|
@@ -24330,7 +24330,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24330
24330
|
all: e.ctrlKey || e.metaKey,
|
24331
24331
|
siblings: e.altKey
|
24332
24332
|
};
|
24333
|
-
|
24333
|
+
|
24334
24334
|
var range = this.$toggleFoldWidget(row, options);
|
24335
24335
|
if (!range) {
|
24336
24336
|
var el = (e.target || e.srcElement);
|
@@ -24338,7 +24338,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24338
24338
|
el.className += " ace_invalid";
|
24339
24339
|
}
|
24340
24340
|
};
|
24341
|
-
|
24341
|
+
|
24342
24342
|
this.$toggleFoldWidget = function(row, options) {
|
24343
24343
|
if (!this.getFoldWidget)
|
24344
24344
|
return;
|
@@ -24364,7 +24364,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24364
24364
|
return;
|
24365
24365
|
}
|
24366
24366
|
}
|
24367
|
-
|
24367
|
+
|
24368
24368
|
if (options.siblings) {
|
24369
24369
|
var data = this.getParentFoldRangeData(row);
|
24370
24370
|
if (data.range) {
|
@@ -24376,26 +24376,26 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24376
24376
|
endRow = range ? range.end.row : this.getLength();
|
24377
24377
|
this.foldAll(row + 1, endRow, options.all ? 10000 : 0);
|
24378
24378
|
} else if (range) {
|
24379
|
-
if (options.all)
|
24379
|
+
if (options.all)
|
24380
24380
|
range.collapseChildren = 10000;
|
24381
24381
|
this.addFold("...", range);
|
24382
24382
|
}
|
24383
|
-
|
24383
|
+
|
24384
24384
|
return range;
|
24385
24385
|
};
|
24386
|
-
|
24387
|
-
|
24388
|
-
|
24386
|
+
|
24387
|
+
|
24388
|
+
|
24389
24389
|
this.toggleFoldWidget = function(toggleParent) {
|
24390
24390
|
var row = this.selection.getCursor().row;
|
24391
24391
|
row = this.getRowFoldStart(row);
|
24392
24392
|
var range = this.$toggleFoldWidget(row, {});
|
24393
|
-
|
24393
|
+
|
24394
24394
|
if (range)
|
24395
24395
|
return;
|
24396
24396
|
var data = this.getParentFoldRangeData(row, true);
|
24397
24397
|
range = data.range || data.firstRange;
|
24398
|
-
|
24398
|
+
|
24399
24399
|
if (range) {
|
24400
24400
|
row = range.start.row;
|
24401
24401
|
var fold = this.getFoldAt(row, this.getLine(row).length, 1);
|
@@ -24459,7 +24459,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24459
24459
|
else
|
24460
24460
|
return this.$findOpeningBracket(match[2], position);
|
24461
24461
|
};
|
24462
|
-
|
24462
|
+
|
24463
24463
|
this.getBracketRange = function(pos) {
|
24464
24464
|
var line = this.getLine(pos.row);
|
24465
24465
|
var before = true, range;
|
@@ -24496,7 +24496,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24496
24496
|
}
|
24497
24497
|
range.cursor = range.start;
|
24498
24498
|
}
|
24499
|
-
|
24499
|
+
|
24500
24500
|
return range;
|
24501
24501
|
};
|
24502
24502
|
|
@@ -24519,7 +24519,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24519
24519
|
token = iterator.stepForward();
|
24520
24520
|
if (!token)
|
24521
24521
|
return;
|
24522
|
-
|
24522
|
+
|
24523
24523
|
if (!typeRe){
|
24524
24524
|
typeRe = new RegExp(
|
24525
24525
|
"(\\.?" +
|
@@ -24530,9 +24530,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24530
24530
|
}
|
24531
24531
|
var valueIndex = position.column - iterator.getCurrentTokenColumn() - 2;
|
24532
24532
|
var value = token.value;
|
24533
|
-
|
24533
|
+
|
24534
24534
|
while (true) {
|
24535
|
-
|
24535
|
+
|
24536
24536
|
while (valueIndex >= 0) {
|
24537
24537
|
var chr = value.charAt(valueIndex);
|
24538
24538
|
if (chr == openBracket) {
|
@@ -24553,11 +24553,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24553
24553
|
|
24554
24554
|
if (token == null)
|
24555
24555
|
break;
|
24556
|
-
|
24556
|
+
|
24557
24557
|
value = token.value;
|
24558
24558
|
valueIndex = value.length - 1;
|
24559
24559
|
}
|
24560
|
-
|
24560
|
+
|
24561
24561
|
return null;
|
24562
24562
|
};
|
24563
24563
|
|
@@ -24609,7 +24609,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24609
24609
|
|
24610
24610
|
valueIndex = 0;
|
24611
24611
|
}
|
24612
|
-
|
24612
|
+
|
24613
24613
|
return null;
|
24614
24614
|
};
|
24615
24615
|
}
|
@@ -24836,7 +24836,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
24836
24836
|
if (this.$syncInformUndoManager)
|
24837
24837
|
this.$syncInformUndoManager();
|
24838
24838
|
};
|
24839
|
-
|
24839
|
+
|
24840
24840
|
this.$defaultUndoManager = {
|
24841
24841
|
undo: function() {},
|
24842
24842
|
redo: function() {},
|
@@ -25105,7 +25105,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
25105
25105
|
this.$onChangeMode = function(mode, $isPlaceholder) {
|
25106
25106
|
if (!$isPlaceholder)
|
25107
25107
|
this.$modeId = mode.$id;
|
25108
|
-
if (this.$mode === mode)
|
25108
|
+
if (this.$mode === mode)
|
25109
25109
|
return;
|
25110
25110
|
|
25111
25111
|
this.$mode = mode;
|
@@ -25137,7 +25137,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
25137
25137
|
this.tokenRe = mode.tokenRe;
|
25138
25138
|
this.nonTokenRe = mode.nonTokenRe;
|
25139
25139
|
|
25140
|
-
|
25140
|
+
|
25141
25141
|
if (!$isPlaceholder) {
|
25142
25142
|
if (mode.attachToSession)
|
25143
25143
|
mode.attachToSession(this);
|
@@ -25192,11 +25192,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
25192
25192
|
};
|
25193
25193
|
this.getScreenWidth = function() {
|
25194
25194
|
this.$computeWidth();
|
25195
|
-
if (this.lineWidgets)
|
25195
|
+
if (this.lineWidgets)
|
25196
25196
|
return Math.max(this.getLineWidgetMaxWidth(), this.screenWidth);
|
25197
25197
|
return this.screenWidth;
|
25198
25198
|
};
|
25199
|
-
|
25199
|
+
|
25200
25200
|
this.getLineWidgetMaxWidth = function() {
|
25201
25201
|
if (this.lineWidgetsWidth != null) return this.lineWidgetsWidth;
|
25202
25202
|
var width = 0;
|
@@ -25460,7 +25460,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
25460
25460
|
x.end.row += diff;
|
25461
25461
|
return x;
|
25462
25462
|
});
|
25463
|
-
|
25463
|
+
|
25464
25464
|
var lines = dir == 0
|
25465
25465
|
? this.doc.getLines(firstRow, lastRow)
|
25466
25466
|
: this.doc.removeFullLines(firstRow, lastRow);
|
@@ -25615,7 +25615,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
25615
25615
|
var lastRow = end.row;
|
25616
25616
|
var len = lastRow - firstRow;
|
25617
25617
|
var removedFolds = null;
|
25618
|
-
|
25618
|
+
|
25619
25619
|
this.$updating = true;
|
25620
25620
|
if (len != 0) {
|
25621
25621
|
if (action === "remove") {
|
@@ -25931,7 +25931,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
25931
25931
|
this.getRowLength = function(row) {
|
25932
25932
|
if (this.lineWidgets)
|
25933
25933
|
var h = this.lineWidgets[row] && this.lineWidgets[row].rowCount || 0;
|
25934
|
-
else
|
25934
|
+
else
|
25935
25935
|
h = 0
|
25936
25936
|
if (!this.$useWrapMode || !this.$wrapData[row]) {
|
25937
25937
|
return 1 + h;
|
@@ -26199,7 +26199,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26199
26199
|
if (!maxScreenColumn)
|
26200
26200
|
maxScreenColumn = Infinity;
|
26201
26201
|
screenColumn = screenColumn || 0;
|
26202
|
-
|
26202
|
+
|
26203
26203
|
var c, column;
|
26204
26204
|
for (column = 0; column < str.length; column++) {
|
26205
26205
|
c = str.charAt(column);
|
@@ -26212,11 +26212,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26212
26212
|
break;
|
26213
26213
|
}
|
26214
26214
|
}
|
26215
|
-
|
26215
|
+
|
26216
26216
|
return [screenColumn, column];
|
26217
26217
|
};
|
26218
26218
|
};
|
26219
|
-
|
26219
|
+
|
26220
26220
|
this.destroy = function() {
|
26221
26221
|
if (this.bgTokenizer) {
|
26222
26222
|
this.bgTokenizer.setDocument(null);
|
@@ -26301,7 +26301,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26301
26301
|
return "off";
|
26302
26302
|
},
|
26303
26303
|
handlesSet: true
|
26304
|
-
},
|
26304
|
+
},
|
26305
26305
|
wrapMethod: {
|
26306
26306
|
set: function(val) {
|
26307
26307
|
val = val == "auto"
|
@@ -26431,12 +26431,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26431
26431
|
for (var j = 0; j < len; j++)
|
26432
26432
|
if (lines[row + j].search(re[j]) == -1)
|
26433
26433
|
continue outer;
|
26434
|
-
|
26434
|
+
|
26435
26435
|
var startLine = lines[row];
|
26436
26436
|
var line = lines[row + len - 1];
|
26437
26437
|
var startIndex = startLine.length - startLine.match(re[0])[0].length;
|
26438
26438
|
var endIndex = line.match(re[len - 1])[0].length;
|
26439
|
-
|
26439
|
+
|
26440
26440
|
if (prevRange && prevRange.end.row === row &&
|
26441
26441
|
prevRange.end.column > startIndex
|
26442
26442
|
) {
|
@@ -26467,7 +26467,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26467
26467
|
|
26468
26468
|
while (i < j && ranges[j].end.column > endColumn && ranges[j].end.row == range.end.row)
|
26469
26469
|
j--;
|
26470
|
-
|
26470
|
+
|
26471
26471
|
ranges = ranges.slice(i, j + 1);
|
26472
26472
|
for (i = 0, j = ranges.length; i < j; i++) {
|
26473
26473
|
ranges[i].start.row += range.start.row;
|
@@ -26490,7 +26490,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26490
26490
|
var match = re.exec(input);
|
26491
26491
|
if (!match || match[0].length != input.length)
|
26492
26492
|
return null;
|
26493
|
-
|
26493
|
+
|
26494
26494
|
replacement = input.replace(re, replacement);
|
26495
26495
|
if (options.preserveCase) {
|
26496
26496
|
replacement = replacement.split("");
|
@@ -26503,7 +26503,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26503
26503
|
}
|
26504
26504
|
replacement = replacement.join("");
|
26505
26505
|
}
|
26506
|
-
|
26506
|
+
|
26507
26507
|
return replacement;
|
26508
26508
|
};
|
26509
26509
|
|
@@ -26552,7 +26552,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26552
26552
|
return true;
|
26553
26553
|
};
|
26554
26554
|
}
|
26555
|
-
|
26555
|
+
|
26556
26556
|
var lineIterator = this.$lineIterator(session, options);
|
26557
26557
|
|
26558
26558
|
return {
|
@@ -26617,7 +26617,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26617
26617
|
var start = options.start;
|
26618
26618
|
if (!start)
|
26619
26619
|
start = range ? range[backwards ? "end" : "start"] : session.selection.getRange();
|
26620
|
-
|
26620
|
+
|
26621
26621
|
if (start.start)
|
26622
26622
|
start = start[skipCurrent != backwards ? "end" : "start"];
|
26623
26623
|
|
@@ -26659,7 +26659,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26659
26659
|
if (callback(session.getLine(row), row))
|
26660
26660
|
return;
|
26661
26661
|
};
|
26662
|
-
|
26662
|
+
|
26663
26663
|
return {forEach: forEach};
|
26664
26664
|
};
|
26665
26665
|
|
@@ -26691,7 +26691,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26691
26691
|
MultiHashHandler.prototype = HashHandler.prototype;
|
26692
26692
|
|
26693
26693
|
(function() {
|
26694
|
-
|
26694
|
+
|
26695
26695
|
|
26696
26696
|
this.addCommand = function(command) {
|
26697
26697
|
if (this.commands[command.name])
|
@@ -26734,7 +26734,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26734
26734
|
return;
|
26735
26735
|
if (typeof command == "function")
|
26736
26736
|
return this.addCommand({exec: command, bindKey: key, name: command.name || key});
|
26737
|
-
|
26737
|
+
|
26738
26738
|
key.split("|").forEach(function(keyPart) {
|
26739
26739
|
var chain = "";
|
26740
26740
|
if (keyPart.indexOf(" ") != -1) {
|
@@ -26753,7 +26753,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26753
26753
|
this._addCommandToBinding(chain + id, command, position);
|
26754
26754
|
}, this);
|
26755
26755
|
};
|
26756
|
-
|
26756
|
+
|
26757
26757
|
function getPosition(command) {
|
26758
26758
|
return typeof command == "object" && command.bindKey
|
26759
26759
|
&& command.bindKey.position || 0;
|
@@ -26793,7 +26793,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26793
26793
|
var command = commands[name];
|
26794
26794
|
if (!command)
|
26795
26795
|
return;
|
26796
|
-
|
26796
|
+
|
26797
26797
|
if (typeof command === "string")
|
26798
26798
|
return this.bindKey(command, name);
|
26799
26799
|
|
@@ -26863,14 +26863,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26863
26863
|
data.$keyChain += " " + key;
|
26864
26864
|
command = this.commandKeyBinding[data.$keyChain] || command;
|
26865
26865
|
}
|
26866
|
-
|
26866
|
+
|
26867
26867
|
if (command) {
|
26868
26868
|
if (command == "chainKeys" || command[command.length - 1] == "chainKeys") {
|
26869
26869
|
data.$keyChain = data.$keyChain || key;
|
26870
26870
|
return {command: "null"};
|
26871
26871
|
}
|
26872
26872
|
}
|
26873
|
-
|
26873
|
+
|
26874
26874
|
if (data.$keyChain) {
|
26875
26875
|
if ((!hashId || hashId == 4) && keyString.length == 1)
|
26876
26876
|
data.$keyChain = data.$keyChain.slice(0, -key.length - 1); // wait for input
|
@@ -26879,7 +26879,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26879
26879
|
}
|
26880
26880
|
return {command: command};
|
26881
26881
|
};
|
26882
|
-
|
26882
|
+
|
26883
26883
|
this.getStatusText = function(editor, data) {
|
26884
26884
|
return data.$keyChain || "";
|
26885
26885
|
};
|
@@ -26918,7 +26918,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
26918
26918
|
}
|
26919
26919
|
return false;
|
26920
26920
|
}
|
26921
|
-
|
26921
|
+
|
26922
26922
|
if (typeof command === "string")
|
26923
26923
|
command = this.commands[command];
|
26924
26924
|
|
@@ -27094,7 +27094,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
27094
27094
|
}, {
|
27095
27095
|
name: "foldOther",
|
27096
27096
|
bindKey: bindKey("Alt-0", "Command-Option-0"),
|
27097
|
-
exec: function(editor) {
|
27097
|
+
exec: function(editor) {
|
27098
27098
|
editor.session.foldAll();
|
27099
27099
|
editor.session.unfold(editor.selection.getAllRanges());
|
27100
27100
|
},
|
@@ -27127,13 +27127,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
27127
27127
|
if (editor.selection.isEmpty())
|
27128
27128
|
editor.selection.selectWord();
|
27129
27129
|
else
|
27130
|
-
editor.findNext();
|
27130
|
+
editor.findNext();
|
27131
27131
|
},
|
27132
27132
|
readOnly: true
|
27133
27133
|
}, {
|
27134
27134
|
name: "selectOrFindPrevious",
|
27135
27135
|
bindKey: bindKey("Alt-Shift-K", "Ctrl-Shift-G"),
|
27136
|
-
exec: function(editor) {
|
27136
|
+
exec: function(editor) {
|
27137
27137
|
if (editor.selection.isEmpty())
|
27138
27138
|
editor.selection.selectWord();
|
27139
27139
|
else
|
@@ -27506,7 +27506,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
27506
27506
|
}, {
|
27507
27507
|
name: "cut_or_delete",
|
27508
27508
|
bindKey: bindKey("Shift-Delete", null),
|
27509
|
-
exec: function(editor) {
|
27509
|
+
exec: function(editor) {
|
27510
27510
|
if (editor.selection.isEmpty()) {
|
27511
27511
|
editor.remove("left");
|
27512
27512
|
} else {
|
@@ -27732,13 +27732,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
27732
27732
|
this.commands.on("exec", this.$historyTracker);
|
27733
27733
|
|
27734
27734
|
this.$initOperationListeners();
|
27735
|
-
|
27735
|
+
|
27736
27736
|
this._$emitInputEvent = lang.delayedCall(function() {
|
27737
27737
|
this._signal("input", {});
|
27738
27738
|
if (this.session && this.session.bgTokenizer)
|
27739
27739
|
this.session.bgTokenizer.scheduleStart();
|
27740
27740
|
}.bind(this));
|
27741
|
-
|
27741
|
+
|
27742
27742
|
this.on("change", function(_, _self) {
|
27743
27743
|
_self._$emitInputEvent.schedule(31);
|
27744
27744
|
});
|
@@ -27828,7 +27828,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
27828
27828
|
if (scrollIntoView == "animate")
|
27829
27829
|
this.renderer.animateScrolling(this.curOp.scrollTop);
|
27830
27830
|
}
|
27831
|
-
|
27831
|
+
|
27832
27832
|
this.prevOp = this.curOp;
|
27833
27833
|
this.curOp = null;
|
27834
27834
|
}
|
@@ -27919,58 +27919,58 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
27919
27919
|
this.$onDocumentChange = this.onDocumentChange.bind(this);
|
27920
27920
|
session.on("change", this.$onDocumentChange);
|
27921
27921
|
this.renderer.setSession(session);
|
27922
|
-
|
27922
|
+
|
27923
27923
|
this.$onChangeMode = this.onChangeMode.bind(this);
|
27924
27924
|
session.on("changeMode", this.$onChangeMode);
|
27925
|
-
|
27925
|
+
|
27926
27926
|
this.$onTokenizerUpdate = this.onTokenizerUpdate.bind(this);
|
27927
27927
|
session.on("tokenizerUpdate", this.$onTokenizerUpdate);
|
27928
|
-
|
27928
|
+
|
27929
27929
|
this.$onChangeTabSize = this.renderer.onChangeTabSize.bind(this.renderer);
|
27930
27930
|
session.on("changeTabSize", this.$onChangeTabSize);
|
27931
|
-
|
27931
|
+
|
27932
27932
|
this.$onChangeWrapLimit = this.onChangeWrapLimit.bind(this);
|
27933
27933
|
session.on("changeWrapLimit", this.$onChangeWrapLimit);
|
27934
|
-
|
27934
|
+
|
27935
27935
|
this.$onChangeWrapMode = this.onChangeWrapMode.bind(this);
|
27936
27936
|
session.on("changeWrapMode", this.$onChangeWrapMode);
|
27937
|
-
|
27937
|
+
|
27938
27938
|
this.$onChangeFold = this.onChangeFold.bind(this);
|
27939
27939
|
session.on("changeFold", this.$onChangeFold);
|
27940
|
-
|
27940
|
+
|
27941
27941
|
this.$onChangeFrontMarker = this.onChangeFrontMarker.bind(this);
|
27942
27942
|
this.session.on("changeFrontMarker", this.$onChangeFrontMarker);
|
27943
|
-
|
27943
|
+
|
27944
27944
|
this.$onChangeBackMarker = this.onChangeBackMarker.bind(this);
|
27945
27945
|
this.session.on("changeBackMarker", this.$onChangeBackMarker);
|
27946
|
-
|
27946
|
+
|
27947
27947
|
this.$onChangeBreakpoint = this.onChangeBreakpoint.bind(this);
|
27948
27948
|
this.session.on("changeBreakpoint", this.$onChangeBreakpoint);
|
27949
|
-
|
27949
|
+
|
27950
27950
|
this.$onChangeAnnotation = this.onChangeAnnotation.bind(this);
|
27951
27951
|
this.session.on("changeAnnotation", this.$onChangeAnnotation);
|
27952
|
-
|
27952
|
+
|
27953
27953
|
this.$onCursorChange = this.onCursorChange.bind(this);
|
27954
27954
|
this.session.on("changeOverwrite", this.$onCursorChange);
|
27955
|
-
|
27955
|
+
|
27956
27956
|
this.$onScrollTopChange = this.onScrollTopChange.bind(this);
|
27957
27957
|
this.session.on("changeScrollTop", this.$onScrollTopChange);
|
27958
|
-
|
27958
|
+
|
27959
27959
|
this.$onScrollLeftChange = this.onScrollLeftChange.bind(this);
|
27960
27960
|
this.session.on("changeScrollLeft", this.$onScrollLeftChange);
|
27961
|
-
|
27961
|
+
|
27962
27962
|
this.selection = session.getSelection();
|
27963
27963
|
this.selection.on("changeCursor", this.$onCursorChange);
|
27964
|
-
|
27964
|
+
|
27965
27965
|
this.$onSelectionChange = this.onSelectionChange.bind(this);
|
27966
27966
|
this.selection.on("changeSelection", this.$onSelectionChange);
|
27967
|
-
|
27967
|
+
|
27968
27968
|
this.onChangeMode();
|
27969
|
-
|
27969
|
+
|
27970
27970
|
this.$blockScrolling += 1;
|
27971
27971
|
this.onCursorChange();
|
27972
27972
|
this.$blockScrolling -= 1;
|
27973
|
-
|
27973
|
+
|
27974
27974
|
this.onScrollTopChange();
|
27975
27975
|
this.onScrollLeftChange();
|
27976
27976
|
this.onSelectionChange();
|
@@ -27989,9 +27989,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
27989
27989
|
session: session,
|
27990
27990
|
oldSession: oldSession
|
27991
27991
|
});
|
27992
|
-
|
27992
|
+
|
27993
27993
|
this.curOp = null;
|
27994
|
-
|
27994
|
+
|
27995
27995
|
oldSession && oldSession._signal("changeEditor", {oldEditor: this});
|
27996
27996
|
session && session._signal("changeEditor", {editor: this});
|
27997
27997
|
};
|
@@ -28071,35 +28071,35 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28071
28071
|
this.$highlightTagPending = true;
|
28072
28072
|
setTimeout(function() {
|
28073
28073
|
self.$highlightTagPending = false;
|
28074
|
-
|
28074
|
+
|
28075
28075
|
var session = self.session;
|
28076
28076
|
if (!session || !session.bgTokenizer) return;
|
28077
|
-
|
28077
|
+
|
28078
28078
|
var pos = self.getCursorPosition();
|
28079
28079
|
var iterator = new TokenIterator(self.session, pos.row, pos.column);
|
28080
28080
|
var token = iterator.getCurrentToken();
|
28081
|
-
|
28081
|
+
|
28082
28082
|
if (!token || !/\b(?:tag-open|tag-name)/.test(token.type)) {
|
28083
28083
|
session.removeMarker(session.$tagHighlight);
|
28084
28084
|
session.$tagHighlight = null;
|
28085
28085
|
return;
|
28086
28086
|
}
|
28087
|
-
|
28087
|
+
|
28088
28088
|
if (token.type.indexOf("tag-open") != -1) {
|
28089
28089
|
token = iterator.stepForward();
|
28090
28090
|
if (!token)
|
28091
28091
|
return;
|
28092
28092
|
}
|
28093
|
-
|
28093
|
+
|
28094
28094
|
var tag = token.value;
|
28095
28095
|
var depth = 0;
|
28096
28096
|
var prevToken = iterator.stepBackward();
|
28097
|
-
|
28097
|
+
|
28098
28098
|
if (prevToken.value == '<'){
|
28099
28099
|
do {
|
28100
28100
|
prevToken = token;
|
28101
28101
|
token = iterator.stepForward();
|
28102
|
-
|
28102
|
+
|
28103
28103
|
if (token && token.value === tag && token.type.indexOf('tag-name') !== -1) {
|
28104
28104
|
if (prevToken.value === '<'){
|
28105
28105
|
depth++;
|
@@ -28107,13 +28107,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28107
28107
|
depth--;
|
28108
28108
|
}
|
28109
28109
|
}
|
28110
|
-
|
28110
|
+
|
28111
28111
|
} while (token && depth >= 0);
|
28112
28112
|
} else {
|
28113
28113
|
do {
|
28114
28114
|
token = prevToken;
|
28115
28115
|
prevToken = iterator.stepBackward();
|
28116
|
-
|
28116
|
+
|
28117
28117
|
if (token && token.value === tag && token.type.indexOf('tag-name') !== -1) {
|
28118
28118
|
if (prevToken.value === '<') {
|
28119
28119
|
depth++;
|
@@ -28124,13 +28124,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28124
28124
|
} while (prevToken && depth <= 0);
|
28125
28125
|
iterator.stepForward();
|
28126
28126
|
}
|
28127
|
-
|
28127
|
+
|
28128
28128
|
if (!token) {
|
28129
28129
|
session.removeMarker(session.$tagHighlight);
|
28130
28130
|
session.$tagHighlight = null;
|
28131
28131
|
return;
|
28132
28132
|
}
|
28133
|
-
|
28133
|
+
|
28134
28134
|
var row = iterator.getCurrentTokenRow();
|
28135
28135
|
var column = iterator.getCurrentTokenColumn();
|
28136
28136
|
var range = new Range(row, column, row, column+token.value.length);
|
@@ -28138,7 +28138,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28138
28138
|
session.removeMarker(session.$tagHighlight);
|
28139
28139
|
session.$tagHighlight = null;
|
28140
28140
|
}
|
28141
|
-
|
28141
|
+
|
28142
28142
|
if (range && !session.$tagHighlight)
|
28143
28143
|
session.$tagHighlight = session.addMarker(range, "ace_bracket", "text");
|
28144
28144
|
}, 50);
|
@@ -28350,9 +28350,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28350
28350
|
var e = {text: text, event: event};
|
28351
28351
|
this.commands.exec("paste", this, e);
|
28352
28352
|
};
|
28353
|
-
|
28353
|
+
|
28354
28354
|
this.$handlePaste = function(e) {
|
28355
|
-
if (typeof e == "string")
|
28355
|
+
if (typeof e == "string")
|
28356
28356
|
e = {text: e};
|
28357
28357
|
this._signal("paste", e);
|
28358
28358
|
var text = e.text;
|
@@ -28361,15 +28361,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28361
28361
|
} else {
|
28362
28362
|
var lines = text.split(/\r\n|\r|\n/);
|
28363
28363
|
var ranges = this.selection.rangeList.ranges;
|
28364
|
-
|
28364
|
+
|
28365
28365
|
if (lines.length > ranges.length || lines.length < 2 || !lines[1])
|
28366
28366
|
return this.commands.exec("insertstring", this, text);
|
28367
|
-
|
28367
|
+
|
28368
28368
|
for (var i = ranges.length; i--;) {
|
28369
28369
|
var range = ranges[i];
|
28370
28370
|
if (!range.isEmpty())
|
28371
28371
|
this.session.remove(range);
|
28372
|
-
|
28372
|
+
|
28373
28373
|
this.session.insert(range.start, lines[i]);
|
28374
28374
|
}
|
28375
28375
|
}
|
@@ -28394,7 +28394,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28394
28394
|
|
28395
28395
|
}
|
28396
28396
|
}
|
28397
|
-
|
28397
|
+
|
28398
28398
|
if (text == "\t")
|
28399
28399
|
text = this.session.getTabString();
|
28400
28400
|
if (!this.selection.isEmpty()) {
|
@@ -28700,7 +28700,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28700
28700
|
return;
|
28701
28701
|
}
|
28702
28702
|
}
|
28703
|
-
|
28703
|
+
|
28704
28704
|
var line = session.getLine(range.start.row);
|
28705
28705
|
var position = range.start;
|
28706
28706
|
var size = session.getTabSize();
|
@@ -28865,7 +28865,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28865
28865
|
var ranges = selection.rangeList.ranges;
|
28866
28866
|
selection.rangeList.detach(this.session);
|
28867
28867
|
this.inVirtualSelectionMode = true;
|
28868
|
-
|
28868
|
+
|
28869
28869
|
var diff = 0;
|
28870
28870
|
var totalDiff = 0;
|
28871
28871
|
var l = ranges.length;
|
@@ -28894,7 +28894,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
28894
28894
|
if (!copy) diff = 0;
|
28895
28895
|
totalDiff += diff;
|
28896
28896
|
}
|
28897
|
-
|
28897
|
+
|
28898
28898
|
selection.fromOrientedRange(selection.ranges[0]);
|
28899
28899
|
selection.rangeList.attach(this.session);
|
28900
28900
|
this.inVirtualSelectionMode = false;
|
@@ -29035,7 +29035,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29035
29035
|
"{": "{",
|
29036
29036
|
"}": "{"
|
29037
29037
|
};
|
29038
|
-
|
29038
|
+
|
29039
29039
|
do {
|
29040
29040
|
if (token.value.match(/[{}()\[\]]/g)) {
|
29041
29041
|
for (; i < token.value.length && !found; i++) {
|
@@ -29072,14 +29072,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29072
29072
|
if (isNaN(depth[token.value])) {
|
29073
29073
|
depth[token.value] = 0;
|
29074
29074
|
}
|
29075
|
-
|
29075
|
+
|
29076
29076
|
if (prevToken.value === '<') {
|
29077
29077
|
depth[token.value]++;
|
29078
29078
|
}
|
29079
29079
|
else if (prevToken.value === '</') {
|
29080
29080
|
depth[token.value]--;
|
29081
29081
|
}
|
29082
|
-
|
29082
|
+
|
29083
29083
|
if (depth[token.value] === -1) {
|
29084
29084
|
matchType = 'tag';
|
29085
29085
|
found = true;
|
@@ -29111,7 +29111,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29111
29111
|
}
|
29112
29112
|
}
|
29113
29113
|
else if (matchType === 'tag') {
|
29114
|
-
if (token && token.type.indexOf('tag-name') !== -1)
|
29114
|
+
if (token && token.type.indexOf('tag-name') !== -1)
|
29115
29115
|
var tag = token.value;
|
29116
29116
|
else
|
29117
29117
|
return;
|
@@ -29127,7 +29127,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29127
29127
|
do {
|
29128
29128
|
token = prevToken;
|
29129
29129
|
prevToken = iterator.stepBackward();
|
29130
|
-
|
29130
|
+
|
29131
29131
|
if (prevToken) {
|
29132
29132
|
if (prevToken.type.indexOf('tag-close') !== -1) {
|
29133
29133
|
range.setEnd(iterator.getCurrentTokenRow(), iterator.getCurrentTokenColumn() + 1);
|
@@ -29140,7 +29140,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29140
29140
|
else if (prevToken.value === '</') {
|
29141
29141
|
depth[tag]--;
|
29142
29142
|
}
|
29143
|
-
|
29143
|
+
|
29144
29144
|
if (depth[tag] === 0)
|
29145
29145
|
found = true;
|
29146
29146
|
}
|
@@ -29469,7 +29469,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29469
29469
|
},
|
29470
29470
|
readOnly: {
|
29471
29471
|
set: function(readOnly) {
|
29472
|
-
this.$resetCursorStyle();
|
29472
|
+
this.$resetCursorStyle();
|
29473
29473
|
},
|
29474
29474
|
initialValue: false
|
29475
29475
|
},
|
@@ -29601,7 +29601,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29601
29601
|
this.$deserializeDeltas = function(deltaSets) {
|
29602
29602
|
return cloneDeltaSetsObj(deltaSets, $deserializeDelta);
|
29603
29603
|
};
|
29604
|
-
|
29604
|
+
|
29605
29605
|
function $serializeDelta(delta){
|
29606
29606
|
return {
|
29607
29607
|
action: delta.action,
|
@@ -29611,7 +29611,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29611
29611
|
text: delta.lines.length == 1 ? delta.lines[0] : null
|
29612
29612
|
};
|
29613
29613
|
}
|
29614
|
-
|
29614
|
+
|
29615
29615
|
function $deserializeDelta(delta) {
|
29616
29616
|
return {
|
29617
29617
|
action: delta.action,
|
@@ -29620,23 +29620,23 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29620
29620
|
lines: delta.lines || [delta.text]
|
29621
29621
|
};
|
29622
29622
|
}
|
29623
|
-
|
29623
|
+
|
29624
29624
|
function cloneDeltaSetsObj(deltaSets_old, fnGetModifiedDelta) {
|
29625
29625
|
var deltaSets_new = new Array(deltaSets_old.length);
|
29626
29626
|
for (var i = 0; i < deltaSets_old.length; i++) {
|
29627
29627
|
var deltaSet_old = deltaSets_old[i];
|
29628
29628
|
var deltaSet_new = { group: deltaSet_old.group, deltas: new Array(deltaSet_old.length)};
|
29629
|
-
|
29629
|
+
|
29630
29630
|
for (var j = 0; j < deltaSet_old.deltas.length; j++) {
|
29631
29631
|
var delta_old = deltaSet_old.deltas[j];
|
29632
29632
|
deltaSet_new.deltas[j] = fnGetModifiedDelta(delta_old);
|
29633
29633
|
}
|
29634
|
-
|
29634
|
+
|
29635
29635
|
deltaSets_new[i] = deltaSet_new;
|
29636
29636
|
}
|
29637
29637
|
return deltaSets_new;
|
29638
29638
|
}
|
29639
|
-
|
29639
|
+
|
29640
29640
|
}).call(UndoManager.prototype);
|
29641
29641
|
|
29642
29642
|
exports.UndoManager = UndoManager;
|
@@ -29655,7 +29655,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29655
29655
|
this.element.className = "ace_layer ace_gutter-layer";
|
29656
29656
|
parentEl.appendChild(this.element);
|
29657
29657
|
this.setShowFoldWidgets(this.$showFoldWidgets);
|
29658
|
-
|
29658
|
+
|
29659
29659
|
this.gutterWidth = 0;
|
29660
29660
|
|
29661
29661
|
this.$annotations = [];
|
@@ -29696,7 +29696,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29696
29696
|
var rowInfo = this.$annotations[row];
|
29697
29697
|
if (!rowInfo)
|
29698
29698
|
rowInfo = this.$annotations[row] = {text: []};
|
29699
|
-
|
29699
|
+
|
29700
29700
|
var annoText = annotation.text;
|
29701
29701
|
annoText = annoText ? lang.escapeHTML(annoText) : annotation.html || "";
|
29702
29702
|
|
@@ -29740,7 +29740,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29740
29740
|
var decorations = session.$decorations;
|
29741
29741
|
var firstLineNumber = session.$firstLineNumber;
|
29742
29742
|
var lastLineNumber = 0;
|
29743
|
-
|
29743
|
+
|
29744
29744
|
var gutterRenderer = session.gutterRenderer || this.$renderer;
|
29745
29745
|
|
29746
29746
|
var cell = null;
|
@@ -29812,7 +29812,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29812
29812
|
cell.foldWidget = null;
|
29813
29813
|
}
|
29814
29814
|
}
|
29815
|
-
|
29815
|
+
|
29816
29816
|
var text = lastLineNumber = gutterRenderer
|
29817
29817
|
? gutterRenderer.getText(session, row)
|
29818
29818
|
: row + firstLineNumber;
|
@@ -29827,10 +29827,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29827
29827
|
if (this.$fixedWidth || session.$useWrapMode)
|
29828
29828
|
lastLineNumber = session.getLength() + firstLineNumber;
|
29829
29829
|
|
29830
|
-
var gutterWidth = gutterRenderer
|
29830
|
+
var gutterWidth = gutterRenderer
|
29831
29831
|
? gutterRenderer.getWidth(session, lastLineNumber, config)
|
29832
29832
|
: lastLineNumber.toString().length * config.characterWidth;
|
29833
|
-
|
29833
|
+
|
29834
29834
|
var padding = this.$padding || this.$computePadding();
|
29835
29835
|
gutterWidth += padding.left + padding.right;
|
29836
29836
|
if (gutterWidth !== this.gutterWidth && !isNaN(gutterWidth)) {
|
@@ -29841,7 +29841,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29841
29841
|
};
|
29842
29842
|
|
29843
29843
|
this.$fixedWidth = false;
|
29844
|
-
|
29844
|
+
|
29845
29845
|
this.$showLineNumbers = true;
|
29846
29846
|
this.$renderer = "";
|
29847
29847
|
this.setShowLineNumbers = function(show) {
|
@@ -29850,11 +29850,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29850
29850
|
getText: function() {return ""}
|
29851
29851
|
};
|
29852
29852
|
};
|
29853
|
-
|
29853
|
+
|
29854
29854
|
this.getShowLineNumbers = function() {
|
29855
29855
|
return this.$showLineNumbers;
|
29856
29856
|
};
|
29857
|
-
|
29857
|
+
|
29858
29858
|
this.$showFoldWidgets = true;
|
29859
29859
|
this.setShowFoldWidgets = function(show) {
|
29860
29860
|
if (show)
|
@@ -29865,7 +29865,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29865
29865
|
this.$showFoldWidgets = show;
|
29866
29866
|
this.$padding = null;
|
29867
29867
|
};
|
29868
|
-
|
29868
|
+
|
29869
29869
|
this.getShowFoldWidgets = function() {
|
29870
29870
|
return this.$showFoldWidgets;
|
29871
29871
|
};
|
@@ -29917,7 +29917,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29917
29917
|
this.setSession = function(session) {
|
29918
29918
|
this.session = session;
|
29919
29919
|
};
|
29920
|
-
|
29920
|
+
|
29921
29921
|
this.setMarkers = function(markers) {
|
29922
29922
|
this.markers = markers;
|
29923
29923
|
};
|
@@ -29975,7 +29975,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29975
29975
|
var start = range.start.row;
|
29976
29976
|
var end = range.end.row;
|
29977
29977
|
var row = start;
|
29978
|
-
var prev = 0;
|
29978
|
+
var prev = 0;
|
29979
29979
|
var curr = 0;
|
29980
29980
|
var next = session.getScreenLastRowColumn(row);
|
29981
29981
|
var lineRange = new Range(row, range.start.column, row, curr);
|
@@ -29986,7 +29986,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
29986
29986
|
prev = curr;
|
29987
29987
|
curr = next;
|
29988
29988
|
next = row + 1 < end ? session.getScreenLastRowColumn(row + 1) : row == end ? 0 : range.end.column;
|
29989
|
-
this.drawSingleLineMarker(stringBuilder, lineRange,
|
29989
|
+
this.drawSingleLineMarker(stringBuilder, lineRange,
|
29990
29990
|
clazz + (row == start ? " ace_start" : "") + " ace_br"
|
29991
29991
|
+ getBorderClass(row == start || row == start + 1 && range.start.column, prev < curr, curr > next, row == end),
|
29992
29992
|
layerConfig, row == end ? 0 : 1, extraStyle);
|
@@ -30020,7 +30020,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30020
30020
|
if (height <= 0)
|
30021
30021
|
return;
|
30022
30022
|
top = this.$getTop(range.start.row + 1, config);
|
30023
|
-
|
30023
|
+
|
30024
30024
|
var radiusClass = (range.start.column ? 1 : 0) | (range.end.column ? 0 : 8);
|
30025
30025
|
|
30026
30026
|
stringBuilder.push(
|
@@ -30060,7 +30060,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30060
30060
|
"left:0;right:0;", extraStyle || "", "'></div>"
|
30061
30061
|
);
|
30062
30062
|
};
|
30063
|
-
|
30063
|
+
|
30064
30064
|
this.drawScreenLineMarker = function(stringBuilder, range, clazz, config, extraStyle) {
|
30065
30065
|
var top = this.$getTop(range.start.row, config);
|
30066
30066
|
var height = config.lineHeight;
|
@@ -30129,7 +30129,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30129
30129
|
this.getCharacterWidth = function() {
|
30130
30130
|
return this.$fontMetrics.$characterSize.width || 0;
|
30131
30131
|
};
|
30132
|
-
|
30132
|
+
|
30133
30133
|
this.$setFontMetrics = function(measure) {
|
30134
30134
|
this.$fontMetrics = measure;
|
30135
30135
|
this.$fontMetrics.on("changeCharacterSize", function(e) {
|
@@ -30507,7 +30507,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30507
30507
|
|
30508
30508
|
if (!onlyContents) {
|
30509
30509
|
stringBuilder.push(
|
30510
|
-
"<div class='ace_line' style='height:",
|
30510
|
+
"<div class='ace_line' style='height:",
|
30511
30511
|
this.config.lineHeight * (
|
30512
30512
|
this.$useLineGroups() ? 1 :this.session.getRowLength(row)
|
30513
30513
|
), "px'>"
|
@@ -30623,7 +30623,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30623
30623
|
this.element = dom.createElement("div");
|
30624
30624
|
this.element.className = "ace_layer ace_cursor-layer";
|
30625
30625
|
parentEl.appendChild(this.element);
|
30626
|
-
|
30626
|
+
|
30627
30627
|
if (isIE8 === undefined)
|
30628
30628
|
isIE8 = !("opacity" in this.element.style);
|
30629
30629
|
|
@@ -30641,7 +30641,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30641
30641
|
};
|
30642
30642
|
|
30643
30643
|
(function() {
|
30644
|
-
|
30644
|
+
|
30645
30645
|
this.$updateVisibility = function(val) {
|
30646
30646
|
var cursors = this.cursors;
|
30647
30647
|
for (var i = cursors.length; i--; )
|
@@ -30652,7 +30652,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30652
30652
|
for (var i = cursors.length; i--; )
|
30653
30653
|
cursors[i].style.opacity = val ? "" : "0";
|
30654
30654
|
};
|
30655
|
-
|
30655
|
+
|
30656
30656
|
|
30657
30657
|
this.$padding = 0;
|
30658
30658
|
this.setPadding = function(padding) {
|
@@ -30722,7 +30722,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30722
30722
|
if (this.smoothBlinking) {
|
30723
30723
|
dom.removeCssClass(this.element, "ace_smooth-blinking");
|
30724
30724
|
}
|
30725
|
-
|
30725
|
+
|
30726
30726
|
update(true);
|
30727
30727
|
|
30728
30728
|
if (!this.isBlinking || !this.blinkInterval || !this.isVisible)
|
@@ -30733,7 +30733,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30733
30733
|
dom.addCssClass(this.element, "ace_smooth-blinking");
|
30734
30734
|
}.bind(this));
|
30735
30735
|
}
|
30736
|
-
|
30736
|
+
|
30737
30737
|
var blink = function(){
|
30738
30738
|
this.timeoutId = setTimeout(function() {
|
30739
30739
|
update(false);
|
@@ -30780,7 +30780,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30780
30780
|
}
|
30781
30781
|
|
30782
30782
|
var style = (this.cursors[cursorIndex++] || this.addCursor()).style;
|
30783
|
-
|
30783
|
+
|
30784
30784
|
if (!this.drawCursor) {
|
30785
30785
|
style.left = pixelPos.left + "px";
|
30786
30786
|
style.top = pixelPos.top + "px";
|
@@ -30798,7 +30798,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30798
30798
|
this.$pixelPos = pixelPos;
|
30799
30799
|
this.restartTimer();
|
30800
30800
|
};
|
30801
|
-
|
30801
|
+
|
30802
30802
|
this.drawCursor = null;
|
30803
30803
|
|
30804
30804
|
this.$setOverwrite = function(overwrite) {
|
@@ -30857,7 +30857,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30857
30857
|
var VScrollBar = function(parent, renderer) {
|
30858
30858
|
ScrollBar.call(this, parent);
|
30859
30859
|
this.scrollTop = 0;
|
30860
|
-
renderer.$scrollbarWidth =
|
30860
|
+
renderer.$scrollbarWidth =
|
30861
30861
|
this.width = dom.scrollbarWidth(parent.ownerDocument);
|
30862
30862
|
this.inner.style.width =
|
30863
30863
|
this.element.style.width = (this.width || 15) + 5 + "px";
|
@@ -30995,22 +30995,22 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
30995
30995
|
var FontMetrics = exports.FontMetrics = function(parentEl) {
|
30996
30996
|
this.el = dom.createElement("div");
|
30997
30997
|
this.$setMeasureNodeStyles(this.el.style, true);
|
30998
|
-
|
30998
|
+
|
30999
30999
|
this.$main = dom.createElement("div");
|
31000
31000
|
this.$setMeasureNodeStyles(this.$main.style);
|
31001
|
-
|
31001
|
+
|
31002
31002
|
this.$measureNode = dom.createElement("div");
|
31003
31003
|
this.$setMeasureNodeStyles(this.$measureNode.style);
|
31004
|
-
|
31005
|
-
|
31004
|
+
|
31005
|
+
|
31006
31006
|
this.el.appendChild(this.$main);
|
31007
31007
|
this.el.appendChild(this.$measureNode);
|
31008
31008
|
parentEl.appendChild(this.el);
|
31009
|
-
|
31009
|
+
|
31010
31010
|
if (!CHAR_COUNT)
|
31011
31011
|
this.$testFractionalRect();
|
31012
31012
|
this.$measureNode.innerHTML = lang.stringRepeat("X", CHAR_COUNT);
|
31013
|
-
|
31013
|
+
|
31014
31014
|
this.$characterSize = {width: 0, height: 0};
|
31015
31015
|
this.checkForSizeChanges();
|
31016
31016
|
};
|
@@ -31018,9 +31018,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31018
31018
|
(function() {
|
31019
31019
|
|
31020
31020
|
oop.implement(this, EventEmitter);
|
31021
|
-
|
31021
|
+
|
31022
31022
|
this.$characterSize = {width: 0, height: 0};
|
31023
|
-
|
31023
|
+
|
31024
31024
|
this.$testFractionalRect = function() {
|
31025
31025
|
var el = dom.createElement("div");
|
31026
31026
|
this.$setMeasureNodeStyles(el.style);
|
@@ -31033,7 +31033,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31033
31033
|
CHAR_COUNT = 100;
|
31034
31034
|
el.parentNode.removeChild(el);
|
31035
31035
|
};
|
31036
|
-
|
31036
|
+
|
31037
31037
|
this.$setMeasureNodeStyles = function(style, isRoot) {
|
31038
31038
|
style.width = style.height = "auto";
|
31039
31039
|
style.left = style.top = "0px";
|
@@ -31070,7 +31070,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31070
31070
|
self.checkForSizeChanges();
|
31071
31071
|
}, 500);
|
31072
31072
|
};
|
31073
|
-
|
31073
|
+
|
31074
31074
|
this.setPolling = function(val) {
|
31075
31075
|
if (val) {
|
31076
31076
|
this.$pollSizeChanges();
|
@@ -31083,7 +31083,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31083
31083
|
this.$measureSizes = function() {
|
31084
31084
|
if (CHAR_COUNT === 50) {
|
31085
31085
|
var rect = null;
|
31086
|
-
try {
|
31086
|
+
try {
|
31087
31087
|
rect = this.$measureNode.getBoundingClientRect();
|
31088
31088
|
} catch(e) {
|
31089
31089
|
rect = {width: 0, height:0 };
|
@@ -31108,7 +31108,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31108
31108
|
var rect = this.$main.getBoundingClientRect();
|
31109
31109
|
return rect.width / CHAR_COUNT;
|
31110
31110
|
};
|
31111
|
-
|
31111
|
+
|
31112
31112
|
this.getCharacterWidth = function(ch) {
|
31113
31113
|
var w = this.charSizes[ch];
|
31114
31114
|
if (w === undefined) {
|
@@ -31555,7 +31555,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31555
31555
|
this.$horizScroll = false;
|
31556
31556
|
this.$vScroll = false;
|
31557
31557
|
|
31558
|
-
this.scrollBar =
|
31558
|
+
this.scrollBar =
|
31559
31559
|
this.scrollBarV = new VScrollBar(this.container, this);
|
31560
31560
|
this.scrollBarH = new HScrollBar(this.container, this);
|
31561
31561
|
this.scrollBarV.addEventListener("scroll", function(e) {
|
@@ -31605,7 +31605,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31605
31605
|
height : 1,
|
31606
31606
|
gutterOffset: 1
|
31607
31607
|
};
|
31608
|
-
|
31608
|
+
|
31609
31609
|
this.scrollMargin = {
|
31610
31610
|
left: 0,
|
31611
31611
|
right: 0,
|
@@ -31658,7 +31658,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31658
31658
|
this.setSession = function(session) {
|
31659
31659
|
if (this.session)
|
31660
31660
|
this.session.doc.off("changeNewLineMode", this.onChangeNewLineMode);
|
31661
|
-
|
31661
|
+
|
31662
31662
|
this.session = session;
|
31663
31663
|
if (session && this.scrollMargin.top && session.getScrollTop() <= 0)
|
31664
31664
|
session.setScrollTop(-this.scrollMargin.top);
|
@@ -31670,10 +31670,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31670
31670
|
this.$textLayer.setSession(session);
|
31671
31671
|
if (!session)
|
31672
31672
|
return;
|
31673
|
-
|
31673
|
+
|
31674
31674
|
this.$loop.schedule(this.CHANGE_FULL);
|
31675
31675
|
this.session.$setFontMetrics(this.$fontMetrics);
|
31676
|
-
|
31676
|
+
|
31677
31677
|
this.onChangeNewLineMode = this.onChangeNewLineMode.bind(this);
|
31678
31678
|
this.onChangeNewLineMode()
|
31679
31679
|
this.session.doc.on("changeNewLineMode", this.onChangeNewLineMode);
|
@@ -31710,7 +31710,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31710
31710
|
this.$loop.schedule(this.CHANGE_TEXT);
|
31711
31711
|
this.$textLayer.$updateEolChar();
|
31712
31712
|
};
|
31713
|
-
|
31713
|
+
|
31714
31714
|
this.onChangeTabSize = function() {
|
31715
31715
|
this.$loop.schedule(this.CHANGE_TEXT | this.CHANGE_MARKER);
|
31716
31716
|
this.$textLayer.onChangeTabSize();
|
@@ -31749,7 +31749,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31749
31749
|
width = el.clientWidth || el.scrollWidth;
|
31750
31750
|
var changes = this.$updateCachedSize(force, gutterWidth, width, height);
|
31751
31751
|
|
31752
|
-
|
31752
|
+
|
31753
31753
|
if (!this.$size.scrollerHeight || (!width && !height))
|
31754
31754
|
return this.resizing = 0;
|
31755
31755
|
|
@@ -31765,7 +31765,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31765
31765
|
this.resizing = 0;
|
31766
31766
|
this.scrollBarV.scrollLeft = this.scrollBarV.scrollTop = null;
|
31767
31767
|
};
|
31768
|
-
|
31768
|
+
|
31769
31769
|
this.$updateCachedSize = function(force, gutterWidth, width, height) {
|
31770
31770
|
height -= (this.$extraHeight || 0);
|
31771
31771
|
var changes = 0;
|
@@ -31791,24 +31791,24 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31791
31791
|
if (width && (force || size.width != width)) {
|
31792
31792
|
changes |= this.CHANGE_SIZE;
|
31793
31793
|
size.width = width;
|
31794
|
-
|
31794
|
+
|
31795
31795
|
if (gutterWidth == null)
|
31796
31796
|
gutterWidth = this.$showGutter ? this.$gutter.offsetWidth : 0;
|
31797
|
-
|
31797
|
+
|
31798
31798
|
this.gutterWidth = gutterWidth;
|
31799
|
-
|
31800
|
-
this.scrollBarH.element.style.left =
|
31799
|
+
|
31800
|
+
this.scrollBarH.element.style.left =
|
31801
31801
|
this.scroller.style.left = gutterWidth + "px";
|
31802
|
-
size.scrollerWidth = Math.max(0, width - gutterWidth - this.scrollBarV.getWidth());
|
31803
|
-
|
31804
|
-
this.scrollBarH.element.style.right =
|
31802
|
+
size.scrollerWidth = Math.max(0, width - gutterWidth - this.scrollBarV.getWidth());
|
31803
|
+
|
31804
|
+
this.scrollBarH.element.style.right =
|
31805
31805
|
this.scroller.style.right = this.scrollBarV.getWidth() + "px";
|
31806
31806
|
this.scroller.style.bottom = this.scrollBarH.getHeight() + "px";
|
31807
31807
|
|
31808
31808
|
if (this.session && this.session.getUseWrapMode() && this.adjustWrapLimit() || force)
|
31809
31809
|
changes |= this.CHANGE_FULL;
|
31810
31810
|
}
|
31811
|
-
|
31811
|
+
|
31812
31812
|
size.$dirty = !width || !height;
|
31813
31813
|
|
31814
31814
|
if (changes)
|
@@ -31919,7 +31919,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31919
31919
|
var style = this.$printMarginEl.style;
|
31920
31920
|
style.left = ((this.characterWidth * this.$printMarginColumn) + this.$padding) + "px";
|
31921
31921
|
style.visibility = this.$showPrintMargin ? "visible" : "hidden";
|
31922
|
-
|
31922
|
+
|
31923
31923
|
if (this.session && this.session.$wrap == -1)
|
31924
31924
|
this.adjustWrapLimit();
|
31925
31925
|
};
|
@@ -31991,7 +31991,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
31991
31991
|
this.$loop.schedule(this.CHANGE_FULL);
|
31992
31992
|
this.$updatePrintMargin();
|
31993
31993
|
};
|
31994
|
-
|
31994
|
+
|
31995
31995
|
this.setScrollMargin = function(top, bottom, left, right) {
|
31996
31996
|
var sm = this.scrollMargin;
|
31997
31997
|
sm.top = top|0;
|
@@ -32034,12 +32034,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32034
32034
|
this.scrollBarH.setScrollWidth(this.layerConfig.width + 2 * this.$padding + this.scrollMargin.h);
|
32035
32035
|
this.scrollBarH.setScrollLeft(this.scrollLeft + this.scrollMargin.left);
|
32036
32036
|
};
|
32037
|
-
|
32037
|
+
|
32038
32038
|
this.$frozen = false;
|
32039
32039
|
this.freeze = function() {
|
32040
32040
|
this.$frozen = true;
|
32041
32041
|
};
|
32042
|
-
|
32042
|
+
|
32043
32043
|
this.unfreeze = function() {
|
32044
32044
|
this.$frozen = false;
|
32045
32045
|
};
|
@@ -32051,8 +32051,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32051
32051
|
}
|
32052
32052
|
if ((!this.session || !this.container.offsetWidth || this.$frozen) || (!changes && !force)) {
|
32053
32053
|
this.$changes |= changes;
|
32054
|
-
return;
|
32055
|
-
}
|
32054
|
+
return;
|
32055
|
+
}
|
32056
32056
|
if (this.$size.$dirty) {
|
32057
32057
|
this.$changes |= changes;
|
32058
32058
|
return this.onResize(true);
|
@@ -32060,7 +32060,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32060
32060
|
if (!this.lineHeight) {
|
32061
32061
|
this.$textLayer.checkForSizeChanges();
|
32062
32062
|
}
|
32063
|
-
|
32063
|
+
|
32064
32064
|
this._signal("beforeRender");
|
32065
32065
|
var config = this.layerConfig;
|
32066
32066
|
if (changes & this.CHANGE_FULL ||
|
@@ -32152,7 +32152,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32152
32152
|
this._signal("afterRender");
|
32153
32153
|
};
|
32154
32154
|
|
32155
|
-
|
32155
|
+
|
32156
32156
|
this.$autosize = function() {
|
32157
32157
|
var height = this.session.getScreenLength() * this.lineHeight;
|
32158
32158
|
var maxHeight = this.$maxLines * this.lineHeight;
|
@@ -32163,33 +32163,33 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32163
32163
|
if (this.$horizScroll)
|
32164
32164
|
desiredHeight += this.scrollBarH.getHeight();
|
32165
32165
|
var vScroll = height > maxHeight;
|
32166
|
-
|
32166
|
+
|
32167
32167
|
if (desiredHeight != this.desiredHeight ||
|
32168
32168
|
this.$size.height != this.desiredHeight || vScroll != this.$vScroll) {
|
32169
32169
|
if (vScroll != this.$vScroll) {
|
32170
32170
|
this.$vScroll = vScroll;
|
32171
32171
|
this.scrollBarV.setVisible(vScroll);
|
32172
32172
|
}
|
32173
|
-
|
32173
|
+
|
32174
32174
|
var w = this.container.clientWidth;
|
32175
32175
|
this.container.style.height = desiredHeight + "px";
|
32176
32176
|
this.$updateCachedSize(true, this.$gutterWidth, w, desiredHeight);
|
32177
32177
|
this.desiredHeight = desiredHeight;
|
32178
|
-
|
32178
|
+
|
32179
32179
|
this._signal("autosize");
|
32180
32180
|
}
|
32181
32181
|
};
|
32182
|
-
|
32182
|
+
|
32183
32183
|
this.$computeLayerConfig = function() {
|
32184
32184
|
var session = this.session;
|
32185
32185
|
var size = this.$size;
|
32186
|
-
|
32186
|
+
|
32187
32187
|
var hideScrollbars = size.height <= 2 * this.lineHeight;
|
32188
32188
|
var screenLines = this.session.getScreenLength();
|
32189
32189
|
var maxHeight = screenLines * this.lineHeight;
|
32190
32190
|
|
32191
32191
|
var longestLine = this.$getLongestLine();
|
32192
|
-
|
32192
|
+
|
32193
32193
|
var horizScroll = !hideScrollbars && (this.$hScrollBarAlwaysVisible ||
|
32194
32194
|
size.scrollerWidth - longestLine - 2 * this.$padding < 0);
|
32195
32195
|
|
@@ -32204,19 +32204,19 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32204
32204
|
|
32205
32205
|
var offset = this.scrollTop % this.lineHeight;
|
32206
32206
|
var minHeight = size.scrollerHeight + this.lineHeight;
|
32207
|
-
|
32207
|
+
|
32208
32208
|
var scrollPastEnd = !this.$maxLines && this.$scrollPastEnd
|
32209
32209
|
? (size.scrollerHeight - this.lineHeight) * this.$scrollPastEnd
|
32210
32210
|
: 0;
|
32211
32211
|
maxHeight += scrollPastEnd;
|
32212
|
-
|
32212
|
+
|
32213
32213
|
var sm = this.scrollMargin;
|
32214
32214
|
this.session.setScrollTop(Math.max(-sm.top,
|
32215
32215
|
Math.min(this.scrollTop, maxHeight - size.scrollerHeight + sm.bottom)));
|
32216
32216
|
|
32217
|
-
this.session.setScrollLeft(Math.max(-sm.left, Math.min(this.scrollLeft,
|
32217
|
+
this.session.setScrollLeft(Math.max(-sm.left, Math.min(this.scrollLeft,
|
32218
32218
|
longestLine + 2 * this.$padding - size.scrollerWidth + sm.right)));
|
32219
|
-
|
32219
|
+
|
32220
32220
|
var vScroll = !hideScrollbars && (this.$vScrollBarAlwaysVisible ||
|
32221
32221
|
size.scrollerHeight - maxHeight + scrollPastEnd < 0 || this.scrollTop > sm.top);
|
32222
32222
|
var vScrollChanged = vScrollBefore !== vScroll;
|
@@ -32246,7 +32246,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32246
32246
|
offset = this.scrollTop - firstRowScreen * lineHeight;
|
32247
32247
|
|
32248
32248
|
var changes = 0;
|
32249
|
-
if (this.layerConfig.width != longestLine)
|
32249
|
+
if (this.layerConfig.width != longestLine)
|
32250
32250
|
changes = this.CHANGE_H_SCROLL;
|
32251
32251
|
if (hScrollChanged || vScrollChanged) {
|
32252
32252
|
changes = this.$updateCachedSize(true, this.gutterWidth, size.width, size.height);
|
@@ -32254,7 +32254,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32254
32254
|
if (vScrollChanged)
|
32255
32255
|
longestLine = this.$getLongestLine();
|
32256
32256
|
}
|
32257
|
-
|
32257
|
+
|
32258
32258
|
this.layerConfig = {
|
32259
32259
|
width : longestLine,
|
32260
32260
|
padding : this.$padding,
|
@@ -32342,12 +32342,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32342
32342
|
|
32343
32343
|
var left = pos.left;
|
32344
32344
|
var top = pos.top;
|
32345
|
-
|
32345
|
+
|
32346
32346
|
var topMargin = $viewMargin && $viewMargin.top || 0;
|
32347
32347
|
var bottomMargin = $viewMargin && $viewMargin.bottom || 0;
|
32348
|
-
|
32348
|
+
|
32349
32349
|
var scrollTop = this.$scrollAnimation ? this.session.getScrollTop() : this.scrollTop;
|
32350
|
-
|
32350
|
+
|
32351
32351
|
if (scrollTop + topMargin > top) {
|
32352
32352
|
if (offset && scrollTop + topMargin > top + this.lineHeight)
|
32353
32353
|
top -= offset * this.$size.scrollerHeight;
|
@@ -32432,10 +32432,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32432
32432
|
if (!this.$animatedScroll)
|
32433
32433
|
return;
|
32434
32434
|
var _self = this;
|
32435
|
-
|
32435
|
+
|
32436
32436
|
if (fromValue == toValue)
|
32437
32437
|
return;
|
32438
|
-
|
32438
|
+
|
32439
32439
|
if (this.$scrollAnimation) {
|
32440
32440
|
var oldSteps = this.$scrollAnimation.steps;
|
32441
32441
|
if (oldSteps.length) {
|
@@ -32444,7 +32444,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32444
32444
|
return;
|
32445
32445
|
}
|
32446
32446
|
}
|
32447
|
-
|
32447
|
+
|
32448
32448
|
var steps = _self.$calcSteps(fromValue, toValue);
|
32449
32449
|
this.$scrollAnimation = {from: fromValue, to: toValue, steps: steps};
|
32450
32450
|
|
@@ -32588,7 +32588,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32588
32588
|
if (_self.theme)
|
32589
32589
|
dom.removeCssClass(_self.container, _self.theme.cssClass);
|
32590
32590
|
|
32591
|
-
var padding = "padding" in module ? module.padding
|
32591
|
+
var padding = "padding" in module ? module.padding
|
32592
32592
|
: "padding" in (_self.theme || {}) ? 4 : _self.$padding;
|
32593
32593
|
if (_self.$padding && padding != _self.$padding)
|
32594
32594
|
_self.setPadding(padding);
|
@@ -32615,7 +32615,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32615
32615
|
this.unsetStyle = function(style) {
|
32616
32616
|
dom.removeCssClass(this.container, style);
|
32617
32617
|
};
|
32618
|
-
|
32618
|
+
|
32619
32619
|
this.setCursorStyle = function(style) {
|
32620
32620
|
if (this.scroller.style.cursor != style)
|
32621
32621
|
this.scroller.style.cursor = style;
|
@@ -32656,7 +32656,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32656
32656
|
this.$updatePrintMargin();
|
32657
32657
|
},
|
32658
32658
|
get: function() {
|
32659
|
-
return this.$showPrintMargin && this.$printMarginColumn;
|
32659
|
+
return this.$showPrintMargin && this.$printMarginColumn;
|
32660
32660
|
}
|
32661
32661
|
},
|
32662
32662
|
showGutter: {
|
@@ -32788,7 +32788,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32788
32788
|
this.onMessage = this.onMessage.bind(this);
|
32789
32789
|
if (acequire.nameToUrl && !acequire.toUrl)
|
32790
32790
|
acequire.toUrl = acequire.nameToUrl;
|
32791
|
-
|
32791
|
+
|
32792
32792
|
if (config.get("packaged") || !acequire.toUrl) {
|
32793
32793
|
workerUrl = workerUrl || config.moduleUrl(mod.id, "worker")
|
32794
32794
|
} else {
|
@@ -32859,7 +32859,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
32859
32859
|
break;
|
32860
32860
|
}
|
32861
32861
|
};
|
32862
|
-
|
32862
|
+
|
32863
32863
|
this.reportError = function(err) {
|
32864
32864
|
window.console && console.error && console.error(err);
|
32865
32865
|
};
|
@@ -33019,13 +33019,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33019
33019
|
this.$onUpdate = this.onUpdate.bind(this);
|
33020
33020
|
this.doc.on("change", this.$onUpdate);
|
33021
33021
|
this.$others = others;
|
33022
|
-
|
33022
|
+
|
33023
33023
|
this.$onCursorChange = function() {
|
33024
33024
|
setTimeout(function() {
|
33025
33025
|
_self.onCursorChange();
|
33026
33026
|
});
|
33027
33027
|
};
|
33028
|
-
|
33028
|
+
|
33029
33029
|
this.$pos = pos;
|
33030
33030
|
var undoStack = session.getUndoManager().$undoStack || session.getUndoManager().$undostack || {length: -1};
|
33031
33031
|
this.$undoStackDepth = undoStack.length;
|
@@ -33041,7 +33041,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33041
33041
|
var _self = this;
|
33042
33042
|
var doc = this.doc;
|
33043
33043
|
var session = this.session;
|
33044
|
-
|
33044
|
+
|
33045
33045
|
this.selectionBefore = session.selection.toJSON();
|
33046
33046
|
if (session.selection.inMultiSelectMode)
|
33047
33047
|
session.selection.toSingleRange();
|
@@ -33079,7 +33079,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33079
33079
|
this.onUpdate = function(delta) {
|
33080
33080
|
if (this.$updating)
|
33081
33081
|
return this.updateAnchors(delta);
|
33082
|
-
|
33082
|
+
|
33083
33083
|
var range = delta;
|
33084
33084
|
if (range.start.row !== range.end.row) return;
|
33085
33085
|
if (range.start.row !== this.pos.row) return;
|
@@ -33087,9 +33087,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33087
33087
|
var lengthDiff = delta.action === "insert" ? range.end.column - range.start.column : range.start.column - range.end.column;
|
33088
33088
|
var inMainRange = range.start.column >= this.pos.column && range.start.column <= this.pos.column + this.length + 1;
|
33089
33089
|
var distanceFromStart = range.start.column - this.pos.column;
|
33090
|
-
|
33090
|
+
|
33091
33091
|
this.updateAnchors(delta);
|
33092
|
-
|
33092
|
+
|
33093
33093
|
if (inMainRange)
|
33094
33094
|
this.length += lengthDiff;
|
33095
33095
|
|
@@ -33108,18 +33108,18 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33108
33108
|
}
|
33109
33109
|
}
|
33110
33110
|
}
|
33111
|
-
|
33111
|
+
|
33112
33112
|
this.$updating = false;
|
33113
33113
|
this.updateMarkers();
|
33114
33114
|
};
|
33115
|
-
|
33115
|
+
|
33116
33116
|
this.updateAnchors = function(delta) {
|
33117
33117
|
this.pos.onChange(delta);
|
33118
33118
|
for (var i = this.others.length; i--;)
|
33119
33119
|
this.others[i].onChange(delta);
|
33120
33120
|
this.updateMarkers();
|
33121
33121
|
};
|
33122
|
-
|
33122
|
+
|
33123
33123
|
this.updateMarkers = function() {
|
33124
33124
|
if (this.$updating)
|
33125
33125
|
return;
|
@@ -33144,7 +33144,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33144
33144
|
this.hideOtherMarkers();
|
33145
33145
|
this._emit("cursorLeave", event);
|
33146
33146
|
}
|
33147
|
-
};
|
33147
|
+
};
|
33148
33148
|
this.detach = function() {
|
33149
33149
|
this.session.removeMarker(this.pos && this.pos.markerId);
|
33150
33150
|
this.hideOtherMarkers();
|
@@ -33185,7 +33185,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33185
33185
|
var ctrl = ev.ctrlKey;
|
33186
33186
|
var accel = e.getAccelKey();
|
33187
33187
|
var button = e.getButton();
|
33188
|
-
|
33188
|
+
|
33189
33189
|
if (ctrl && useragent.isMac)
|
33190
33190
|
button = ev.button;
|
33191
33191
|
|
@@ -33193,13 +33193,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33193
33193
|
e.editor.textInput.onContextMenu(e.domEvent);
|
33194
33194
|
return;
|
33195
33195
|
}
|
33196
|
-
|
33196
|
+
|
33197
33197
|
if (!ctrl && !alt && !accel) {
|
33198
33198
|
if (button === 0 && e.editor.inMultiSelectMode)
|
33199
33199
|
e.editor.exitMultiSelectMode();
|
33200
33200
|
return;
|
33201
33201
|
}
|
33202
|
-
|
33202
|
+
|
33203
33203
|
if (button !== 0)
|
33204
33204
|
return;
|
33205
33205
|
|
@@ -33215,11 +33215,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33215
33215
|
mouseX = e.clientX;
|
33216
33216
|
mouseY = e.clientY;
|
33217
33217
|
};
|
33218
|
-
|
33218
|
+
|
33219
33219
|
var session = editor.session;
|
33220
33220
|
var screenAnchor = editor.renderer.pixelToScreenCoordinates(mouseX, mouseY);
|
33221
33221
|
var screenCursor = screenAnchor;
|
33222
|
-
|
33222
|
+
|
33223
33223
|
var selectionMode;
|
33224
33224
|
if (editor.$mouseHandler.$enableJumpToDef) {
|
33225
33225
|
if (ctrl && alt || accel && alt)
|
@@ -33235,7 +33235,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33235
33235
|
selectionMode = "block";
|
33236
33236
|
}
|
33237
33237
|
}
|
33238
|
-
|
33238
|
+
|
33239
33239
|
if (selectionMode && useragent.isMac && ev.ctrlKey) {
|
33240
33240
|
editor.$mouseHandler.cancelContextMenu();
|
33241
33241
|
}
|
@@ -33250,11 +33250,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33250
33250
|
}
|
33251
33251
|
|
33252
33252
|
var oldRange = selection.rangeList.rangeAtPoint(pos);
|
33253
|
-
|
33254
|
-
|
33253
|
+
|
33254
|
+
|
33255
33255
|
editor.$blockScrolling++;
|
33256
33256
|
editor.inVirtualSelectionMode = true;
|
33257
|
-
|
33257
|
+
|
33258
33258
|
if (shift) {
|
33259
33259
|
oldRange = null;
|
33260
33260
|
range = selection.ranges[0] || range;
|
@@ -33280,7 +33280,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33280
33280
|
|
33281
33281
|
} else if (selectionMode == "block") {
|
33282
33282
|
e.stop();
|
33283
|
-
editor.inVirtualSelectionMode = true;
|
33283
|
+
editor.inVirtualSelectionMode = true;
|
33284
33284
|
var initialRange;
|
33285
33285
|
var rectSel = [];
|
33286
33286
|
var blockSelect = function() {
|
@@ -33290,7 +33290,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33290
33290
|
if (isSamePoint(screenCursor, newCursor) && isSamePoint(cursor, selection.lead))
|
33291
33291
|
return;
|
33292
33292
|
screenCursor = newCursor;
|
33293
|
-
|
33293
|
+
|
33294
33294
|
editor.$blockScrolling++;
|
33295
33295
|
editor.selection.moveToPosition(cursor);
|
33296
33296
|
editor.renderer.scrollCursorIntoView();
|
@@ -33310,13 +33310,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33310
33310
|
initialRange = selection.toOrientedRange();
|
33311
33311
|
editor.addSelectionMarker(initialRange);
|
33312
33312
|
}
|
33313
|
-
|
33313
|
+
|
33314
33314
|
if (shift)
|
33315
|
-
screenAnchor = session.documentToScreenPosition(selection.lead);
|
33315
|
+
screenAnchor = session.documentToScreenPosition(selection.lead);
|
33316
33316
|
else
|
33317
33317
|
selection.moveToPosition(pos);
|
33318
33318
|
editor.$blockScrolling--;
|
33319
|
-
|
33319
|
+
|
33320
33320
|
screenCursor = {row: -1, column: -1};
|
33321
33321
|
|
33322
33322
|
var onMouseSelectionEnd = function(e) {
|
@@ -33580,7 +33580,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33580
33580
|
var start = range.end, end = range.start;
|
33581
33581
|
else
|
33582
33582
|
var start = range.start, end = range.end;
|
33583
|
-
|
33583
|
+
|
33584
33584
|
this.addRange(Range.fromPoints(end, end));
|
33585
33585
|
this.addRange(Range.fromPoints(start, start));
|
33586
33586
|
return;
|
@@ -33781,7 +33781,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33781
33781
|
result = command.multiSelectAction(editor, e.args || {});
|
33782
33782
|
}
|
33783
33783
|
return result;
|
33784
|
-
};
|
33784
|
+
};
|
33785
33785
|
this.forEachSelection = function(cmd, args, options) {
|
33786
33786
|
if (this.inVirtualSelectionMode)
|
33787
33787
|
return;
|
@@ -33792,10 +33792,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33792
33792
|
var rangeList = selection.rangeList;
|
33793
33793
|
var ranges = (keepOrder ? selection : rangeList).ranges;
|
33794
33794
|
var result;
|
33795
|
-
|
33795
|
+
|
33796
33796
|
if (!ranges.length)
|
33797
33797
|
return cmd.exec ? cmd.exec(this, args || {}) : cmd(this, args || {});
|
33798
|
-
|
33798
|
+
|
33799
33799
|
var reg = selection._eventRegistry;
|
33800
33800
|
selection._eventRegistry = {};
|
33801
33801
|
|
@@ -33820,13 +33820,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33820
33820
|
this.inVirtualSelectionMode = false;
|
33821
33821
|
selection._eventRegistry = reg;
|
33822
33822
|
selection.mergeOverlappingRanges();
|
33823
|
-
|
33823
|
+
|
33824
33824
|
var anim = this.renderer.$scrollAnimation;
|
33825
33825
|
this.onCursorChange();
|
33826
33826
|
this.onSelectionChange();
|
33827
33827
|
if (anim && anim.from == anim.to)
|
33828
33828
|
this.renderer.animateScrolling(anim.from);
|
33829
|
-
|
33829
|
+
|
33830
33830
|
return result;
|
33831
33831
|
};
|
33832
33832
|
this.exitMultiSelectMode = function() {
|
@@ -33852,7 +33852,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33852
33852
|
}
|
33853
33853
|
return text;
|
33854
33854
|
};
|
33855
|
-
|
33855
|
+
|
33856
33856
|
this.$checkMultiselectChange = function(e, anchor) {
|
33857
33857
|
if (this.inMultiSelectMode && !this.inVirtualSelectionMode) {
|
33858
33858
|
var range = this.multiSelect.ranges[0];
|
@@ -33861,7 +33861,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33861
33861
|
var pos = anchor == this.multiSelect.anchor
|
33862
33862
|
? range.cursor == range.start ? range.end : range.start
|
33863
33863
|
: range.cursor;
|
33864
|
-
if (pos.row != anchor.row
|
33864
|
+
if (pos.row != anchor.row
|
33865
33865
|
|| this.session.$clipPositionToDocument(pos.row, pos.column).column != anchor.column)
|
33866
33866
|
this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange());
|
33867
33867
|
}
|
@@ -33874,9 +33874,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33874
33874
|
? this.selection.getWordRange()
|
33875
33875
|
: this.selection.getRange();
|
33876
33876
|
options.needle = this.session.getTextRange(range);
|
33877
|
-
}
|
33877
|
+
}
|
33878
33878
|
this.$search.set(options);
|
33879
|
-
|
33879
|
+
|
33880
33880
|
var ranges = this.$search.findAll(this.session);
|
33881
33881
|
if (!ranges.length)
|
33882
33882
|
return 0;
|
@@ -33891,7 +33891,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
33891
33891
|
selection.addRange(ranges[i], true);
|
33892
33892
|
if (range && selection.rangeList.rangeAtPoint(range.start))
|
33893
33893
|
selection.addRange(range, true);
|
33894
|
-
|
33894
|
+
|
33895
33895
|
this.$blockScrolling -= 1;
|
33896
33896
|
|
33897
33897
|
return ranges.length;
|
@@ -34005,7 +34005,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34005
34005
|
return true;
|
34006
34006
|
row = r.cursor.row;
|
34007
34007
|
});
|
34008
|
-
|
34008
|
+
|
34009
34009
|
if (!ranges.length || sameRowRanges.length == ranges.length - 1) {
|
34010
34010
|
var range = this.selection.getRange();
|
34011
34011
|
var fr = range.start.row, lr = range.end.row;
|
@@ -34019,7 +34019,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34019
34019
|
do {
|
34020
34020
|
line = this.session.getLine(fr);
|
34021
34021
|
} while (/[=:]/.test(line) && --fr > 0);
|
34022
|
-
|
34022
|
+
|
34023
34023
|
if (fr < 0) fr = 0;
|
34024
34024
|
if (lr >= max) lr = max - 1;
|
34025
34025
|
}
|
@@ -34473,7 +34473,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34473
34473
|
this.measureWidgets = this.measureWidgets.bind(this);
|
34474
34474
|
this.session._changedWidgets = [];
|
34475
34475
|
this.$onChangeEditor = this.$onChangeEditor.bind(this);
|
34476
|
-
|
34476
|
+
|
34477
34477
|
this.session.on("change", this.updateOnChange);
|
34478
34478
|
this.session.on("changeFold", this.updateOnFold);
|
34479
34479
|
this.session.on("changeEditor", this.$onChangeEditor);
|
@@ -34484,7 +34484,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34484
34484
|
var h;
|
34485
34485
|
if (this.lineWidgets)
|
34486
34486
|
h = this.lineWidgets[row] && this.lineWidgets[row].rowCount || 0;
|
34487
|
-
else
|
34487
|
+
else
|
34488
34488
|
h = 0;
|
34489
34489
|
if (!this.$useWrapMode || !this.$wrapData[row]) {
|
34490
34490
|
return 1 + h;
|
@@ -34500,12 +34500,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34500
34500
|
screenRows += w.rowCount;
|
34501
34501
|
});
|
34502
34502
|
return screenRows;
|
34503
|
-
};
|
34504
|
-
|
34503
|
+
};
|
34504
|
+
|
34505
34505
|
this.$onChangeEditor = function(e) {
|
34506
34506
|
this.attach(e.editor);
|
34507
34507
|
};
|
34508
|
-
|
34508
|
+
|
34509
34509
|
this.attach = function(editor) {
|
34510
34510
|
if (editor && editor.widgetManager && editor.widgetManager != this)
|
34511
34511
|
editor.widgetManager.detach();
|
@@ -34515,7 +34515,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34515
34515
|
|
34516
34516
|
this.detach();
|
34517
34517
|
this.editor = editor;
|
34518
|
-
|
34518
|
+
|
34519
34519
|
if (editor) {
|
34520
34520
|
editor.widgetManager = this;
|
34521
34521
|
editor.renderer.on("beforeRender", this.measureWidgets);
|
@@ -34526,10 +34526,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34526
34526
|
var editor = this.editor;
|
34527
34527
|
if (!editor)
|
34528
34528
|
return;
|
34529
|
-
|
34529
|
+
|
34530
34530
|
this.editor = null;
|
34531
34531
|
editor.widgetManager = null;
|
34532
|
-
|
34532
|
+
|
34533
34533
|
editor.renderer.off("beforeRender", this.measureWidgets);
|
34534
34534
|
editor.renderer.off("afterRender", this.renderWidgets);
|
34535
34535
|
var lineWidgets = this.session.lineWidgets;
|
@@ -34566,11 +34566,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34566
34566
|
}
|
34567
34567
|
}
|
34568
34568
|
};
|
34569
|
-
|
34569
|
+
|
34570
34570
|
this.updateOnChange = function(delta) {
|
34571
34571
|
var lineWidgets = this.session.lineWidgets;
|
34572
34572
|
if (!lineWidgets) return;
|
34573
|
-
|
34573
|
+
|
34574
34574
|
var startRow = delta.start.row;
|
34575
34575
|
var len = delta.end.row - startRow;
|
34576
34576
|
|
@@ -34588,7 +34588,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34588
34588
|
this.$updateRows();
|
34589
34589
|
}
|
34590
34590
|
};
|
34591
|
-
|
34591
|
+
|
34592
34592
|
this.$updateRows = function() {
|
34593
34593
|
var lineWidgets = this.session.lineWidgets;
|
34594
34594
|
if (!lineWidgets) return;
|
@@ -34610,7 +34610,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34610
34610
|
this.addLineWidget = function(w) {
|
34611
34611
|
if (!this.session.lineWidgets)
|
34612
34612
|
this.session.lineWidgets = new Array(this.session.getLength());
|
34613
|
-
|
34613
|
+
|
34614
34614
|
var old = this.session.lineWidgets[w.row];
|
34615
34615
|
if (old) {
|
34616
34616
|
w.$oldWidget = old;
|
@@ -34619,11 +34619,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34619
34619
|
old._inDocument = false;
|
34620
34620
|
}
|
34621
34621
|
}
|
34622
|
-
|
34622
|
+
|
34623
34623
|
this.session.lineWidgets[w.row] = w;
|
34624
|
-
|
34624
|
+
|
34625
34625
|
w.session = this.session;
|
34626
|
-
|
34626
|
+
|
34627
34627
|
var renderer = this.editor.renderer;
|
34628
34628
|
if (w.html && !w.el) {
|
34629
34629
|
w.el = dom.createElement("div");
|
@@ -34636,7 +34636,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34636
34636
|
renderer.container.appendChild(w.el);
|
34637
34637
|
w._inDocument = true;
|
34638
34638
|
}
|
34639
|
-
|
34639
|
+
|
34640
34640
|
if (!w.coverGutter) {
|
34641
34641
|
w.el.style.zIndex = 3;
|
34642
34642
|
}
|
@@ -34646,7 +34646,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34646
34646
|
if (w.rowCount == null) {
|
34647
34647
|
w.rowCount = w.pixelHeight / renderer.layerConfig.lineHeight;
|
34648
34648
|
}
|
34649
|
-
|
34649
|
+
|
34650
34650
|
var fold = this.session.getFoldAt(w.row, 0);
|
34651
34651
|
w.$fold = fold;
|
34652
34652
|
if (fold) {
|
@@ -34656,15 +34656,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34656
34656
|
else
|
34657
34657
|
w.hidden = true;
|
34658
34658
|
}
|
34659
|
-
|
34659
|
+
|
34660
34660
|
this.session._emit("changeFold", {data:{start:{row: w.row}}});
|
34661
|
-
|
34661
|
+
|
34662
34662
|
this.$updateRows();
|
34663
34663
|
this.renderWidgets(null, renderer);
|
34664
34664
|
this.onWidgetChanged(w);
|
34665
34665
|
return w;
|
34666
34666
|
};
|
34667
|
-
|
34667
|
+
|
34668
34668
|
this.removeLineWidget = function(w) {
|
34669
34669
|
w._inDocument = false;
|
34670
34670
|
w.session = null;
|
@@ -34692,7 +34692,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34692
34692
|
this.session._emit("changeFold", {data:{start:{row: w.row}}});
|
34693
34693
|
this.$updateRows();
|
34694
34694
|
};
|
34695
|
-
|
34695
|
+
|
34696
34696
|
this.getWidgetsAtRow = function(row) {
|
34697
34697
|
var lineWidgets = this.session.lineWidgets;
|
34698
34698
|
var w = lineWidgets && lineWidgets[row];
|
@@ -34703,16 +34703,16 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34703
34703
|
}
|
34704
34704
|
return list;
|
34705
34705
|
};
|
34706
|
-
|
34706
|
+
|
34707
34707
|
this.onWidgetChanged = function(w) {
|
34708
34708
|
this.session._changedWidgets.push(w);
|
34709
34709
|
this.editor && this.editor.renderer.updateFull();
|
34710
34710
|
};
|
34711
|
-
|
34711
|
+
|
34712
34712
|
this.measureWidgets = function(e, renderer) {
|
34713
34713
|
var changedWidgets = this.session._changedWidgets;
|
34714
34714
|
var config = renderer.layerConfig;
|
34715
|
-
|
34715
|
+
|
34716
34716
|
if (!changedWidgets || !changedWidgets.length) return;
|
34717
34717
|
var min = Infinity;
|
34718
34718
|
for (var i = 0; i < changedWidgets.length; i++) {
|
@@ -34725,14 +34725,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34725
34725
|
w._inDocument = true;
|
34726
34726
|
renderer.container.appendChild(w.el);
|
34727
34727
|
}
|
34728
|
-
|
34728
|
+
|
34729
34729
|
w.h = w.el.offsetHeight;
|
34730
|
-
|
34730
|
+
|
34731
34731
|
if (!w.fixedWidth) {
|
34732
34732
|
w.w = w.el.offsetWidth;
|
34733
34733
|
w.screenWidth = Math.ceil(w.w / config.characterWidth);
|
34734
34734
|
}
|
34735
|
-
|
34735
|
+
|
34736
34736
|
var rowCount = w.h / config.lineHeight;
|
34737
34737
|
if (w.coverLine) {
|
34738
34738
|
rowCount -= this.session.getRowLineCount(w.row);
|
@@ -34751,7 +34751,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34751
34751
|
}
|
34752
34752
|
this.session._changedWidgets = [];
|
34753
34753
|
};
|
34754
|
-
|
34754
|
+
|
34755
34755
|
this.renderWidgets = function(e, renderer) {
|
34756
34756
|
var config = renderer.layerConfig;
|
34757
34757
|
var lineWidgets = this.session.lineWidgets;
|
@@ -34759,10 +34759,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34759
34759
|
return;
|
34760
34760
|
var first = Math.min(this.firstRow, config.firstRow);
|
34761
34761
|
var last = Math.max(this.lastRow, config.lastRow, lineWidgets.length);
|
34762
|
-
|
34762
|
+
|
34763
34763
|
while (first > 0 && !lineWidgets[first])
|
34764
34764
|
first--;
|
34765
|
-
|
34765
|
+
|
34766
34766
|
this.firstRow = config.firstRow;
|
34767
34767
|
this.lastRow = config.lastRow;
|
34768
34768
|
|
@@ -34782,16 +34782,16 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34782
34782
|
if (!w.coverLine)
|
34783
34783
|
top += config.lineHeight * this.session.getRowLineCount(w.row);
|
34784
34784
|
w.el.style.top = top - config.offset + "px";
|
34785
|
-
|
34785
|
+
|
34786
34786
|
var left = w.coverGutter ? 0 : renderer.gutterWidth;
|
34787
34787
|
if (!w.fixedWidth)
|
34788
34788
|
left -= renderer.scrollLeft;
|
34789
34789
|
w.el.style.left = left + "px";
|
34790
|
-
|
34790
|
+
|
34791
34791
|
if (w.fullWidth && w.screenWidth) {
|
34792
34792
|
w.el.style.minWidth = config.width + 2 * config.padding + "px";
|
34793
34793
|
}
|
34794
|
-
|
34794
|
+
|
34795
34795
|
if (w.fixedWidth) {
|
34796
34796
|
w.el.style.right = renderer.scrollBar.getWidth() + "px";
|
34797
34797
|
} else {
|
@@ -34799,7 +34799,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34799
34799
|
}
|
34800
34800
|
}
|
34801
34801
|
};
|
34802
|
-
|
34802
|
+
|
34803
34803
|
}).call(LineWidgets.prototype);
|
34804
34804
|
|
34805
34805
|
|
@@ -34834,16 +34834,16 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34834
34834
|
var annotations = session.getAnnotations().sort(Range.comparePoints);
|
34835
34835
|
if (!annotations.length)
|
34836
34836
|
return;
|
34837
|
-
|
34837
|
+
|
34838
34838
|
var i = binarySearch(annotations, {row: row, column: -1}, Range.comparePoints);
|
34839
34839
|
if (i < 0)
|
34840
34840
|
i = -i - 1;
|
34841
|
-
|
34841
|
+
|
34842
34842
|
if (i >= annotations.length)
|
34843
34843
|
i = dir > 0 ? 0 : annotations.length - 1;
|
34844
34844
|
else if (i === 0 && dir < 0)
|
34845
34845
|
i = annotations.length - 1;
|
34846
|
-
|
34846
|
+
|
34847
34847
|
var annotation = annotations[i];
|
34848
34848
|
if (!annotation || !dir)
|
34849
34849
|
return;
|
@@ -34855,8 +34855,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34855
34855
|
if (!annotation)
|
34856
34856
|
return annotations.slice();
|
34857
34857
|
}
|
34858
|
-
|
34859
|
-
|
34858
|
+
|
34859
|
+
|
34860
34860
|
var matched = [];
|
34861
34861
|
row = annotation.row;
|
34862
34862
|
do {
|
@@ -34872,7 +34872,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34872
34872
|
session.widgetManager = new LineWidgets(session);
|
34873
34873
|
session.widgetManager.attach(editor);
|
34874
34874
|
}
|
34875
|
-
|
34875
|
+
|
34876
34876
|
var pos = editor.getCursorPosition();
|
34877
34877
|
var row = pos.row;
|
34878
34878
|
var oldWidget = session.widgetManager.getWidgetsAtRow(row).filter(function(w) {
|
@@ -34902,9 +34902,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34902
34902
|
}
|
34903
34903
|
editor.session.unfold(pos.row);
|
34904
34904
|
editor.selection.moveToPosition(pos);
|
34905
|
-
|
34905
|
+
|
34906
34906
|
var w = {
|
34907
|
-
row: pos.row,
|
34907
|
+
row: pos.row,
|
34908
34908
|
fixedWidth: true,
|
34909
34909
|
coverGutter: true,
|
34910
34910
|
el: dom.createElement("div"),
|
@@ -34913,24 +34913,24 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34913
34913
|
var el = w.el.appendChild(dom.createElement("div"));
|
34914
34914
|
var arrow = w.el.appendChild(dom.createElement("div"));
|
34915
34915
|
arrow.className = "error_widget_arrow " + gutterAnno.className;
|
34916
|
-
|
34916
|
+
|
34917
34917
|
var left = editor.renderer.$cursorLayer
|
34918
34918
|
.getPixelPosition(pos).left;
|
34919
34919
|
arrow.style.left = left + editor.renderer.gutterWidth - 5 + "px";
|
34920
|
-
|
34920
|
+
|
34921
34921
|
w.el.className = "error_widget_wrapper";
|
34922
34922
|
el.className = "error_widget " + gutterAnno.className;
|
34923
34923
|
el.innerHTML = gutterAnno.text.join("<br>");
|
34924
|
-
|
34924
|
+
|
34925
34925
|
el.appendChild(dom.createElement("div"));
|
34926
|
-
|
34926
|
+
|
34927
34927
|
var kb = function(_, hashId, keyString) {
|
34928
34928
|
if (hashId === 0 && (keyString === "esc" || keyString === "return")) {
|
34929
34929
|
w.destroy();
|
34930
34930
|
return {command: "null"};
|
34931
34931
|
}
|
34932
34932
|
};
|
34933
|
-
|
34933
|
+
|
34934
34934
|
w.destroy = function() {
|
34935
34935
|
if (editor.$mouseHandler.isMousePressed)
|
34936
34936
|
return;
|
@@ -34941,17 +34941,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
34941
34941
|
editor.off("mouseup", w.destroy);
|
34942
34942
|
editor.off("change", w.destroy);
|
34943
34943
|
};
|
34944
|
-
|
34944
|
+
|
34945
34945
|
editor.keyBinding.addKeyboardHandler(kb);
|
34946
34946
|
editor.on("changeSelection", w.destroy);
|
34947
34947
|
editor.on("changeSession", w.destroy);
|
34948
34948
|
editor.on("mouseup", w.destroy);
|
34949
34949
|
editor.on("change", w.destroy);
|
34950
|
-
|
34950
|
+
|
34951
34951
|
editor.session.widgetManager.addLineWidget(w);
|
34952
|
-
|
34952
|
+
|
34953
34953
|
w.el.onmousedown = editor.focus.bind(editor);
|
34954
|
-
|
34954
|
+
|
34955
34955
|
editor.renderer.scrollCursorIntoView(null, 0.5, {bottom: w.el.offsetHeight});
|
34956
34956
|
};
|
34957
34957
|
|
@@ -35074,7 +35074,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35074
35074
|
window.ace[key] = a[key];
|
35075
35075
|
});
|
35076
35076
|
})();
|
35077
|
-
|
35077
|
+
|
35078
35078
|
module.exports = window.ace.acequire("ace/ace");
|
35079
35079
|
|
35080
35080
|
/***/ },
|
@@ -35183,7 +35183,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35183
35183
|
}
|
35184
35184
|
]
|
35185
35185
|
};
|
35186
|
-
|
35186
|
+
|
35187
35187
|
};
|
35188
35188
|
|
35189
35189
|
oop.inherits(JsonHighlightRules, TextHighlightRules);
|
@@ -35465,15 +35465,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35465
35465
|
var line = session.doc.getLine(cursor.row);
|
35466
35466
|
var leftChar = line.substring(cursor.column-1, cursor.column);
|
35467
35467
|
var rightChar = line.substring(cursor.column, cursor.column + 1);
|
35468
|
-
|
35468
|
+
|
35469
35469
|
var token = session.getTokenAt(cursor.row, cursor.column);
|
35470
35470
|
var rightToken = session.getTokenAt(cursor.row, cursor.column + 1);
|
35471
35471
|
if (leftChar == "\\" && token && /escape/.test(token.type))
|
35472
35472
|
return null;
|
35473
|
-
|
35473
|
+
|
35474
35474
|
var stringBefore = token && /string|escape/.test(token.type);
|
35475
35475
|
var stringAfter = !rightToken || /string|escape/.test(rightToken.type);
|
35476
|
-
|
35476
|
+
|
35477
35477
|
var pair;
|
35478
35478
|
if (rightChar == quote) {
|
35479
35479
|
pair = stringBefore !== stringAfter;
|
@@ -35516,7 +35516,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35516
35516
|
|
35517
35517
|
};
|
35518
35518
|
|
35519
|
-
|
35519
|
+
|
35520
35520
|
CstyleBehaviour.isSaneInsertion = function(editor, session) {
|
35521
35521
|
var cursor = editor.getCursorPosition();
|
35522
35522
|
var iterator = new TokenIterator(session, cursor.row, cursor.column);
|
@@ -35608,7 +35608,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35608
35608
|
oop.inherits(FoldMode, BaseFoldMode);
|
35609
35609
|
|
35610
35610
|
(function() {
|
35611
|
-
|
35611
|
+
|
35612
35612
|
this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;
|
35613
35613
|
this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;
|
35614
35614
|
this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
|
@@ -35617,42 +35617,42 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35617
35617
|
this._getFoldWidgetBase = this.getFoldWidget;
|
35618
35618
|
this.getFoldWidget = function(session, foldStyle, row) {
|
35619
35619
|
var line = session.getLine(row);
|
35620
|
-
|
35620
|
+
|
35621
35621
|
if (this.singleLineBlockCommentRe.test(line)) {
|
35622
35622
|
if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))
|
35623
35623
|
return "";
|
35624
35624
|
}
|
35625
|
-
|
35625
|
+
|
35626
35626
|
var fw = this._getFoldWidgetBase(session, foldStyle, row);
|
35627
|
-
|
35627
|
+
|
35628
35628
|
if (!fw && this.startRegionRe.test(line))
|
35629
35629
|
return "start"; // lineCommentRegionStart
|
35630
|
-
|
35630
|
+
|
35631
35631
|
return fw;
|
35632
35632
|
};
|
35633
35633
|
|
35634
35634
|
this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {
|
35635
35635
|
var line = session.getLine(row);
|
35636
|
-
|
35636
|
+
|
35637
35637
|
if (this.startRegionRe.test(line))
|
35638
35638
|
return this.getCommentRegionBlock(session, line, row);
|
35639
|
-
|
35639
|
+
|
35640
35640
|
var match = line.match(this.foldingStartMarker);
|
35641
35641
|
if (match) {
|
35642
35642
|
var i = match.index;
|
35643
35643
|
|
35644
35644
|
if (match[1])
|
35645
35645
|
return this.openingBracketBlock(session, match[1], row, i);
|
35646
|
-
|
35646
|
+
|
35647
35647
|
var range = session.getCommentFoldRange(row, i + match[0].length, 1);
|
35648
|
-
|
35648
|
+
|
35649
35649
|
if (range && !range.isMultiLine()) {
|
35650
35650
|
if (forceMultiline) {
|
35651
35651
|
range = this.getSectionRange(session, row);
|
35652
35652
|
} else if (foldStyle != "all")
|
35653
35653
|
range = null;
|
35654
35654
|
}
|
35655
|
-
|
35655
|
+
|
35656
35656
|
return range;
|
35657
35657
|
}
|
35658
35658
|
|
@@ -35669,7 +35669,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35669
35669
|
return session.getCommentFoldRange(row, i, -1);
|
35670
35670
|
}
|
35671
35671
|
};
|
35672
|
-
|
35672
|
+
|
35673
35673
|
this.getSectionRange = function(session, row) {
|
35674
35674
|
var line = session.getLine(row);
|
35675
35675
|
var startIndent = line.search(/\S/);
|
@@ -35686,7 +35686,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35686
35686
|
if (startIndent > indent)
|
35687
35687
|
break;
|
35688
35688
|
var subRange = this.getFoldWidgetRange(session, "all", row);
|
35689
|
-
|
35689
|
+
|
35690
35690
|
if (subRange) {
|
35691
35691
|
if (subRange.start.row <= startRow) {
|
35692
35692
|
break;
|
@@ -35698,14 +35698,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35698
35698
|
}
|
35699
35699
|
endRow = row;
|
35700
35700
|
}
|
35701
|
-
|
35701
|
+
|
35702
35702
|
return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);
|
35703
35703
|
};
|
35704
35704
|
this.getCommentRegionBlock = function(session, line, row) {
|
35705
35705
|
var startColumn = line.search(/\s*$/);
|
35706
35706
|
var maxRow = session.getLength();
|
35707
35707
|
var startRow = row;
|
35708
|
-
|
35708
|
+
|
35709
35709
|
var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;
|
35710
35710
|
var depth = 1;
|
35711
35711
|
while (++row < maxRow) {
|
@@ -35798,7 +35798,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
35798
35798
|
/***/ function(module, exports) {
|
35799
35799
|
|
35800
35800
|
module.exports.id = 'ace/mode/json_worker';
|
35801
|
-
module.exports.src = "\"no use strict\";(function(window){function resolveModuleId(id,paths){for(var testPath=id,tail=\"\";testPath;){var alias=paths[testPath];if(\"string\"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,\"/\")+(tail||alias.main||alias.name);if(alias===!1)return\"\";var i=testPath.lastIndexOf(\"/\");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:\"log\",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:\"error\",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf(\"!\")){var chunks=moduleName.split(\"!\");return window.normalizeModule(parentId,chunks[0])+\"!\"+window.normalizeModule(parentId,chunks[1])}if(\".\"==moduleName.charAt(0)){var base=parentId.split(\"/\").slice(0,-1).join(\"/\");for(moduleName=(base?base+\"/\":\"\")+moduleName;-1!==moduleName.indexOf(\".\")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,\"\").replace(/\\/\\.\\//,\"/\").replace(/[^\\/]+\\/\\.\\.\\//,\"\")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error(\"worker.js acequire() accepts only (parentId, id) as arguments\");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log(\"unable to load \"+id);var path=resolveModuleId(id,window.acequire.tlns);return\".js\"!=path.slice(-3)&&(path+=\".js\"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,\"string\"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),\"function\"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=[\"require\",\"exports\",\"module\"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case\"require\":return req;case\"exports\":return module.exports;case\"module\":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire(\"ace/lib/event_emitter\").EventEmitter,oop=window.acequire(\"ace/lib/oop\"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:\"call\",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:\"event\",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error(\"Unknown command:\"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire(\"ace/lib/es5-shim\"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}})(this),ace.define(\"ace/lib/oop\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define(\"ace/range\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return\"Range: [\"+this.start.row+\"/\"+this.start.column+\"] -> [\"+this.end.row+\"/\"+this.end.column+\"]\"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){\"object\"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){\"object\"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define(\"ace/apply_delta\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||\"\";switch(delta.action){case\"insert\":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case\"remove\":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define(\"ace/lib/event_emitter\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){\"object\"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?\"unshift\":\"push\"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define(\"ace/anchor\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/lib/event_emitter\"],function(acequire,exports){\"use strict\";var oop=acequire(\"./lib/oop\"),EventEmitter=acequire(\"./lib/event_emitter\").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert=\"insert\"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal(\"change\",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener(\"change\",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on(\"change\",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define(\"ace/document\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/apply_delta\",\"ace/lib/event_emitter\",\"ace/range\",\"ace/anchor\"],function(acequire,exports){\"use strict\";var oop=acequire(\"./lib/oop\"),applyDelta=acequire(\"./apply_delta\").applyDelta,EventEmitter=acequire(\"./lib/event_emitter\").EventEmitter,Range=acequire(\"./range\").Range,Anchor=acequire(\"./anchor\").Anchor,Document=function(textOrLines){this.$lines=[\"\"],0===textOrLines.length?this.$lines=[\"\"]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0===\"aaa\".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,\"\\n\").split(\"\\n\")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:\"\\n\",this._signal(\"changeNewLineMode\")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case\"windows\":return\"\\r\\n\";case\"unix\":return\"\\n\";default:return this.$autoNewLine||\"\\n\"}},this.$autoNewLine=\"\",this.$newLineMode=\"auto\",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal(\"changeNewLineMode\"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return\"\\r\\n\"==text||\"\\r\"==text||\"\\n\"==text},this.getLine=function(row){return this.$lines[row]||\"\"},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||\"\").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn(\"Use of document.insertLines is deprecated. Use the insertFullLines method instead.\"),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn(\"Use of document.removeLines is deprecated. Use the removeFullLines method instead.\"),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn(\"Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead.\"),this.insertMergedLines(position,[\"\",\"\"])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:\"insert\",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([\"\"]),column=0):(lines=[\"\"].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:\"insert\",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:\"remove\",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:\"remove\",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:\"remove\",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:\"remove\",lines:[\"\",\"\"]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert=\"insert\"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal(\"change\",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(\"\"),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:\"insert\"==delta.action?\"remove\":\"insert\",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define(\"ace/lib/lang\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split(\"\").reverse().join(\"\")},exports.stringRepeat=function(string,count){for(var result=\"\";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,\"\")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,\"\")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&\"object\"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if(\"object\"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}var cons=obj.constructor;if(cons===RegExp)return obj;copy=cons();for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,\"\\\\$1\")},exports.escapeHTML=function(str){return str.replace(/&/g,\"&\").replace(/\"/g,\""\").replace(/'/g,\"'\").replace(/</g,\"<\")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define(\"ace/worker/mirror\",[\"require\",\"exports\",\"module\",\"ace/range\",\"ace/document\",\"ace/lib/lang\"],function(acequire,exports){\"use strict\";acequire(\"../range\").Range;var Document=acequire(\"../document\").Document,lang=acequire(\"../lib/lang\"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(\"\"),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on(\"change\",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:\"insert\",start:data[i],lines:data[i+1]};else var d={action:\"remove\",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define(\"ace/mode/json/json_parse\",[\"require\",\"exports\",\"module\"],function(){\"use strict\";var at,ch,text,value,escapee={'\"':'\"',\"\\\\\":\"\\\\\",\"/\":\"/\",b:\"\\b\",f:\"\\f\",n:\"\\n\",r:\"\\r\",t:\"\t\"},error=function(m){throw{name:\"SyntaxError\",message:m,at:at,text:text}},next=function(c){return c&&c!==ch&&error(\"Expected '\"+c+\"' instead of '\"+ch+\"'\"),ch=text.charAt(at),at+=1,ch},number=function(){var number,string=\"\";for(\"-\"===ch&&(string=\"-\",next(\"-\"));ch>=\"0\"&&\"9\">=ch;)string+=ch,next();if(\".\"===ch)for(string+=\".\";next()&&ch>=\"0\"&&\"9\">=ch;)string+=ch;if(\"e\"===ch||\"E\"===ch)for(string+=ch,next(),(\"-\"===ch||\"+\"===ch)&&(string+=ch,next());ch>=\"0\"&&\"9\">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error(\"Bad number\"),void 0):number},string=function(){var hex,i,uffff,string=\"\";if('\"'===ch)for(;next();){if('\"'===ch)return next(),string;if(\"\\\\\"===ch)if(next(),\"u\"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if(\"string\"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error(\"Bad string\")},white=function(){for(;ch&&\" \">=ch;)next()},word=function(){switch(ch){case\"t\":return next(\"t\"),next(\"r\"),next(\"u\"),next(\"e\"),!0;case\"f\":return next(\"f\"),next(\"a\"),next(\"l\"),next(\"s\"),next(\"e\"),!1;case\"n\":return next(\"n\"),next(\"u\"),next(\"l\"),next(\"l\"),null}error(\"Unexpected '\"+ch+\"'\")},array=function(){var array=[];if(\"[\"===ch){if(next(\"[\"),white(),\"]\"===ch)return next(\"]\"),array;for(;ch;){if(array.push(value()),white(),\"]\"===ch)return next(\"]\"),array;next(\",\"),white()}}error(\"Bad array\")},object=function(){var key,object={};if(\"{\"===ch){if(next(\"{\"),white(),\"}\"===ch)return next(\"}\"),object;for(;ch;){if(key=string(),white(),next(\":\"),Object.hasOwnProperty.call(object,key)&&error('Duplicate key \"'+key+'\"'),object[key]=value(),white(),\"}\"===ch)return next(\"}\"),object;next(\",\"),white()}}error(\"Bad object\")};return value=function(){switch(white(),ch){case\"{\":return object();case\"[\":return array();case'\"':return string();case\"-\":return number();default:return ch>=\"0\"&&\"9\">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=\" \",result=value(),white(),ch&&error(\"Syntax error\"),\"function\"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&\"object\"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({\"\":result},\"\"):result}}),ace.define(\"ace/mode/json_worker\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/worker/mirror\",\"ace/mode/json/json_parse\"],function(acequire,exports){\"use strict\";var oop=acequire(\"../lib/oop\"),Mirror=acequire(\"../worker/mirror\").Mirror,parse=acequire(\"./json/json_parse\"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:\"error\"})}this.sender.emit(\"annotate\",errors)}}.call(JsonWorker.prototype)}),ace.define(\"ace/lib/es5-shim\",[\"require\",\"exports\",\"module\"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,\"sentinel\",{}),\"sentinel\"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if(\"function\"!=typeof target)throw new TypeError(\"Function.prototype.bind called on incompatible \"+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,\"__defineGetter__\"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,\"XXX\"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0\n}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return\"[object Array]\"==_toString(obj)});var boxedString=Object(\"a\"),splitString=\"a\"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,thisp=arguments[1],i=-1,length=self.length>>>0;if(\"[object Function]\"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0,result=[],thisp=arguments[1];if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0,thisp=arguments[1];if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0,thisp=arguments[1];if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0;if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");if(!length&&1==arguments.length)throw new TypeError(\"reduce of empty array with no initial value\");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError(\"reduce of empty array with no initial value\")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0;if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");if(!length&&1==arguments.length)throw new TypeError(\"reduceRight of empty array with no initial value\");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError(\"reduceRight of empty array with no initial value\")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT=\"Object.getOwnPropertyDescriptor called on a non-object: \";Object.getOwnPropertyDescriptor=function(object,property){if(\"object\"!=typeof object&&\"function\"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if(\"object\"!=typeof prototype)throw new TypeError(\"typeof prototype[\"+typeof prototype+\"] != 'object'\");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom=\"undefined\"==typeof document||doesDefinePropertyWork(document.createElement(\"div\"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR=\"Property description must be an object: \",ERR_NON_OBJECT_TARGET=\"Object.defineProperty called on non-object: \",ERR_ACCESSORS_NOT_SUPPORTED=\"getters & setters can not be defined on this javascript engine\";Object.defineProperty=function(object,property,descriptor){if(\"object\"!=typeof object&&\"function\"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if(\"object\"!=typeof descriptor&&\"function\"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,\"value\"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,\"get\")&&defineGetter(object,property,descriptor.get),owns(descriptor,\"set\")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return\"function\"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name=\"\";owns(object,name);)name+=\"?\";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if(\"object\"!=typeof object&&\"function\"!=typeof object||null===object)throw new TypeError(\"Object.keys called on a non-object\");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws=\"\t\\n\u000b\\f\\r \\u2028\\u2029\";if(!String.prototype.trim||ws.trim()){ws=\"[\"+ws+\"]\";var trimBeginRegexp=RegExp(\"^\"+ws+ws+\"*\"),trimEndRegexp=RegExp(ws+ws+\"*$\");String.prototype.trim=function(){return(this+\"\").replace(trimBeginRegexp,\"\").replace(trimEndRegexp,\"\")}}var toObject=function(o){if(null==o)throw new TypeError(\"can't convert \"+o+\" to object\");return Object(o)}});";
|
35801
|
+
module.exports.src = "\"no use strict\";(function(window){function resolveModuleId(id,paths){for(var testPath=id,tail=\"\";testPath;){var alias=paths[testPath];if(\"string\"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,\"/\")+(tail||alias.main||alias.name);if(alias===!1)return\"\";var i=testPath.lastIndexOf(\"/\");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:\"log\",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:\"error\",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf(\"!\")){var chunks=moduleName.split(\"!\");return window.normalizeModule(parentId,chunks[0])+\"!\"+window.normalizeModule(parentId,chunks[1])}if(\".\"==moduleName.charAt(0)){var base=parentId.split(\"/\").slice(0,-1).join(\"/\");for(moduleName=(base?base+\"/\":\"\")+moduleName;-1!==moduleName.indexOf(\".\")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,\"\").replace(/\\/\\.\\//,\"/\").replace(/[^\\/]+\\/\\.\\.\\//,\"\")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error(\"worker.js acequire() accepts only (parentId, id) as arguments\");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return //tag;var path=resolveModuleId(id,window.acequire.tlns);return\".js\"!=path.slice(-3)&&(path+=\".js\"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,\"string\"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),\"function\"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=[\"require\",\"exports\",\"module\"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case\"require\":return req;case\"exports\":return module.exports;case\"module\":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire(\"ace/lib/event_emitter\").EventEmitter,oop=window.acequire(\"ace/lib/oop\"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:\"call\",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:\"event\",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error(\"Unknown command:\"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire(\"ace/lib/es5-shim\"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}})(this),ace.define(\"ace/lib/oop\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define(\"ace/range\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return\"Range: [\"+this.start.row+\"/\"+this.start.column+\"] -> [\"+this.end.row+\"/\"+this.end.column+\"]\"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){\"object\"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){\"object\"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define(\"ace/apply_delta\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||\"\";switch(delta.action){case\"insert\":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case\"remove\":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define(\"ace/lib/event_emitter\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){\"object\"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?\"unshift\":\"push\"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define(\"ace/anchor\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/lib/event_emitter\"],function(acequire,exports){\"use strict\";var oop=acequire(\"./lib/oop\"),EventEmitter=acequire(\"./lib/event_emitter\").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert=\"insert\"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal(\"change\",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener(\"change\",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on(\"change\",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define(\"ace/document\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/apply_delta\",\"ace/lib/event_emitter\",\"ace/range\",\"ace/anchor\"],function(acequire,exports){\"use strict\";var oop=acequire(\"./lib/oop\"),applyDelta=acequire(\"./apply_delta\").applyDelta,EventEmitter=acequire(\"./lib/event_emitter\").EventEmitter,Range=acequire(\"./range\").Range,Anchor=acequire(\"./anchor\").Anchor,Document=function(textOrLines){this.$lines=[\"\"],0===textOrLines.length?this.$lines=[\"\"]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0===\"aaa\".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,\"\\n\").split(\"\\n\")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:\"\\n\",this._signal(\"changeNewLineMode\")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case\"windows\":return\"\\r\\n\";case\"unix\":return\"\\n\";default:return this.$autoNewLine||\"\\n\"}},this.$autoNewLine=\"\",this.$newLineMode=\"auto\",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal(\"changeNewLineMode\"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return\"\\r\\n\"==text||\"\\r\"==text||\"\\n\"==text},this.getLine=function(row){return this.$lines[row]||\"\"},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||\"\").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn(\"Use of document.insertLines is deprecated. Use the insertFullLines method instead.\"),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn(\"Use of document.removeLines is deprecated. Use the removeFullLines method instead.\"),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn(\"Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead.\"),this.insertMergedLines(position,[\"\",\"\"])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:\"insert\",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([\"\"]),column=0):(lines=[\"\"].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:\"insert\",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:\"remove\",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:\"remove\",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:\"remove\",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:\"remove\",lines:[\"\",\"\"]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert=\"insert\"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal(\"change\",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(\"\"),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:\"insert\"==delta.action?\"remove\":\"insert\",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define(\"ace/lib/lang\",[\"require\",\"exports\",\"module\"],function(acequire,exports){\"use strict\";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split(\"\").reverse().join(\"\")},exports.stringRepeat=function(string,count){for(var result=\"\";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,\"\")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,\"\")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&\"object\"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if(\"object\"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}var cons=obj.constructor;if(cons===RegExp)return obj;copy=cons();for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,\"\\\\$1\")},exports.escapeHTML=function(str){return str.replace(/&/g,\"&\").replace(/\"/g,\""\").replace(/'/g,\"'\").replace(/</g,\"<\")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define(\"ace/worker/mirror\",[\"require\",\"exports\",\"module\",\"ace/range\",\"ace/document\",\"ace/lib/lang\"],function(acequire,exports){\"use strict\";acequire(\"../range\").Range;var Document=acequire(\"../document\").Document,lang=acequire(\"../lib/lang\"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(\"\"),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on(\"change\",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:\"insert\",start:data[i],lines:data[i+1]};else var d={action:\"remove\",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define(\"ace/mode/json/json_parse\",[\"require\",\"exports\",\"module\"],function(){\"use strict\";var at,ch,text,value,escapee={'\"':'\"',\"\\\\\":\"\\\\\",\"/\":\"/\",b:\"\\b\",f:\"\\f\",n:\"\\n\",r:\"\\r\",t:\"\t\"},error=function(m){throw{name:\"SyntaxError\",message:m,at:at,text:text}},next=function(c){return c&&c!==ch&&error(\"Expected '\"+c+\"' instead of '\"+ch+\"'\"),ch=text.charAt(at),at+=1,ch},number=function(){var number,string=\"\";for(\"-\"===ch&&(string=\"-\",next(\"-\"));ch>=\"0\"&&\"9\">=ch;)string+=ch,next();if(\".\"===ch)for(string+=\".\";next()&&ch>=\"0\"&&\"9\">=ch;)string+=ch;if(\"e\"===ch||\"E\"===ch)for(string+=ch,next(),(\"-\"===ch||\"+\"===ch)&&(string+=ch,next());ch>=\"0\"&&\"9\">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error(\"Bad number\"),void 0):number},string=function(){var hex,i,uffff,string=\"\";if('\"'===ch)for(;next();){if('\"'===ch)return next(),string;if(\"\\\\\"===ch)if(next(),\"u\"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if(\"string\"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error(\"Bad string\")},white=function(){for(;ch&&\" \">=ch;)next()},word=function(){switch(ch){case\"t\":return next(\"t\"),next(\"r\"),next(\"u\"),next(\"e\"),!0;case\"f\":return next(\"f\"),next(\"a\"),next(\"l\"),next(\"s\"),next(\"e\"),!1;case\"n\":return next(\"n\"),next(\"u\"),next(\"l\"),next(\"l\"),null}error(\"Unexpected '\"+ch+\"'\")},array=function(){var array=[];if(\"[\"===ch){if(next(\"[\"),white(),\"]\"===ch)return next(\"]\"),array;for(;ch;){if(array.push(value()),white(),\"]\"===ch)return next(\"]\"),array;next(\",\"),white()}}error(\"Bad array\")},object=function(){var key,object={};if(\"{\"===ch){if(next(\"{\"),white(),\"}\"===ch)return next(\"}\"),object;for(;ch;){if(key=string(),white(),next(\":\"),Object.hasOwnProperty.call(object,key)&&error('Duplicate key \"'+key+'\"'),object[key]=value(),white(),\"}\"===ch)return next(\"}\"),object;next(\",\"),white()}}error(\"Bad object\")};return value=function(){switch(white(),ch){case\"{\":return object();case\"[\":return array();case'\"':return string();case\"-\":return number();default:return ch>=\"0\"&&\"9\">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=\" \",result=value(),white(),ch&&error(\"Syntax error\"),\"function\"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&\"object\"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({\"\":result},\"\"):result}}),ace.define(\"ace/mode/json_worker\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/worker/mirror\",\"ace/mode/json/json_parse\"],function(acequire,exports){\"use strict\";var oop=acequire(\"../lib/oop\"),Mirror=acequire(\"../worker/mirror\").Mirror,parse=acequire(\"./json/json_parse\"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:\"error\"})}this.sender.emit(\"annotate\",errors)}}.call(JsonWorker.prototype)}),ace.define(\"ace/lib/es5-shim\",[\"require\",\"exports\",\"module\"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,\"sentinel\",{}),\"sentinel\"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if(\"function\"!=typeof target)throw new TypeError(\"Function.prototype.bind called on incompatible \"+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,\"__defineGetter__\"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,\"XXX\"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0\n}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return\"[object Array]\"==_toString(obj)});var boxedString=Object(\"a\"),splitString=\"a\"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,thisp=arguments[1],i=-1,length=self.length>>>0;if(\"[object Function]\"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0,result=[],thisp=arguments[1];if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0,thisp=arguments[1];if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0,thisp=arguments[1];if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0;if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");if(!length&&1==arguments.length)throw new TypeError(\"reduce of empty array with no initial value\");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError(\"reduce of empty array with no initial value\")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):object,length=self.length>>>0;if(\"[object Function]\"!=_toString(fun))throw new TypeError(fun+\" is not a function\");if(!length&&1==arguments.length)throw new TypeError(\"reduceRight of empty array with no initial value\");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError(\"reduceRight of empty array with no initial value\")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&\"[object String]\"==_toString(this)?this.split(\"\"):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT=\"Object.getOwnPropertyDescriptor called on a non-object: \";Object.getOwnPropertyDescriptor=function(object,property){if(\"object\"!=typeof object&&\"function\"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if(\"object\"!=typeof prototype)throw new TypeError(\"typeof prototype[\"+typeof prototype+\"] != 'object'\");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom=\"undefined\"==typeof document||doesDefinePropertyWork(document.createElement(\"div\"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR=\"Property description must be an object: \",ERR_NON_OBJECT_TARGET=\"Object.defineProperty called on non-object: \",ERR_ACCESSORS_NOT_SUPPORTED=\"getters & setters can not be defined on this javascript engine\";Object.defineProperty=function(object,property,descriptor){if(\"object\"!=typeof object&&\"function\"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if(\"object\"!=typeof descriptor&&\"function\"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,\"value\"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,\"get\")&&defineGetter(object,property,descriptor.get),owns(descriptor,\"set\")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return\"function\"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name=\"\";owns(object,name);)name+=\"?\";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if(\"object\"!=typeof object&&\"function\"!=typeof object||null===object)throw new TypeError(\"Object.keys called on a non-object\");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws=\"\t\\n\u000b\\f\\r \\u2028\\u2029\";if(!String.prototype.trim||ws.trim()){ws=\"[\"+ws+\"]\";var trimBeginRegexp=RegExp(\"^\"+ws+ws+\"*\"),trimEndRegexp=RegExp(ws+ws+\"*$\");String.prototype.trim=function(){return(this+\"\").replace(trimBeginRegexp,\"\").replace(trimEndRegexp,\"\")}}var toObject=function(o){if(null==o)throw new TypeError(\"can't convert \"+o+\" to object\");return Object(o)}});";
|
35802
35802
|
|
35803
35803
|
/***/ },
|
35804
35804
|
/* 69 */
|
@@ -36003,12 +36003,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
36003
36003
|
this.searchInput = this.searchBox.querySelector(".ace_search_field");
|
36004
36004
|
this.replaceInput = this.replaceBox.querySelector(".ace_search_field");
|
36005
36005
|
};
|
36006
|
-
|
36006
|
+
|
36007
36007
|
this.$init = function() {
|
36008
36008
|
var sb = this.element;
|
36009
|
-
|
36009
|
+
|
36010
36010
|
this.$initElements(sb);
|
36011
|
-
|
36011
|
+
|
36012
36012
|
var _this = this;
|
36013
36013
|
event.addListener(sb, "mousedown", function(e) {
|
36014
36014
|
setTimeout(function(){
|
@@ -36154,7 +36154,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
36154
36154
|
this.find(true, true);
|
36155
36155
|
};
|
36156
36156
|
this.findAll = function(){
|
36157
|
-
var range = this.editor.findAll(this.searchInput.value, {
|
36157
|
+
var range = this.editor.findAll(this.searchInput.value, {
|
36158
36158
|
regExp: this.regExpOption.checked,
|
36159
36159
|
caseSensitive: this.caseSensitiveOption.checked,
|
36160
36160
|
wholeWord: this.wholeWordOption.checked
|
@@ -36168,7 +36168,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
36168
36168
|
this.replace = function() {
|
36169
36169
|
if (!this.editor.getReadOnly())
|
36170
36170
|
this.editor.replace(this.replaceInput.value);
|
36171
|
-
};
|
36171
|
+
};
|
36172
36172
|
this.replaceAndFindNext = function() {
|
36173
36173
|
if (!this.editor.getReadOnly()) {
|
36174
36174
|
this.editor.replace(this.replaceInput.value);
|
@@ -36193,9 +36193,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
36193
36193
|
|
36194
36194
|
if (value)
|
36195
36195
|
this.searchInput.value = value;
|
36196
|
-
|
36196
|
+
|
36197
36197
|
this.find(false, false, true);
|
36198
|
-
|
36198
|
+
|
36199
36199
|
this.searchInput.focus();
|
36200
36200
|
this.searchInput.select();
|
36201
36201
|
|
@@ -36219,7 +36219,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
36219
36219
|
(function() {
|
36220
36220
|
ace.acequire(["ace/ext/searchbox"], function() {});
|
36221
36221
|
})();
|
36222
|
-
|
36222
|
+
|
36223
36223
|
|
36224
36224
|
/***/ },
|
36225
36225
|
/* 70 */
|
@@ -36230,7 +36230,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
36230
36230
|
*
|
36231
36231
|
* Copyright (c) 2010, Ajax.org B.V.
|
36232
36232
|
* All rights reserved.
|
36233
|
-
*
|
36233
|
+
*
|
36234
36234
|
* Redistribution and use in source and binary forms, with or without
|
36235
36235
|
* modification, are permitted provided that the following conditions are met:
|
36236
36236
|
* * Redistributions of source code must retain the above copyright
|
@@ -36241,7 +36241,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
36241
36241
|
* * Neither the name of Ajax.org B.V. nor the
|
36242
36242
|
* names of its contributors may be used to endorse or promote products
|
36243
36243
|
* derived from this software without specific prior written permission.
|
36244
|
-
*
|
36244
|
+
*
|
36245
36245
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
36246
36246
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
36247
36247
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
@@ -36374,4 +36374,4 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
36374
36374
|
/***/ }
|
36375
36375
|
/******/ ])
|
36376
36376
|
});
|
36377
|
-
;
|
36377
|
+
;
|